@font-face{font-family:Nunito;font-style:normal;font-weight:400 900;font-display:swap;src:url(fonts/nunito-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:Nunito;font-style:normal;font-weight:400 900;font-display:swap;src:url(fonts/nunito-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{font-family:Nunito,system-ui,sans-serif;color:#183f3b;background:#f6edcf;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{cursor:pointer}button{transition:transform .15s,background .15s}@media(hover:hover){button:not(:disabled):hover{transform:translateY(-2px)}}[hidden]{display:none!important}button:disabled{cursor:default;transform:none;opacity:.65}button:focus-visible,select:focus-visible,input:focus-visible{outline:4px solid #e67b28;outline-offset:3px}.top{background:#125e55;color:white;padding:17px max(22px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{font-weight:900;font-size:21px;letter-spacing:-.5px}.brand small{font-size:13px;font-weight:700;display:block;letter-spacing:1.5px;color:#ffdc78}.lang{border:1px solid #77a69a;background:#1a7065;color:white;border-radius:12px;padding:10px;max-width:155px}.wrap{max-width:1160px;margin:auto;padding:25px 22px 40px}.intro{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}h1{font-size:clamp(25px,4vw,36px);margin:0;font-weight:900;letter-spacing:-1px}p{line-height:1.6}.sub{margin:3px 0;color:#53655c}.badge{background:#ffdf7c;border:1px solid #e5bd50;padding:10px 16px;border-radius:30px;font-weight:900;white-space:nowrap}.banner{height:185px;overflow:hidden;border-radius:24px;background:#e5ba69;margin-bottom:22px;position:relative}.banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 52%}.banner-label{position:absolute;bottom:15px;left:18px;background:#fff9e9;padding:8px 15px;box-shadow:0 3px 0 #183f3b22;border-radius:12px;font-weight:900}.layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px}.card{background:#fffdf4;border:2px solid #e4dec6;border-radius:24px;padding:25px;box-shadow:0 5px 0 #e2d7b6}.small-title{font-size:13px;letter-spacing:1.6px;font-weight:900;color:#566d5c;text-transform:uppercase;margin:0}.orderhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.progress{display:flex;gap:5px;margin-top:9px}.dot{width:23px;height:7px;border-radius:5px;background:#e6e6d5}.dot.done{background:#178474}.dot.current{background:#edaa38}.op{font-weight:900;font-size:24px;background:#e4efcf;border-radius:14px;padding:6px 17px}.customer{display:flex;gap:15px;align-items:flex-start}.avatar{background:#ffdf8e;border-radius:22px;font-size:46px;min-width:78px;height:82px;display:grid;place-items:center}.speech{flex:1;background:#edf3e6;border-radius:3px 20px 20px 20px;padding:16px 19px}.name{font-weight:900;font-size:15px;color:#4c7560}.question{font-size:22px;font-weight:800;margin:7px 0 0;line-height:1.45}.translation{font-size:16px;color:#56655a;margin-top:7px;line-height:1.5}.shelf{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:24px 0 16px}.item{background:#fff;border:2px solid #e8e1c9;padding:12px 4px;border-radius:16px;text-align:center;color:#254c42;min-height:107px}.item.selected{background:#fff0b9;border-color:#d99424;box-shadow:0 3px 0 #e4b958}.item .emoji{font-size:32px;display:block}.item .label{font-size:14px;font-weight:900;display:block;margin-top:5px}.item .en{font-size:12px;display:block;color:#687564}.answerbox{background:#f7f0dd;border-radius:17px;padding:17px}.answerlabel{display:block;font-size:15px;font-weight:800;margin-bottom:9px}.answerrow{display:flex;gap:9px}.answerrow input{min-width:0;width:100%;border:2px solid #d5cdb3;border-radius:12px;background:white;padding:12px 16px;font-size:24px;font-weight:900;color:#1d584b}.primary{background:#146c5f;border:0;border-bottom:4px solid #084a40;border-radius:12px;color:white;font-weight:900;padding:13px 20px;white-space:nowrap}.secondary{background:transparent;color:#376b5c;border:1px solid #c4d4bc;border-radius:12px;padding:10px 13px;font-weight:800}.helpers{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.feedback{padding:14px 16px;border-radius:12px;margin-top:14px;line-height:1.55;background:#fff0d3;color:#765019;font-weight:700}.feedback.good{background:#dff0d7;color:#20593e}.hint{background:#eaf1e4;padding:14px 16px;border-radius:12px;margin-top:12px;line-height:1.6}.hint strong{font-size:21px;display:block;margin-top:6px}.sidebar{display:flex;flex-direction:column;gap:18px}.sidebar .card{padding:21px}.sidebar h2{font-size:19px;margin:0 0 15px;font-weight:900}.levels{margin-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.level{padding:11px 4px;border:1px solid #dbdfc9;background:#f4f5e9;border-radius:12px;color:#506750;font-weight:800;font-size:14px}.level.active{background:#1e6b5e;color:white;border-color:#1e6b5e}.level small{display:block;font-size:12px;font-weight:600;margin-top:3px}.opchoices{display:flex;gap:7px;margin-top:13px}.choice{flex:1;border:1px solid #d8ddc9;background:#fffdf3;border-radius:10px;padding:9px 0;font-size:20px;color:#426452;font-weight:900}.choice.active{background:#ffdf79;border-color:#dfbc56}.note{font-size:14px;line-height:1.6;color:#65715c;margin:13px 0 0}.stats{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px dashed #d9dcca}.stats:last-child{border:0}.stats b{color:#126f60}.joke{background:#ffdf7e!important;border-color:#e9c260!important}.joke p{font-size:16px;margin-bottom:0;font-weight:700}.footer{text-align:center;color:#5b6a56;font-size:13px;margin-top:25px}.summary{text-align:center;padding:35px 15px}.summary .big{font-size:65px}.summary h2{font-size:29px;margin:10px 0}.summary p{max-width:430px;margin:15px auto}.medals{display:flex;justify-content:center;gap:13px;flex-wrap:wrap;margin:23px 0}.medals span{background:#f0f3e2;border-radius:13px;padding:12px}.confetti{animation:pop .5s ease}@keyframes pop{50%{transform:scale(1.04)}}@media(max-width:820px){.layout{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:1fr 1fr}.sidebar .joke{grid-column:1/-1}.banner{height:150px}.intro .badge{font-size:13px}}@media(max-width:480px){.top{padding:13px 16px}.brand{font-size:17px}.brand small{font-size:11px}.wrap{padding:18px 12px}.card{padding:17px}.intro{align-items:flex-start}.intro .badge{padding:8px;font-size:12px}.sub{font-size:14px}.banner{height:96px;border-radius:17px}.banner-label{font-size:12px;padding:6px 10px}.question{font-size:19px}.avatar{min-width:54px;height:61px;font-size:34px;border-radius:15px}.customer{gap:10px}.speech{padding:12px}.shelf{gap:6px}.item .label{font-size:12px}.item .emoji{font-size:28px}.answerrow{flex-wrap:wrap}.answerrow input{flex:1;min-width:100px}.primary{padding:12px 15px}.sidebar{grid-template-columns:1fr}.sidebar .joke{grid-column:auto}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.next{margin-top:15px;width:100%}.speech-note{margin:10px 0 0;font-size:14px;font-weight:700;color:#6b5418}.speech-note:empty{display:none}.question:focus-visible,.summary h2:focus-visible{outline-offset:6px;border-radius:6px}.answerrow input[aria-invalid=true]{border-color:#c0561d}.noscript{font-weight:800}
/* ---- Shop flow: list, shelf tags, basket ---- */
.toolbar{display:flex;gap:8px;align-items:center}
.gear{background:#1a7065;border:1px solid #77a69a;color:#fff;border-radius:12px;width:44px;height:44px;font-size:20px;line-height:1}
.shoplist{background:#fffef8;border:1px dashed #c9bf9c;border-radius:10px;padding:10px 14px;margin-top:12px;transform:rotate(-.6deg);box-shadow:0 2px 0 #e2d7b6}
.shoplist ul{margin:6px 0 0;padding:0;list-style:none}
.shoplist li{font-weight:800;font-size:18px;padding:3px 0}
.shoplist li .en{display:inline;margin-left:6px;font-size:14px;color:#56655a;font-weight:700}
.packnote{font-size:14px;color:#6b5418;font-weight:700}
.item{position:relative}
.tag{display:inline-block;margin-top:7px;background:#fff3c4;border:1px dashed #d99424;border-radius:6px;padding:2px 7px;font-size:13px;font-weight:900;color:#6b4a10}
.count{position:absolute;top:6px;right:8px;background:#146c5f;color:#fff;border-radius:999px;font-size:13px;font-weight:900;padding:1px 7px}
.count:empty{display:none}
.basket{display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:#f7f0dd;border-radius:14px;padding:12px 14px;min-height:54px}
.basket-title{font-weight:900}
.muted{color:#6b7568}
.chip{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #d5cdb3;border-radius:999px;padding:4px 4px 4px 11px;font-weight:800}
.chip-x{border:0;background:#f0e3c0;color:#5b4210;border-radius:999px;width:32px;height:32px;font-weight:900;font-size:18px;line-height:1}
.wide{width:100%;margin-top:14px}
/* ---- Till ---- */
.till,.receipt{background:#f7f0dd;border-radius:17px;padding:16px 17px}
.rline{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;border-bottom:1px dashed #d5cdb3;font-weight:800}
.rline small{display:block;font-size:13px;color:#56655a;font-weight:700}
.rline.total{font-size:19px;border-bottom:2px solid #183f3b}
.till .answerrow{margin-top:14px;flex-wrap:wrap;align-items:center}
.till .answerlabel{margin:0;flex-basis:100%}
.money-input{flex:1;display:flex;align-items:center;gap:6px;min-width:150px}
.affix{font-size:24px;font-weight:900;color:#1d584b}
.paid{margin:14px 0 4px;font-weight:800;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.notes{display:inline-flex;flex-wrap:wrap;gap:6px}
.drawer-title{margin-top:14px}
.drawer{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;margin-top:8px}
.tray{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px;font-weight:800;min-height:40px}
/* Banknotes: pastel tint + coloured edge, dark text for contrast. Colours follow the real notes. */
.money{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:6px 10px;border-radius:7px;border:2px solid var(--edge,#8aa);background:var(--tint,#eef);color:#1d2b26;font-weight:900;font-size:14px;white-space:nowrap;box-shadow:inset 0 0 0 3px #ffffff80}
.vnd-1{--edge:#a08a62;--tint:#efe6d3}.vnd-2{--edge:#8d6e5a;--tint:#eadfd6}.vnd-5{--edge:#6d6fb0;--tint:#e3e3f4}
.vnd-10{--edge:#b88d2e;--tint:#f5ead0}.vnd-20{--edge:#4a79b8;--tint:#dde8f6}.vnd-50{--edge:#c0588a;--tint:#f6dfea}
.vnd-100{--edge:#5f9a4c;--tint:#e1f0db}.vnd-200{--edge:#b8563a;--tint:#f5e0d8}.vnd-500{--edge:#3f97b3;--tint:#dbeff5}
.usd{--edge:#5f8a5a;--tint:#e4efdf}
.money.given{font-size:13px}
/* ---- Receipt ---- */
.receipt{background:#fff;border:1px solid #e0d8bd;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;max-width:420px;margin:0 auto;box-shadow:0 4px 0 #e2d7b6}
.receipt .rline{font-weight:700}
.rhead{text-align:center;font-weight:900;letter-spacing:1px;padding-bottom:8px;border-bottom:2px dashed #183f3b}
.rhead small{display:block;font-weight:700;color:#56655a}
.rthanks{text-align:center;margin-top:12px;font-weight:800}
/* ---- Grown-up settings dialog ---- */
.settings{border:0;border-radius:24px;padding:24px;max-width:440px;width:calc(100% - 32px);background:#fffdf4;color:#183f3b;box-shadow:0 20px 60px #0005}
.settings::backdrop{background:#183f3b99}
.settings h2{margin:0 0 12px;font-size:22px;font-weight:900}
.settings .set-gap{margin-top:18px}
.gate-q{display:block;font-size:26px;font-weight:900;margin:10px 0}
.gate input{width:100%;border:2px solid #d5cdb3;border-radius:12px;padding:12px 16px;font-size:22px;font-weight:900}
.gate-error{min-height:1.6em;color:#8a3d12;font-weight:700;margin:8px 0 0}
.dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:18px}
.danger{color:#8a3d12;border-color:#e0b9a3}
@media(max-width:480px){.shoplist li{font-size:16px}.drawer{grid-template-columns:repeat(3,1fr)}.money{font-size:13px;padding:6px 6px}.gear{width:40px;height:40px}.lang{max-width:120px;padding:8px}}
.step{margin:16px 0 0;font-weight:800;color:#2c5a4e}
@media(max-width:480px){.brand small{display:none}.till .answerrow .primary{flex-basis:100%}}
.fb-line{font-size:18px;font-weight:900}.fb-stars{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}.star-chip{background:#ffdf7c;border:1px solid #e5bd50;border-radius:999px;padding:3px 12px;font-weight:900;color:#5b4210}.fb-stars small{font-weight:700;color:#3d6450}.fb-joke{font-style:italic}
.sign{margin:22px auto 16px;max-width:420px;background:#fffef8;border:2px solid #e0d8bd;border-radius:18px;padding:16px}.sign-board{display:inline-block;font-weight:900;letter-spacing:3px;font-size:22px;padding:6px 18px;border-radius:10px;color:#fff;transform:rotate(-2deg);box-shadow:0 4px 0 #0002}.sign-board.closed{background:#b8563a}.sign-board.open{background:#178474}.sign p{margin:10px 0 0}.sign .primary{margin-top:12px}.book{max-width:520px}.book-list{max-height:60vh;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:2px}.book-day{margin:10px 0 0;font-size:15px;font-weight:900;color:#2c5a4e}.receipt.mini{max-width:none;padding:12px 14px;box-shadow:none}.mini-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:800;padding-bottom:6px;border-bottom:2px dashed #183f3b}.mini-head small{color:#56655a;font-weight:700}.tray-count{color:#56655a;font-weight:700}.choice.hours{font-size:14px}
.star-chip{white-space:nowrap}.mini-head{flex-wrap:wrap}.times{align-self:center;font-weight:900;margin:0 4px 0 -2px}
.stock{display:block;margin-top:4px;font-size:12px;font-weight:800;color:#3d6450}.stock.out{color:#8a3d12}.restock-card{margin:0 0 12px;background:#fff6dc;border:2px dashed #d99424;border-radius:14px;padding:12px 14px}.restock-card p{margin:6px 0 0}.restock-card .primary{margin-top:10px}.earn{margin-top:12px;padding-top:6px;border-top:2px dashed #183f3b}.earn-total b{color:#146c5f}.rline.earned b{color:#146c5f}.stats.cash b{color:#6b4a10}
.fb-earn{font-weight:800;margin:0 0 6px}.earn p{margin:6px 0 0;font-family:Nunito,system-ui,sans-serif;font-weight:700;font-size:14px}.earn-sum{font-size:18px;font-weight:900;margin-top:6px;text-align:right}.earn-sum b{color:#146c5f}.restock-why{font-weight:800}@keyframes bump{50%{transform:scale(1.18);color:#146c5f}}#statCash.bump{display:inline-block;animation:bump .6s ease}@media(max-width:360px){.shelf{grid-template-columns:repeat(2,1fr)}}
/* Installed app on notched phones: keep content clear of the notch and home bar. The phone rules repeat
   here because this block comes after the 480px media query and would otherwise override it. */
@supports(padding:max(0px)){.top{padding-top:max(17px,env(safe-area-inset-top));padding-left:max(22px,env(safe-area-inset-left),calc((100vw - 1160px)/2));padding-right:max(22px,env(safe-area-inset-right),calc((100vw - 1160px)/2))}.wrap{padding-left:max(22px,env(safe-area-inset-left));padding-right:max(22px,env(safe-area-inset-right));padding-bottom:max(40px,env(safe-area-inset-bottom))}@media(max-width:480px){.top{padding:max(13px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 13px max(16px,env(safe-area-inset-left))}.wrap{padding:18px max(12px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}}}
.robot-mode{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.robot-mode [aria-pressed=true]{background:#146c5f;color:white;border-color:#146c5f}.robot-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.robot-heading h3{margin:4px 0;font-size:22px}.robot-heading p{margin:4px 0;line-height:1.5}.robot-challenge{display:flex;align-items:center;gap:6px;font-size:14px;min-width:100px}.robot-challenge input{width:20px;height:20px;accent-color:#146c5f}.robot-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;background:#e1ddc7;padding:7px;border-radius:17px;margin:16px auto 8px;max-width:470px}.robot-tile{aspect-ratio:1;position:relative;background:#fffdf4;border-radius:9px;display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;font-size:28px;overflow:hidden}.robot-tile small{font-size:12px;text-align:center;line-height:1.1;overflow-wrap:anywhere;padding:0 3px}.robot-coord{position:absolute;top:3px;left:5px;font-size:11px;color:#61736a}.robot-target{background:#ffdf7c;box-shadow:inset 0 0 0 2px #c58a24}.robot-home{background:#cce8dc}.robot-wall{background:#d2cebd}.robot-bot{position:absolute;inset:14px 5px 4px;border-radius:9px;background:#e6f8fbf0;display:flex;align-items:center;justify-content:center;font-size:30px;border:2px solid #247784}.robot-bot b{font-size:27px;color:#074b57}.robot-bot i{position:absolute;right:0;bottom:-4px;font-size:18px;font-style:normal}.robot-position{text-align:center;font-size:14px;margin:10px 0}.robot-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.robot-controls button{min-height:48px;padding:10px 6px;font-size:15px;background:#fffdf4}.robot-program-label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px}.robot-program-label span{font-size:13px;color:#61736a}.robot-program{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:12px;background:#f3ecd8;border-radius:13px;min-height:70px;max-height:200px;overflow:auto;margin:9px 0 14px}.robot-program button{border:1px solid #bccfc6;background:#fffdf4;color:#183f3b;border-radius:9px;padding:9px;font:inherit;font-size:14px;min-height:44px}.robot-program button small{font-size:12px;color:#657d6b}.robot-program .robot-current{background:#c9eadb;border:3px solid #146c5f}.robot-program .robot-error{background:#ffe0ca;border:3px solid #ad4c19}.robot-actions{display:flex;flex-wrap:wrap;gap:8px}.robot-actions button{min-height:44px;font-size:14px}.robot-status{padding:13px;background:#e5f0dc;border-radius:12px;line-height:1.6;font-weight:700}.robot-status-error{background:#fff0d3;color:#7a401b}#robotGame{margin-bottom:18px}@media(max-width:480px){.robot-heading{flex-direction:column}.robot-grid{gap:3px;padding:5px}.robot-tile{font-size:23px}.robot-bot{font-size:24px;inset:13px 1px 2px}.robot-bot b{font-size:22px}.robot-tile small{font-size:10px}.robot-controls button{font-size:14px}.robot-actions .primary{flex-basis:100%}}
.robot-panel h3{margin:4px 0;font-size:22px}.robot-mission{margin:4px 0 0;font-weight:700;line-height:1.5}.robot-card .en,.robot-program .en{display:block;font-size:11px;color:#56655a;font-weight:700}.robot-program .robot-selected{outline:3px dashed #d99424;outline-offset:2px}.robot-actions .danger{background:#fff6ef}@keyframes robot-dance{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-6px) rotate(-8deg)}75%{transform:translateY(-6px) rotate(8deg)}}.robot-happy{animation:robot-dance .6s ease 2}.robot-levels{flex-wrap:wrap}.robot-levels .choice{flex:1 1 40%}

/* Original storybook icon system and gentle character motion. */
.shop-art{display:inline-block;width:1.65em;height:1.65em;vertical-align:middle;flex-shrink:0;object-fit:contain}.mascot{object-fit:contain}.item .emoji .shop-art{width:58px;height:58px;filter:drop-shadow(0 3px 0 #47625518)}.item{border-radius:20px;transition:transform .18s,box-shadow .18s}.item:active{transform:scale(.95)}.item.selected{box-shadow:0 4px 0 #e4b958}.avatar .shop-art{width:68px;height:68px}.shoplist .shop-art,.chip .shop-art,.rline .shop-art{width:28px;height:28px}.robot-mode .shop-art{width:30px;height:30px}.robot-panel h3{display:flex;align-items:center;gap:10px}.robot-panel h3 .mascot{width:52px;height:60px}.robot-board{position:relative;max-width:470px;margin:18px auto 14px}.robot-board .robot-grid{margin:0;max-width:none;background:#acd1be;border:3px solid #78ac95;border-radius:21px;padding:8px;gap:5px}.robot-tile{border-radius:11px;box-shadow:0 2px 0 #628d7330}.robot-target{background:#ffedb1;box-shadow:inset 0 0 0 2px #e2b656}.robot-home{background:#d2eddf}.robot-tile .shop-art{width:38px;height:38px}.robot-goods{line-height:1;display:block}.robot-tile small{font-size:12px;font-weight:800}.robot-track{position:absolute;inset:11px;pointer-events:none}.robot-mover{position:absolute;width:20%;height:20%;display:flex;align-items:center;justify-content:center;z-index:2;filter:drop-shadow(0 5px 2px #204b4938)}.robot-mover>.mascot{width:96%;height:108%;max-width:none;margin-top:-12%;object-fit:contain}.rx0{left:0}.rx1{left:20%}.rx2{left:40%}.rx3{left:60%}.rx4{left:80%}.ry0{top:0}.ry1{top:20%}.ry2{top:40%}.ry3{top:60%}.ry4{top:80%}.robot-heading-arrow{position:absolute;right:-4px;top:-7px;background:#fff9e6;border:2px solid #32796e;border-radius:50%;width:27px;height:27px;display:grid;place-items:center}.robot-heading-arrow .shop-art{width:23px;height:23px}.direction-1{transform:rotate(90deg)}.direction-2{transform:rotate(180deg)}.direction-3{transform:rotate(270deg)}.robot-load{position:absolute;bottom:9%;left:32%;width:38%;height:38%;background:#fff6d7;border-radius:8px;box-shadow:0 2px 0 #6a73552b;animation:load-pop .3s ease-out}.robot-load .shop-art{width:100%;height:100%}.robot-controls{gap:10px}.robot-controls .robot-card{background:#fff7de;border:2px solid #e1c99a;border-bottom-width:5px;border-radius:17px;padding:12px 6px;font-weight:900;min-height:92px}.robot-card>span[aria-hidden]{display:block}.robot-card .shop-art{width:36px;height:36px;margin-bottom:5px}.robot-card:active{transform:translateY(3px);border-bottom-width:2px}.robot-program .shop-art{width:25px;height:25px}.robot-program button{border-radius:12px;border-bottom-width:3px}.robot-actions .shop-art{width:23px;height:23px}.robot-spark{position:absolute;width:28px;height:28px;animation:spark-float .9s ease-out 2}.robot-spark .shop-art{width:100%;height:100%}.spark-a{left:-10%;top:0}.spark-b{right:-10%;top:15%;animation-delay:.15s}.robot-cheer>.mascot{animation:helper-cheer .7s ease-in-out 2}.robot-oops>.mascot{animation:helper-oops .35s ease-in-out}.chip-new{animation:load-pop .22s ease-out}.robot-program .en,.robot-card .en{font-size:12px}
@keyframes helper-cheer{0%,100%{transform:translateY(0) rotate(0)}35%{transform:translateY(-7px) rotate(-5deg)}70%{transform:translateY(-3px) rotate(5deg)}}@keyframes helper-oops{25%{transform:rotate(-5deg)}75%{transform:rotate(5deg)}}@keyframes load-pop{from{transform:scale(.85);opacity:.5}to{transform:scale(1);opacity:1}}@keyframes spark-float{0%{transform:translateY(4px) scale(.6);opacity:0}35%{opacity:1}100%{transform:translateY(-15px) scale(1.1);opacity:0}}
@media(max-width:480px){.robot-board .robot-grid{padding:6px;gap:3px}.robot-track{inset:9px}.robot-tile{min-height:65px}.robot-tile .shop-art{width:29px;height:29px}.robot-tile small{font-size:12px}.robot-coord{font-size:10px;top:1px;left:3px}.robot-controls .robot-card{min-height:84px;font-size:14px}.item .emoji .shop-art{width:46px;height:46px}.avatar .shop-art{width:48px;height:48px}.robot-heading-arrow{width:23px;height:23px;right:-3px}.robot-heading-arrow .shop-art{width:19px;height:19px}}
@media(prefers-reduced-motion:reduce){.robot-mover,.robot-mover *,.robot-spark,.chip,.item,.robot-card{animation:none!important;transition:none!important}}

/* Robot map, round 2: a smaller robot in the tile's corner so the shelf and counter stay visible, a star on listed
   shelves (not colour alone), coordinates only at level 3, the route trail, and a taller step list on phones. */
.art-sprite{position:absolute;width:0;height:0;overflow:hidden}.robot-mover{align-items:flex-start;justify-content:flex-end}.robot-mover>.mascot{width:58%;height:66%;margin:2% 2% 0 0}.robot-heading-arrow{right:auto;left:-2px;top:-6px;width:34px;height:34px}.robot-heading-arrow .shop-art{width:28px;height:28px}.robot-load{left:auto;right:6%;bottom:auto;top:52%;width:32%;height:32%}.robot-grid .robot-coord{display:none}.robot-grid.show-coords .robot-coord{display:block}.robot-star{position:absolute;top:3px;left:4px;width:20px;height:20px;z-index:1}.robot-star .shop-art{width:100%;height:100%}.robot-trail{background:#dff3ea;box-shadow:inset 0 0 0 3px #62b095}.robot-trail.robot-target{background:#ffedb1;box-shadow:inset 0 0 0 3px #62b095}.robot-dot{display:none}.robot-trail .robot-dot{display:block;position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#62b095;opacity:.55}.robot-trail.robot-target .robot-dot,.robot-trail.robot-home .robot-dot{display:none}.robot-program{max-height:320px}.robot-status .en{display:block;font-weight:700;color:#56655a;margin-top:4px}.robot-actions .en,.robot-panel h3 .en,.robot-mission .en,.robot-program-label .en{display:block;font-size:12px;font-weight:700;color:#56655a}
/* Square tiles must shrink to fit five across on 360px phones (a min-height forced them wider than the map). */@media(max-width:480px){.robot-tile{min-height:0}.robot-tile small{font-size:11px}}.primary .en{color:#d9efe6}
.robot-program{position:relative}/* star badge bottom-left, clear of the shelf art and the level-3 coordinate */.robot-star{top:auto;bottom:3px;left:3px;width:16px;height:16px}.robot-mode .en{display:block;font-size:12px;font-weight:700}
/* Items leave the map: while the robot carries one, and for good once the basket has enough. */.robot-star{display:none}.robot-target .robot-star{display:block}.robot-taken .robot-goods,.robot-taken small,.robot-done .robot-goods,.robot-done small{visibility:hidden}.robot-empty{display:none}.robot-taken .robot-empty,.robot-done .robot-empty{display:block;position:absolute;inset:26% 22%;border:2px dashed #b9c9bd;border-radius:8px}.robot-done{background:#f3f1e6}
.linkish{background:none;border:0;padding:6px 4px;color:#146c5f;font-weight:800;text-decoration:underline;min-height:32px}.terms{max-width:560px}.terms-body{max-height:60vh;overflow:auto;padding-right:4px}.terms-body h3{font-size:16px;margin:14px 0 4px}.terms-body p{margin:0 0 6px;line-height:1.55}.ai-badge{display:inline-block;background:#e4f2ec;border:1px solid #9ccab8;border-radius:999px;padding:6px 12px;font-weight:800;margin:4px 0 8px}
.terms h2 .en,.terms h3 .en,.ai-badge .en{display:block;font-size:.75em;font-weight:700;color:#56655a}
/* Saving goal and family rewards */.goal h2{margin:0 0 8px}.goal-item{display:flex;align-items:center;gap:10px;font-size:18px;margin:6px 0}.goal-item .shop-art{width:48px;height:48px}.jar{width:100%;height:20px;border-radius:999px;overflow:hidden;appearance:none;border:2px solid #e5bd50;background:#fff6d7}.jar::-webkit-progress-bar{background:#fff6d7}.jar::-webkit-progress-value{background:#f2c84b;border-radius:999px}.jar::-moz-progress-bar{background:#f2c84b}.goal-count{margin:8px 0}.goal-actions{display:flex;flex-wrap:wrap;gap:8px}.goal-actions .primary{flex:1}.reward-list,.voucher-list,.reward-admin{list-style:none;padding:0;margin:8px 0;display:flex;flex-direction:column;gap:8px}.reward,.voucher,.reward-admin li{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fffef8;border:1px solid #e0d8bd;border-radius:14px;padding:10px}.reward.is-goal{border:2px solid #146c5f}.reward-icon .shop-art,.voucher .shop-art,.reward-admin .shop-art{width:40px;height:40px}.reward-text{flex:1;min-width:140px}.reward-text small{display:block;color:#56655a}.voucher.given{opacity:.7}.price-input input{width:80px;border:2px solid #d5cdb3;border-radius:10px;padding:8px;font-size:16px;font-weight:800}.reward-add{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.reward-add input,.reward-add select{border:2px solid #d5cdb3;border-radius:10px;padding:9px;font-size:16px}.reward-add #rewardName{flex:1 1 180px}.reward-add #rewardPrice{width:90px}.reward-add .gate-error{flex-basis:100%;margin:0}
.goal-actions .primary:disabled{background:#dfe6e1;color:#4f6158;border-bottom-color:#c3cfc8;opacity:1}.reward-admin .price-error{flex-basis:100%;margin:0;min-height:0}.reward-admin .price-error:empty{display:none}.reward-admin input[aria-invalid=true]{border-color:#c0561d}
.day-report{max-width:440px;margin:20px auto 6px;text-align:left;background:#fff;border:1px solid #e0d8bd;border-radius:17px;padding:16px 18px;box-shadow:0 4px 0 #e2d7b6}.day-report h3{margin:0 0 10px;font-size:15px;letter-spacing:1px;text-align:center}.rep-block{padding:10px 0;border-top:2px dashed #d5cdb3}.rep-head{font-weight:900;margin-bottom:4px}.day-report .earn-sum{text-align:left}.rep-line{margin:8px 0 0;padding-top:8px;border-top:2px dashed #d5cdb3;font-weight:700}.rep-line .shop-art{width:26px;height:26px}
.rep-cash{margin:2px 0 0;font-size:17px;font-weight:700}.rep-block .note{margin:4px 0 0}
/* Painted interface icons */.star-ico{display:inline-flex;align-items:center;vertical-align:-.2em}.star-ico .shop-art{width:1.3em;height:1.3em}.sr-emoji{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.badge{display:inline-flex;align-items:center;gap:4px}.badge .shop-art{width:26px;height:26px}.goal h2 .shop-art{width:40px;height:40px;vertical-align:middle}.stats.cash .shop-art{width:28px;height:28px}.rep-head .shop-art,.restock-card .note .shop-art{width:26px;height:26px;vertical-align:middle}#bookBtn .shop-art,.summary [data-action=book] .shop-art{width:28px;height:28px}#bookTitle .shop-art{width:40px;height:40px;vertical-align:middle}
/* Robot learning path */.robot-levelbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px}.robot-levelchip{background:#e4f2ec;border:1px solid #9ccab8;border-radius:999px;padding:6px 12px;font-weight:800}.robot-levelchip .en{display:block;font-size:12px;font-weight:700;color:#56655a}.robot-levelpick{display:flex;gap:6px}.robot-levelpick .choice{min-width:44px;min-height:44px;font-size:15px}.robot-offer{background:#fff6dc;border:2px solid #e5bd50;border-radius:14px;padding:12px 14px;margin:0 0 12px}.robot-offer p{margin:6px 0 10px}.robot-progress{list-style:none;padding:0;margin:8px 0;display:flex;flex-direction:column;gap:6px}.robot-progress li{background:#fffef8;border:1px solid #e0d8bd;border-radius:10px;padding:8px 10px}.robot-progress small{display:block;color:#56655a}
/* Robot hint: the pointed-at tile */.robot-tile.robot-hint{outline:4px solid #e5a100;outline-offset:-4px;animation:hintPulse 1.2s ease-in-out 3}@keyframes hintPulse{50%{outline-color:#ffd65a}}@media (prefers-reduced-motion:reduce){.robot-tile.robot-hint{animation:none}}.robot-hintbtn{border-style:dashed}
/* How many the robot takes from a shelf, and how many it carries */.robot-qty{position:absolute;right:3px;top:3px;z-index:1;background:#125e55;color:#fff;border-radius:999px;padding:0 6px;font-weight:900;font-size:13px;line-height:20px}.robot-qty:empty,.robot-tile:not(.robot-target) .robot-qty{display:none}.robot-loadqty{position:absolute;right:-8px;bottom:-6px;background:#125e55;color:#fff;border-radius:999px;padding:0 5px;font-size:12px;line-height:18px}
.robot-soundrow{align-items:center}.robot-soundrow .optlabel{font-weight:800;margin-right:4px}
/* Prediction quiz */.robot-quizbar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}.robot-quizbar button{min-height:44px}.robot-pickable{cursor:pointer}.robot-pickable:hover,.robot-pickable:focus-visible{outline:3px solid #125e55;outline-offset:-3px}.robot-tile.robot-guess{outline:4px dashed #ad4c19;outline-offset:-4px}
/* Level 5 repeats */.robot-times{display:inline-block;background:#125e55;color:#fff;border-radius:8px;padding:0 6px;margin-right:2px;font-size:14px}.robot-controls .robot-repeat{min-height:52px;background:#e4f2ec;border:2px dashed #62b095;border-radius:17px;font-weight:900}
.robot-repeatrow{grid-column:1/-1;display:grid;grid-template-columns:2fr 1fr;gap:10px}.robot-controls .robot-fewer{min-height:52px;border-radius:17px;font-weight:900}
.robot-repeat .en,.robot-fewer .en{display:block;font-size:12px;font-weight:700}
.joke p .en{display:block;margin-top:6px;font-size:.9em;color:#56655a}.joke button{min-height:44px;margin-top:10px}
/* Grown-ups: this week */.weekly{max-width:480px}.weekly h2 .en{display:block;font-size:.7em;color:#56655a}.week-bars{list-style:none;display:grid;grid-template-columns:repeat(7,1fr);gap:6px;align-items:end;height:150px;padding:10px 8px 0;margin:10px 0;background:#f3ecd8;border-radius:14px}.week-bars li{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;min-width:0}.week-bar{display:block;width:70%;max-width:30px;background:#146c5f;border-radius:6px 6px 0 0}.week-n{font-size:12px;font-weight:800;min-height:16px}.week-day{font-size:11px;padding:4px 0 6px;color:#56655a;white-space:nowrap}.bar-h0{height:3px}.bar-h1{height:9px}.bar-h2{height:18px}.bar-h3{height:27px}.bar-h4{height:36px}.bar-h5{height:45px}.bar-h6{height:54px}.bar-h7{height:63px}.bar-h8{height:72px}.bar-h9{height:81px}.bar-h10{height:90px}.bar-h0{background:#d8cfb4}.week-list{list-style:none;padding:0;margin:6px 0;display:flex;flex-direction:column;gap:6px}.week-list li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;background:#fffef8;border:1px solid #e0d8bd;border-radius:10px;padding:8px 10px}.week-list b{font-weight:800}.week-meter{flex-basis:100%;height:8px;background:#ece5cf;border-radius:99px;overflow:hidden}.week-meter span{display:block;height:100%;background:#62b095}.bar-w0{width:0%}.bar-w1{width:10%}.bar-w2{width:20%}.bar-w3{width:30%}.bar-w4{width:40%}.bar-w5{width:50%}.bar-w6{width:60%}.bar-w7{width:70%}.bar-w8{width:80%}.bar-w9{width:90%}.bar-w10{width:100%}.week-tag{display:inline-block;margin-left:6px;border-radius:99px;padding:0 8px;font-size:12px;font-weight:800}.week-tag.practise{background:#fff0d3;color:#7a401b}.week-tag.strong{background:#e4f2ec;color:#125e55}
/* Map tiles: long one-word names shrink instead of breaking mid-word; the ×N badge stays clear of the picture */.robot-tile small.robot-long{font-size:11px;letter-spacing:-.3px;overflow-wrap:normal;word-break:normal}.robot-qty{font-size:11px;line-height:16px;padding:0 5px;top:2px;right:2px}.robot-target .robot-goods{margin-top:6px}@media(max-width:480px){.robot-tile small.robot-long{font-size:10px}}
.terms-body a{color:#146c5f;font-weight:800;text-decoration:underline}
.weekly .week-list .en,.weekly .note .en,.weekly p .en{display:block;font-size:12px;font-weight:700;color:#56655a}
/* Painted settings gear: a light button so the mint gear stands out on the dark header */.gear{display:grid;place-items:center;padding:4px;background:#fff7de;border:2px solid #e5bd50}.gear-img{width:100%;height:100%;object-fit:contain}.gear:focus-visible{outline:3px solid #ffd65a;outline-offset:2px}
/* How it works */.robot-intro{background:#fff6dc;border:2px solid #e5bd50;border-radius:16px;padding:12px 14px;margin:0 0 12px}.robot-intro-title{display:block;font-size:17px;margin-bottom:4px}.robot-intro-title .en{display:block;font-size:13px;color:#56655a}.robot-intro ul{margin:4px 0 10px;padding-left:20px;line-height:1.5}.robot-intro li .en{display:block;font-size:13px;color:#56655a}.robot-cardhint{display:block;font-size:11px;font-weight:700;color:#56655a;margin-top:2px}.robot-howto{min-height:44px;padding:6px 12px;font-size:14px}
/* How it works, round 2: map, then the live step, then the cards, all on one screen */.robot-introducing .robot-panel{display:flex;flex-direction:column}.robot-introducing .robot-board{order:1}.robot-introducing .robot-intro{order:2;margin:12px 0 0}.robot-introducing .robot-controls{order:3;margin-top:12px}.robot-introducing .robot-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.robot-introducing [data-robot=pick],.robot-introducing [data-robot=deliver],.robot-introducing .robot-repeatrow{display:none}.robot-intro{background:#eef7f2;border-color:#9ccab8}.robot-intro-line{margin:4px 0 8px;line-height:1.45}.robot-intro-line .en,.robot-intro-step .en{display:block;font-size:12px;font-weight:700;color:#56655a}.robot-intro-step{margin:8px 0;padding:10px 12px;background:#fffdf4;border-radius:12px;font-size:17px;font-weight:800;line-height:1.45;color:#183f3b}.robot-intro-title:focus{outline:none}.robot-intro-title:focus-visible{outline:3px solid #125e55;outline-offset:3px;border-radius:6px}.robot-introskip{display:block;margin:6px 0 0;min-height:44px;font-size:14px}.robot-introchoices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0}.robot-introguess{min-height:56px;font-size:16px;font-weight:900}.robot-introguess .en{display:block;font-size:12px}.robot-controls .robot-card-next{outline:4px solid #e08a1e;outline-offset:2px;animation:nextGlow 1.4s ease-in-out infinite}@keyframes nextGlow{50%{outline-color:#ffd65a}}.robot-heading-arrow{transition:transform .4s ease}.robot-heading-flash{animation:headingFlash 1s ease-out}@keyframes headingFlash{0%,60%{box-shadow:0 0 0 5px #ffd65a}100%{box-shadow:0 0 0 0 #ffd65a00}}.robot-tile.robot-ahead{box-shadow:inset 0 0 0 3px #9ccab8}.robot-tile.robot-ahead::after{content:'👣';position:absolute;right:4px;bottom:3px;font-size:14px;opacity:.45}.robot-cardhint{font-size:12px;line-height:1.2}.robot-levelchip{border-radius:16px;flex:1 1 100%}.robot-howto{margin-left:auto}@media (prefers-reduced-motion:reduce){.robot-heading-arrow{transition:none}.robot-controls .robot-card-next,.robot-heading-flash{animation:none}}
.robot-intro-step .arw{display:inline-block;font-size:1.45em;line-height:1;vertical-align:-.12em;color:#125e55}
.robot-introguess{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.robot-introguess .arw-big{font-size:28px;line-height:1;color:#125e55}
.robot-tile.robot-ahead::after{right:auto;bottom:auto;left:50%;top:2px;transform:translateX(-50%);font-size:12px;opacity:.5}
/* Move to another device */.transfer-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:6px 0}.transfer-row button{min-height:48px;font-size:14px}.backup-text{width:100%;margin:6px 0;font:12px/1.3 ui-monospace,monospace;border:1px solid #c9c0a3;border-radius:10px;padding:8px}#pasteBox button{min-height:44px}.transfer-confirm{background:#fff0d3;border:2px solid #e5bd50;border-radius:14px;padding:10px 12px;margin:8px 0}.transfer-confirm p{margin:4px 0}.danger-fill{background:#ad4c19;border-color:#ad4c19}.transfer-note.bad{color:#9a3d12;font-weight:800}
/* Rewards: rename and remove */.reward-row-actions{display:flex;gap:8px;flex-basis:100%;margin-top:4px}.reward-row-actions button{min-height:44px;font-size:14px;padding:6px 12px}.reward-rename{display:grid;gap:8px;width:100%}.reward-rename input,.reward-rename select{min-height:44px;font:inherit;padding:8px;border:1px solid #c9c0a3;border-radius:10px}.reward-editing{background:#eef7f2}
.reward-row-actions{flex-basis:auto;margin:0 0 0 auto}.reward-row-actions .reward-bin{min-width:44px;padding:6px 10px;font-size:18px}.reward-confirm small{display:block;font-size:12px}.rename-label{font-weight:800;font-size:14px}.reward-rename .note{margin:-4px 0 0}#renameError:empty{display:none}
