/* ikimochi-app — gaya dasar
   Token diambil dari ikimochi-order-build (order site produksi). Jangan bikin palet baru.
   Aturan rumah: WARNA SOLID, tidak pernah gradient. Lihat SKILL.md §3. */

:root {
  --pink: #FE2785;
  --pink-dark: #D81368;
  --pink-soft: #FFE3F0;
  --blue: #015CE0;
  --blue-dark: #0148AD;
  --blue-soft: #E3EDFF;
  --yellow: #FBC45C;
  --yellow-dark: #E8A82F;
  --purple: #B15CE6;
  --purple-soft: #F3E8FF;
  --ink: #2B1E28;
  --ink-soft: #6B5F68;
  --bg: #FFFBFD;
  --card: #FFFFFF;
  --line: #F0DDE8;
  --ok: #17A673;
  --ok-soft: #DFF5EC;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-card: 0 6px 20px rgba(254, 39, 133, .12);
  --shadow-pop: 0 10px 30px rgba(1, 92, 224, .18);

  --font-head: "Baloo 2", "Fredoka", system-ui, sans-serif;
  --font-body: "Poppins", -apple-system, "Segoe UI", system-ui, sans-serif;

  /* tinggi bottom-nav + area aman iPhone, dipakai sbg padding bawah konten */
  --nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);

  /* satu kurva untuk semua transisi — gerak terasa satu keluarga */
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  /* 100dvh, bukan 100vh — vh melompat-lompat saat bar Safari iOS menyusut */
  min-height: 100dvh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -.01em;
}

/* ============================================================
   KERANGKA HALAMAN
   ============================================================ */
.app {
  max-width: 520px;          /* app customer, bukan situs desktop */
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.appbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px 12px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.appbar__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.appbar__logo { height: 26px; width: auto; }
.appbar__sapa {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appbar__aksi {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--card);
  cursor: pointer;
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}
.appbar__aksi:active { transform: scale(.94); }

.main {
  flex: 1;
  padding: 18px 20px calc(var(--nav-h) + var(--safe-b) + 24px);
}

/* ============================================================
   JUDUL & TEKS
   ============================================================ */
.judul-hal { font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.sub-hal { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0 0 20px; }

.seksi { margin-top: 28px; }
.seksi__judul {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 700;
  margin-bottom: 12px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.seksi__tautan { font-size: 13px; font-weight: 600; color: var(--pink); font-family: var(--font-body); }

/* ============================================================
   KARTU
   Dipakai hanya saat elevasi memang berarti hierarki — bukan membungkus
   semua hal. Pengelompokan ringan cukup pakai jarak atau garis.
   ============================================================ */
.kartu {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.kartu--datar { box-shadow: none; }
.kartu--pink { background: var(--pink-soft); border-color: transparent; box-shadow: none; }
.kartu--biru { background: var(--blue-soft); border-color: transparent; box-shadow: none; }

/* ============================================================
   TOMBOL — satu warna aksi utama (pink). Yang lain semantik, bukan hiasan.
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  /* hanya transform & opacity yang dianimasikan — keduanya di GPU */
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--utama { background: var(--pink); color: #fff; }
.btn--utama:hover { background: var(--pink-dark); }
.btn--garis { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn--blok { width: 100%; }

/* ============================================================
   LENCANA
   ============================================================ */
.lencana {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700;
  font-family: var(--font-head);
}
.lencana--pink { background: var(--pink-soft); color: var(--pink-dark); }
.lencana--biru { background: var(--blue-soft); color: var(--blue-dark); }
.lencana--ungu { background: var(--purple-soft); color: var(--purple); }
.lencana--ok { background: var(--ok-soft); color: var(--ok); }

/* ============================================================
   STATE KOSONG
   Fase 2 seluruhnya state kosong — jadi ini bukan pelengkap, ini isinya.
   ============================================================ */
.kosong {
  text-align: center;
  padding: 34px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.kosong__ikon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: var(--radius-pill);
  background: var(--pink-soft);
  color: var(--pink);
}
.kosong__judul { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.kosong__pesan { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin: 0 auto 18px; max-width: 30ch; }

/* ============================================================
   BOTTOM NAV
   ============================================================ */
.nav {
  position: fixed;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  z-index: 30;
  width: 100%; max-width: 520px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--card);
  border-top: 1px solid var(--line);
  padding-bottom: var(--safe-b);
}

.nav__item {
  height: var(--nav-h);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  color: var(--ink-soft);
  font-size: 10.5px; font-weight: 600;
  position: relative;
  transition: color .18s var(--ease);
}
.nav__item svg { width: 23px; height: 23px; }
.nav__item:active { transform: scale(.94); }
.nav__item.is-aktif { color: var(--pink); }

/* penanda tab aktif — garis pendek di atas ikon */
.nav__item.is-aktif::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  width: 26px; height: 3px;
  transform: translateX(-50%);
  background: var(--pink);
  border-radius: 0 0 3px 3px;
}

/* ============================================================
   GERAK — masuk bertahap, lembut. Hanya transform & opacity.
   ============================================================ */
@keyframes munculNaik {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.muncul {
  animation: munculNaik .45s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}

/* Hormati pengguna yang mematikan animasi di setelan perangkatnya. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ============================================================
   HALAMAN ERROR
   ============================================================ */
.err { min-height: 100dvh; display: grid; place-items: center; padding: 32px 24px; text-align: center; }
.err__kode { font-family: var(--font-head); font-size: 56px; font-weight: 800; color: var(--pink); line-height: 1; }
.err__judul { font-size: 20px; font-weight: 700; margin: 10px 0 8px; }
.err__pesan { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 22px; }

/* ============================================================
   FORM & ALUR MASUK
   Layar keamanan: bahasa lugas, emoji seperlunya. SKILL.md §4.
   ============================================================ */
.isian { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.isian__label { font-size: 13px; font-weight: 600; color: var(--ink); }

.isian__kotak {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;                  /* < 16px bikin Safari iOS auto-zoom saat difokus */
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color .18s var(--ease);
}
.isian__kotak::placeholder { color: #BBAEB8; }
.isian__kotak:focus { border-color: var(--pink); }

.isian__kotak--kode {
  text-align: center;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .32em;
  text-indent: .32em;               /* imbangi letter-spacing supaya tetap di tengah */
  padding: 16px 12px;
}

.isian__bantu { font-size: 12.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

.catatan {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 18px 2px 0;
}

.peringatan {
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.peringatan--galat { background: #FFE9EC; color: #A3182C; }
.peringatan--ok { background: var(--ok-soft); color: var(--ok); }

.tunggu {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* titik berdenyut — penanda "masih menunggu" tanpa spinner generik */
.tunggu__titik {
  width: 9px; height: 9px;
  flex: none;
  border-radius: 999px;
  background: var(--pink);
  animation: denyut 1.4s var(--ease) infinite;
}
@keyframes denyut {
  0%, 100% { opacity: 1;  transform: scale(1); }
  50%      { opacity: .35; transform: scale(.7); }
}

/* ============================================================
   KARTU MOCHI & QR
   ============================================================ */
.kartu-mochi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
  text-align: center;
}
.kartu-mochi__atas { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; text-align: left; }
.kartu-mochi__label { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--ink-soft); }
.kartu-mochi__no { font-family: var(--font-head); font-size: 26px; font-weight: 800; line-height: 1.1; }

.qr {
  margin: 18px auto 12px;
  width: min(232px, 68vw);
  aspect-ratio: 1;
  display: grid; place-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.qr__gambar { width: 100%; }
.qr__gambar svg { width: 100%; height: auto; display: block; }
.qr__muat { font-size: 13px; color: var(--ink-soft); }
.qr__arahan { font-size: 13.5px; font-weight: 600; margin: 0; }
.qr__sisa { font-size: 12px; color: var(--ink-soft); margin: 4px 0 0; }

/* ------------------------------------------------------- grid stamp */
.stamp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stamp {
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: var(--radius-pill);
  border: 1.5px dashed var(--line);
  background: var(--card);
  color: #C9BAC4;
  font-family: var(--font-head);
  font-size: 14px; font-weight: 700;
}
.stamp--isi { background: var(--pink); border-style: solid; border-color: var(--pink); color: #fff; }

/* ------------------------------------------------------- PIN cadangan */
.pin-baris { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pin__label { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--ink-soft); }
.pin__nilai { font-family: var(--font-head); font-size: 26px; font-weight: 800; letter-spacing: .06em; }

/* ============================================================
   REWARDS
   ============================================================ */
.ringkas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ringkas__kiri, .ringkas__kanan {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 16px; text-align: center;
  transition: transform .18s var(--ease);
}
.ringkas__kiri:active { transform: scale(.98); }
.ringkas__angka { font-family: var(--font-head); font-size: 30px; font-weight: 800; line-height: 1; color: var(--pink); }
.ringkas__angka span { font-size: 16px; color: var(--ink-soft); }
.ringkas__label { font-size: 11.5px; color: var(--ink-soft); margin-top: 5px; line-height: 1.35; }

.reward {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.reward:last-child { border-bottom: 0; }
.reward__isi { flex: 1; min-width: 0; }
.reward__nama { font-family: var(--font-head); font-size: 16px; font-weight: 700; }
.reward__ket { font-size: 12.5px; color: var(--ink-soft); margin: 2px 0 7px; line-height: 1.45; }
.reward__biaya { display: flex; gap: 6px; flex-wrap: wrap; }
.reward button[disabled] { opacity: .5; }

.riwayat { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.riwayat:last-child { border-bottom: 0; }
.riwayat__nama { font-size: 14px; font-weight: 600; }
.riwayat__waktu { font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; }
.riwayat__kode { font-family: var(--font-head); font-size: 17px; font-weight: 800; letter-spacing: .06em; }

/* ============================================================
   KASIR — padat, kontras tinggi, target sentuh besar.
   Sengaja beda dari sisi customer: ini alat kerja, bukan etalase.
   ============================================================ */
.kasir-body { background: #1C1419; }
.kasir { max-width: 520px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; background: #1C1419; color: #F6EFF3; }
.kasir__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid #33262E;
}
.kasir__judul { font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--pink); }
.kasir__staf { font-size: 12px; color: #B6A5AF; }
.kasir__isi { flex: 1; padding: 20px 20px 96px; }
.kasir__h1 { font-size: 23px; font-weight: 800; margin-bottom: 6px; }
.kasir__sub { font-size: 13px; color: #B6A5AF; line-height: 1.55; margin: 0 0 20px; }

.kasir .isian__label { color: #F6EFF3; }
.kasir .isian__kotak { background: #261C22; border-color: #3C2D36; color: #F6EFF3; }
.kasir .isian__kotak::placeholder { color: #6E5C67; }
.kasir .isian__kotak:focus { border-color: var(--pink); }
.kasir .isian__bantu { color: #B6A5AF; }

.kasir__tab {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 100%; max-width: 520px;
  display: grid; grid-template-columns: 1fr 1fr auto;
  background: #241A20; border-top: 1px solid #33262E;
  padding-bottom: var(--safe-b);
}
.kasir__tab a, .kasir__tab button {
  padding: 16px 10px; text-align: center;
  font-size: 12.5px; font-weight: 600; color: #B6A5AF;
  background: none; border: 0; cursor: pointer; font-family: var(--font-body);
}
.kasir__tab a.is-aktif { color: var(--pink); }

/* ------------------------------------------------------- pemindai */
.pindai {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #120C10;
  margin-bottom: 16px;
}
.pindai video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pindai__bingkai {
  position: absolute; inset: 14%;
  border: 2.5px solid rgba(254, 39, 133, .9);
  border-radius: var(--radius-md);
}
.pindai__pesan {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 24px; text-align: center;
  font-size: 13px; line-height: 1.55; color: #D9CBD3;
}

.hasil { border-radius: var(--radius-md); padding: 16px 18px; margin-bottom: 16px; }
.hasil--ok { background: #123F30; color: #8FE8C4; }
.hasil--galat { background: #4A1420; color: #FFB3C0; }
.hasil__judul { font-family: var(--font-head); font-size: 17px; font-weight: 800; }
.hasil__rinci { font-size: 13.5px; margin-top: 5px; line-height: 1.5; }
.hasil__kecil { font-size: 11.5px; opacity: .85; margin-top: 5px; }

.manual { border-top: 1px solid #33262E; padding-top: 16px; }
.manual summary { font-size: 13.5px; font-weight: 600; cursor: pointer; color: #D9CBD3; padding: 6px 0; }

/* ============================================================
   PROFIL & POIN
   ============================================================ */
.profil {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 22px 20px; text-align: center;
}
.profil__kartu { font-family: var(--font-head); font-size: 24px; font-weight: 800; }
.profil__lencana { display: flex; gap: 6px; justify-content: center; margin: 8px 0 16px; }
.profil__poin { font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1; color: var(--pink); }
.profil__poin span { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-top: 4px; }
.profil__ket { font-size: 12px; color: var(--ink-soft); margin-top: 8px; }

.bar { height: 7px; background: var(--pink-soft); border-radius: 999px; overflow: hidden; margin-top: 16px; }
.bar__isi { height: 100%; background: var(--pink); border-radius: 999px; transition: width .4s var(--ease); }

/* ------------------------------------------------------------ check-in */
.checkin { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.checkin__streak { font-family: var(--font-head); font-size: 22px; font-weight: 800; line-height: 1.1; }
.checkin__streak span { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.checkin__ket { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; line-height: 1.45; }

.streak-titik { display: flex; gap: 6px; margin-top: 16px; }
.streak-titik__t { flex: 1; height: 6px; border-radius: 999px; background: var(--line); }
.streak-titik__t.is-isi { background: var(--yellow); }

/* --------------------------------------------------------------- ajak */
.ajak-kode {
  font-family: var(--font-head); font-size: 25px; font-weight: 800;
  letter-spacing: .06em; text-align: center;
  padding: 14px; margin-bottom: 12px;
  background: var(--blue-soft); color: var(--blue-dark);
  border-radius: var(--radius-md);
}
.ajak-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; font-size: 12px; color: var(--ink-soft); text-align: center; }
.ajak-stat strong { display: block; font-family: var(--font-head); font-size: 19px; color: var(--ink); }

/* ------------------------------------------------------------ mutasi */
.mutasi { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mutasi:last-child { border-bottom: 0; }
.mutasi__nama { font-size: 13.5px; font-weight: 600; }
.mutasi__waktu { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.mutasi__nilai { font-family: var(--font-head); font-size: 16px; font-weight: 800; }
.mutasi__nilai.is-tambah { color: var(--ok); }
.mutasi__nilai.is-kurang { color: var(--ink-soft); }

/* ============================================================
   MOCHIPET
   ============================================================ */
.pet {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 20px; text-align: center;
}

.pet__panggung {
  position: relative;
  width: min(190px, 56vw); aspect-ratio: 1;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: var(--radius-lg);
  background: var(--pink-soft);
  transition: background-color .3s var(--ease);
}
.pet__panggung--senang { background: #FFE9C9; }
.pet__panggung--biasa  { background: var(--pink-soft); }
.pet__panggung--lapar  { background: var(--blue-soft); }
.pet__panggung--lemas  { background: #ECE6EA; }

.pet__gambar {
  width: 74%; height: auto;
  /* mengambang pelan — hidup tanpa mahal: cuma transform, jalan di GPU */
  animation: ambang 3.4s var(--ease) infinite;
}
@keyframes ambang {
  0%, 100% { transform: translateY(0) }
  50%      { transform: translateY(-7px) }
}
.pet__panggung--lemas .pet__gambar { animation-duration: 6s; opacity: .75; }

.pet__kostum {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px 11px; font-size: 11px; font-weight: 700;
  white-space: nowrap;
}

.pet__nama { font-family: var(--font-head); font-size: 24px; font-weight: 800; }
.pet__suasana { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.pet__lencana { display: flex; gap: 6px; justify-content: center; margin: 12px 0 18px; }

/* ------------------------------------------------------------- ukuran */
.ukur { display: flex; flex-direction: column; gap: 9px; }
.ukur__baris { display: grid; grid-template-columns: 58px 1fr 30px; align-items: center; gap: 10px; }
.ukur__label { font-size: 11.5px; font-weight: 600; color: var(--ink-soft); text-align: left; }
.ukur__alur { height: 9px; background: var(--line); border-radius: 999px; overflow: hidden; }
.ukur__isi { height: 100%; border-radius: 999px; transition: width .45s var(--ease); }
.ukur__isi--kenyang { background: var(--yellow); }
.ukur__isi--senang { background: var(--pink); }
.ukur__isi--xp { background: var(--purple); }
.ukur__angka { font-family: var(--font-head); font-size: 12.5px; font-weight: 700; text-align: right; color: var(--ink-soft); }

/* ------------------------------------------------------------ kostum */
.kostum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kostum {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 14px 12px; text-align: center;
}
.kostum.is-pakai { border-color: var(--pink); background: var(--pink-soft); }
.kostum.is-kunci { opacity: .55; }
.kostum__nama { font-family: var(--font-head); font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.kostum__kunci { font-size: 11.5px; color: var(--ink-soft); padding: 11px 0; }
.kostum .btn { padding: 9px 14px; font-size: 13px; }

/* ============================================================
   KOMUNITAS
   ============================================================ */
.tulis {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 16px;
  box-shadow: var(--shadow-card);
}
.tulis__alias { font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; }
.tulis__kotak {
  width: 100%; resize: vertical; min-height: 76px;
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--radius-md); padding: 12px 14px; outline: none;
  transition: border-color .18s var(--ease);
}
.tulis__kotak:focus { border-color: var(--pink); }
.tulis__kaki { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }

.menfess { padding: 16px 0; border-bottom: 1px solid var(--line); }
.menfess:last-child { border-bottom: 0; }
.menfess__atas { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.menfess__alias { font-family: var(--font-head); font-size: 13.5px; font-weight: 700; color: var(--blue-dark); }
.menfess__waktu { font-size: 11px; color: var(--ink-soft); }
.menfess__isi { font-size: 14.5px; line-height: 1.6; margin: 7px 0 10px; word-break: break-word; }
.menfess__kaki { display: flex; justify-content: flex-end; }
.menfess__lapor {
  background: none; border: 0; cursor: pointer; padding: 4px 0;
  font-size: 11.5px; font-weight: 600; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 3px;
}
.menfess__lapor:active { color: var(--pink); }
.menfess__dilapor { font-size: 11.5px; color: var(--ink-soft); }

/* ============================================================
   MENU
   ============================================================ */
.pilih-outlet { display: flex; gap: 8px; }
.pilih-outlet__btn {
  flex: 1; text-align: center;
  padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-pill);
  background: var(--card);
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  color: var(--ink-soft);
  transition: transform .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.pilih-outlet__btn:active { transform: scale(.97); }
.pilih-outlet__btn.is-aktif { border-color: var(--pink); color: var(--pink); background: var(--pink-soft); }

.produk {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.produk:last-child { border-bottom: 0; }
.produk__gambar { width: 52px; height: 52px; object-fit: contain; flex: none; }
.produk__gambar--kosong { border-radius: var(--radius-sm); background: var(--blue-soft); }
.produk__isi { flex: 1; min-width: 0; }
.produk__nama { font-family: var(--font-head); font-size: 16px; font-weight: 700; }
.produk__tagline { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; margin-top: 2px; }
.produk__aturan { font-size: 11.5px; color: var(--blue-dark); margin-top: 5px; }
.produk__harga { font-family: var(--font-head); font-size: 15px; font-weight: 800; flex: none; }

.bahan { margin-bottom: 16px; }
.bahan__judul { font-size: 12px; font-weight: 700; letter-spacing: .05em; color: var(--ink-soft); margin-bottom: 8px; }
.bahan__daftar { display: flex; flex-wrap: wrap; gap: 7px; }
.bahan__item {
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--card); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 500;
}
.bahan__item.is-habis {
  color: #B3A3AD; background: transparent;
  text-decoration: line-through; text-decoration-thickness: 1.5px;
}

/* ============================================================
   PANEL ADMIN — meneruskan register gelap milik kasir
   ============================================================ */
.admin__tab { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid #33262E; overflow-x: auto; }
.admin__tab a {
  padding: 12px 14px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: #B6A5AF;
  border-bottom: 2px solid transparent;
}
.admin__tab a.is-aktif { color: var(--pink); border-bottom-color: var(--pink); }

.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-kotak { background: #261C22; border: 1px solid #33262E; border-radius: var(--radius-md); padding: 16px; }
.admin-kotak__angka { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--pink); line-height: 1; }
.admin-kotak__label { font-size: 11.5px; color: #B6A5AF; margin-top: 5px; line-height: 1.35; }

.admin-baris {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; margin-bottom: 8px;
  background: #261C22; border: 1px solid #33262E; border-radius: var(--radius-md);
  font-size: 13.5px;
}
.admin-baris.is-perhatian { border-color: var(--pink); }
.admin-baris strong { font-family: var(--font-head); font-size: 18px; color: var(--pink); }

.admin-judul { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin: 26px 0 12px; color: #F6EFF3; }

.admin-post { background: #261C22; border: 1px solid #33262E; border-radius: var(--radius-md); padding: 14px; margin-bottom: 10px; }
.admin-post__atas { font-size: 11.5px; color: #B6A5AF; margin-bottom: 7px; line-height: 1.5; }
.admin-post__isi { font-size: 14px; line-height: 1.55; word-break: break-word; }
.admin-post__url { display: block; font-size: 11.5px; color: #7FA7F0; margin-top: 6px; word-break: break-all; }
.admin-post__aksi { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.admin-post__aksi .btn { padding: 8px 14px; font-size: 12.5px; }

.izin-sudah { color: #8FE8C4; }
.izin-belum { color: #FBC45C; }
.izin-ditolak { color: #FFB3C0; }

.admin-form { background: #261C22; border: 1px solid #33262E; border-radius: var(--radius-md); padding: 16px; }
.admin-inline { display: flex; gap: 8px; align-items: center; }
.admin-inline .isian__kotak { flex: 1; }

.admin-kata { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.admin-kata__item {
  background: #3C2D36; border: 0; border-radius: var(--radius-pill);
  padding: 6px 11px; font-size: 12px; color: #D9CBD3; cursor: pointer;
  font-family: var(--font-body);
}

/* ------------------------------------------------------------ liputan */
.liputan { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.liputan__kartu {
  flex: 0 0 205px; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px; border-radius: var(--radius-md);
  background: var(--card); border: 1px solid var(--line);
  transition: transform .18s var(--ease);
}
.liputan__kartu:active { transform: scale(.98); }
.liputan__platform {
  align-self: flex-start;
  font-family: var(--font-head); font-size: 10.5px; font-weight: 700;
  padding: 4px 9px; border-radius: var(--radius-pill);
}
.liputan__platform--instagram { background: var(--pink-soft); color: var(--pink-dark); }
.liputan__platform--tiktok { background: var(--blue-soft); color: var(--blue-dark); }
.liputan__akun { font-size: 12.5px; font-weight: 600; }
.liputan__caption { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; }
