/* The Melaka Club (aplikasi web untuk Android, iPhone, iPad) – warna mengikuti aplikasi Android */
:root {
  --green: #133A31; --green2: #1D4D41; --gold: #E5B04B; --gold-ink: #7A5410; --cream: #F5EFE3;
  --marble: #F4F5F2; --card: #FBF9F4; --line: #DCE2DE; --ink: #18221F; --ink2: #4A5752; --ink3: #7C8884;
  --red: #B23A2A; --red-bg: #FBE9E5; --ok: #1F7A55; --ok-bg: #E2F2EA; --ice: #2F6F9F; --ice-bg: #DDEBF5; --hot: #8E3B12; --hot-bg: #F6E4D6;
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
  --tabh: 64px;
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--marble); color: var(--ink); font-family: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif; font-size: 16px; line-height: 1.4; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; min-height: 100dvh; overscroll-behavior-y: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--green); }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink3); }
.small { font-size: 13px; }

#app { max-width: 560px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: var(--marble); position: relative; }
@media (min-width: 600px) { body { background: #E6E9E4; } #app { box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(19, 58, 49, .12); } }

/* splash */
.splash { min-height: 100vh; min-height: 100dvh; background: var(--green); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.splash img { width: 180px; }
.spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* tata letak utama */
.screen { padding: calc(var(--sat) + 18px) 18px calc(var(--tabh) + var(--sab) + 28px); }
.screen.nopad-top { padding-top: 0; }
.page { min-height: 100vh; min-height: 100dvh; padding: 0 0 calc(var(--sab) + 28px); background: var(--marble); }
.page > .body { padding: 6px 18px 0; }
.ph { position: sticky; top: 0; z-index: 5; background: rgba(244, 245, 242, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding: calc(var(--sat) + 10px) 12px 10px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid transparent; }
.ph.sc { border-bottom-color: var(--line); }
.ph h1 { font-size: 20px; margin: 0; flex: 1; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.back { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; flex: none; }
.back svg { width: 22px; height: 22px; }
h1.big { font-size: 30px; font-weight: 800; margin: 4px 0 14px; letter-spacing: -.01em; }
h2.sec { font-size: 19px; font-weight: 800; margin: 26px 0 10px; display: flex; align-items: baseline; gap: 10px; }
h2.sec a, h2.sec button { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--green); background: none; border: 0; padding: 0; text-decoration: none; }

/* tab bawah */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); padding-bottom: var(--sab); max-width: 560px; margin: 0 auto; }
.tabbar nav { display: flex; height: var(--tabh); }
.tabbar button { flex: 1; border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink3); font-size: 11.5px; font-weight: 600; position: relative; }
.tabbar button.on { color: var(--green); font-weight: 800; }
.tabbar svg { width: 24px; height: 24px; }
.tabbar .bdg { position: absolute; top: 6px; left: calc(50% + 6px); background: var(--gold); color: var(--green); font-size: 10.5px; font-weight: 800; border-radius: 99px; padding: 0 5px; min-width: 17px; line-height: 17px; text-align: center; }

/* tombol & isian */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 16px; border: 1.5px solid var(--green);
  background: transparent; color: var(--green); font-weight: 800; font-size: 16px; text-decoration: none; }
.btn.pri { background: var(--green); color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--green); }
.btn.danger { border-color: #E2B5AC; color: var(--red); }
.btn.w { width: 100%; }
.btn.sm { min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: 14px; }
.btn:disabled { opacity: .45; }
.btn:active:not(:disabled) { transform: scale(.98); }
.linkbtn { background: none; border: 0; color: var(--green); font-weight: 700; padding: 8px 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink2); }
.field small { color: var(--ink3); font-size: 12.5px; }
.inp { width: 100%; min-height: 54px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; padding: 12px 14px; font-size: 17px; outline: none; -webkit-appearance: none; appearance: none; }
textarea.inp { min-height: 90px; resize: vertical; }
.inp:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(19, 58, 49, .12); }
.pin-inp { letter-spacing: .6em; text-align: center; font-size: 26px; font-weight: 800; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink2); margin: 6px 0 16px; }
.check input { width: 22px; height: 22px; accent-color: var(--green); flex: none; margin-top: 1px; }
.err { background: var(--red-bg); color: var(--red); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 12px; }
.note { background: #E3ECE7; color: var(--green); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.note.warn { background: #FCF3DE; color: var(--gold-ink); }
.note.red { background: var(--red-bg); color: var(--red); }

/* kartu & panel */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.panel + .panel { margin-top: 12px; }
.list { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; }
.li:last-child { border-bottom: 0; }
.li .t { flex: 1; min-width: 0; }
.li .t b { display: block; font-weight: 700; }
.li .t span { display: block; color: var(--ink3); font-size: 13.5px; }
.li .r { text-align: right; white-space: nowrap; font-weight: 700; }
.li .chev { color: var(--ink3); font-size: 20px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: #E3ECE7; color: var(--green); white-space: nowrap; }
.pill.gold { background: #FCF3DE; color: var(--gold-ink); }
.pill.red { background: var(--red-bg); color: var(--red); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.grey { background: #ECEEED; color: var(--ink2); }
.plus { color: var(--ok); } .minus { color: var(--ink); }
.empty { text-align: center; color: var(--ink3); padding: 28px 12px; }

/* beranda */
.hello { color: var(--ink2); font-size: 16px; }
.name { font-size: 26px; font-weight: 800; margin: 0; letter-spacing: -.01em; }
.hdr-links { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
.hdr-links button { background: none; border: 0; padding: 4px 0; display: flex; gap: 6px; align-items: center; font-weight: 600; color: var(--ink2); position: relative; }
.hdr-links button svg { width: 20px; height: 20px; }
.hdr-links .dot::after { content: ""; position: absolute; top: 2px; left: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hdr-links .acc { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); justify-content: center; }
.bal { margin-top: 16px; border-radius: 26px; padding: 22px; color: var(--cream); background: radial-gradient(120% 140% at 100% 0%, #24574A 0%, var(--green) 55%, #0D2B24 100%); position: relative; overflow: hidden; }
.bal::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; background: url(img/logo-light.png) center/contain no-repeat; opacity: .07; }
.bal .lbl { font-size: 14px; opacity: .8; display: flex; align-items: center; gap: 8px; }
.bal .lbl button { background: none; border: 0; color: inherit; opacity: .9; padding: 2px; }
.bal .amt { font-size: 36px; font-weight: 800; margin: 2px 0 14px; letter-spacing: -.01em; }
.bal .meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.bal .tier { background: var(--gold); color: var(--green); font-weight: 800; border-radius: 99px; padding: 5px 14px; font-size: 14px; }
.bal .pts { font-weight: 700; }
.bal .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; position: relative; z-index: 1; }
.bal .acts .btn { min-height: 48px; border-color: rgba(245, 239, 227, .5); color: var(--cream); }
.bal .acts .btn.gold { color: var(--green); border-color: var(--gold); }
.ladder { margin-top: 14px; }
.ladder .bar { position: relative; height: 26px; }
.ladder .track { position: absolute; left: 0; right: 0; top: 11px; height: 5px; border-radius: 9px; background: var(--line); }
.ladder .fill { position: absolute; left: 0; top: 11px; height: 5px; border-radius: 9px; background: var(--gold); }
.ladder .dot { position: absolute; top: 5px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 3px solid var(--line); transform: translateX(-50%); }
.ladder .dot.on { border-color: var(--gold); background: var(--gold); }
.ladder .lbls { position: relative; height: 18px; font-size: 12px; color: var(--ink3); }
.ladder .lbls span { position: absolute; transform: translateX(-50%); }
.ladder p { margin: 6px 0 0; font-size: 14px; color: var(--ink2); }
.ladder.dark .track { background: rgba(255, 255, 255, .22); } .ladder.dark .dot { background: transparent; border-color: rgba(255, 255, 255, .4); } .ladder.dark .lbls, .ladder.dark p { color: rgba(245, 239, 227, .85); }

/* papan info (geser) */
.carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -18px; padding: 0 18px 4px; scrollbar-width: none; scroll-padding: 0 18px; }
.carousel::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); min-height: 220px; display: flex; flex-direction: column; text-align: left; padding: 0; }
.slide img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: #E3ECE7; }
.slide .in { padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.slide .rib { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: var(--gold); color: var(--green); }
.slide b { font-size: 19px; font-weight: 800; line-height: 1.25; }
.slide span.s { color: var(--ink3); font-size: 14.5px; }
.slide .go { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--green); }
.slide.teks { padding: 22px; justify-content: center; }
.slide.kartu { flex-direction: row; }
.slide.kartu img { width: 45%; aspect-ratio: auto; height: auto; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots i { width: 7px; height: 7px; border-radius: 9px; background: var(--line); transition: all .25s; }
.dots i.on { width: 20px; background: var(--green); }
.banner { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); flex: 0 0 86%; scroll-snap-align: start; text-align: left; padding: 0; }
.banner img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.banner .in { padding: 12px 14px; }
.tx .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #E3ECE7; color: var(--green); flex: none; font-size: 19px; }

/* kartu member & QR */
.mcard { border-radius: 24px; padding: 22px; color: var(--cream); background: linear-gradient(135deg, var(--green2), var(--green) 60%, #0D2B24); position: relative; overflow: hidden; min-height: 200px; display: flex; flex-direction: column; }
.mcard .top { display: flex; justify-content: space-between; align-items: center; }
.mcard img { width: 70px; }
.mcard .no { font-size: 22px; letter-spacing: .14em; font-weight: 700; margin-top: auto; }
.mcard .bot { display: flex; justify-content: space-between; font-size: 13px; opacity: .85; margin-top: 6px; gap: 10px; }
.qrbox { background: #fff; border-radius: 26px; padding: 22px; text-align: center; border: 1px solid var(--line); }
.qrbox .qr { width: min(78vw, 300px); aspect-ratio: 1; margin: 6px auto 10px; }
.qrbox .qr svg { width: 100%; height: 100%; }
.qrbox .cd { font-weight: 700; color: var(--ink2); }
.qrbox .bar { height: 5px; background: var(--line); border-radius: 9px; overflow: hidden; margin: 10px auto 0; max-width: 260px; }
.qrbox .bar i { display: block; height: 100%; background: var(--green); transition: width 1s linear; }

/* menu pesan */
.cats { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 4px 18px 10px; scrollbar-width: none; position: sticky; top: 0; z-index: 4; background: var(--marble); }
.cats::-webkit-scrollbar { display: none; }
.cats button { flex: none; border: 0; border-radius: 99px; padding: 10px 18px; font-weight: 700; background: var(--card); color: var(--ink2); border: 1px solid var(--line); }
.cats button.on { background: var(--green); color: #fff; border-color: var(--green); }
.prod { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.prod.focus { background: #FCF3DE; margin: 0 -10px; padding: 14px 10px; border-radius: 16px; }
.prod .pic { width: 78px; height: 78px; border-radius: 18px; object-fit: cover; background: #E3ECE7; flex: none; display: grid; place-items: center; font-size: 30px; font-weight: 800; color: rgba(19, 58, 49, .35); }
.prod .t { flex: 1; min-width: 0; }
.prod .t b { font-size: 17px; font-weight: 800; display: block; }
.prod .t .d { color: var(--ink3); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod .pr { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 15px; }
.prod .pr b { font-size: 15.5px; display: inline; }
.prod .pr s { color: var(--ink3); font-size: 13px; }
.prod .pr .dk { color: var(--red); }
.prod .pr .ice { color: var(--ice); }
.dkt { display: inline-block; font-size: 12px; font-weight: 800; color: var(--red); background: var(--red-bg); border-radius: 99px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; }
.addb { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--gold); color: var(--green); font-size: 28px; font-weight: 600; line-height: 1; flex: none; display: grid; place-items: center; }
.addb:disabled { background: var(--line); }
.cartbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabh) + var(--sab) + 10px); width: calc(100% - 28px); max-width: 532px; z-index: 15;
  background: var(--green); color: var(--cream); border-radius: 22px; padding: 14px 20px; display: flex; align-items: center; border: 0; text-align: left; box-shadow: 0 10px 30px rgba(19, 58, 49, .35); }
.cartbar .t { flex: 1; }
.cartbar small { display: block; opacity: .8; }
.cartbar b { font-size: 21px; font-weight: 800; }
.cartbar em { font-style: normal; color: var(--gold); font-weight: 800; }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #E3ECE7; color: var(--green); font-size: 20px; font-weight: 800; }
.qty span { width: 30px; text-align: center; font-weight: 800; }
.opt { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); background: var(--card); border-radius: 18px; padding: 14px 16px; margin-bottom: 8px; width: 100%; text-align: left; }
.opt.on { border-color: var(--green); border-width: 2px; }
.opt .rad { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink3); flex: none; }
.opt.on .rad { border-color: var(--green); box-shadow: inset 0 0 0 4px #fff; background: var(--green); }
.sumrow { display: flex; justify-content: space-between; padding: 4px 0; }
.sumrow.tot { font-weight: 800; font-size: 18px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }

/* lembar bawah (sheet) & dialog */
.ov { position: fixed; inset: 0; z-index: 50; background: rgba(13, 30, 26, .45); display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease; }
.sheet { background: var(--marble); width: 100%; max-width: 560px; border-radius: 26px 26px 0 0; padding: 10px 18px calc(var(--sab) + 18px); max-height: 92vh; max-height: 92dvh; overflow-y: auto; animation: up .22s ease; }
.sheet .grip { width: 44px; height: 5px; border-radius: 9px; background: var(--line); margin: 0 auto 12px; }
.sheet h2 { margin: 0 0 6px; font-size: 21px; font-weight: 800; }
.sheet .acts { display: flex; gap: 10px; margin-top: 16px; }
.sheet .acts .btn { flex: 1; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: .5; } }
.suhu { display: flex; align-items: center; gap: 12px; width: 100%; border-radius: 18px; padding: 16px 18px; margin-top: 10px; border: 2px solid; background: var(--card); text-align: left; }
.suhu.hot { border-color: var(--hot); color: var(--hot); } .suhu.ice { border-color: var(--ice); color: var(--ice); }
.suhu .e { font-size: 26px; } .suhu b { flex: 1; font-size: 18px; } .suhu .p { text-align: right; color: var(--ink); font-weight: 800; }
.suhu .p s { display: block; color: var(--ink3); font-weight: 500; font-size: 12px; }

/* toast */
#toast { position: fixed; left: 50%; bottom: calc(var(--tabh) + var(--sab) + 84px); transform: translateX(-50%) translateY(20px); z-index: 80; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px;
  font-size: 14.5px; max-width: calc(100% - 40px); width: max-content; opacity: 0; pointer-events: none; transition: all .25s; text-align: center; }
#toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.bad { background: var(--red); }

/* masuk */
.auth { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.auth .hero { background: var(--green); color: var(--cream); padding: calc(var(--sat) + 26px) 24px 30px; border-radius: 0 0 32px 32px; text-align: center; }
.auth .hero img { width: 112px; margin: 0 auto 12px; }
.auth .hero h1 { margin: 0; font-size: 26px; font-weight: 800; }
.auth .hero p { margin: 6px 0 0; opacity: .85; }
.auth .body { padding: 22px 22px calc(var(--sab) + 26px); flex: 1; display: flex; flex-direction: column; }
.langsw { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.langsw button { border: 1px solid rgba(245, 239, 227, .4); background: none; color: var(--cream); border-radius: 99px; padding: 6px 14px; font-weight: 700; font-size: 13px; }
.langsw button.on { background: var(--gold); border-color: var(--gold); color: var(--green); }
.install { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; margin-bottom: 18px; }
.install b { display: block; font-size: 16px; margin-bottom: 6px; }
.install ol { margin: 6px 0 0; padding-left: 20px; color: var(--ink2); font-size: 14.5px; }
.install li { margin: 4px 0; }
.install .shr { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; }
.steps { display: flex; gap: 6px; margin-bottom: 16px; } .steps i { flex: 1; height: 4px; border-radius: 9px; background: var(--line); } .steps i.on { background: var(--green); }

/* pemindai kamera */
.scan { position: fixed; inset: 0; z-index: 60; background: #000; display: flex; flex-direction: column; }
.scan video { flex: 1; width: 100%; object-fit: cover; }
.scan .frame { position: absolute; left: 50%; top: 45%; width: 66vw; max-width: 300px; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 26px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .45); border: 3px solid var(--gold); }
.scan .top { position: absolute; top: 0; left: 0; right: 0; padding: calc(var(--sat) + 14px) 18px 14px; color: #fff; display: flex; align-items: center; gap: 12px; }
.scan .top b { flex: 1; font-size: 18px; }
.scan .top button { background: rgba(255, 255, 255, .18); color: #fff; border: 0; border-radius: 99px; padding: 10px 16px; font-weight: 700; }
.scan .hint { position: absolute; bottom: calc(var(--sab) + 30px); left: 18px; right: 18px; text-align: center; color: #fff; font-size: 15px; }

/* peta meja */
.peta svg { width: 100%; height: auto; display: block; }
.legend { display: flex; justify-content: center; gap: 16px; margin-top: 12px; font-size: 14px; color: var(--ink2); }
.legend i { display: inline-block; width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--green); vertical-align: -3px; margin-right: 6px; }

/* bintang ulasan */
.stars { display: flex; gap: 8px; justify-content: center; margin: 6px 0 12px; }
.stars button { border: 0; background: none; font-size: 36px; color: var(--line); padding: 0; }
.stars button.on { color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 8px 14px; font-weight: 600; font-size: 14px; }
.chips button.on { background: var(--green); color: #fff; border-color: var(--green); }
.receipt { background: #fff; border-radius: 20px; padding: 18px; border: 1px solid var(--line); font-size: 14.5px; }
.receipt .c { text-align: center; }
.receipt hr { border: 0; border-top: 1px dashed var(--line); margin: 10px 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; }
.kv dt { color: var(--ink3); } .kv dd { margin: 0; text-align: right; font-weight: 600; }
.prose p { margin: 0 0 10px; } .prose ul { margin: 0 0 10px; padding-left: 20px; }

/* ---------- 1.10.0: minta kode aktivasi lewat WhatsApp ---------- */
.btn.wa { background: #1FAF55; border-color: #1FAF55; color: #fff; text-decoration: none; }
a.btn { text-decoration: none; }
.linkbtn.red { color: var(--red); }
.hp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field em.opsi { font-style: normal; font-weight: 500; color: var(--ink3); font-size: 12.5px; margin-left: 4px; }
details.more { margin: -4px 0 14px; } details.more summary { color: var(--green); font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; }
details.more summary::-webkit-details-marker { display: none; } details.more summary::before { content: '+ '; }
.mk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.mk-steps div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 8px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--ink2); line-height: 1.25; }
.mk-steps i { display: grid; place-items: center; width: 24px; height: 24px; margin: 0 auto 5px; border-radius: 50%; background: var(--green); color: var(--gold); font-style: normal; font-weight: 800; font-size: 13px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #E3ECE7; border-radius: 14px; padding: 4px; margin-bottom: 16px; }
.seg button { border: 0; background: none; border-radius: 11px; padding: 10px 6px; font-weight: 700; font-size: 14px; color: var(--ink2); }
.seg button.on { background: #fff; color: var(--green); box-shadow: 0 1px 4px rgba(19, 58, 49, .14); }
.mk-card { border-radius: 22px; padding: 22px 20px; text-align: center; margin-bottom: 16px; }
.mk-card h2 { margin: 10px 0 6px; font-size: 21px; } .mk-card p { margin: 6px 0; font-size: 15px; color: var(--ink2); }
.mk-card.wait { background: #FCF3DE; } .mk-card.ok { background: var(--ok-bg); } .mk-card.no { background: var(--red-bg); }
.mk-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; background: #fff; }
.mk-card.wait .mk-ico { color: var(--gold-ink); } .mk-card.ok .mk-ico { color: #fff; background: var(--ok); } .mk-card.no .mk-ico { color: var(--red); }
.mk-ico.pulse { animation: mkpulse 1.8s ease-out infinite; }
@keyframes mkpulse { 0% { box-shadow: 0 0 0 0 rgba(229, 176, 75, .55); } 80%, 100% { box-shadow: 0 0 0 18px rgba(229, 176, 75, 0); } }
.mk-prog { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 18px; position: relative; }
.mk-prog div { text-align: center; font-size: 12px; color: var(--ink3); font-weight: 600; position: relative; }
.mk-prog div::before { content: ''; position: absolute; top: 8px; left: -50%; right: 50%; height: 3px; background: var(--line); }
.mk-prog div:first-child::before { display: none; }
.mk-prog div.done::before, .mk-prog div.now::before { background: var(--ok); }
.mk-prog i { position: relative; z-index: 1; display: block; width: 19px; height: 19px; border-radius: 50%; margin: 0 auto 6px; background: #fff; border: 3px solid var(--line); }
.mk-prog .done i { background: var(--ok); border-color: var(--ok); } .mk-prog .done { color: var(--ok); }
.mk-prog .now i { border-color: var(--gold); animation: mkpulse 1.8s ease-out infinite; } .mk-prog .now { color: var(--gold-ink); }
.mk-banner { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; border: 0; border-radius: 16px; padding: 12px 16px; margin-bottom: 16px; background: #FCF3DE; color: var(--gold-ink); }
.mk-banner b { color: var(--green); } .mk-banner span { font-size: 13.5px; font-weight: 600; }
.or { display: flex; align-items: center; gap: 10px; color: var(--ink3); font-size: 13px; margin: 16px 0 12px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ===== 1.12.0: aplikasi web untuk semua HP & tablet ===== */
.note.ok { background: var(--ok-bg); color: var(--ok); }
.install.plain { border: 0; padding: 0; background: none; margin-bottom: 0; }
.install .btn { margin-top: 12px; }
.install .btn + .btn { margin-top: 8px; }
.kb { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 6px; background: #EDF0EC; border: 1px solid var(--line); font-weight: 800; color: var(--ink); font-size: 14px; vertical-align: 1px; }
/* pita pasang / notifikasi di Beranda */
.pasang-bar { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px 8px 10px 10px; margin-top: 14px; animation: fade .25s ease; }
.pasang-bar .ic { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--green); }
.pasang-bar .ic img { width: 100%; height: 100%; }
.pasang-bar .ic.bell { background: #FCF3DE; font-size: 22px; }
.pasang-bar .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pasang-bar .t b { font-size: 15px; }
.pasang-bar .t span { font-size: 12.5px; color: var(--ink3); line-height: 1.3; }
.pasang-bar .x { border: 0; background: none; color: var(--ink3); font-size: 22px; width: 32px; height: 40px; flex: none; }
/* tidak ada sinyal */
#net { position: fixed; top: calc(var(--sat) + 6px); left: 50%; transform: translateX(-50%); z-index: 60; background: #2B2F2D; color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 6px 14px; border-radius: 99px; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); white-space: nowrap; animation: fade .2s ease; }
/* versi baru */
#upd { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabh) + var(--sab) + 14px); z-index: 70; border: 0; border-radius: 16px; background: var(--green); color: #fff;
  padding: 12px 18px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 10px 30px rgba(19, 58, 49, .35); animation: up .25s ease; width: max-content; max-width: calc(100% - 32px); }
#upd b { font-size: 15px; } #upd span { font-size: 12.5px; color: var(--gold); font-weight: 700; }
/* tarik untuk memuat ulang */
#ptr { position: fixed; top: calc(var(--sat) + 4px); left: 50%; z-index: 40; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
  display: grid; place-items: center; transform: translate(-50%, 0); pointer-events: none; }
#ptr i { width: 20px; height: 20px; border: 3px solid var(--line); border-top-color: var(--green); border-radius: 50%; }
#ptr.siap i { border-color: var(--green); border-top-color: var(--gold); }
#ptr.putar i { animation: spin .8s linear infinite; }
/* aplikasi terpasang: tidak ada pilihan teks tak sengaja saat menekan lama tombol */
html.pasang button, html.pasang .tabbar { -webkit-user-select: none; user-select: none; }
html.android .sheet { padding-bottom: calc(var(--sab) + 22px); }

/* ===== tablet (Android & iPad) ===== */
@media (min-width: 700px) {
  #app { max-width: 680px; }
  .tabbar { max-width: 680px; }
  .sheet { max-width: 620px; border-radius: 26px; margin-bottom: 24px; }
  .ov { align-items: center; }
  .cartbar { max-width: 652px; }
  .screen { padding-left: 28px; padding-right: 28px; }
  .page > .body { padding-left: 28px; padding-right: 28px; }
  .cats { margin: 0 -28px; padding-left: 28px; padding-right: 28px; }
  .bal .amt { font-size: 44px; }
  .mcard { min-height: 240px; }
}
/* tablet mendatar & layar lebar: menu di kiri seperti aplikasi tablet */
@media (min-width: 1000px) and (min-height: 560px) {
  #app { max-width: 900px; padding-left: 104px; }
  .tabbar { left: max(0px, calc(50% - 450px)); right: auto; top: 0; bottom: 0; width: 104px; max-width: none; margin: 0; padding: calc(var(--sat) + 20px) 0 var(--sab);
    border-top: 0; border-right: 1px solid var(--line); }
  .tabbar nav { flex-direction: column; height: auto; gap: 6px; }
  .tabbar button { flex: none; height: 76px; border-radius: 18px; margin: 0 10px; font-size: 12.5px; }
  .tabbar button.on { background: #E3ECE7; }
  .tabbar .bdg { top: 8px; }
  .screen { padding-bottom: calc(var(--sab) + 32px); }
  .cartbar { left: calc(50% + 52px); bottom: calc(var(--sab) + 18px); max-width: 760px; }
  #upd { bottom: calc(var(--sab) + 20px); }
  #app:not(:has(> .tabbar)) { padding-left: 0; max-width: 760px; }
  .list .li, .prod { min-height: 0; }
  .row2 { gap: 14px; }
}
.pk-btn { margin-top: 10px; border-color: var(--green); color: var(--green); font-weight: 800; }
.nota-pgl { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; padding: 10px 14px; border-radius: 14px; background: #FCF3DE; color: var(--gold-ink); flex-wrap: wrap; }
.nota-pgl b { font-size: 30px; color: var(--green); letter-spacing: .04em; }
