@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;900&display=swap');
:root{--paper:#faf7ef;--ink:#283c2f;--red:#db563f;--green:#41634a;--line:#dedfd2}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Noto Sans SC',sans-serif;font-size:15px}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #d59339;outline-offset:4px}header{max-width:1200px;margin:auto;padding:28px 36px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;font-size:32px;color:var(--ink);text-decoration:none;align-items:center}.brand span{font-size:22px;font-weight:900}.brand small{display:block;font-size:8px;letter-spacing:2px;font-weight:500}.local{font-size:12px;color:#768474}main{max-width:1128px;margin:auto}.hero{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;padding:46px 0 38px;min-height:365px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:600}.hero h1{font-size:46px;line-height:1.45;letter-spacing:-2px;margin:16px 0}.hero h1 span{color:var(--red)}.intro{color:#7a7f71;line-height:1.9;font-size:14px}.primary{background:var(--green);color:white;border:0;border-radius:9px;padding:13px 22px;font-weight:600}.hero .primary{margin-top:10px}.plate-art{position:relative;height:320px;display:grid;place-items:center}.plate{width:260px;height:260px;background:#fffdf7;border:18px solid #e8e8d6;outline:2px solid #fff;box-shadow:15px 25px 40px #45523b19;border-radius:50%;position:relative;transform:rotate(-12deg)}.plate div{position:absolute;font-size:80px;filter:drop-shadow(3px 7px 3px #0001)}.rice{top:73px;left:63px}.broccoli{top:0;left:4px}.tomato{right:0;top:19px}.egg{bottom:-3px;left:9px}.orbit{position:absolute;top:6px;left:25px;transform:rotate(-12deg);font-size:14px;border:1px solid #adb69c;padding:9px 16px;border-radius:50%}.sprig{position:absolute;right:20px;bottom:30px;font-size:66px;transform:rotate(20deg)}.art-note{position:absolute;left:0;bottom:3px;color:#9d6249;font-family:Georgia,serif;font-style:italic;font-size:18px;transform:rotate(-8deg)}nav{display:flex;gap:32px;border-bottom:1px solid var(--line);margin-bottom:28px}nav button{border:0;background:none;padding:18px 0;color:#828779;position:relative;font-weight:600}nav button.active{color:var(--ink)}nav button.active:after{content:'';height:3px;position:absolute;background:var(--green);bottom:-1px;left:0;right:0}nav b{font-size:11px;padding:2px 6px;background:#ececdf;border-radius:10px;margin-left:5px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-head h2{font-size:24px;letter-spacing:-.5px;margin:0 0 7px}.muted{font-size:12px;color:#7c8273;line-height:1.7}.outline,.chip,.iconbtn{border:1px solid var(--line);background:transparent;border-radius:8px;padding:10px 15px;color:var(--ink)}.notice{background:#f5ebd8;padding:13px 17px;border-radius:8px;margin:22px 0;color:#89683e;font-size:13px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.chip{border-radius:24px;padding:8px 17px;font-size:13px}.chip.active{background:var(--ink);color:white;border-color:var(--ink)}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.food{position:relative;background:#fffdf8;border:1px solid var(--line);border-radius:13px;padding:16px;transition:.15s}.food.selected{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.food.expired{opacity:.65}.food-top{display:flex;align-items:center;justify-content:space-between}.food input{width:21px;height:21px;accent-color:var(--green);cursor:pointer}.food-emoji{font-size:50px;display:block;padding:14px 0;text-align:center;background:#f2f3e9;border-radius:9px;margin:10px 0}.food h3{font-size:16px;margin:12px 0 4px}.tag{font-size:10px;color:#8b7757;background:#f4ead9;border-radius:5px;padding:4px 7px}.good{background:#eaf0e4;color:#52714d}.bad{background:#fae1db;color:#ba503a}.food-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.textbtn{border:0;background:none;color:#7d8374;padding:8px;font-size:12px}.actionbar{display:flex;align-items:center;justify-content:space-between;background:#e8eddf;border-radius:12px;padding:16px 20px;margin:22px 0;gap:12px}.actionbar span{font-size:13px}.recipes{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}.recipe{background:#fffdf8;border:1px solid var(--line);border-radius:14px;overflow:hidden}.dish{height:155px;background:#f0e7d3;display:grid;place-items:center;font-size:80px}.recipe:nth-child(2n) .dish{background:#e7eddf}.recipe:nth-child(3n) .dish{background:#f4e0d5}.recipe-body{padding:20px}.recipe h3{margin:8px 0 12px;font-size:21px}.recipe p{font-size:13px;line-height:1.8;color:#7a8170}.recipe .primary{width:100%;margin-top:10px}.mini{font-size:11px;color:#a17b53}.empty{text-align:center;padding:50px 20px;color:#7d8276}.shop-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;margin-top:20px}.shopping,.buybox{background:#fffdf8;border:1px solid var(--line);border-radius:13px;padding:22px}.shoprow{display:flex;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);align-items:center}.shoprow label{flex:1}.shoprow input{width:21px;height:21px;accent-color:var(--green)}.shoprow.done label{text-decoration:line-through;color:#999}.shoprow a{font-size:12px;color:var(--green)}.buybox{background:#edf0e4;align-self:start}.buybox h3{font-size:22px;margin-top:0}.buybox a{display:block;text-align:center;margin-top:12px;text-decoration:none}.buybox button{width:100%}.shopadd{display:flex;gap:8px;margin-top:20px}.shopadd input{min-width:0;flex:1}input,select{padding:12px;border:1px solid var(--line);border-radius:7px;background:#fffefb;color:var(--ink)}footer{text-align:center;color:#8f9586;font-size:12px;padding:40px 0 30px;line-height:2.2}footer small{font-size:10px}dialog{border:1px solid var(--line);border-radius:18px;padding:28px;max-width:480px;width:calc(100% - 32px);background:var(--paper);color:var(--ink)}dialog::backdrop{background:#18291cb0;backdrop-filter:blur(3px)}dialog label{display:flex;flex-direction:column;gap:8px;margin-top:18px;font-size:13px}dialog .primary{margin-top:18px;width:100%}.formrow{display:grid;grid-template-columns:1fr 1fr;gap:12px}.iconbtn{padding:2px 10px;font-size:25px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 22px;border-radius:9px;display:none;z-index:20;font-size:13px;max-width:90%;width:max-content}.steps{padding-left:23px;line-height:2;font-size:14px}.steps li{margin:12px 0}@media(max-width:800px){header{padding:20px}.brand span{font-size:18px}.local{font-size:10px}main{padding:0 20px}.hero{padding-top:26px;grid-template-columns:1.2fr 1fr;min-height:280px}.hero h1{font-size:32px}.plate-art{transform:scale(.78);transform-origin:center right}.grid{grid-template-columns:repeat(3,1fr)}.recipes{grid-template-columns:repeat(2,1fr)}.shop-layout{grid-template-columns:1fr}}@media(max-width:520px){.hero{display:block;position:relative;padding-bottom:25px;overflow:hidden}.hero h1{font-size:32px;position:relative;z-index:1;letter-spacing:-1px}.hero .intro{font-size:12px;position:relative;z-index:1}.eyebrow{font-size:8px;letter-spacing:1px}.plate-art{position:absolute;right:-65px;top:58px;transform:scale(.46);transform-origin:right top;opacity:.6;width:300px}.orbit,.art-note,.sprig{display:none}.hero .primary{position:relative}.local{max-width:85px;text-align:right;line-height:1.8}nav{gap:0;justify-content:space-between;margin-bottom:22px}nav button{font-size:13px}.section-head h2{font-size:22px}.section-head .outline{font-size:12px;padding:10px}.grid{grid-template-columns:repeat(2,1fr);gap:10px}.food{padding:12px}.food-emoji{font-size:46px}.filters{gap:5px}.chip{padding:8px 11px;font-size:12px}.actionbar{position:sticky;bottom:12px;box-shadow:0 5px 20px #243b251a;padding:13px;z-index:3}.actionbar .primary{padding:12px 14px;font-size:13px}.recipes{grid-template-columns:1fr}.dish{height:160px}.shopadd button{padding:10px}.notice{font-size:12px}.formrow{grid-template-columns:1fr 1fr}}
.food-emoji img{width:100%;height:90px;object-fit:cover;border-radius:8px}.food-emoji:has(img){padding:0}.photo-buttons{display:flex;gap:10px;margin:18px 0}.photo-buttons label{cursor:pointer;font-size:13px}.photo-draft{border-top:1px solid var(--line);padding:18px 0}.photo-draft>img{width:100%;max-height:190px;object-fit:contain;background:#eeeee3;border-radius:10px}.photo-row{padding:14px 0;border-bottom:1px dashed var(--line);margin-bottom:12px}.photo-row>input{width:100%;margin-bottom:10px}.photo-row input,.photo-row select{min-width:0;width:100%}button:disabled{opacity:.5;cursor:wait}#photoDialog{max-height:90vh;overflow:auto}@media(max-width:520px){header{gap:8px;flex-wrap:wrap}.section-head{flex-wrap:wrap}.section-head>div:last-child{display:flex;gap:5px}.photo-buttons{flex-wrap:wrap}}
.meal-image{position:relative;padding:15px;background:#faf7ef;display:grid;place-items:center}.meal-sticker{width:100%;max-width:260px;aspect-ratio:1;background-image:url('meal-stickers.jpg');background-size:300% 300%;background-position:var(--sx) var(--sy);background-repeat:no-repeat;border-radius:18px}.meal-label{position:absolute;left:16px;top:14px;background:#fffdf5;border:1px solid #d9dfcb;padding:5px 12px;border-radius:20px;font-size:12px}.detail-sticker{max-width:200px;margin:15px auto}.hero-sticker{display:block;width:310px;height:310px;background:url('meal-stickers.jpg') 0% 100% / 300% 300%;border-radius:50%;transform:rotate(-8deg)}.nutrition-strip{display:flex;flex-wrap:wrap;gap:10px;margin:23px 0 14px}.nutrition-strip span{background:#e9efdf;color:#4c6843;padding:9px 14px;border-radius:6px;font-size:12px}.date-picker{font-size:12px;display:flex;gap:8px;align-items:center}.rationale{background:#f1f1e6;border-radius:8px;padding:10px}.health-note{border:1px solid var(--line);border-radius:10px;padding:17px;font-size:13px;line-height:1.9}.health-note summary{cursor:pointer;font-weight:bold}.health-note a{color:var(--green)}.food-sticker{display:block;width:110px;height:110px;margin:auto;background-image:url('food-stickers.jpg');background-size:300% 400%;background-position:var(--fx) var(--fy);background-repeat:no-repeat;border-radius:10px}.food-emoji:has(.food-sticker){padding:0;background:#faf7ef}.food-bottom{flex-wrap:wrap}.recipe h3{min-height:2.8em}.recipe .tag{display:inline-block;line-height:1.7}.hero-sticker{max-width:100%}@media(max-width:520px){.nutrition-strip{gap:6px}.nutrition-strip span{font-size:11px;padding:7px 10px}.date-picker{width:100%;margin-top:10px}.date-picker input{min-width:0}.hero .sticker-hero{opacity:.85;top:58px}.recipes .meal-sticker{max-width:235px}.recipe h3{min-height:0}.actionbar{flex-wrap:wrap}.actionbar .primary{margin-left:auto}}
.menu-modes{padding:20px 0 8px;display:grid;gap:16px}.cuisine-tabs{display:flex;gap:10px;flex-wrap:wrap}.cuisine-tabs .chosen{background:#e8eddf;border-color:#41634a;font-weight:700}.adopt{width:100%;margin-top:14px}.own-notes{white-space:pre-wrap}.own-card{border-top:4px solid #b6c39c}textarea{font:inherit;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fffefb;color:var(--ink);resize:vertical;width:100%}.chinese-art{display:flex;position:relative;flex-wrap:wrap;justify-content:center;align-items:center;min-height:230px;padding-bottom:20px;max-width:260px}.chinese-art .food-sticker{width:85px;height:85px;margin:0;transform:rotate(-7deg)}.chinese-art .food-sticker:nth-child(2){transform:rotate(8deg);width:110px;height:110px}.chinese-art small{position:absolute;bottom:0;color:#82866e;font-size:10px}.own-card h3{overflow-wrap:anywhere}.own-card p{overflow-wrap:anywhere}
