/* A small breakfast café: roomy touch targets, soft paper, miniature food. */
:root{--ink:#28453e;--muted:#77887b;--cream:#f7f7ef;--line:#e2e9de;--orange:#f3a06a;--purple:#b5acd5;--green:#3b7461;--mint:#e2f0e6;--shadow:0 14px 40px #30452f08}
html{scroll-padding-top:112px}body{background:radial-gradient(circle at 6% 9%,#e4ede244,transparent 34%),radial-gradient(circle at 95% 65%,#f4e8cf4d,transparent 32%),var(--cream);overflow-x:hidden}button{min-height:44px}input,textarea{font-size:16px}button:focus-visible,a:focus-visible{outline-color:#74a18a}input:focus,textarea:focus{outline-color:#8bb79b}.primary{background:#39745e;box-shadow:0 5px 0 #28614c,0 9px 20px #2b5c4620;border:1px solid #39745e;font-weight:750;letter-spacing:.2px}.primary:hover{background:#326b56;transform:translateY(-2px)}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #28614c,0 4px 9px #2b5c461a}.primary:disabled{transform:none;box-shadow:0 3px 0 #789c88;background:#92b39c;border-color:#92b39c;opacity:1;color:#fff}.secondary{color:#456955;background:#eaf0e4;font-size:14px;min-height:44px}.eyebrow{color:#769681;font-size:11px;letter-spacing:2.3px}.muted{color:var(--muted)}.brand-symbol{background:#ffdf9d;border-color:#eccd89;color:#a1732e;box-shadow:inset 0 2px 0 #fff5}.brand strong{color:#304c3d;letter-spacing:.5px}.brand small{color:#91a38c;letter-spacing:2px}.text-button{color:#6b836f;min-height:44px;font-size:14px}.text-button:hover{background:#edf0e5}.toast{background:#2e5142;border:1px solid #4d7763;font-size:14px;box-shadow:0 12px 30px #29463525}
.app-header{background:#fdfef8ed;border-color:#e6ece0}.header-inner{max-width:1256px;padding:13px 36px;min-height:82px}.header-nav{gap:5px;margin-left:36px;background:#eef1e7;padding:4px;border-radius:15px}.nav-button{color:#84917d;font-size:14px;padding:11px 18px;border-radius:11px}.nav-button.active{background:#fffef9;color:#345c47;box-shadow:0 2px 7px #2b4b3410}.header-user{gap:12px}.user-dot{background:#ebe8f5;border:1px solid #ddd8ec}.account-menu summary{color:#657762;border-color:#dde5d7;font-size:12px;padding:11px 13px;min-height:44px;display:flex;align-items:center;justify-content:center;background:#fffefa}.account-options{top:51px;padding:7px;border-color:#dde5d7;z-index:30;box-shadow:0 15px 35px #29463315}.account-options button{font-size:14px;min-height:44px}.account-options button:hover{background:#edf2e6}.app-main{max-width:1256px;padding:30px 36px 66px}.app-main>*{min-width:0}
.play-heading{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:21px}.play-heading h1{font-size:34px;letter-spacing:-1px;line-height:1.3;color:#2f4d3d}.play-heading .eyebrow{margin-bottom:9px;font-size:10px;letter-spacing:2px}.play-heading p{font-size:14px;color:#7e907d;line-height:1.7;margin-top:8px}.play-heading h1 small{font-size:14px;font-weight:500;letter-spacing:0;margin-left:12px;color:#9aa78f}.day-status{flex-shrink:0;align-self:center;border:1px solid #dfe7d7;background:#fffef7;border-radius:14px;padding:11px 15px;display:flex;align-items:center;gap:8px;font-size:12px;color:#74846c;box-shadow:0 3px 0 #eceee2}.day-status:before{content:"";width:8px;height:8px;border-radius:50%;background:#efb577;box-shadow:0 0 0 4px #f9edd6}.day-status.saved{color:#4b785a;background:#eaf3e5;border-color:#d3e4cc}.day-status.saved:before{background:#6f9c77;box-shadow:0 0 0 4px #dbead5}.date-area{margin-bottom:24px}.date-area .section-head{margin:0 0 12px}.section-head h2{font-size:17px;color:#3b5946}.section-head h2>span{color:#83a17e}.section-head .sub{color:#95a58b}.date-line input{min-height:44px;padding:10px 12px;font-size:14px;width:165px;border-color:#dde5d6;background:#fffdf7;border-radius:12px}.date-strip{gap:9px}.date-chip{border:1px solid #e0e6d8;background:#fffdf7;border-radius:15px;padding:11px 4px 9px;gap:5px;transition:background .2s,box-shadow .2s,border-color .2s,transform .2s;box-shadow:0 3px 0 #eef0e4;min-height:79px}.date-chip:hover{border-color:#acc4a7;transform:translateY(-1px)}.date-chip .weekday{font-size:12px;color:#90a087}.date-chip .day{font-size:23px;color:#486548;line-height:1.2}.date-chip .date-meta{font-size:11px;color:#a6b49a}.date-chip.active{background:#3c735b;border-color:#3c735b;box-shadow:0 3px 0 #2c5e49}.date-chip.active .day{color:#fffdf0}.date-chip.active .weekday,.date-chip.active .date-meta{color:#c7e1bd}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.food-playground{min-width:0}.category-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.category-tab{border:1px solid #e2e6d9;border-radius:17px;background:#fffef7;display:flex;align-items:center;gap:11px;text-align:left;padding:14px 13px;min-height:78px;position:relative;box-shadow:0 3px 0 #eeeee2;transition:.2s;min-width:0}.category-tab:hover{border-color:#b6c8b0;transform:translateY(-2px)}.tab-step{display:grid;place-items:center;width:37px;height:37px;flex-shrink:0;border-radius:12px;background:#f6ead8;color:#c8904e;font-weight:800;font-size:16px;border:1px solid #eee0c8}.category-tab:nth-child(2) .tab-step{background:#eee8f4;color:#988bb3;border-color:#e6ddf1}.category-tab:nth-child(3) .tab-step{background:#e5eddf;color:#8ca177;border-color:#dce7d2}.tab-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.tab-copy strong{font-size:15px;white-space:nowrap}.tab-copy small{font-size:11px;color:#99a18e;line-height:1.4}.tab-tick{width:19px;height:19px;min-width:19px;border-radius:50%;margin-left:auto;display:grid;place-items:center;background:#eef0e5;color:#b9c0a8;font-size:11px}.category-tab.done .tab-tick{background:#76a383;color:#fff}.category-tab.active{background:#edf4e6;border-color:#81a981;box-shadow:0 3px 0 #b7ccb0}.category-tab.active .tab-step{background:#3e765e;color:#fff;border-color:#3e765e}.category-tab.active .tab-copy strong{color:#2f6046}.category-tab.active .tab-copy small{color:#7b9b72}.food-stage{position:relative;border-radius:27px;border:1px solid #dfe8d9;background:radial-gradient(ellipse at 50% 44%,#f8fcf3 0,#f0f5e8 51%,#e5eddd 100%);overflow:hidden;box-shadow:0 5px 0 #e1e6d7,0 18px 36px #394c2a06;margin-bottom:26px}.food-stage:before{content:"";position:absolute;left:14px;right:14px;top:14px;bottom:14px;border:1px solid #fff8;border-radius:19px;pointer-events:none;z-index:1}.stage-top{position:absolute;z-index:3;left:22px;right:22px;top:21px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}.stage-badge{font-size:10px;letter-spacing:1.2px;color:#79936b;display:inline-flex;align-items:center;gap:7px;background:#fffdf8e6;padding:7px 11px;border:1px solid #dee7d5;border-radius:50px;box-shadow:0 3px 9px #65745008}.stage-badge:before{content:"";width:6px;height:6px;background:#91b082;border-radius:50%}.stage-count{font-size:12px;color:#87967c;letter-spacing:1px;background:#f8fbf0b3;padding:7px 10px;border-radius:10px;font-variant-numeric:tabular-nums}.stage-canvas{height:350px;position:relative;isolation:isolate;overflow:hidden;touch-action:pan-y}.stage-canvas canvas{display:block;width:100%;height:100%;touch-action:pan-y;outline:none}.stage-arrow{pointer-events:auto;width:46px;height:46px;min-height:46px;background:#fffef8dc;border:1px solid #e0e7d7;border-radius:50%;font-size:22px;display:grid;place-items:center;box-shadow:0 4px 0 #dce4d6,0 8px 15px #61785209;color:#718867;transition:.2s}.stage-arrow:hover{background:#fff;border-color:#a9c099;transform:translateY(-2px)}.stage-arrow:active{transform:translateY(2px);box-shadow:0 1px 0 #dce4d6}.stage-caption{text-align:center;position:relative;z-index:2;margin-top:-22px;padding:0 72px}.stage-caption h2{font-size:25px;line-height:1.45;letter-spacing:-.5px;color:#395637;overflow-wrap:anywhere}.stage-caption p{color:#91a383;font-size:12px;margin-top:5px;line-height:1.5}.stage-actions{display:grid;grid-template-columns:48px minmax(0,260px) 48px;justify-content:center;align-items:center;gap:12px;position:relative;z-index:3;padding:16px 24px 12px}.choose-food{min-width:0;width:100%;min-height:52px;font-size:15px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 24px}.choose-food.chosen{background:#eff6e6;color:#588149;border-color:#a7c29a;box-shadow:0 3px 0 #cbdabc}.choose-food.chosen:hover{background:#e8f1dc}.stage-hint{position:relative;z-index:2;text-align:center;padding:0 20px 24px;font-size:11px;letter-spacing:.2px;color:#95a68a;line-height:1.6}.stage-hint span{padding:0 7px;color:#adc19c}.browse-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 15px}.browse-bar h3{font-size:18px;letter-spacing:-.3px;flex-shrink:0}.browse-bar h3 small{font-size:11px;color:#96a28d;font-weight:400;display:block;margin-top:6px;letter-spacing:0}.food-search{position:relative;width:245px;max-width:55%}.food-search label{display:block;font-size:12px;color:#8b9c80}.food-search input{width:100%;padding:10px 13px;min-height:44px;border-radius:13px;background:#fffef9;border-color:#dfe6d7;font-size:14px;outline-offset:0}.food-search input::placeholder{color:#a4b097}.group-filters{display:flex;gap:7px;margin-bottom:18px;overflow-x:auto;overflow-y:hidden;padding:0 1px 5px;scrollbar-width:none;max-width:100%;overscroll-behavior-x:contain}.group-filters::-webkit-scrollbar{display:none}.group-filters button{white-space:nowrap;min-height:44px;border-radius:12px;padding:10px 15px;background:#edf0e5;color:#87947d;font-size:12px;border:1px solid transparent;flex-shrink:0}.group-filters button.active{background:#fffdf5;border-color:#c2d0b5;color:#4e754c;box-shadow:0 3px 0 #e5eadb;font-weight:700}.group-filters button:hover{color:#4e754c;background:#f0f5e7}.toy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.toy-card{position:relative;display:flex;align-items:center;flex-direction:column;background:#fffefa;border:1px solid #e3e8da;border-radius:19px;padding:7px 8px 13px;min-height:155px;min-width:0;overflow:hidden;box-shadow:0 4px 0 #e8ebde;transition:border-color .2s,box-shadow .2s,transform .2s,background .2s;text-align:center}.toy-card:hover{border-color:#bdd0ae;transform:translateY(-3px);box-shadow:0 7px 0 #e0e8d6,0 12px 18px #6175440a}.toy-image{display:grid;place-items:center;width:100%;aspect-ratio:1.2;position:relative;background:radial-gradient(ellipse at 50% 57%,#f5f5e9,transparent 73%);border-radius:12px;margin-bottom:6px}.toy-image img{display:block;width:100%;height:100%;max-height:128px;object-fit:contain;user-select:none;-webkit-user-drag:none;transition:transform .25s}.toy-card:hover .toy-image img{transform:translateY(-3px) rotate(-3deg)}.toy-label{font-size:13px;line-height:1.55;color:#4b6648;font-weight:650;display:block;overflow-wrap:anywhere;width:100%;padding:0 1px;min-height:21px}.toy-check{position:absolute;right:9px;top:9px;width:22px;height:22px;border-radius:50%;background:#fffdf8;box-shadow:0 2px 5px #5677480a;border:1px solid #dbe4d0;display:grid;place-items:center;color:transparent;z-index:2;font-size:11px}.toy-card.focused{border-color:#a8c1a0;background:#f6f9ef;box-shadow:0 4px 0 #cbdaba}.toy-card.selected{border:2px solid #7b9c6e;padding:6px 7px 12px;background:#edf5e3;box-shadow:0 4px 0 #bfd1ad}.toy-card.selected .toy-check{background:#547e51;color:white;border-color:#547e51}.toy-card.selected .toy-label{color:#3d693c}.toy-grid .empty-state{grid-column:1/-1;background:#fffdf8;border-color:#d5dfc9}.toy-grid .empty-state p{font-size:14px;color:#819177}
.game-receipt{position:sticky;top:105px;border:1px solid #dedfcf;background:#fffefa;border-radius:24px;padding:25px 22px;box-shadow:0 5px 0 #e8e9db,0 15px 36px #434e3010;overflow:hidden}.game-receipt:before{content:"";position:absolute;left:22px;right:22px;top:0;height:4px;background:repeating-linear-gradient(90deg,#efbe85 0 15px,#ffedcf 15px 30px);border-radius:0 0 5px 5px}.game-receipt .receipt-top{padding-bottom:19px;margin-bottom:20px;border-color:#dfe1cf}.game-receipt .receipt-top .mini-sun{color:#e6b469;font-size:29px}.game-receipt .receipt-top h3{font-size:20px;color:#35583e;margin:8px 0 7px}.game-receipt .receipt-top p{font-size:11px;color:#95a187;line-height:1.6}.game-receipt .receipt-date{font-size:12px;color:#7b8e6a;margin-top:12px}.game-receipt .receipt-row{min-height:68px;margin:12px 0;gap:12px;border-radius:14px;background:#f7f8ed;padding:8px 10px}.game-receipt .receipt-row .receipt-icon{width:58px;height:54px;border-radius:12px;background:transparent;object-fit:contain;font-size:25px}.game-receipt .receipt-row img{object-fit:contain;max-width:58px}.game-receipt .receipt-row>div{min-width:0;flex:1}.game-receipt .receipt-row:nth-of-type(3){background:#f4f0f8}.game-receipt .receipt-row:nth-of-type(4){background:#edf4e8}.game-receipt .receipt-row small{color:#98a28b;font-size:10px;letter-spacing:1px;margin-bottom:5px}.game-receipt .receipt-row strong{font-size:13px;font-weight:700;color:#4d6743;line-height:1.5;overflow-wrap:anywhere}.game-receipt .receipt-row .pending{color:#b1baa3;font-size:12px;font-weight:400}.game-receipt label{font-size:12px;color:#8b9c7c;margin-top:21px}.game-receipt textarea{background:#fcfbf2;border-color:#e4e7d8;padding:12px;font-size:14px;min-height:88px;border-radius:12px;line-height:1.7}.game-receipt textarea::placeholder{color:#b0baa4}.game-receipt .primary{min-height:50px;padding:13px 18px;font-size:15px;margin-top:18px}.game-receipt .receipt-foot{font-size:10px;line-height:1.8;color:#a8b096;margin-top:15px}.tray-close{display:none}.tray-dock,.tray-backdrop{display:none}.order-state{color:#899a7b;background:#edf1e4;border:1px solid #e0e7d5;border-radius:10px;font-size:12px;padding:7px 11px}.order-state.saved{color:#57824d;background:#e9f1df;border-color:#d7e4c8}.save-banner{background:#eaf4e0;border-color:#d9e8ca;color:#6d8b5d;font-size:13px;border-radius:16px}.save-banner button{font-size:12px;min-height:44px}.main-footer{color:#a1af93;font-size:11px;line-height:1.8;padding-top:30px}
.parent-world{border:1px solid #dce6d4;border-radius:27px;overflow:hidden;background:radial-gradient(ellipse at 50% 48%,#fafdf4,#edf3e3 75%);margin-bottom:23px;position:relative;box-shadow:0 5px 0 #e2e8d8}.parent-world .plate-canvas{height:285px;width:100%;touch-action:pan-y}.parent-world canvas{display:block;width:100%;height:100%;touch-action:pan-y}.parent-world .stage-top{top:19px}.parent-world .stage-hint{padding-bottom:18px}.parent-food{background:#fffdf8;border-color:#e2e7d8;box-shadow:0 4px 0 #e8eadc;border-radius:21px;padding:22px}.parent-food img{width:96px;height:80px;object-fit:contain;display:block;margin:0 auto 10px}.parent-food h3{font-size:17px;line-height:1.55;color:#4c6847;overflow-wrap:anywhere}.parent-food small{color:#96a488;font-size:11px}.parent-food .muted{font-size:12px;color:#8fa07e}.parent-note{background:#f6f5e8;border-color:#e1e6d5;font-size:14px;color:#75875e;line-height:1.75}.parent-last-update{color:#a0ad90;font-size:12px;margin-top:18px}.empty-state{border-color:#d7e0c9;background:#fffef7}.empty-state p{color:#92a080;font-size:14px}.empty-state h3{color:#587443;font-size:18px}.history-card{border-color:#e0e6d6;box-shadow:0 4px 0 #e8ecdc;background:#fffefa}.history-card h3{color:#46613e}.history-card .weekday-label{color:#92a281;font-size:11px}.history-food>div{font-size:13px;color:#657b50}.history-food img{height:44px;width:50px;object-fit:contain}.history-food .food-category{color:#9ba88a;font-size:11px}.history-note{background:#f1f4e7;color:#819267;font-size:12px}.history-card-foot{border-color:#e1e5d1}.history-card-foot button{background:#e8efd9;color:#6b884d;font-size:12px;min-height:44px;padding:10px 12px}.history-card-foot small{font-size:10px;color:#a5b28f}.error-card{background:#fff5e8;border-color:#ebd7bc;color:#a98557}.loading-card{color:#92a07f}
.welcome{max-width:1200px;padding:34px 44px}.welcome-content{gap:70px}.welcome-story h1{font-size:43px;color:#304e3b;letter-spacing:-1px}.welcome-story h1 em{color:#da9867}.welcome-story .muted{color:#91a085;max-width:360px}.welcome-world{height:295px;width:100%;max-width:445px;margin:4px auto -20px;touch-action:pan-y}.welcome-world canvas{width:100%;height:100%;display:block;touch-action:pan-y}.story-tags span{border-color:#e4e5d2;background:#fffdf6;color:#9caa8b;font-size:11px}.login-card{border-color:#e3e6d5;box-shadow:0 6px 0 #e7e9d9,0 20px 50px #384b2c07;background:#fffef9;border-radius:28px}.login-card:before{background:repeating-linear-gradient(90deg,#eed0a4 0,#eed0a4 14px,#fff3d7 14px,#fff3d7 28px)}.login-card h2{color:#3d5d43}.login-card .muted{color:#9ba689}.login-card label,.password-form label{color:#768966;font-size:14px}.login-card input,.password-form input{border-color:#e0e5d5;background:#fcfcf5;font-size:16px;min-height:50px}.login-card .login-note{color:#a7b094;font-size:11px}.password-toggle{color:#94a181;top:11px;min-height:44px;min-width:44px}.welcome-footer{color:#a8b096}.role-content>h1{color:#36533d}.role-card{background:#fff2dc;border-color:#e8d6b6;box-shadow:0 5px 0 #eaddc4}.role-card.parent{background:#e8f0e1;border-color:#d5e2c9;box-shadow:0 5px 0 #dce6d1}.role-card p{color:#ab9370;font-size:14px}.role-card.parent p{color:#819a6b}.role-card h2{font-size:24px;color:#5b7147}.role-arrow{color:#b19d75}.role-card.parent .role-arrow{color:#9ab381}.role-avatar img{width:100px;height:85px;object-fit:contain}.role-content>small{color:#a9b096}.password-form .primary{margin-top:12px}dialog{background:#fffef9;border-color:#e0e5d4;color:#3e5a40}dialog::backdrop{background:#25472a44}.dialog-close{min-width:44px;min-height:44px;color:#a2ad91}
@media(min-width:1440px){.app-main{padding-top:35px}.stage-canvas{height:380px}.toy-image img{max-height:140px}.toy-card{min-height:169px}}
@media(max-width:1050px){.header-inner{padding:13px 25px;gap:18px}.header-nav{margin-left:10px}.app-main{padding:27px 25px 60px}.game-layout{grid-template-columns:minmax(0,1fr) 270px;gap:19px}.category-tab{padding:12px 10px;gap:8px}.tab-step{width:32px;height:34px;border-radius:10px}.tab-copy strong{font-size:14px}.tab-copy small{font-size:10px}.tab-tick{width:17px;height:17px;min-width:17px}.toy-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.game-receipt{padding:24px 18px}.game-receipt .receipt-row{gap:8px;padding:8px}.game-receipt .receipt-row .receipt-icon{width:49px;height:50px}.game-receipt .receipt-row strong{font-size:12px}.stage-canvas{height:320px}.stage-caption h2{font-size:23px}.welcome-content{gap:45px}}
@media(max-width:900px){.game-layout{grid-template-columns:minmax(0,1fr)}.game-receipt{display:none}.tray-dock{display:flex;align-items:center;gap:12px;position:fixed;bottom:0;left:0;right:0;padding:12px 22px calc(12px + env(safe-area-inset-bottom));background:#fffef8f5;border-top:1px solid #dfe6d5;box-shadow:0 -12px 32px #48602c0b;z-index:35;backdrop-filter:blur(18px)}.tray-dock #open-tray{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:left;border-radius:13px;background:transparent;padding:0;min-height:54px}.tray-title{display:flex;flex-direction:column;gap:4px;min-width:0}.tray-title strong{font-size:14px;color:#40603e;white-space:nowrap}.tray-title small{font-size:11px;color:#8c9e7b;white-space:nowrap}.tray-mini{display:flex;align-items:center;gap:2px;flex-shrink:0}.tray-mini img{width:37px;height:38px;object-fit:contain;border:1px solid #e3e8d7;background:#f5f7ec;border-radius:11px;padding:2px}.tray-dot{width:37px;height:38px;border:1px dashed #d0dec1;background:#f2f6e9;border-radius:11px;display:grid;place-items:center;color:#a7b78c;font-size:16px}.dock-save{flex-shrink:0;min-width:106px;min-height:47px;border-radius:13px;font-size:14px;padding:12px 16px}.tray-backdrop{display:block;position:fixed;inset:0;background:#263e2e5c;z-index:60;backdrop-filter:blur(5px);animation:trayFade .18s ease-out}.tray-backdrop[hidden]{display:none}.game-receipt.is-open{display:block;position:fixed;top:13dvh;bottom:0;left:50%;width:min(520px,100%);max-width:100%;transform:translateX(-50%);border:1px solid #d6dfcc;border-bottom:none;border-radius:28px 28px 0 0;padding:31px 27px calc(28px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;z-index:65;box-shadow:0 -10px 40px #263f2c1a;animation:trayRise .25s ease-out}.game-receipt.is-open:before{left:calc(50% - 23px);right:auto;top:11px;height:4px;width:46px;background:#dbe2d0;border-radius:4px}.tray-close{display:grid;place-items:center;position:absolute;right:14px;top:18px;width:44px;height:44px;border-radius:14px;background:#eff2e6;color:#8a9c78;font-size:22px;z-index:2}.game-receipt .receipt-top{padding-bottom:18px;margin-bottom:21px}.game-receipt .receipt-top h3{font-size:22px}.game-receipt .receipt-row{min-height:70px;gap:13px;margin:13px 0;padding:8px 13px}.game-receipt .receipt-row .receipt-icon{width:67px;height:57px}.game-receipt .receipt-row img{max-width:67px}.game-receipt .receipt-row strong{font-size:15px}.game-receipt .receipt-row small{font-size:11px}.game-receipt textarea{font-size:16px;min-height:80px}.game-receipt .primary{margin-top:19px;min-height:52px;font-size:16px}.game-receipt .receipt-foot{font-size:11px}.app-main{padding-bottom:130px}.toast{bottom:calc(102px + env(safe-area-inset-bottom))}.stage-canvas{height:360px}.toy-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.toy-card{min-height:165px}.parent-order{grid-template-columns:repeat(3,minmax(0,1fr))}.parent-food{padding:19px}.parent-food img{width:88px;height:75px}.parent-food h3{font-size:16px}.header-user .user-badge>span:last-child{display:none}.play-heading h1{font-size:31px}.day-status{padding:10px 12px;font-size:11px}.welcome-content{gap:30px}.welcome-story h1{font-size:35px}}
@media(max-width:650px){html{scroll-padding-top:125px}.welcome{padding:22px 21px}.welcome-content{gap:24px;padding:28px 0 15px}.welcome-story h1{font-size:31px;line-height:1.35;margin:4px 0 12px}.welcome-story .muted{font-size:13px;line-height:1.8;max-width:300px}.welcome-world{height:210px;max-width:320px;margin:0 auto -24px}.welcome-top>span{font-size:10px;color:#a7b092}.welcome-top .brand strong{font-size:15px}.login-card{padding:27px 24px;border-radius:25px;max-width:400px}.login-card h2{font-size:23px}.login-card .muted{font-size:13px}.login-card form{margin-top:20px}.login-card label{font-size:14px;margin-top:17px}.login-card .primary{font-size:16px;min-height:52px;margin-top:8px}.welcome-footer{font-size:11px;padding:19px 0}.role-content{padding:38px 0}.role-content>h1{font-size:27px}.role-content .muted{font-size:13px}.role-grid{gap:12px;margin-top:28px}.role-card{padding:25px 18px;border-radius:22px}.role-avatar{margin-bottom:17px}.role-card h2{font-size:21px}.role-card p{font-size:12px;line-height:1.8}.role-arrow{right:16px;top:33px}.role-content>small{font-size:11px}.header-inner{padding:10px 16px;gap:8px;min-height:66px}.app-header .brand-symbol{width:34px;height:34px;font-size:24px;border-radius:12px}.app-header .brand strong{font-size:14px;letter-spacing:0}.app-header .brand small{font-size:7px;letter-spacing:1.5px}.header-user{gap:5px}.user-dot{width:28px;height:28px;border-radius:10px}.account-menu summary{font-size:10px;padding:9px;min-height:44px}.account-options{top:49px}.header-nav{border-top:none;order:3;width:100%;margin:2px 0 0;padding:4px;gap:4px;background:#edf1e5;border-radius:12px}.nav-button{flex:1;padding:10px 12px;font-size:13px;min-height:44px;border-radius:9px}.app-main{padding:20px 16px calc(126px + env(safe-area-inset-bottom))}.play-heading{gap:8px;align-items:start;margin-bottom:18px}.play-heading h1{font-size:26px;letter-spacing:-.6px;line-height:1.4}.play-heading .eyebrow{font-size:9px;letter-spacing:1.6px;margin-bottom:7px}.play-heading h1 small{display:block;font-size:12px;margin:4px 0 0;letter-spacing:0}.play-heading p{font-size:12px;line-height:1.6;margin-top:5px;max-width:265px}.day-status{position:absolute;right:0;top:0;border-radius:9px;padding:6px 9px;font-size:10px;gap:5px;min-height:30px}.day-status:before{width:6px;height:6px;box-shadow:none}.day-status.saved:before{box-shadow:none}.date-area{margin-bottom:21px}.date-area .section-head{margin-bottom:11px;gap:8px}.section-head h2{font-size:15px}.section-head .text-button{font-size:12px;min-height:44px}.date-line{gap:5px}.date-line input{width:145px;padding:9px 10px;font-size:16px;min-height:44px;border-radius:11px}.date-strip{display:flex;overflow-x:auto;overflow-y:hidden;gap:7px;padding:0 1px 5px;scrollbar-width:none;overscroll-behavior-x:contain;scroll-snap-type:x proximity}.date-strip::-webkit-scrollbar{display:none}.date-chip{flex:1 0 44px;min-width:44px;max-width:66px;min-height:77px;border-radius:12px;padding:10px 3px 8px;gap:5px;scroll-snap-align:start}.date-chip .weekday{font-size:10px}.date-chip .day{font-size:21px}.date-chip .date-meta{font-size:10px}.game-layout{gap:0}.category-tabs{gap:7px;margin-bottom:12px}.category-tab{padding:11px 9px;gap:7px;border-radius:14px;min-height:75px;flex-wrap:wrap;align-content:center}.tab-step{width:26px;height:27px;flex-shrink:0;border-radius:9px;font-size:13px}.tab-copy{gap:3px}.tab-copy strong{font-size:13px}.tab-copy small{font-size:10px}.tab-tick{position:absolute;right:8px;top:8px;width:14px;height:14px;min-width:14px;font-size:9px;margin:0}.category-tab:not(.done) .tab-tick{display:none}.category-tab.active{box-shadow:0 3px 0 #bdd0b4}.food-stage{border-radius:23px;margin-bottom:24px}.food-stage:before{inset:10px;border-radius:16px}.stage-top{top:17px;left:17px;right:17px}.stage-badge{font-size:9px;letter-spacing:.8px;padding:6px 9px;gap:6px}.stage-count{font-size:10px;padding:6px 8px;letter-spacing:.5px}.stage-canvas{height:270px}.stage-arrow{width:44px;height:44px;min-height:44px;font-size:19px;background:#fffef8dd;box-shadow:0 3px 0 #dce4d6}.stage-caption{padding:0 45px;margin-top:-18px}.stage-caption h2{font-size:21px;line-height:1.4;letter-spacing:-.4px}.stage-caption p{font-size:11px;margin-top:5px}.stage-actions{padding:15px 20px 12px}.choose-food{min-height:50px;min-width:205px;padding:13px 23px;font-size:15px;border-radius:13px}.stage-hint{font-size:10px;padding:0 15px 20px;line-height:1.6}.browse-bar{gap:10px;margin-bottom:12px;align-items:center}.browse-bar h3{font-size:16px}.browse-bar h3 small{font-size:10px;margin-top:4px}.food-search{width:180px;max-width:53%}.food-search input{font-size:16px;padding:10px 11px;min-height:44px;border-radius:11px}.food-search label{font-size:11px}.group-filters{gap:6px;margin-bottom:15px;padding-bottom:5px}.group-filters button{font-size:11px;padding:10px 12px;min-height:44px;border-radius:10px}.toy-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.toy-card{border-radius:15px;padding:6px 6px 11px;min-height:137px;box-shadow:0 3px 0 #e8ebde}.toy-image{aspect-ratio:1.07;margin-bottom:4px;border-radius:10px}.toy-image img{max-height:109px}.toy-label{font-size:12px;line-height:1.55;padding:0;min-height:20px;font-weight:650}.toy-check{width:18px;height:18px;font-size:9px;top:7px;right:7px}.toy-card.selected{padding:5px 5px 10px;box-shadow:0 3px 0 #bfd1ad}.tray-dock{padding:10px 16px calc(10px + env(safe-area-inset-bottom));gap:10px}.tray-dock #open-tray{gap:9px;min-height:52px}.tray-mini{gap:1px}.tray-mini img,.tray-dot{width:29px;height:33px;border-radius:9px}.tray-title strong{font-size:12px}.tray-title small{font-size:10px}.dock-save{min-width:88px;min-height:46px;padding:12px 13px;font-size:13px;border-radius:12px}.game-receipt.is-open{top:10dvh;border-radius:25px 25px 0 0;padding:30px 23px calc(26px + env(safe-area-inset-bottom))}.game-receipt .receipt-top h3{font-size:21px}.game-receipt .receipt-row{min-height:67px;margin:12px 0;padding:8px 12px}.game-receipt .receipt-row .receipt-icon{width:58px;height:53px}.game-receipt .receipt-row strong{font-size:14px}.game-receipt label{font-size:13px}.parent-world{border-radius:22px;margin-bottom:20px}.parent-world .plate-canvas{height:255px}.parent-world .stage-hint{font-size:11px;padding-bottom:18px}.parent-order{grid-template-columns:1fr;gap:11px}.parent-food{display:grid;grid-template-columns:80px minmax(0,1fr);column-gap:14px;align-items:center;padding:16px 19px;border-radius:18px;min-height:102px}.parent-food img{grid-row:1/4;width:80px;height:73px;margin:0;float:none}.parent-food .category-emoji{float:none;grid-row:1/4;margin:0}.parent-food small{font-size:10px;letter-spacing:1px}.parent-food h3{font-size:16px;margin:4px 0;line-height:1.5}.parent-food .muted{font-size:11px}.parent-note{font-size:13px;padding:16px 18px;border-radius:15px;gap:10px}.parent-last-update{font-size:11px}.history-card{padding:20px;border-radius:19px}.history-card h3{font-size:16px}.history-food>div{font-size:13px}.history-food img{width:46px;height:39px}.history-card-foot small{font-size:10px}.main-footer{font-size:10px;padding-top:26px}.toast{bottom:calc(94px + env(safe-area-inset-bottom));padding:13px 19px;font-size:13px;line-height:1.5}.error-card{font-size:13px}.loading-card{font-size:13px;padding:30px 15px}.password-form{padding:30px 25px}.password-form h2{font-size:23px}.password-form .muted{font-size:13px}.password-form label{font-size:14px}.password-form .primary{font-size:16px}.save-banner{font-size:12px;padding:11px 14px;align-items:center}.save-banner button{font-size:11px}.empty-state{padding:35px 20px}.empty-state p{font-size:13px}}
@media(max-width:360px){.header-inner{padding:9px 12px}.app-main{padding-left:12px;padding-right:12px}.play-heading h1{font-size:24px}.play-heading p{font-size:11px;max-width:245px}.day-status{font-size:9px;padding:5px 7px}.category-tabs{gap:6px}.category-tab{padding:10px 7px;gap:5px;min-height:72px}.tab-copy strong{font-size:12px}.tab-copy small{font-size:9px}.tab-step{width:23px;height:25px;font-size:12px;border-radius:8px}.stage-canvas{height:247px}.stage-caption h2{font-size:19px}.stage-top{left:15px;right:15px}.stage-caption{padding:0 42px}.browse-bar h3{font-size:15px}.food-search{max-width:53%;width:156px}.toy-grid{gap:7px}.toy-card{min-height:128px;border-radius:13px;padding:5px 5px 10px}.toy-label{font-size:11px;line-height:1.55}.toy-card.selected{padding:4px 4px 9px}.tray-dock{padding-left:12px;padding-right:12px;gap:8px}.tray-dock #open-tray{gap:7px}.tray-mini img,.tray-dot{width:25px;height:31px}.tray-title strong{font-size:11px}.tray-title small{font-size:9px}.dock-save{min-width:82px;padding:11px 11px;font-size:12px}.date-line input{width:141px}.game-receipt.is-open{padding-left:20px;padding-right:20px}.welcome{padding-left:18px;padding-right:18px}.welcome-story h1{font-size:28px}.welcome-world{height:192px}.role-card{padding:24px 15px}.role-card h2{font-size:19px}.role-card p{font-size:11px}}
@media(max-height:520px) and (orientation:landscape){.header-inner{min-height:65px}.header-nav{width:auto;order:initial;margin:0 auto 0 14px;flex-shrink:0}.app-main{padding-top:18px}.stage-canvas{height:240px}.play-heading{margin-bottom:17px}.play-heading h1{font-size:27px}.date-chip{min-height:71px}.category-tab{min-height:69px}.stage-caption h2{font-size:20px}.food-search input{font-size:16px}.game-receipt.is-open{top:5dvh;max-width:560px}.parent-world .plate-canvas{height:225px}.welcome-world{height:210px}.welcome-content{padding-top:25px}.tray-dock{padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}.stage-hint{padding-bottom:16px}.tray-close{top:17px}}
/* Keep model dragging isolated from the page scroll gesture. */
#food-world{touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#food-world.is-rotating{cursor:grabbing}
/* Shared model-image wrapper, also used by the tray and breakfast diary. */
.toy-image .food-fallback{position:absolute;inset:0;display:grid;place-items:center;font-size:37px;line-height:1;pointer-events:none;color:#adc09b;font-weight:400}.toy-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.toy-image img:not([src]){display:none}.toy-image:has(img[src]) .food-fallback{visibility:hidden}.toy-image.has-model .food-fallback{visibility:hidden}.game-receipt .receipt-row{width:100%;text-align:left}.game-receipt .receipt-row>span:not(.toy-image):not(.receipt-edit){min-width:0;flex:1}.game-receipt .receipt-row .receipt-icon{flex-shrink:0;aspect-ratio:auto;margin:0;overflow:visible}.game-receipt .receipt-row .receipt-icon img{width:100%;height:100%;max-width:none;max-height:none}.game-receipt .receipt-row .food-fallback{font-size:29px}.game-receipt .receipt-row .receipt-edit{flex-shrink:0;font-size:10px;color:#96ab82;white-space:nowrap;background:#f0f4e6;border-radius:7px;padding:5px 6px;line-height:1.4}.game-receipt .receipt-row:hover{background:#f0f5e6;outline:1px solid #d5e2c6}.game-receipt .receipt-row:nth-child(2){background:#f4f0f8}.game-receipt .receipt-row:nth-child(3){background:#edf4e8}.game-receipt .receipt-row:nth-child(2) .receipt-icon,.game-receipt .receipt-row:nth-child(3) .receipt-icon{background:transparent}.tray-mini .toy-image{aspect-ratio:auto;margin:0;flex-shrink:0;background:#f2f6e9;overflow:visible}.tray-mini .toy-image:has(img[src]){border-style:solid}.tray-mini .toy-image img{width:100%;height:100%;object-fit:contain;padding:0;border:0;background:transparent;border-radius:0;max-height:none}.tray-mini .food-fallback{font-size:16px}.history-food .history-model{width:44px;height:44px;aspect-ratio:auto;margin:0;flex-shrink:0;background:#f5f7ec;border-radius:10px}.history-food .history-model img{width:100%;height:100%;max-height:none}.history-model .food-fallback{font-size:22px}.parent-food>.toy-image{width:96px;height:80px;aspect-ratio:auto;margin:0 auto 10px}.parent-food>.toy-image img{width:100%;height:100%;margin:0}.parent-world>.stage-badge{position:absolute;left:21px;top:19px;z-index:3}.play-heading h1 em{font-style:normal;color:#65906c}.food-search{display:flex;align-items:center}.food-search>span{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:24px;font-weight:400;color:#a0b095;pointer-events:none;line-height:1}.food-search input{padding-left:37px}.stage-actions{align-items:center;gap:12px}.stage-actions #next-category{grid-column:1/-1;justify-self:center;font-size:12px;padding:10px 8px;color:#77946a}.stage-actions #next-category[hidden]{display:none}.no-food{grid-column:1/-1;padding:35px 20px;font-size:14px;text-align:center;color:#849b72;background:#fffef6;border:1px dashed #dae4ce;border-radius:17px}.world-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:55px 55px 28px;color:#7a926c;text-align:center;font-size:13px;line-height:1.8;pointer-events:none}.world-fallback img{max-width:75%;max-height:70%;object-fit:contain}.world-fallback .fallback-food{font-size:86px;filter:drop-shadow(0 10px 3px #94a78120)}.plate-canvas,.welcome-world{position:relative}body.tray-open{overflow:hidden}.tray-title b{font-weight:750;display:inline-flex;padding:2px 5px;border-radius:6px;background:#e6efda;color:#6b9056;font-size:10px;margin-left:3px;letter-spacing:.5px}
@media(max-width:1050px){.parent-food>.toy-image{width:88px;height:75px}}
.stage-canvas canvas[hidden],.plate-canvas canvas[hidden],.welcome-world canvas[hidden]{display:none}.food-world-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:49px 48px 20px;gap:15px;color:#81966d;isolation:isolate}.food-world-fallback:before{content:"";position:absolute;left:50%;top:50%;width:min(78%,300px);height:41%;border-radius:50%;border:9px solid #fffdf7;background:#f7f8eb;box-shadow:0 10px 0 #dce5cc,0 17px 25px #77896010;transform:translate(-50%,-34%);z-index:-1}.fallback-foods{display:flex;align-items:center;justify-content:center;gap:5px;max-width:100%;width:100%;min-height:130px}.fallback-food-token{display:grid;place-items:center;font-size:80px;line-height:1.3;padding:6px;background:none;border:none;filter:drop-shadow(0 8px 2px #7d947829);min-width:0;flex:0 1 auto;user-select:none;-webkit-user-select:none}.fallback-food-token:focus-visible{border-radius:19px}.food-world-fallback p{font-size:12px;text-align:center;line-height:1.6;max-width:300px;color:#9aaa8c}.plate-canvas .fallback-food-token,.welcome-world .fallback-food-token{font-size:64px}
@media(max-width:650px){.day-status{display:none}.stage-actions{gap:6px;padding-top:14px}.stage-actions #next-category{min-height:44px;padding:10px 9px;font-size:11px}.parent-food>.toy-image{grid-row:1/4;width:80px;height:73px;aspect-ratio:auto;margin:0}.parent-food>.toy-image img{width:100%;height:100%;margin:0}.history-food .history-model{width:40px;height:40px}.food-search input{padding-left:30px}.food-search>span{left:10px;font-size:22px}.game-receipt .receipt-row .receipt-edit{font-size:11px;padding:6px 8px}.world-fallback{padding:48px 40px 30px;font-size:12px}.tray-title b{font-size:9px;padding:2px 4px;margin-left:2px}}
@media(max-width:650px){.food-world-fallback{padding:41px 42px 10px;gap:10px}.food-world-fallback:before{border-width:7px;width:77%;height:42%}.fallback-foods{min-height:106px}.fallback-food-token{font-size:70px;padding:4px}.plate-canvas .fallback-food-token,.welcome-world .fallback-food-token{font-size:51px}.food-world-fallback p{font-size:11px}}
@media(max-width:360px){.toy-label{font-size:12px}.stage-actions{flex-direction:column;gap:3px;padding:14px 17px 7px}.stage-actions #next-category{min-height:44px;padding:9px 12px;font-size:12px}.stage-actions .choose-food{width:100%;max-width:225px}.game-receipt .receipt-row .receipt-edit{font-size:10px;padding:5px 6px}.world-fallback .fallback-food{font-size:72px}}
/* Keep the featured food and its choose button inside a phone's first view. */
@media(max-width:650px){.header-inner{padding:6px 16px;gap:5px;min-height:60px}.header-nav{padding:3px;margin-top:0;gap:3px}.nav-button{min-height:44px;padding:8px 11px}.app-main{padding-top:13px}.play-heading{margin-bottom:12px}.play-heading .eyebrow{display:none}.play-heading h1{font-size:25px;line-height:1.3}.play-heading p{font-size:11px;line-height:1.6;margin-top:4px;max-width:none}.date-area{margin-bottom:14px}.date-area .section-head{margin:0 0 8px}.date-chip{min-height:58px;padding:4px 3px;gap:2px}.date-chip .weekday{font-size:10px;line-height:1}.date-chip .day{font-size:21px;line-height:1.1}.date-chip .date-meta{font-size:9px;line-height:1;height:10px}.category-tabs{margin-bottom:10px}.category-tab{min-height:63px;padding-top:8px;padding-bottom:8px}.food-stage{margin-bottom:21px}.stage-canvas{height:220px}.stage-top{top:13px;left:15px;right:15px}.stage-caption{margin-top:-12px;padding:0 40px}.stage-caption h2{font-size:20px;line-height:1.35}.stage-caption p{font-size:10px;line-height:1.3;margin:0 0 3px}.stage-actions{grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;padding:9px 18px}.stage-actions .primary.choose-food{width:100%;min-width:0;max-width:none;min-height:46px;font-size:14px;padding:11px 12px}.stage-actions #next-category{width:auto;min-height:44px;max-width:none;padding:8px 7px;font-size:11px;line-height:1.5}.stage-hint{font-size:10px;line-height:1.5;padding:0 15px 14px}.food-world-fallback{padding-top:36px;padding-bottom:10px;gap:7px}.fallback-foods{min-height:90px}.fallback-food-token{font-size:66px}.food-world-fallback p{font-size:10px}}
@media(max-width:360px){.header-inner{padding:6px 12px}.play-heading h1{font-size:23px}.play-heading p{font-size:11px;line-height:1.5}.category-tab{min-height:61px;padding-top:7px;padding-bottom:7px}.stage-canvas{height:200px}.stage-caption h2{font-size:19px}.stage-actions{grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;padding:9px 15px}.stage-actions .primary.choose-food{width:100%;min-width:0;max-width:none;font-size:13px;padding:10px 10px}.stage-actions #next-category{padding:8px 6px;font-size:11px;max-width:none}.stage-hint{padding-bottom:12px}.fallback-food-token{font-size:60px}}
@keyframes trayRise{from{opacity:.5;transform:translate(-50%,40px)}to{opacity:1;transform:translate(-50%,0)}}@keyframes trayFade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.toy-card:hover,.toy-card:hover .toy-image img,.category-tab:hover,.date-chip:hover,.primary:hover{transform:none}}

