/*
 * TEMPLATE 22 — "KIOS" · Fireflazz
 *
 * Toko berwujud mesin kios/ATM: pelat kepala berwarna brand, papan LED
 * dot-matrix, layar LCD biru muda di dalam bezel gelap dengan TOMBOL FISIK di
 * kiri-kanan layar, papan angka untuk ID, konsol tombol tebal di dasar layar,
 * dan struk thermal yang tercetak dari celah printer.
 *
 * Kosakata kelas `k22-*` (tak bertabrakan dengan gm-*, k13-*, l12-*, ff-*).
 * Satu wajah TERANG (logam sikat). Mode gelap tidak ada.
 *
 * Warna toko: --brand = pelat kepala, pilihan aktif di layar, tombol biru;
 * --accent = LED, lencana, slot etalase, lampu langkah aktif.
 * Tombol fisik konsol (hijau/kuning/merah/abu) SEMANTIK TETAP, tak ikut palet.
 */

@font-face {
  font-family: "K22 Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("font/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "K22 Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("font/plex-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "K22 Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("font/plex-mono-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* warna toko — blok sebaris di layout menimpa ketiganya + --on-brand */
  --brand: #0d4fa8;
  --accent: #ffb000;
  --on-accent: #1d1300;
  --on-brand: #ffffff;

  /* bodi mesin */
  --logam: #e7eaee; --logam-2: #d3d8df; --logam-3: #b7bec8;
  --bezel: #2a2f37; --bezel-2: #1c2026;
  --tinta: #14181f; --tinta-2: #4b5361;          /* 7,4:1 di atas logam */

  /* layar LCD */
  --layar: #dcefff; --layar-2: #c6e2fb; --layar-tinta: #0a2747; --layar-redup: #3d5c7d;
  --layar-pilih: color-mix(in oklab, var(--brand) 88%, #000);

  /* tombol fisik: semantik tetap */
  --hijau: #177f45; --hijau-g: #0f6234;
  --kuning: #f2c230; --kuning-g: #c99a12;
  --merah: #c93434; --merah-g: #962222;
  --abu: #c9cfd8; --abu-g: #9aa3af;
  --kertas: #fbfaf6;

  /*
   * Tinta beraksen untuk TEKS di atas logam: aksen dicampur 50% hitam.
   * WAJIB sama dengan uji.tinta t22 (campur #000000, porsi 0.5).
   */
  --accent-2: color-mix(in srgb, var(--accent) 50%, #000000);
  /* aksen sebagai teks/titik di atas permukaan GELAP (LED, etalase) */
  --accent-led: color-mix(in srgb, var(--accent) 72%, #ffffff);
  /* brand sebagai teks di atas logam/kertas */
  --brand-ink: color-mix(in srgb, var(--brand) 62%, #000000);

  /* variabel bersama (§8 KONTRAK) */
  --bg: #e7eaee;
  --card: #ffffff;
  --card-2: #f3f5f8;
  --bg-soft: #f3f5f8;
  --ink: #14181f;
  --ink-2: #4b5361;
  --line: #b7bec8;
  --ok: #177f45;
  --danger: #c62828;
  --ff-wrap: 1180px;
  --ff-gutter: 14px;
  --tab-h: 84px;

  --r: 10px;
  --ui: "K22 Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "K22 Mono", ui-monospace, Menlo, Consolas, monospace;
  --pad: 14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body {
  margin: 0; min-height: 100vh;
  color: var(--tinta);
  font: 400 16px/1.45 var(--ui);
  -webkit-font-smoothing: antialiased;
  background-color: var(--logam);
  background-image:
    linear-gradient(90deg, #0000 0 49.6%, #ffffff40 50%, #0000 50.4%),
    linear-gradient(180deg, var(--logam), var(--logam-2));
  background-size: 6px 100%, 100% 100%;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.k22-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.k22-wrap { padding-inline: var(--pad); max-width: var(--ff-wrap); margin-inline: auto; }
.k22-mono { font-family: var(--mono); }
.k22-mt { margin-top: 14px; }

/* ───────── pelat kepala ───────── */
.k22-kepala {
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 82%, #fff), var(--brand) 40%, color-mix(in oklab, var(--brand) 80%, #000));
  color: var(--on-brand);
  box-shadow: inset 0 -2px 0 #0003, 0 2px 0 #fff8;
  position: relative; z-index: 20;
}
.k22-kepala-in { display: flex; align-items: center; gap: 8px; min-height: 60px; }
.k22-logo { display: flex; align-items: center; gap: 10px; min-height: 44px; min-width: 0; text-decoration: none; margin-right: auto; }
.k22-logo-m {
  width: 34px; height: 34px; border-radius: 9px; flex: none; overflow: hidden;
  display: grid; place-items: center; background: var(--accent); color: var(--on-accent);
  font: 700 18px/1 var(--ui); box-shadow: 0 0 0 2px #fff6;
}
.k22-logo-m img { width: 100%; height: 100%; object-fit: cover; display: block; }
.k22-logo-t { min-width: 0; }
.k22-logo-t b { display: block; font: 700 19px/1.05 var(--ui); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k22-logo-t small { display: block; font: 500 13px/1.25 var(--ui); opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k22-online {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font: 500 12px/1 var(--mono); padding: 7px 8px; border-radius: 6px;
  background: #0003; box-shadow: inset 0 1px 2px #0005;
}
.k22-online i { width: 8px; height: 8px; border-radius: 50%; background: #4dff8f; box-shadow: 0 0 8px #4dff8f; }
.k22-ikonbtn {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 10px;
  background: #0002; box-shadow: inset 0 1px 2px #0004, 0 1px 0 #fff3; color: inherit; text-decoration: none;
}
.k22-ikonbtn svg { width: 22px; height: 22px; }
.k22-saldo { font: 700 13px/1 var(--mono); padding: 8px 9px; border-radius: 6px; background: #0003; text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.k22-nav { display: none; }
.k22-game { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }
.k22-game img, .k22-game .k22-game-ph { width: 38px; height: 38px; border-radius: 9px; box-shadow: 0 0 0 2px #fff6; flex: none; object-fit: cover; }
.k22-game .k22-game-ph { display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font: 700 15px/1 var(--ui); }
.k22-game b { display: block; font: 700 17px/1.1 var(--ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k22-game small { display: block; font: 500 13px/1.2 var(--ui); opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k22-game > span { min-width: 0; }
@media (max-width: 379px) { .k22-online { display: none; } }


/* ───────── LED dot-matrix ───────── */
.k22-led { display: block; background: #0d0f12; border-block: 3px solid var(--bezel); box-shadow: inset 0 4px 10px #000; overflow: hidden; }
.k22-led canvas { display: block; width: 100%; height: 40px; color: var(--accent-led); }

/* ───────── bezel + LCD ───────── */
.k22-bezel {
  background: linear-gradient(180deg, #3a414c, var(--bezel) 30%, var(--bezel-2));
  border-radius: 18px; padding: 10px;
  box-shadow: 0 2px 0 #fff, 0 14px 30px -14px #0007, inset 0 1px 0 #ffffff26;
}
.k22-lcd {
  position: relative; border-radius: 10px;
  background: linear-gradient(180deg, var(--layar), var(--layar-2));
  color: var(--layar-tinta);
  box-shadow: inset 0 2px 10px #0a274740, inset 0 0 0 1px #0a274733;
}
.k22-lcd::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(0deg, #0a274708 0 1px, #0000 1px 3px);
}
.k22-lcd-judul { display: block; font: 700 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--layar-redup); }

/* ───────── tombol fisik ───────── */
.k22-kunci {
  --k: var(--abu); --kg: var(--abu-g);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 16px; border: 0; border-radius: var(--r); cursor: pointer;
  background: linear-gradient(180deg, color-mix(in oklab, var(--k) 70%, #fff), var(--k) 45%);
  color: var(--tinta); font: 700 15px/1.1 var(--ui); letter-spacing: .02em; text-align: center; text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 5px 0 var(--kg), 0 7px 10px -2px #0004, inset 0 1px 0 #fff9;
  transition: transform .08s, box-shadow .08s;
  margin-bottom: 5px;
  -webkit-tap-highlight-color: transparent;
}
.k22-kunci:active, .k22-kunci.is-tekan { transform: translateY(4px); box-shadow: 0 1px 0 var(--kg), 0 2px 4px #0003, inset 0 1px 0 #fff9; }
.k22-kunci.hijau { --k: var(--hijau); --kg: var(--hijau-g); color: #fff; text-shadow: 0 1px 0 #0006; }
.k22-kunci.kuning { --k: var(--kuning); --kg: var(--kuning-g); color: #1d1600; }
.k22-kunci.merah { --k: var(--merah); --kg: var(--merah-g); color: #fff; text-shadow: 0 1px 0 #0006; }
.k22-kunci.biru { --k: var(--brand); --kg: color-mix(in oklab, var(--brand) 68%, #000); color: var(--on-brand); }
.k22-kunci.putih { --k: #fff; --kg: var(--logam-3); }
.k22-kunci.datar { text-transform: none; }
.k22-kunci[disabled], .k22-kunci.is-mati { filter: grayscale(1) opacity(.6); cursor: not-allowed; }
.k22-kunci[disabled]:active { transform: none; }
.k22-kunci-full { display: flex; width: 100%; }

/* ───────── seksi (label grafir) ───────── */
.k22-sek { margin-top: 28px; }
.k22-sek-kepala { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.k22-sek-kepala h1, .k22-sek-kepala h2 {
  margin: 0; font: 700 17px/1.2 var(--ui); letter-spacing: .02em; padding: 6px 10px; border-radius: 6px;
  background: linear-gradient(180deg, #fff, var(--logam-2)); box-shadow: inset 0 0 0 1px var(--logam-3), 0 1px 0 #fff;
}
.k22-sek-kepala a { font: 600 15px/1 var(--ui); color: var(--brand-ink); min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.k22-hint { font-size: 14px; color: var(--tinta-2); margin: 8px 0 0; line-height: 1.45; }
.k22-hint a { color: inherit; font-weight: 700; text-decoration: underline; }
.k22-lcd .k22-hint { color: var(--layar-redup); }
.k22-alert { margin: 14px 0; padding: 12px 14px; border-radius: 10px; font-size: 15px; line-height: 1.45; background: #fff; box-shadow: inset 0 0 0 2px var(--logam-3); }
.k22-alert-error { box-shadow: inset 0 0 0 2px #c62828; color: #8e1b1b; background: #fff5f5; }
.k22-alert-info { box-shadow: inset 0 0 0 2px var(--brand); }
.k22-alert-ok { box-shadow: inset 0 0 0 2px var(--hijau); color: #0d5a30; background: #f1fbf4; }
.k22-contoh { font: 500 12px/1 var(--ui); color: var(--tinta-2); border: 1px solid var(--logam-3); border-radius: 4px; padding: 3px 5px; }

/* ───────── layar ATM (beranda) ───────── */
.k22-atm-luar { margin-top: 14px; }
.k22-atm-luar > .k22-bezel { margin-inline: -6px; }
.k22-atm {
  position: relative; display: grid;
  grid-template-columns: 36px 1fr 1fr 36px;
  grid-template-rows: auto repeat(4, minmax(60px, auto)) auto;
  column-gap: 6px; row-gap: 4px; padding: 6px 0 8px;
}
.k22-atm > .k22-lcd { grid-column: 2 / 4; grid-row: 1 / -1; z-index: 0; }
.k22-atm-judul { grid-column: 2 / 4; grid-row: 1; z-index: 1; padding: 12px 12px 2px; }
.k22-atm-judul h1 { margin: 2px 0 0; font: 700 23px/1.1 var(--ui); letter-spacing: -.01em; color: var(--layar-tinta); }
.k22-opsi { position: relative; z-index: 1; display: grid; align-items: center; min-height: 60px; cursor: pointer; text-decoration: none; min-width: 0; }
.k22-opsi.r1 { grid-row: 2; } .k22-opsi.r2 { grid-row: 3; } .k22-opsi.r3 { grid-row: 4; } .k22-opsi.r4 { grid-row: 5; }
.k22-opsi.kiri { grid-column: 1 / 3; grid-template-columns: 36px minmax(0, 1fr); column-gap: 6px; }
.k22-opsi.kanan { grid-column: 3 / 5; grid-template-columns: minmax(0, 1fr) 36px; column-gap: 6px; }
.k22-sk {
  width: 36px; height: 44px; border-radius: 7px; position: relative;
  background: linear-gradient(180deg, #f3f5f8, #c4cad3);
  box-shadow: 0 4px 0 #7d8592, 0 6px 8px -2px #0008, inset 0 1px 0 #fff;
  transition: transform .08s, box-shadow .08s;
}
.k22-sk::after { content: ""; position: absolute; left: 11px; right: 11px; top: 50%; height: 3px; margin-top: -2px; border-radius: 2px; background: #9aa3af; }
.k22-opsi:active .k22-sk { transform: translateY(3px); box-shadow: 0 1px 0 #7d8592, inset 0 1px 0 #fff; }
.k22-lb {
  display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 5px 8px; min-width: 0;
  color: var(--layar-tinta); font: 700 15px/1.15 var(--ui); position: relative; border-radius: 6px;
}
.k22-lb > span:last-child { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.k22-lb small { overflow-wrap: normal; }
.k22-opsi.kanan .k22-lb { flex-direction: row-reverse; text-align: right; }
.k22-lb img, .k22-lb .k22-ik { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.k22-lb img { object-fit: cover; box-shadow: 0 0 0 1px #0a274722; }
.k22-lb .k22-ik { display: grid; place-items: center; background: color-mix(in oklab, var(--brand) 16%, #fff); color: var(--layar-tinta); }
.k22-lb .k22-ik svg { width: 20px; height: 20px; }
.k22-lb small { display: block; font: 500 13px/1.2 var(--mono); color: var(--layar-redup); }
.k22-opsi.kiri .k22-lb::before, .k22-opsi.kanan .k22-lb::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; margin-top: -6px; }
.k22-opsi.kiri .k22-lb::before { left: -4px; border-left-color: var(--layar-tinta); }
.k22-opsi.kanan .k22-lb::after { right: -4px; border-right-color: var(--layar-tinta); }
.k22-opsi:hover .k22-lb, .k22-opsi:focus-visible .k22-lb { background: var(--layar-pilih); color: var(--on-brand); }
.k22-opsi:hover .k22-lb small, .k22-opsi:focus-visible .k22-lb small { color: inherit; opacity: .85; }
.k22-opsi:hover .k22-lb::before { border-left-color: var(--on-brand); }
.k22-opsi:hover .k22-lb::after { border-right-color: var(--on-brand); }
.k22-opsi:focus-visible { outline: none; }
.k22-atm-kaki { grid-column: 2 / 4; grid-row: 6; z-index: 1; padding: 4px 12px 10px; font: 500 13px/1.3 var(--mono); color: var(--layar-redup); display: flex; justify-content: space-between; gap: 8px; }
.k22-celah { display: flex; gap: 10px; margin-top: 8px; padding: 0 8px; }
.k22-celah span { flex: 1; height: 10px; border-radius: 5px; background: #0b0d10; box-shadow: inset 0 2px 3px #000, 0 1px 0 #ffffff26; }
.k22-celah span:last-child { flex: .5; }

/* cari: layar kecil + tombol */
.k22-cari { display: flex; gap: 8px; margin-top: 16px; align-items: flex-start; }
.k22-cari .k22-lcd { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 12px; min-width: 0; }
.k22-cari svg { width: 20px; height: 20px; color: var(--layar-redup); flex: none; }
.k22-cari input { flex: 1; min-width: 0; min-height: 50px; border: 0; background: none; outline: none; font: 500 16px/1 var(--mono); color: var(--layar-tinta); position: relative; z-index: 1; }
.k22-cari input::placeholder { color: var(--layar-redup); opacity: 1; }
.k22-cari .k22-lcd:focus-within { box-shadow: inset 0 0 0 2px var(--brand); }

/* kategori: saklar */
.k22-kat { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 12px calc(-1 * var(--pad)) 0; padding: 2px var(--pad) 6px; }
.k22-kat::-webkit-scrollbar { display: none; }
.k22-kat .k22-kunci { flex: none; min-height: 44px; padding: 0 14px; font-size: 14px; text-transform: none; box-shadow: 0 4px 0 var(--kg), inset 0 1px 0 #fff9; }
.k22-kat .k22-kunci[aria-pressed="true"], .k22-kat .k22-kunci.is-active {
  --k: var(--brand); --kg: color-mix(in oklab, var(--brand) 68%, #000); color: var(--on-brand); transform: translateY(3px); box-shadow: 0 1px 0 var(--kg);
}

/* tombol bergambar (game) */
.k22-tg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
.k22-tg-i { display: flex; flex-direction: column; gap: 8px; text-align: center; text-decoration: none; min-width: 0; }
.k22-tutup {
  display: block; border-radius: 14px; padding: 5px;
  background: linear-gradient(180deg, #fff, var(--logam-2));
  box-shadow: 0 5px 0 var(--logam-3), 0 8px 12px -4px #0004, inset 0 1px 0 #fff;
  transition: transform .08s, box-shadow .08s;
}
.k22-tg-i:active .k22-tutup { transform: translateY(4px); box-shadow: 0 1px 0 var(--logam-3); }
.k22-tutup img, .k22-tutup .k22-ph { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 10px; }
.k22-tutup .k22-ph { display: grid; place-items: center; background: color-mix(in oklab, var(--brand) 18%, #fff); color: var(--layar-tinta); font: 700 22px/1 var(--mono); }
.k22-tg-i b { font: 600 14px/1.2 var(--ui); overflow-wrap: anywhere; }
.k22-tg-i span.k22-mulai { display: block; font: 500 13px/1.2 var(--mono); color: var(--tinta-2); margin-top: 2px; }
.k22-blok { scroll-margin-top: 12px; }
.k22-blok + .k22-blok { margin-top: 22px; }
.k22-blok-j { margin: 0 0 10px; font: 700 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-2); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.k22-blok-j a { font: 600 14px/1 var(--ui); letter-spacing: 0; text-transform: none; color: var(--brand-ink); min-height: 40px; display: inline-flex; align-items: center; text-decoration: underline; }

/* struk mini (pesanan kamu / riwayat) */
.k22-rak { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 14px; }
.k22-rak::-webkit-scrollbar { display: none; }
.k22-tumpuk { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px 10px; }
.k22-struk-mini {
  flex: 0 0 172px; display: block; text-decoration: none;
  background: var(--kertas); padding: 12px 12px 20px; font: 500 13px/1.45 var(--mono); color: #2b2b2b;
  box-shadow: 0 6px 12px -6px #0005; min-width: 0;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/10px 51% repeat-x, linear-gradient(#000 0 0) top/100% calc(100% - 5px) no-repeat;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/10px 51% repeat-x, linear-gradient(#000 0 0) top/100% calc(100% - 5px) no-repeat;
}
.k22-rak .k22-struk-mini:nth-child(odd) { transform: rotate(-1.2deg); }
.k22-rak .k22-struk-mini:nth-child(even) { transform: rotate(1deg); }
.k22-struk-mini b { display: block; font-weight: 700; font-size: 13px; text-transform: uppercase; overflow-wrap: anywhere; }
.k22-struk-mini .k22-gr { border-top: 1px dashed #999; margin: 6px 0; }
.k22-st { font-weight: 700; }
.k22-st.ok { color: #0f6234; } .k22-st.bad { color: #a52222; } .k22-st.wait { color: #7a5500; } .k22-st.run { color: #0a4a8a; }

/* stiker jaminan */
.k22-stiker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.k22-stiker > div { border-radius: 12px; padding: 12px 6px; text-align: center; background: #fff; box-shadow: 0 1px 0 #fff, inset 0 0 0 2px var(--brand), 0 3px 8px -4px #0004; }
.k22-stiker svg { width: 26px; height: 26px; color: var(--brand-ink); margin: 0 auto 4px; display: block; }
.k22-stiker b { display: block; font: 700 14px/1.2 var(--ui); }
.k22-stiker span { display: block; font-size: 13px; color: var(--tinta-2); line-height: 1.25; margin-top: 2px; }

/* cek pesanan cepat */
.k22-cek { display: flex; gap: 8px; align-items: flex-start; }
.k22-cek .k22-lcd { flex: 1; display: flex; min-width: 0; }
.k22-cek input { flex: 1; min-width: 0; min-height: 50px; border: 0; background: none; outline: none; padding: 0 12px; font: 500 16px/1 var(--mono); color: var(--layar-tinta); position: relative; z-index: 1; text-transform: uppercase; }
.k22-cek input::placeholder { color: var(--layar-redup); opacity: 1; text-transform: none; }
.k22-cek .k22-lcd:focus-within { box-shadow: inset 0 0 0 2px var(--brand); }

/* artikel baris */
.k22-baris-a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--logam-3), 0 3px 0 var(--logam-3); text-decoration: none; margin-bottom: 10px; }
.k22-baris-a img, .k22-baris-a .k22-ph { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--logam-2); font: 700 18px/1 var(--mono); }
.k22-baris-a b { display: block; font-weight: 700; line-height: 1.25; }
.k22-baris-a small { color: var(--tinta-2); font: 500 13px/1.3 var(--mono); }

/* ───────── konsol bawah melekat ───────── */
.k22-konsol {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: linear-gradient(180deg, var(--logam-3), var(--logam-2) 8%, var(--logam));
  border-top: 1px solid #fff; box-shadow: 0 -10px 24px -12px #0005;
}
.k22-konsol-in { display: grid; grid-template-columns: 1fr 1fr 1fr 1.5fr; gap: 7px; padding: 9px var(--pad) max(9px, env(safe-area-inset-bottom)); max-width: 760px; margin-inline: auto; }
.k22-konsol-in.tiga { grid-template-columns: 1fr 1fr 1.6fr; }
.k22-konsol .k22-kunci { min-height: 54px; padding: 0 6px; font-size: 13px; line-height: 1.1; margin-bottom: 5px; min-width: 0; }
.k22-konsol .k22-kunci[aria-current="page"] { transform: translateY(4px); box-shadow: 0 1px 0 var(--kg), inset 0 1px 0 #fff9; }
.k22-bayar { flex-direction: column; gap: 2px; }
.k22-bayar .k22-t1 { font: 700 12px/1 var(--ui); letter-spacing: .04em; }
.k22-bayar strong { font: 700 17px/1 var(--mono); letter-spacing: 0; text-transform: none; }
.k22-bayar .ff-total-qris { font-size: 11px !important; line-height: 1.1 !important; opacity: .95 !important; text-transform: none; font-family: var(--mono); }

/* ───────── kaki halaman ───────── */
.k22-kaki { margin-top: 40px; background: linear-gradient(180deg, var(--bezel), var(--bezel-2)); color: #e8ecf2; padding-block: 26px 26px; }
.k22-kaki-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.k22-kaki-grid > .k22-kaki-toko { grid-column: 1 / -1; }
.k22-kaki .k22-nama { font: 700 21px/1.1 var(--ui); margin: 0 0 4px; text-transform: uppercase; letter-spacing: .03em; }
.k22-kaki p { margin: 0; color: #c3cad5; font-size: 15px; }
.k22-kaki .ff-kaki-judul { color: #c3cad5; opacity: 1; }
.k22-kaki .ff-kaki-list a { opacity: 1; color: #e8ecf2; }
.k22-kaki .ff-kaki-list a:hover { color: #fff; text-decoration: underline; }
.k22-kaki .ff-kaki-kol:has(.ff-sosial) { grid-column: 1 / -1; }
.k22-kontak { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.k22-kontak a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 8px; background: #ffffff12; box-shadow: inset 0 1px 0 #ffffff1a, 0 2px 0 #0008; text-decoration: none; font-weight: 600; font-size: 15px; }
.k22-metode { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.k22-metode span { font: 500 12px/1 var(--mono); padding: 7px 8px; border-radius: 5px; background: #ffffff10; color: #dfe4ec; box-shadow: inset 0 0 0 1px #ffffff1f; }
.k22-seri { margin-top: 18px; font: 500 13px/1.45 var(--mono); color: #aeb7c4; }

/* ───────── halaman beli ───────── */
.k22-lampu-l { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; padding: 0; }
.k22-lampu-l li { display: flex; align-items: center; gap: 7px; padding: 8px 9px; border-radius: 8px; background: linear-gradient(180deg, #fff, var(--logam-2)); box-shadow: inset 0 0 0 1px var(--logam-3); font: 600 14px/1.1 var(--ui); color: var(--tinta-2); min-width: 0; }
.k22-lampu-l i, .k22-lampu i { width: 12px; height: 12px; border-radius: 50%; flex: none; background: #9aa3af; box-shadow: inset 0 1px 2px #0005; }
.k22-lampu-l .is-ok i, .k22-lampu .is-ok i { background: #2fd16f; box-shadow: 0 0 8px #2fd16f; }
.k22-lampu-l .is-kini { color: var(--tinta); }
.k22-lampu-l .is-kini i, .k22-lampu .is-kini i { background: var(--accent); box-shadow: 0 0 0 2px #fff, 0 0 10px var(--accent); animation: k22-kedip 1.2s steps(2) infinite; }
@keyframes k22-kedip { 50% { opacity: .35; } }

.k22-hal { display: block; }
.k22-langkah { margin-top: 14px; scroll-margin-top: 10px; }
.k22-langkah > .k22-bezel { padding: 8px; }
.k22-l-kepala { padding: 10px 12px 4px; position: relative; z-index: 1; }
.k22-l-kepala h2 { margin: 2px 0 0; font: 700 19px/1.15 var(--ui); color: var(--layar-tinta); }
.k22-l-isi { padding: 4px 12px 14px; position: relative; z-index: 1; }

/* medan isian (dari tujuan-akun/voucher) */
.k22-medan-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(96px, 38%); gap: 8px; align-items: start; }
.k22-medan-1 { display: block; }
.k22-medan-2 > div, .k22-medan-1 > div, .k22-medan {
  display: block; border-radius: 8px; padding: 7px 10px 6px; min-width: 0;
  background: #ffffff59; box-shadow: inset 0 0 0 1.5px #0a274738;
}
.k22-medan-2 > div:focus-within, .k22-medan-1 > div:focus-within, .k22-medan:focus-within, .k22-medan-2 > div.is-aktif, .k22-medan-1 > div.is-aktif { box-shadow: inset 0 0 0 2.5px var(--brand); background: #ffffffa6; }
.k22-label { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font: 500 13px/1.25 var(--mono); color: var(--layar-redup); margin: 0; }
.k22-label .k22-hint { display: inline !important; margin: 0; font-size: 12px; }
.k22-input {
  display: block; width: 100%; min-width: 0; border: 0; background: none; outline: none; padding: 2px 0 0;
  font: 700 20px/1.25 var(--mono); letter-spacing: .03em; color: var(--layar-tinta); min-height: 36px;
}
.k22-input::placeholder { color: #0a274766; opacity: 1; font-size: 15px; letter-spacing: 0; font-weight: 500; }
.k22-l-isi .k22-hint { font-size: 13px; line-height: 1.4; }
.k22-l-isi details summary { min-height: 34px !important; font-size: 12px; }
.k22-medan-2 > div, .k22-medan-1 > div { padding: 6px 9px 4px; }
.k22-langkah > p.k22-hint { margin: 8px 4px 0; font-size: 13px; }
.k22-langkah > p.k22-pindah { color: var(--tinta-2); }
.k22-langkah.is-lipat > p.k22-hint:last-child { display: none; }
.k22-langkah > p.k22-pindah strong { color: var(--tinta); }
.k22-lagi { margin-top: 10px; font-size: 14px; text-transform: none; }
.k22-ada-bar .k22-proof { width: min(300px, calc(100% - 24px)); padding-block: 4px; top: 66px; bottom: auto; }
.k22-ada-bar .k22-proof-meta { display: none; }
select.k22-input { font-size: 17px; letter-spacing: 0; appearance: auto; }
.k22-input[type="email"], .k22-input.is-teks { font-size: 17px; letter-spacing: 0; }
.k22-medan-2 > div > details, .k22-medan-1 > div > details { font-size: 13px; color: var(--layar-redup); }
/* tombol "Tempel" dari partial tempel-id menempel di label */
.k22-label button { font: 700 12px/1 var(--ui); min-height: 32px; padding: 0 10px; border-radius: 6px; border: 0; background: var(--abu); box-shadow: 0 2px 0 var(--abu-g); color: var(--tinta); cursor: pointer; }
.k22-l-isi > .k22-hint, .k22-l-isi > p.k22-hint { color: var(--layar-redup); }
.k22-l-isi .k22-hint strong { color: var(--layar-tinta); }

.k22-status { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; min-height: 28px; font: 700 14px/1.3 var(--mono); color: var(--layar-redup); }
.k22-status.is-ok { color: #0b6a34; }
.k22-status.is-bad { color: #a32020; }
.k22-status.is-ok::before { content: "✓"; } .k22-status.is-bad::before { content: "✕"; }

/* voucher (email) */
.k22-voucher .k22-label { margin: 10px 0 6px; }
.k22-voucher .k22-label:first-child { margin-top: 0; }
.k22-voucher .k22-input { border-radius: 8px; padding: 8px 10px; background: #ffffff8c; box-shadow: inset 0 0 0 1.5px #0a274738; font-size: 17px; letter-spacing: 0; min-height: 48px; }
.k22-voucher .k22-input:focus { box-shadow: inset 0 0 0 2.5px var(--brand); }
.k22-voucher .gm-muted { color: var(--layar-redup); }

/* akun tersimpan */
.k22-simpan { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 10px; padding-bottom: 4px; }
.k22-simpan::-webkit-scrollbar { display: none; }
.k22-simpan-btn { flex: none; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 12px 6px 6px; border: 0; border-radius: 8px; cursor: pointer; text-align: left; background: #ffffff8c; box-shadow: inset 0 0 0 1.5px #0a274738; color: var(--layar-tinta); }
.k22-simpan-btn.is-active { background: var(--layar-pilih); color: var(--on-brand); }
.k22-simpan-av { width: 34px; height: 34px; border-radius: 7px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font: 700 15px/1 var(--mono); flex: none; }
.k22-simpan-btn strong { display: block; font: 700 14px/1.2 var(--ui); }
.k22-simpan-btn span span { font: 500 12px/1.2 var(--mono); }

/* papan angka — RINGKAS: 3 baris, dan melipat sendiri setelah ID terisi */
.k22-papan { margin-top: 8px; border-radius: 12px; background: linear-gradient(180deg, var(--logam-2), var(--logam)); box-shadow: inset 0 2px 6px #0002, 0 1px 0 #fff; padding: 8px 8px 4px; }
.k22-papan-kepala { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 2px 6px; font: 600 13px/1.2 var(--mono); color: var(--tinta-2); }
.k22-papan-tog { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; cursor: pointer; font: 700 13px/1 var(--ui); background: linear-gradient(180deg, #fff, var(--abu)); color: var(--tinta); box-shadow: 0 3px 0 var(--abu-g), inset 0 1px 0 #fff; }
.k22-papan-tog svg { width: 18px; height: 18px; }
.k22-papan-isi { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.k22-papan .k22-kunci { min-height: 42px; padding: 0; font: 700 19px/1 var(--mono); margin-bottom: 4px; box-shadow: 0 4px 0 var(--kg), 0 5px 7px -2px #0004, inset 0 1px 0 #fff9; }
.k22-papan .k22-kunci:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--kg); }
.k22-papan .k22-kunci.kecil { font: 700 12px/1.05 var(--ui); padding: 0 2px; }
.k22-papan .k22-dua { grid-column: span 2; font: 700 14px/1 var(--ui); letter-spacing: .06em; }
.k22-langkah.is-lipat .k22-papan-isi { display: none; }
.k22-langkah.is-lipat .k22-papan { padding-bottom: 8px; }
.k22-langkah.is-lipat .k22-papan-kepala { padding-bottom: 0; }

/* nominal: baris tombol ATM di layar */
.k22-tab { display: flex; gap: 8px; margin: 0 -12px 8px; padding: 2px 12px 4px; overflow-x: auto; scrollbar-width: none; }
.k22-tab::-webkit-scrollbar { display: none; }
.k22-tab .k22-kunci { flex: none; min-height: 42px; padding: 0 10px; font-size: 13px; text-transform: none; box-shadow: 0 4px 0 var(--kg), inset 0 1px 0 #fff9; }
.k22-tab .k22-kunci.is-active { --k: var(--brand); --kg: color-mix(in oklab, var(--brand) 68%, #000); color: var(--on-brand); transform: translateY(3px); box-shadow: 0 1px 0 var(--kg); }
.k22-cari-nom { display: flex; align-items: center; gap: 8px; border-radius: 8px; padding: 0 10px; background: #ffffff59; box-shadow: inset 0 0 0 1.5px #0a274738; margin-bottom: 4px; }
.k22-cari-nom svg { width: 18px; height: 18px; color: var(--layar-redup); flex: none; }
.k22-cari-nom input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; outline: none; font: 500 16px/1 var(--mono); color: var(--layar-tinta); }
.k22-cari-nom input::placeholder { color: var(--layar-redup); opacity: 1; }
.k22-grup-j { font: 700 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--layar-redup); margin: 14px 0 4px; }
.k22-baris {
  position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  min-height: 58px; padding: 7px 10px 7px 8px; border-bottom: 1px dashed #0a274733; cursor: pointer; color: var(--layar-tinta); border-radius: 0;
}
.k22-baris > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.k22-baris .ff-nom-gbr { width: 34px !important; height: 34px !important; object-fit: contain; margin: 0 !important; grid-column: 1; }
.k22-baris-in { min-width: 0; grid-column: 2; }
.k22-baris-nama { display: block; font: 700 16px/1.2 var(--ui); overflow-wrap: anywhere; }
.k22-baris .k22-baris-tag { display: inline-block; margin-top: 3px; padding: 3px 5px; border-radius: 3px; background: var(--accent); color: var(--on-accent); font: 700 11px/1 var(--mono); }
.k22-baris-h { grid-column: 3; text-align: right; font: 700 16px/1.15 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.k22-baris-h .ff-coret { display: block; font: 500 12px/1.2 var(--mono); color: var(--layar-redup); }
.k22-baris:hover { background: #ffffff66; }
.k22-baris.is-active, .k22-baris:has(> input:checked) { background: var(--layar-pilih); color: var(--on-brand); border-radius: 8px; border-color: transparent; }
.k22-baris.is-active .ff-coret, .k22-baris:has(> input:checked) .ff-coret { color: inherit; opacity: .8; }
.k22-baris.is-active::before, .k22-baris:has(> input:checked)::before { content: ""; position: absolute; left: -12px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-left-color: var(--layar-pilih); }
.k22-baris:has(> input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 1px; }
.k22-baris.is-sembunyi { display: none; }

/* langkah 3 */
.k22-qris { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 2px var(--layar-tinta); }
.k22-qris .k22-q { width: 48px; height: 48px; flex: none; border-radius: 8px; background: var(--layar-tinta); color: #fff; display: grid; place-items: center; font: 700 13px/1 var(--mono); }
.k22-qris b { display: block; font: 700 16px/1.2 var(--ui); color: var(--tinta); }
.k22-qris span { font-size: 14px; color: var(--tinta-2); }
.k22-pratinjau {
  margin-top: 14px; background: var(--kertas); padding: 14px 14px 22px; font: 500 14px/1.5 var(--mono); color: #222; box-shadow: 0 6px 12px -6px #0005;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/12px 51% repeat-x, linear-gradient(#000 0 0) top/100% calc(100% - 6px) no-repeat;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/12px 51% repeat-x, linear-gradient(#000 0 0) top/100% calc(100% - 6px) no-repeat;
}
.k22-pr { display: flex; justify-content: space-between; gap: 10px; }
.k22-pr > span:last-child { text-align: right; overflow-wrap: anywhere; min-width: 0; }
.k22-pratinjau .k22-gr { border-top: 1px dashed #888; margin: 6px 0; }
.k22-pr.tot { font: 700 18px/1.3 var(--mono); }
.k22-pratinjau .ff-total-qris { color: #333; }
.k22-pratinjau .k22-ket { font-size: 13px; color: #555; text-align: center; margin-top: 8px; }
.k22-kirim { margin-top: 14px; }
.k22-kirim .k22-kunci { width: 100%; min-height: 54px; font-size: 16px; }
.k22-kirim .ffkp, .k22-kirim .ff-sekali { color: var(--layar-tinta); }
.k22-l-isi .ffkp { margin: 12px 0 10px; }
.k22-l-isi .ffkp input { background: #fff; color: var(--tinta); }

.k22-info details { border-radius: 12px; background: linear-gradient(180deg, #fff, var(--logam)); box-shadow: inset 0 0 0 1px var(--logam-3); padding: 0 14px; margin-top: 10px; }
.k22-info summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; font: 700 16px/1.2 var(--ui); cursor: pointer; list-style: none; }
.k22-info summary::-webkit-details-marker { display: none; }
.k22-info summary::after { content: "+"; font: 700 22px/1 var(--mono); color: var(--brand-ink); }
.k22-info details[open] summary::after { content: "–"; }
.k22-info ol, .k22-info p { font-size: 15px; color: var(--tinta-2); margin-top: 0; }

/* ───────── pesanan: layar status + printer + struk ───────── */
.k22-ps { max-width: 480px; }
.k22-stat { margin-top: 14px; }
.k22-stat .k22-lcd { padding: 14px 14px 12px; }
.k22-stat h1 { margin: 4px 0 0; font: 700 23px/1.15 var(--ui); position: relative; z-index: 1; }
.k22-hit { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 6px; font: 500 14px/1.3 var(--mono); color: var(--layar-redup); position: relative; z-index: 1; }
.k22-hit b { font: 700 26px/1 var(--mono); color: var(--layar-tinta); letter-spacing: .04em; }
.k22-lampu { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; padding: 0; position: relative; z-index: 1; }
.k22-lampu li { display: flex; align-items: center; gap: 6px; font: 600 13px/1.15 var(--ui); color: var(--layar-redup); }
.k22-lampu .is-kini { color: var(--layar-tinta); }
.k22-lampu .is-gagal i { background: #e04848; box-shadow: 0 0 8px #e04848; }
.k22-ps.is-lunas .k22-stat .k22-lcd { background: linear-gradient(180deg, #dcffe9, #c3f2d6); }
.k22-ps.is-gagal .k22-stat .k22-lcd { background: linear-gradient(180deg, #ffe6e3, #f8cfca); }

.k22-printer { margin-top: 18px; position: relative; }
.k22-mulut { height: 34px; border-radius: 12px 12px 6px 6px; background: linear-gradient(180deg, #3a414c, var(--bezel)); box-shadow: 0 2px 0 #fff, inset 0 1px 0 #ffffff26; display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
.k22-mulut::before { content: ""; width: 86%; height: 8px; border-radius: 4px; background: #050607; box-shadow: inset 0 3px 4px #000, 0 1px 0 #ffffff26; }
.k22-mulut i { position: absolute; right: 12px; top: 50%; margin-top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #2fd16f; box-shadow: 0 0 8px #2fd16f; }
.k22-keluar { overflow: hidden; margin: -17px auto 0; width: min(94%, 360px); padding-top: 13px; position: relative; z-index: 1; }
.k22-keluar::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 18px; z-index: 3; background: linear-gradient(#0004, #0000); pointer-events: none; }
.k22-struk {
  background: var(--kertas); color: #1f1f1f; font: 500 14px/1.5 var(--mono); padding: 18px 16px 28px;
  box-shadow: 0 10px 20px -10px #0006; animation: k22-cetak 2.4s steps(20, end) .3s both;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/12px 51% repeat-x, linear-gradient(#000 0 0) top/100% calc(100% - 6px) no-repeat;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/12px 51% repeat-x, linear-gradient(#000 0 0) top/100% calc(100% - 6px) no-repeat;
}
@keyframes k22-cetak { from { transform: translateY(-100%); } }
.k22-struk .c { text-align: center; }
.k22-struk .k22-toko { font: 700 21px/1.15 var(--mono); letter-spacing: .1em; text-transform: uppercase; overflow-wrap: anywhere; }
.k22-struk .k22-gr { border-top: 1px dashed #777; margin: 8px 0; }
.k22-struk .k22-gr2 { border-top: 3px double #333; margin: 8px 0; }
.k22-struk .k22-pr > span:first-child { flex: none; }
.k22-struk .k22-pr-harga > span:first-child { flex: 1 1 auto; min-width: 0; }
.k22-struk .k22-pr-harga > span:last-child { flex: none; white-space: nowrap; }
.k22-struk .k22-tot { font: 700 19px/1.3 var(--mono); }
.k22-struk .kecil { font-size: 13px; color: #444; overflow-wrap: anywhere; }
.k22-struk .k22-hijau { color: #0b6a34; }
.k22-atas { position: relative; }
.k22-atas .k22-kunci { width: 100%; margin-top: 10px; }
.k22-atas form button, .k22-atas .ff-batal button { font-family: var(--ui); }
.k22-potong { position: relative; margin: 18px -16px 16px; border-top: 2px dashed #999; text-align: center; }
.k22-potong span { position: relative; top: -11px; background: var(--kertas); padding: 0 8px; font: 500 13px/1 var(--mono); color: #555; }
.k22-bukti { position: relative; }
.k22-barcode { height: 44px; margin: 12px 0 2px; background: repeating-linear-gradient(90deg, #222 0 2px, #0000 2px 4px, #222 4px 5px, #0000 5px 8px, #222 8px 11px, #0000 11px 12px, #222 12px 13px, #0000 13px 16px); }
.k22-cap { position: absolute; right: 2px; top: 4px; padding: 6px 12px; border: 3px solid #138a46; border-radius: 8px; color: #138a46; font: 700 24px/1 var(--mono); letter-spacing: .1em; transform: rotate(-12deg); opacity: .92; mix-blend-mode: multiply; pointer-events: none; }
.k22-cap.is-merah { border-color: #c02a2a; color: #c02a2a; font-size: 19px; }
.k22-cap.is-tunda { display: none; }
.k22-cap.is-cap { display: block; animation: k22-cap .45s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes k22-cap { from { transform: rotate(-30deg) scale(2); opacity: 0; } }
.k22-atas.is-jatuh { animation: k22-jatuh .7s cubic-bezier(.5, 0, .8, .4) forwards; }
@keyframes k22-jatuh { to { transform: translate(30px, 120px) rotate(10deg); opacity: 0; } }
.k22-serial { margin-top: 10px; padding: 10px; border: 2px dashed #555; text-align: center; }
.k22-serial code { display: block; font: 700 17px/1.35 var(--mono); overflow-wrap: anywhere; user-select: all; }
.k22-aksi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.k22-aksi > :only-child { grid-column: 1 / -1; }
.k22-aksi .k22-kunci { text-transform: none; font-size: 15px; }

/* ───────── panel umum (akun, cek pesanan, KelasForm) ───────── */
.k22-panel { margin-top: 14px; border-radius: 16px; padding: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--logam-3), 0 4px 0 var(--logam-3), 0 10px 18px -12px #0005; color: var(--tinta); }
.k22-panel .k22-label { color: var(--tinta-2); margin: 10px 0 6px; font-size: 13px; }
.k22-panel .k22-input { border-radius: 8px; padding: 10px 12px; background: var(--layar); box-shadow: inset 0 0 0 1.5px #0a274738; font-size: 17px; letter-spacing: 0; min-height: 48px; color: var(--layar-tinta); }
.k22-panel .k22-input:focus { box-shadow: inset 0 0 0 2.5px var(--brand); }
.k22-btn { --k: var(--brand); --kg: color-mix(in oklab, var(--brand) 68%, #000); display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 16px; border: 0; border-radius: var(--r); cursor: pointer; background: linear-gradient(180deg, color-mix(in oklab, var(--k) 75%, #fff), var(--k) 45%); color: var(--on-brand); font: 700 15px/1.1 var(--ui); box-shadow: 0 5px 0 var(--kg), inset 0 1px 0 #fff6; margin: 8px 0 5px; text-decoration: none; }
.k22-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--kg); }
.k22-btn-full { display: flex; width: 100%; }
.k22-btn-ghost { --k: var(--abu); --kg: var(--abu-g); color: var(--tinta); }
.k22-halo .k22-lcd { padding: 14px; }
.k22-halo h1 { margin: 2px 0 0; font: 700 23px/1.15 var(--ui); position: relative; z-index: 1; overflow-wrap: anywhere; }
.k22-halo .k22-saldo-a { font: 700 30px/1.1 var(--mono); margin: 4px 0 0; position: relative; z-index: 1; }
.k22-halo p { position: relative; z-index: 1; }
.k22-baris-m { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--logam-3); margin-bottom: 8px; }
.k22-baris-m > span:first-child { flex: 1; min-width: 0; }
.k22-baris-m b { display: block; font-weight: 700; overflow-wrap: anywhere; }
.k22-baris-m small { font: 500 13px/1.3 var(--mono); color: var(--tinta-2); overflow-wrap: anywhere; }
.k22-baris-m .k22-n { font: 700 15px/1 var(--mono); white-space: nowrap; }
.k22-baris-m .k22-n.plus { color: #0f6234; } .k22-baris-m .k22-n.min { color: #a52222; }
.k22-lupa { min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: #fde8e8; color: #8e1b1b; font: 700 13px/1 var(--ui); cursor: pointer; }

/* fallback kelas form T1 (gm-*) sampai KelasForm t22 dipasang integrator */
.gm-panel { margin-top: 14px; border-radius: 16px; padding: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--logam-3), 0 4px 0 var(--logam-3); }
.gm-input { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 8px; padding: 10px 12px; background: var(--layar); box-shadow: inset 0 0 0 1.5px #0a274738; color: var(--layar-tinta); font-size: 16px; }
.gm-label { display: block; margin: 10px 0 6px; font: 500 13px/1.25 var(--mono); color: var(--tinta-2); }

/* ───────── blok bersama di dalam tema ───────── */
.k22-wrap .ff-ban { background: linear-gradient(180deg, #3a414c, var(--bezel) 30%, var(--bezel-2)); border-radius: 16px; padding: 8px; box-shadow: 0 2px 0 #fff, 0 14px 30px -14px #0007; margin-top: 22px; }
.k22-wrap .ff-ban-slide { border-radius: 8px; overflow: hidden; }
.k22-wrap .ff-ban-dots { color: #d5dbe4; }
.k22-wrap .ff-ann { background: #fff; border: 0; box-shadow: inset 0 0 0 2px var(--brand), 0 3px 0 var(--logam-3); color: var(--tinta); font-size: 14px; }
.k22-wrap .ff-ann svg, .k22-wrap .ff-ann-in b { color: var(--brand-ink); }
.k22-wrap .ff-lp { margin-top: 28px; }
.k22-wrap .ff-lp-grid { background: linear-gradient(180deg, #3a414c, var(--bezel) 30%, var(--bezel-2)); padding: 10px; border-radius: 16px; box-shadow: 0 2px 0 #fff, 0 14px 30px -14px #0007; }
.k22-wrap .ff-lp-grid .ff-lp-card { background: #0f1216; color: #e8ecf2; border-color: #ffffff1a; }
.k22-wrap .ff-lp-grid .ff-lp-kat { background: var(--accent); color: var(--on-accent); font-family: var(--mono); }
.k22-wrap .ff-lp-grid .ff-lp-harga { color: var(--accent-led); font-family: var(--mono); }
.k22-wrap .ff-lp-grid .ff-lp-est, .k22-wrap .ff-lp-grid .ff-lp-ringkas { color: #c3cad5; opacity: 1; }
.k22-wrap .ff-lp-all { color: var(--brand-ink); }
.k22-wrap .ff-promo { background: #fff; box-shadow: inset 0 0 0 2px var(--accent), 0 3px 0 var(--logam-3); }
.ffu { color: var(--tinta); }

/* bukti sosial: struk kecil yang keluar di atas konsol */
.k22-proof {
  position: fixed; left: 12px; bottom: calc(var(--tab-h) + 14px + env(safe-area-inset-bottom)); z-index: 45;
  width: min(330px, calc(100% - 96px)); display: flex; align-items: center; gap: 10px; padding: 9px 4px 9px 12px;
  background: var(--kertas); color: #1f1f1f; border-radius: 6px 6px 2px 2px; box-shadow: 0 10px 22px -10px #0007, inset 0 0 0 1px #0001;
  opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s;
}
.k22-proof.is-in { opacity: 1; transform: none; }
.k22-proof-dot { width: 10px; height: 10px; border-radius: 50%; background: #2fd16f; box-shadow: 0 0 8px #2fd16f; flex: none; }
.k22-proof-body { flex: 1; min-width: 0; }
.k22-proof-title { display: block; font: 700 13px/1.3 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k22-proof-meta { display: block; font: 500 12px/1.3 var(--mono); color: #4a4a4a; }
.k22-proof-x { width: 40px; height: 40px; flex: none; border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: #333; }

/* ───────── desktop ───────── */
@media (min-width: 700px) {
  .k22-tg { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .k22-kaki-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .k22-kaki-grid > .k22-kaki-toko { grid-column: auto; }
  .k22-stiker > div { padding: 16px 10px; }
}
@media (min-width: 1024px) {
  :root { --pad: 32px; --ff-gutter: 32px; }
  .k22-nav { display: flex; gap: 6px; margin-left: 10px; }
  .k22-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 8px; background: #0002; box-shadow: inset 0 1px 2px #0003, 0 1px 0 #fff2; text-decoration: none; font: 600 14px/1 var(--ui); }
  .k22-nav a[aria-current="page"] { background: #0004; }
  .k22-logo { margin-right: 0; }
  .k22-kepala-in > .k22-dorong { margin-left: auto; }
  .k22-atas-desk { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .k22-atm .k22-opsi { min-height: 74px; }
  .k22-atm-judul h1 { font-size: 32px; }
  .k22-hal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .k22-hal > .k22-kolom1 { position: sticky; top: 12px; }
  .k22-tg.is-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .k22-papan-isi { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .k22-papan .k22-kunci { min-height: 46px; }
}
@media (min-width: 1240px) { .k22-tg.is-lebar { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

@media (max-width: 399px) {
  .k22-atm { grid-template-columns: 30px 1fr 1fr 30px; column-gap: 4px; }
  .k22-opsi.kiri { grid-template-columns: 30px minmax(0, 1fr); column-gap: 4px; }
  .k22-opsi.kanan { grid-template-columns: minmax(0, 1fr) 30px; column-gap: 4px; }
  .k22-sk { width: 30px; }
  .k22-sk::after { left: 9px; right: 9px; }
  .k22-lb { gap: 6px; padding: 4px 6px; font-size: 14px; letter-spacing: -.01em; }
  .k22-lb img, .k22-lb .k22-ik { width: 30px; height: 30px; }
  .k22-lb small { font-size: 12px; }
}
/* ───────── gerak dimatikan ───────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ═══ Review C · 10 Nov ═══════════════════════════════════════════════ */
/* Pelat dasar gelap menerus sampai dasar layar (dulu ada pita logam ±160px
   di bawah kaki: ruang konsol + ruang tombol kontak). */
.k22-kaki { box-shadow: 0 260px 0 0 var(--bezel-2); }
/* Medan User ID & Server ID sama tinggi; contoh panjang berelips. */
.k22-medan-2 { align-items: stretch; }
.k22-medan-2 > div > label { min-height: 32px; }
.k22-input { text-overflow: ellipsis; }
.k22-medan-2 > div:last-child .k22-input::placeholder { font-size: 14px; }
/* Desktop: tombol kategori dibariskan, bukan terpotong di tepi. */
@media (min-width: 900px) {
  .k22-kat { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
/* Tombol kontak = tombol fisik hijau mesin (sudut 12px + ketebalan). */
#ff-kontak { border-radius: 14px !important; background: linear-gradient(180deg, #1f9a55, var(--hijau)) !important;
  box-shadow: 0 5px 0 var(--hijau-g, #0d5a30), 0 8px 16px #0004, inset 0 1px 0 #ffffff59 !important; }
/* Teks kecil ≥13px (bawaan partial 11–12px). */
.k22-wrap .ff-ann-in b, .ff-ann-in b { font-size: 12.5px; }
.k22-baris-h .ff-coret { font-size: 13px; }
.k22-baris-tag, .ff-hemat.k22-baris-tag { font-size: 12.5px; }
.k22-l-isi details summary { font-size: 13px; }
.k22-kunci.kecil { font-size: 13px; }
.k22-bayar .k22-t1 { font-size: 12.5px; }
.k22-metode span { font-size: 13px; }
/* Tombol "Tempel ID" (partial) = tombol putih mesin, teks tinta (amber di atas krem tak terbaca). */
.k22-medan-2 .ff-tmp-btn, .k22-medan-1 .ff-tmp-btn { color: var(--tinta) !important; background: #fff !important; border: 0 !important; border-radius: 7px !important;
  box-shadow: 0 2px 0 var(--logam-3), inset 0 0 0 1px #0a274726 !important; }
.k22-kaki .k22-seri { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #ffffff26; font-size: 13px; line-height: 1.55; color: #aeb6c2; }
