:root{
  --sakura:#F7C9D2; --matcha:#7FB77E; --nori:#2B4930; --rice:#FFF9F5; --ink:#3A2D2D; --line:#00000012;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--rice);color:var(--ink);font-family:Inter,system-ui,Segoe UI,Roboto,sans-serif}
.header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:linear-gradient(180deg,var(--sakura),#ffe8ee)}
.brand{display:flex;gap:10px;align-items:center;color:var(--nori);text-decoration:none;font-weight:800;font-family:Poppins,Inter,sans-serif}
.nav{display:flex;gap:8px;align-items:center}
.nav a,.nav span{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 10px;text-decoration:none;color:var(--nori)}
.nav span{font-weight:700}
.container{max-width:1100px;margin:0 auto;padding:16px}
.card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:14px}
.intro h1{margin:0 0 6px;font-family:Poppins,Inter,sans-serif}
.controls{display:flex;gap:10px;flex-wrap:wrap}
.btn{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 14px;cursor:pointer}
.btn.ghost{background:transparent}
.stage{margin-top:14px}
.box{display:grid;gap:10px;grid-template-columns:1fr 1fr}
.slot{position:relative;min-height:140px;border-radius:14px;border:2px dashed var(--line);background:#fff;cursor:pointer;text-align:left;padding:12px}
.slot.tall{grid-column:span 2;min-height:200px}
.slot.wide{grid-column:span 2}
.slot:focus{outline:3px solid #c8e7cb}
.slot-label{font-size:12px;opacity:.7}
.slot-fill{display:block;margin-top:10px;min-height:28px}
.pill{display:inline-flex;align-items:center;gap:8px;background:#f7f7f7;border:1px solid var(--line);padding:8px 12px;border-radius:999px}
.pill .icon{font-size:20px}
.footer{padding:20px;text-align:center;color:#6b5e5e}
.modal{border:none;border-radius:16px;padding:14px;max-width:720px;width:clamp(320px,90vw,720px)}
.modal::backdrop{background:rgba(0,0,0,.35)}
.filters{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 12px}
.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 12px;cursor:pointer}
.chip.active{background:#f9f4f4}
.choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;max-height:50vh;overflow:auto;padding-right:4px}
.choice{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff;cursor:pointer;text-align:left}
.choice .icon{font-size:22px}
.choice .name{font-weight:600}
.choice .tag{margin-left:auto;font-size:12px;opacity:.6}
.modal-actions{display:flex;justify-content:flex-end;margin-top:10px}
/* =============================
   Thumbnail Images for Food Items
   ============================= */

.item .thumb,
.chip-big .thumb {
  width: 28px;
  height: 28px;
  border-radius: 8px; /* change to 50% for circular */
  object-fit: cover;
  margin-right: 10px;
  vertical-align: -6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

