*{box-sizing:border-box} :root{--wine:#481624;--paper:#f6f3e9;--gold:#b39554;--ink:#292a25;--muted:#727268;--line:#dedbce}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 Arial,sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;background:transparent;padding:11px 18px;color:var(--wine)}button:hover{background:#eae4d7}button:disabled{opacity:.45;cursor:not-allowed}button.primary,.primary{background:var(--wine);color:white;border-color:var(--wine)}button.primary:hover{background:#642739}a{color:inherit}h1,h2,h3,p{margin:0 0 14px}h1,h2{font-family:Georgia,serif;color:var(--wine);font-weight:400;line-height:1.08}h1{font-size:clamp(40px,6vw,72px)}h2{font-size:34px}h3{font-size:18px;line-height:1.3}small,.muted{color:var(--muted)}.demo{background:var(--wine);color:#f6e8ca;padding:7px;text-align:center;font-size:11px;letter-spacing:1px}header{max-width:1200px;margin:auto;display:flex;align-items:center;gap:20px;padding:24px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:700;letter-spacing:2px;margin-right:auto}.brand img{width:44px;height:44px;object-fit:contain}.brand small{display:block;font-size:8px;letter-spacing:1px}.languages{display:flex;gap:3px}.languages button{padding:7px 10px;border:0;border-radius:0}.languages .active{border-bottom:2px solid var(--wine);font-weight:bold}main{max-width:1150px;margin:auto;padding:34px 24px 60px;min-height:65vh}.eyebrow{font-size:10px;font-weight:bold;letter-spacing:2px;color:var(--wine);margin-bottom:16px}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:25px;padding:20px 0 34px}.hero img{width:100%;max-height:360px;object-fit:contain}.hero p{max-width:440px;color:var(--muted)}.actions,.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.section-head{display:flex;justify-content:space-between;align-items:end;margin:25px 0 18px}.section-head h2{margin:0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{border:1px solid var(--line);background:#fffcf5;border-radius:14px;overflow:hidden}.card-body{padding:22px}.card img.food{width:100%;height:200px;object-fit:contain;background:#eee9dc}.card h3{margin:0 0 10px}.card button{margin-top:12px}.price{font-weight:bold;color:var(--wine)}.tag{display:inline-block;border-radius:20px;padding:4px 11px;background:#e8e2d3;color:var(--wine);font-size:11px}.member{background:var(--wine);color:#fff9ed;border-radius:18px;padding:32px;position:relative;overflow:hidden}.member h2,.member h3{color:white}.member .muted{color:#d7c6c8}.member:after{content:'華興';position:absolute;right:28px;top:10px;font:110px Georgia;color:#ffffff09;pointer-events:none}.balance{font:52px Georgia;color:#e9d5a3}.progress{height:6px;border-radius:9px;background:#ffffff25;margin:18px 0 8px;overflow:hidden}.progress span{display:block;height:100%;background:#e9d5a3}.member button{border-color:#ffffff40;color:white}.member-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.note{border-left:3px solid var(--gold);padding:15px 20px;background:#eee9dc;border-radius:0 8px 8px 0;margin:18px 0;font-size:13px}.reward .symbol{font:44px Georgia;color:var(--gold);margin:6px 0 18px}.empty{text-align:center;padding:50px 20px;color:var(--muted)}nav{display:flex;justify-content:center;gap:8px;position:sticky;bottom:18px;z-index:5;width:max-content;max-width:95%;margin:0 auto;background:#fffcf5;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 35px #48162418;padding:7px}nav button{border:0;min-width:90px;font-size:13px}nav button.active{background:var(--wine);color:white}footer{max-width:1150px;margin:35px auto 0;padding:30px 24px 40px;border-top:1px solid var(--line);display:flex;align-items:center;gap:25px;font-size:11px;letter-spacing:1px}footer div{margin-left:auto;display:flex;flex-direction:column;letter-spacing:0}footer button{font-size:11px}label{display:block;margin:14px 0;font-size:13px;font-weight:bold}input,select,textarea{display:block;margin-top:6px;width:100%;border:1px solid var(--line);border-radius:8px;padding:12px;background:white;color:var(--ink)}textarea{resize:vertical}dialog{width:480px;max-width:calc(100% - 28px);max-height:90vh;border:0;border-radius:18px;background:var(--paper);padding:30px;color:var(--ink)}dialog::backdrop{background:#23131988;backdrop-filter:blur(3px)}dialog h2{padding-right:30px}.close{position:absolute;right:14px;top:10px;font-size:24px;border:0;padding:0 8px}#toast{position:fixed;top:100px;left:50%;transform:translateX(-50%);padding:13px 22px;background:var(--ink);color:white;border-radius:8px;z-index:20;display:none;max-width:90%;text-align:center}.cart-line{display:grid;grid-template-columns:1fr auto;gap:8px;border-bottom:1px solid var(--line);padding:16px 0}.cart-line p{margin:3px 0;font-size:12px;color:var(--muted)}.cart-line .quantity{display:flex;align-items:center;gap:8px}.quantity button{padding:3px 10px}.total{display:flex;justify-content:space-between;font-size:22px;font-family:Georgia;color:var(--wine);padding:20px 0}.split{display:grid;grid-template-columns:1.4fr 1fr;gap:28px}.tabs{display:flex;gap:6px;flex-wrap:wrap;margin:22px 0}.tabs .active{background:var(--wine);color:white}.qr{background:white;padding:18px;display:flex;justify-content:center;width:max-content;max-width:100%;margin:20px auto}.qr canvas,.qr img{max-width:100%;height:auto}.code{font:13px monospace;text-align:center;overflow-wrap:anywhere}.status{font-size:11px;text-transform:uppercase;letter-spacing:1px}.order{padding:22px;margin:15px 0}.order .row{justify-content:space-between}.wide{width:100%}.staff-warning{background:#eee2c4;padding:14px;border-radius:8px;margin-bottom:20px;font-size:13px}video{width:100%;border-radius:8px}.reward button{width:100%}.voucher{padding:22px}.voucher.used{opacity:.55}.voucher h3{margin-top:8px}.voucher .row{justify-content:space-between}.fine{font-size:12px;color:var(--muted)}:focus-visible{outline:3px solid var(--gold);outline-offset:3px}@media(max-width:720px){header{padding:16px 14px;gap:8px}.brand{gap:8px;font-size:13px}.brand img{width:34px;height:34px}.brand small{font-size:6px}header>button{font-size:11px;padding:8px}.languages button{padding:6px;font-size:11px}main{padding:24px 18px 30px}.hero{grid-template-columns:1fr;padding:12px 0 18px;gap:6px}.hero img{max-height:245px;grid-row:2}.hero h1{font-size:45px}.hero .actions button{flex:1}.grid{grid-template-columns:1fr 1fr;gap:12px}.card-body{padding:16px}.card img.food{height:145px}.card h3{font-size:15px}.member-layout,.split{grid-template-columns:1fr}.member{padding:25px}.section-head h2{font-size:28px}nav{bottom:10px;gap:0;width:calc(100% - 30px)}nav button{min-width:0;flex:1;padding:10px 7px;font-size:12px}footer{flex-wrap:wrap;gap:15px;padding-bottom:25px}footer div{margin-left:0}footer button{margin-left:auto}dialog{padding:25px}.reward .symbol{font-size:35px}.grid.rewards{grid-template-columns:1fr}.card button{padding:9px 13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

.food-placeholder{height:200px;background:#eae4d7;display:flex;align-items:center;justify-content:center;font:64px Georgia;color:#b39554}.languages button[data-lang="ms"]{min-width:38px}[hidden]{display:none!important}

/* Cheerful Hwa Heng member experience */
:root{--paper:#fff8ed;--line:#edddce;--gold:#bc873a;--muted:#77665f}
body{background:radial-gradient(ellipse at 90% 5%,#ffe5cf 0,transparent 42%),var(--paper);padding-bottom:100px}
button{border-radius:16px;transition:background .18s,transform .18s}button:active{transform:scale(.97)}
header{border-bottom:0}.languages{background:#fff;border-radius:20px;padding:3px;border:1px solid var(--line)}.languages button{border-radius:16px}.languages .active{background:#f8dfcf;border-bottom:0}
h1,h2{font-weight:600}.hero{background:linear-gradient(120deg,#fff0db,#ffe6db);border-radius:32px;padding:32px;margin-bottom:24px}.hero img{filter:drop-shadow(0 12px 12px #71342618)}
.card{border-radius:24px;box-shadow:0 6px 20px #71342607}.card img.food{background:#fff0df}.tag{background:#fbe5d3}.card button{background:#fff0df}.card button.primary{background:var(--wine)}
.member{background:linear-gradient(125deg,#682739,#481624);border-radius:28px;box-shadow:0 12px 28px #48162418}.member:after{color:#ffffff0d}.progress{height:10px}.progress span{border-radius:10px;background:#ffd58c}
.note{background:#fff0d9;border-radius:18px;border-left:0}.reward .symbol{background:#fff0da;width:76px;height:76px;border-radius:24px;display:grid;place-items:center}.empty{background:#fffdf7;border:1px dashed #ddc5ad;border-radius:24px;margin-top:20px}
nav{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:480px;max-width:calc(100% - 24px);margin:0;padding:8px;gap:4px;border:1px solid #ffffff30;border-radius:30px;background:#682739;box-shadow:0 10px 30px #48162430}
nav button{position:relative;display:flex;flex:1;min-width:0;min-height:64px;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:7px 3px;color:#f4c9bc;border-radius:22px;font-size:11px;font-weight:600}
nav button:hover{background:#ffffff15}nav button.active{background:#fff2dd;color:#682739}.nav-icon{position:relative;display:block;width:30px;height:30px}.nav-icon svg{width:30px;height:30px}.nav-label{line-height:1.3}.basket-badge{position:absolute;top:-5px;right:-9px;min-width:18px;height:18px;border-radius:12px;padding:0 4px;background:#ffcc74;color:#481624;font:700 10px/18px Arial;border:1px solid #682739}
@media(max-width:720px){.hero{padding:24px 20px;border-radius:28px}.hero h1{font-size:39px}.hero img{max-height:220px}nav{width:480px;gap:3px;bottom:calc(12px + env(safe-area-inset-bottom))}nav button{padding:7px 2px;font-size:10px}.card-body{padding:16px}.card button{min-height:44px}main{padding-top:12px}.member{padding:24px}footer{padding-bottom:24px}.brand{letter-spacing:1px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
