/* ══════════════════════════════════════════════════════════════════════════
 * TEMPLATE 24 — KONSOL
 *
 * Etalase sebagai layar utama konsol: rel tile game yang membesar saat
 * terfokus, latar AMBIEN (poster buram + rona warna judul terfokus) yang
 * berganti dengan crossfade, tombol utama PUTIH (bukan aksen — latarnya
 * berganti warna terus), panel kaca gelap, lencana diskon limau/--brand.
 *
 * Kanvas gelap tetap. Satu keluarga huruf: Sora variabel 300–700 (lokal).
 * Prefiks kelas: k24-*.
 * ══════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("font/sora-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 {
  --ff-teks: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* warna toko — ditimpa blok sebaris di layout */
  --accent: #2f6df6;
  --on-accent: #ffffff;
  --brand: #c6f432;

  /*
   * Tinta beraksen di kanvas gelap: 55% aksen + putih.
   * WAJIB sama dengan uji.tinta t24 di config/fireflazz.php (campur #ffffff, porsi 0.55).
   */
  --accent-2: color-mix(in srgb, var(--accent) 55%, #ffffff);
  /* Lencana diskon & status sukses: --brand dicerahkan supaya tinta gelap selalu terbaca,
     apa pun warna kedua seller (gelap atau terang). */
  --brand-t: color-mix(in srgb, var(--brand) 62%, #ffffff);
  --on-brand: #11140a;

  --amb: var(--accent);         /* warna ambien judul terfokus — diganti JS */
  --dasar: #0e0f13;
  --bg: #0e0f13;
  --card: #1b1d24;              /* panel kaca di atas kanvas (rata-rata) */
  --card-2: #25272e;            /* kartu/keping di dalam panel */
  --sunk: rgba(0, 0, 0, .3);
  --ink: #f3f4f8;               /* 17:1 */
  --ink-2: #b4b8c6;             /* 9:1 di kanvas, 7,6:1 di --card-2 */
  --ink-3: #9196a6;             /* 6,1:1 di kanvas, 5,1:1 di --card-2 */
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .16);
  --kaca: rgba(22, 24, 32, .66);
  --putih: #f4f6fb;
  --on-putih: #0e0f13;
  --ok: #7ee2a8;
  --bad: #ff8f97;
  --danger: #ff8f97;
  --warn: #ffd166;

  --fokus: 0 0 0 2.5px #fff, 0 0 22px 2px color-mix(in srgb, var(--amb) 70%, transparent), 0 18px 40px -12px #000;
  --r: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* dibaca blok bersama (katalog/lapak/artikel/dokumen/alat) — = .k24-wrap */
  --ff-wrap: 1280px;
  --ff-gutter: 16px;
  --tab-h: 0px;                 /* tanpa tab bawah */
  --tepi: max(var(--ff-gutter), calc((100vw - var(--ff-wrap)) / 2 + var(--ff-gutter)));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { background: var(--dasar); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-teks);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
body.k24-ada-bar { padding-bottom: 96px; }
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 10px; }
.k24-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.k24-ik { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.k24-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.k24-wrap { max-width: var(--ff-wrap); margin: 0 auto; padding-inline: var(--ff-gutter); }

/* ═══════════════════ LATAR AMBIEN (2 lapis, crossfade) ═══════════════════ */
.k24-ambien { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--dasar); pointer-events: none; }
.k24-lapis { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; --c: var(--accent); }
.k24-lapis.on { opacity: 1; }
.k24-lapis img {
  position: absolute; right: -30%; top: -12%; width: 130%; max-width: none; aspect-ratio: 1; height: auto;
  object-fit: cover; filter: blur(38px) saturate(1.35); opacity: .48; transform: scale(1.1);
}
.k24-lapis img:not([src]), .k24-lapis img[src=""] { display: none; }
.k24-lapis::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 85% 0%, color-mix(in srgb, var(--c) 48%, transparent), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--c) 26%, rgba(14, 15, 19, .3)) 0%, rgba(14, 15, 19, .62) 45%, var(--dasar) 78%);
}
.k24-ambien::after { content: ""; position: absolute; inset: 0; background: radial-gradient(140% 90% at 0% 100%, rgba(14, 15, 19, .92), transparent 60%); }
@media (max-width: 720px) {
  .k24-lapis img { filter: blur(28px) saturate(1.3); }
}

/* ═══════════════════ PANEL KACA, TOMBOL ═══════════════════ */
.k24-panel {
  background: var(--kaca);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .k24-panel { background: rgba(24, 26, 34, .94); }
}
.k24-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--putih); color: var(--on-putih);
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, opacity .2s;
}
.k24-btn:hover:not(:disabled), .k24-btn:focus-visible { box-shadow: var(--fokus); outline: 0; }
.k24-btn:active:not(:disabled) { transform: scale(.97); }
.k24-btn:disabled { opacity: .5; cursor: not-allowed; }
.k24-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; }
.k24-btn-full { display: flex; width: 100%; }
.k24-btn .k24-ik { width: 20px; height: 20px; }
.k24-bulat { width: 52px; padding: 0; flex: none; }
.k24-diskon { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; background: var(--brand-t); color: var(--on-brand); font-weight: 700; font-size: 14px; line-height: 1.3; white-space: nowrap; }
.k24-label { display: block; font-size: 14px; color: var(--ink-2); margin: 0 0 6px; }
.k24-input {
  width: 100%; height: 54px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .32); color: var(--ink); padding: 0 14px; font-size: 17px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
select.k24-input { appearance: auto; }
.k24-input::placeholder { color: #8a8fa0; }
.k24-input:focus { border-color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--amb) 45%, transparent); }
.k24-hint { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.k24-hint a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.k24-alert { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; border: 1px solid var(--line); background: rgba(255, 255, 255, .07); }
.k24-alert-error { background: rgba(255, 90, 98, .14); border-color: rgba(255, 120, 128, .3); color: #ffd3d6; }
.k24-alert-info { color: var(--ink); }
.k24-alert-ok { background: color-mix(in srgb, var(--brand-t) 16%, transparent); color: #fff; }

/* ═══════════════════ BILAH ATAS ═══════════════════ */
.k24-bilah { position: sticky; top: 0; z-index: 30; }
.k24-bilah::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 15, 19, .72), rgba(14, 15, 19, 0)); opacity: 0; transition: opacity .3s; pointer-events: none; }
.k24-bilah.is-gulir::before { opacity: 1; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); background: rgba(14, 15, 19, .88); }
.k24-bilah-in { position: relative; display: flex; align-items: center; gap: 2px; height: 60px; max-width: var(--ff-wrap); margin: 0 auto; padding: 0 8px 0 var(--ff-gutter); }
.k24-toko { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; min-height: 44px; text-decoration: none; }
.k24-toko-logo { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--accent); color: var(--on-accent); font-weight: 700; box-shadow: 0 0 0 2px rgba(255, 255, 255, .18); }
.k24-toko-logo img { width: 100%; height: 100%; object-fit: cover; }
.k24-toko b { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k24-toko .k24-ik { width: 22px; height: 22px; }
.k24-ib { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); text-decoration: none; flex: none; transition: background .2s, color .2s; }
.k24-ib:hover, .k24-ib:focus-visible, .k24-ib[aria-current] { background: rgba(255, 255, 255, .12); color: #fff; }
.k24-saldo { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, .12); text-decoration: none; white-space: nowrap; min-height: 32px; display: inline-flex; align-items: center; }
.k24-jam { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 0 6px 0 8px; font-variant-numeric: tabular-nums; }
.k24-nav-desk { display: none; }
@media (max-width: 380px) { .k24-jam { display: none; } }

/* baris mode (Game / Voucher / Lapak) */
.k24-mode { display: flex; gap: 2px; max-width: var(--ff-wrap); margin: 0 auto; padding: 0 calc(var(--ff-gutter) - 10px); overflow-x: auto; scrollbar-width: none; }
.k24-mode::-webkit-scrollbar { display: none; }
.k24-mode a { flex: none; min-height: 44px; display: flex; align-items: center; padding: 0 10px; font-size: 17px; font-weight: 500; color: var(--ink-3); text-decoration: none; transition: color .2s; border-radius: 10px; }
.k24-mode a:hover { color: var(--ink-2); }
.k24-mode a[aria-current] { color: #fff; font-weight: 600; }

/* ═══════════════════ REL UMUM ═══════════════════ */
.k24-rel { display: flex; gap: 12px; overflow-x: auto; padding: 4px var(--tepi) 18px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--tepi); scrollbar-width: none; overscroll-behavior-x: contain; }
.k24-rel::-webkit-scrollbar { display: none; }
.k24-rel > * { scroll-snap-align: start; flex: none; }
.k24-kepala { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; max-width: var(--ff-wrap); margin: 22px auto 8px; padding-inline: var(--ff-gutter); }
.k24-kepala h2 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.k24-kepala a { font-size: 15px; color: var(--ink-2); min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
.k24-kepala a:hover { color: #fff; }

/* ═══════════════════ BERANDA: REL FOKUS ═══════════════════ */
.k24-utama { position: relative; isolation: isolate; overflow-x: clip; }
.k24-relg { gap: 10px; padding-top: 40px; padding-bottom: 26px; align-items: flex-end; scroll-snap-type: x mandatory; }
.k24-tile { position: relative; display: block; width: 78px; height: 78px; border-radius: var(--r); transform-origin: 0 100%; transition: transform .45s var(--ease), box-shadow .3s; text-decoration: none; background: rgba(255, 255, 255, .08); }
.k24-tile img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.k24-tile::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); pointer-events: none; }
.k24-tile-huruf { display: grid; place-items: center; width: 100%; height: 100%; font-weight: 700; font-size: 22px; color: #fff; }
.k24-tile.fokus { transform: scale(1.46); box-shadow: var(--fokus); z-index: 2; }
.k24-tile.fokus ~ .k24-tile, .k24-tile.fokus ~ .k24-semua { transform: translateX(36px); }
.k24-tile:focus-visible { outline: 0; box-shadow: var(--fokus); }
.k24-semua { width: 78px; height: 78px; border-radius: var(--r); display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--ink-2); transition: transform .45s var(--ease); text-decoration: none; }
.k24-semua:hover, .k24-semua:focus-visible { box-shadow: var(--fokus); outline: 0; color: #fff; }
.k24-relg::after { content: ""; flex: 0 0 calc(100vw - 170px); }

.k24-sorot { position: relative; max-width: var(--ff-wrap); margin: 0 auto; padding: 0 var(--ff-gutter) 4px; }
.k24-seni { position: absolute; right: -40px; top: -70px; width: min(86vw, 400px); aspect-ratio: 1; overflow: hidden; opacity: .8; z-index: -1; pointer-events: none;
  -webkit-mask: radial-gradient(closest-side at 58% 50%, #000 45%, transparent 100%); mask: radial-gradient(closest-side at 58% 50%, #000 45%, transparent 100%); }
.k24-seni img { width: 100%; height: 100%; object-fit: cover; display: block; }
.k24-sorot-isi { position: relative; max-width: 560px; }
.k24-sorot-isi.ganti { animation: k24-muncul .5s var(--ease); }
@keyframes k24-muncul { from { opacity: 0; transform: translateY(8px); } }
.k24-pen { font-size: 15px; color: var(--ink-2); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.k24-raksasa { font-size: clamp(34px, 10vw, 64px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; margin-top: 6px; max-width: 11ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); overflow-wrap: anywhere; }
.k24-cips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.k24-cip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: rgba(14, 15, 19, .5); font-size: 14px; color: var(--ink-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.k24-cip .k24-ik { width: 16px; height: 16px; }
.k24-harga { margin-top: 18px; display: flex; align-items: baseline; gap: 8px 10px; flex-wrap: wrap; }
.k24-harga small { font-size: 15px; color: var(--ink-2); }
.k24-harga b { font-size: 28px; font-weight: 700; letter-spacing: -.02em; text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
.k24-harga s { font-size: 15px; color: var(--ink-2); }
.k24-aksi { display: flex; gap: 10px; margin-top: 18px; }
.k24-aksi .k24-btn:first-child { flex: 1; max-width: 300px; font-size: 17px; min-width: 0; }
.k24-aksi .k24-btn:first-child span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k24-h1 { font-size: 15px; font-weight: 500; color: var(--ink-2); max-width: var(--ff-wrap); margin: 0 auto; padding: 4px var(--ff-gutter) 0; }

/* cari */
.k24-cari { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; border-radius: 27px; margin-top: 22px; }
.k24-cari input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 16px; }
.k24-cari input::placeholder { color: #8f94a4; }
.k24-cari .k24-ik { color: var(--ink-3); }
.k24-cari:focus-within { border-color: #fff; }

/* blok bersama di dalam .k24-wrap */
.k24-wrap .ff-ann { border-radius: 18px; background: var(--kaca); border: 1px solid var(--line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.k24-wrap .ff-ann svg { color: var(--brand-t); }
.k24-wrap .ff-ban-slide, .k24-wrap .ff-ban-slide img { border-radius: 18px; }
.k24-wrap .ff-promo { border-radius: 18px; background: var(--kaca); border: 1px solid var(--line); }
.k24-wrap .ff-lp-card { border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.k24-wrap .ff-lp-harga { color: #fff; }

/* kategori pil */
.k24-kat a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 6px; border-radius: 28px; background: rgba(255, 255, 255, .08); font-weight: 500; font-size: 15px; text-decoration: none; transition: box-shadow .2s, background .2s; }
.k24-kat a span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.k24-kat a .k24-ik { width: 20px; height: 20px; }
.k24-kat a:hover, .k24-kat a:focus-visible { box-shadow: var(--fokus); outline: 0; background: rgba(255, 255, 255, .14); }

/* tile kecil bernama (rel per kategori, katalog, judul lain) */
.k24-vt { width: 128px; text-decoration: none; display: block; }
.k24-vt-p { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; position: relative; background: rgba(255, 255, 255, .07); transition: box-shadow .2s, transform .3s var(--ease); }
.k24-vt-p img { width: 100%; height: 100%; object-fit: cover; display: block; }
.k24-vt-p::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.k24-vt-p .k24-diskon { position: absolute; right: 6px; bottom: 6px; font-size: 12px; padding: 2px 6px; z-index: 1; }
.k24-vt b { display: block; font-size: 14px; font-weight: 600; margin-top: 8px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.k24-vt small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.k24-vt:hover .k24-vt-p, .k24-vt:focus-visible .k24-vt-p { box-shadow: var(--fokus); }
.k24-vt:focus-visible { outline: 0; }

/* riwayat (pesanan kamu) */
.k24-riw { width: 270px; display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; text-decoration: none; }
.k24-riw-art { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); font-weight: 700; overflow: hidden; }
.k24-riw-art img { width: 100%; height: 100%; object-fit: cover; }
.k24-riw b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k24-riw small { display: block; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k24-st { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.k24-st-ok { background: var(--brand-t); color: var(--on-brand); }
.k24-st-bad { background: rgba(255, 120, 128, .2); color: #ffc9cd; }
.k24-st-run, .k24-st-wait { background: rgba(255, 255, 255, .14); color: #fff; }
.k24-st-run i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: k24-denyut 1.2s ease-in-out infinite; }
@keyframes k24-denyut { 50% { opacity: .3; } }

/* artikel */
.k24-art { width: 260px; border-radius: 18px; overflow: hidden; text-decoration: none; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.k24-art img, .k24-art-ph { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: rgba(255, 255, 255, .07); }
.k24-art div { padding: 12px 14px 14px; }
.k24-art b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.k24-art small { font-size: 13px; color: var(--ink-2); }

/* jaminan + cek pesanan */
.k24-bawah { display: grid; gap: 14px; margin-top: 34px; }
.k24-jamin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.k24-jamin > div { padding: 16px 8px; border-radius: 18px; text-align: center; }
.k24-jamin .k24-ik { display: block; margin: 0 auto 8px; width: 26px; height: 26px; }
.k24-jamin b { display: block; font-size: 14px; font-weight: 600; }
.k24-jamin small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; line-height: 1.3; }
.k24-lacak h2 { font-size: 18px; font-weight: 600; }
.k24-lacak p { font-size: 15px; color: var(--ink-2); margin-top: 2px; }
.k24-lacak form { display: flex; gap: 8px; margin-top: 12px; }
.k24-lacak .k24-input { border-radius: 26px; height: 52px; padding: 0 18px; font-size: 16px; }
.k24-lacak .k24-btn { padding: 0 22px; }

/* ═══════════════════ KAKI: baris ikon bulat ═══════════════════ */
.k24-kaki { margin-top: 48px; padding-bottom: 28px; }
.k24-ikon-menu { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px var(--tepi) 12px; }
.k24-ikon-menu::-webkit-scrollbar { display: none; }
.k24-ikon-menu a { flex: none; width: 84px; text-align: center; font-size: 13px; color: var(--ink-2); text-decoration: none; line-height: 1.3; }
.k24-ikon-menu a > span { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 7px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: box-shadow .2s, background .2s; }
.k24-ikon-menu a:hover > span, .k24-ikon-menu a:focus-visible > span, .k24-ikon-menu a[aria-current] > span { box-shadow: var(--fokus); background: rgba(255, 255, 255, .15); }
.k24-ikon-menu a:focus-visible { outline: 0; }
.k24-ikon-menu a[aria-current] { color: #fff; font-weight: 600; }
.k24-kaki-peta { display: grid; gap: 22px 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; padding: 20px 16px; color: var(--ink); }
.k24-kaki-toko { grid-column: 1 / -1; }
.k24-kaki-toko b { font-size: 16px; font-weight: 600; }
.k24-kaki-toko p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.k24-kaki-peta .ff-kaki-kol:has(> .ff-sosial) { grid-column: 1 / -1; }
.k24-kaki-peta .ff-kaki-judul { opacity: 1; color: var(--ink-2); }
.k24-kaki-peta .ff-kaki-list a { opacity: 1; color: var(--ink); text-decoration: none; }
.k24-kaki-peta .ff-kaki-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.k24-bayar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.k24-bayar span { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); color: var(--ink-2); }
.k24-hak { font-size: 13px; color: var(--ink-3); margin-top: 16px; }

/* ═══════════════════ BUKTI SOSIAL (notifikasi konsol) ═══════════════════ */
.k24-proof {
  position: fixed; left: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 45; max-width: min(340px, calc(100vw - 92px));
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 8px; border-radius: 18px;
  background: rgba(28, 30, 38, .94); box-shadow: 0 20px 40px -12px #000, 0 0 0 1px rgba(255, 255, 255, .1);
  transform: translateY(18px); opacity: 0; transition: transform .45s var(--ease), opacity .35s;
}
.k24-proof.is-in { transform: none; opacity: 1; }
body.k24-ada-bar .k24-proof { bottom: calc(104px + env(safe-area-inset-bottom)); }
.k24-proof-ik { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(145deg, #ffe58a, #c99a2e); color: #3a2600; }
.k24-proof-ik .k24-ik { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.k24-proof-body { min-width: 0; display: grid; }
.k24-proof-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k24-proof-meta { font-size: 12.5px; color: var(--ink-2); }
.k24-proof-x { flex: none; border: 0; background: none; color: var(--ink-2); font-size: 20px; line-height: 1; cursor: pointer; border-radius: 50%; }

/* ═══════════════════ HALAMAN BELI ═══════════════════ */
.k24-hub { position: relative; isolation: isolate; overflow-x: clip; max-width: var(--ff-wrap); margin: 0 auto; padding: 6px var(--ff-gutter) 0; }
.k24-hub .k24-seni { right: -60px; top: -70px; width: min(96vw, 460px); }
.k24-hub-atas { display: flex; align-items: flex-end; gap: 14px; }
.k24-sampul { width: 96px; height: 96px; border-radius: var(--r); box-shadow: var(--fokus); object-fit: cover; flex: none; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font-weight: 700; font-size: 28px; }
.k24-hub .k24-pen { margin-top: 14px; }
.k24-hub h1 { font-size: clamp(34px, 10vw, 60px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; margin-top: 4px; max-width: 14ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); overflow-wrap: anywhere; }
.k24-hub-desk { font-size: 15px; color: var(--ink-2); margin-top: 12px; max-width: 60ch; }
@media (max-width: 720px) {
  .k24-hub-desk { display: none; }
  .k24-hub .k24-sampul { width: 72px; height: 72px; }
  .k24-hub h1 { font-size: clamp(30px, 9vw, 44px); }
}

.k24-tata { max-width: var(--ff-wrap); margin: 0 auto; padding-inline: var(--ff-gutter); }
.k24-blok { margin-top: 26px; min-width: 0; }
.k24-blok-h { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.k24-no { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 14px; font-weight: 700; background: var(--putih); color: var(--on-putih); transition: background .3s; }
.k24-blok.is-done .k24-no { background: var(--brand-t); color: var(--on-brand); }
.k24-blok-h small { margin-left: auto; font-size: 14px; font-weight: 400; color: var(--ink-3); white-space: nowrap; }
.k24-blok > .k24-panel { margin-top: 12px; }

.k24-row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(96px, 38%); gap: 10px; align-items: start; }
.k24-akun .k24-hint { color: var(--ink-2); }
.k24-akun details.k24-hint summary { color: var(--ink-2); }
.k24-cekbtn { margin-top: 12px; width: 100%; }
.k24-nick { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; font-size: 14px; color: var(--ink-2); background: rgba(255, 255, 255, .06); min-height: 52px; }
.k24-nick::before { content: ""; width: 34px; height: 34px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4b8c6' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20c1.2-3.6 4-5.5 7.5-5.5s6.3 1.9 7.5 5.5'/%3E%3C/svg%3E") center/18px no-repeat; }
.k24-nick.is-ok { background: color-mix(in srgb, var(--brand-t) 16%, rgba(0, 0, 0, .2)); color: #fff; font-weight: 600; font-size: 16px; }
.k24-nick.is-ok::before { background: var(--brand-t) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311140a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/18px no-repeat; }
.k24-nick.is-bad { background: rgba(255, 90, 98, .14); color: #ffd3d6; }
.k24-nick.is-bad::before { background: #ff6b73 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center/16px no-repeat; }
.k24-nick.is-cek::before { animation: k24-denyut 1s infinite; }

.k24-saved { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 12px; padding: 2px; }
.k24-saved-btn { flex: none; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .08); cursor: pointer; text-align: left; }
.k24-saved-btn.is-active, .k24-saved-btn:focus-visible { box-shadow: var(--fokus); outline: 0; background: rgba(255, 255, 255, .14); }
.k24-saved-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--putih); color: var(--on-putih); font-weight: 700; }
.k24-saved-in strong { display: block; font-size: 14px; }
.k24-saved-in span { display: block; font-size: 12.5px; color: var(--ink-2); }

/* tab pil + alat nominal */
.k24-pil { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.k24-pil::-webkit-scrollbar { display: none; }
.k24-pil button { flex: none; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .09); font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.k24-pil button.is-active { background: var(--putih); color: var(--on-putih); font-weight: 600; }
.k24-alat-n { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.k24-cn { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 23px; background: rgba(255, 255, 255, .08); border: 1px solid transparent; }
.k24-cn:focus-within { border-color: #fff; }
.k24-cn input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 16px; }
.k24-cn input::placeholder { color: #8f94a4; }
.k24-cn .k24-ik { width: 20px; height: 20px; color: var(--ink-3); }
.k24-ganti { flex: none; min-height: 46px; padding: 0 14px; border-radius: 23px; border: 0; background: rgba(255, 255, 255, .08); font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; cursor: pointer; }
.k24-ganti .k24-ik { width: 18px; height: 18px; }
.k24-tier { font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 16px 0 0; letter-spacing: .02em; }
.k24-geser { font-size: 14px; color: var(--ink-3); margin-top: 2px; }
#k24Noms:not(.is-rel) .k24-geser { display: none; }

/* KISI (bawaan bila nominal banyak) */
.k24-noms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 12px; }
/* REL 2 baris (sedikit nominal) */
#k24Noms.is-rel .k24-noms { grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-template-columns: none; grid-auto-columns: 136px; gap: 12px;
  overflow-x: auto; margin: 0 calc(-1 * var(--ff-gutter)); padding: 14px var(--ff-gutter) 16px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--ff-gutter); scrollbar-width: none; }
#k24Noms.is-rel .k24-noms::-webkit-scrollbar { display: none; }
#k24Noms.is-rel .k24-nom { scroll-snap-align: start; }

.k24-nom {
  position: relative; display: flex; flex-direction: column; min-height: 138px; padding: 12px; border-radius: var(--r); cursor: pointer; min-width: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: transform .3s var(--ease), box-shadow .25s, background .25s;
}
.k24-nom:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.k24-nom input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.k24-nom .ff-nom-gbr { width: 38px; height: 38px; margin: 0 0 6px; }
.k24-nom-name { display: block; min-width: 0; padding-right: 4px; }
.k24-nom-jm { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; overflow-wrap: anywhere; }
.k24-nom-un { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.3; overflow-wrap: anywhere; }
.k24-nom-name.is-teks .k24-nom-jm { font-size: 15.5px; letter-spacing: -.01em; line-height: 1.25; }
.k24-nom-harga { margin-top: auto; padding-top: 8px; }
.k24-nom-price { display: block; font-size: 16px; font-weight: 700; }
.k24-nom .ff-coret { display: block; font-size: 12.5px; color: var(--ink-3); }
.k24-nom .k24-diskon { position: absolute; top: 10px; right: 10px; font-size: 12px; padding: 2px 6px; }
.k24-nom:has(input:checked), .k24-nom.is-active {
  transform: scale(1.04); z-index: 2; box-shadow: var(--fokus);
  background: linear-gradient(160deg, color-mix(in srgb, var(--amb) 42%, rgba(255, 255, 255, .12)), rgba(255, 255, 255, .06));
}
.k24-nom:has(input:checked)::after, .k24-nom.is-active::after {
  content: ""; position: absolute; right: 10px; bottom: 12px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0f13' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.k24-nom:has(input:focus-visible) { box-shadow: var(--fokus); }
.k24-nom-kosong { padding: 18px 2px 4px; color: var(--ink-2); font-size: 15px; }

/* KISI RINGKAS — dipindai cepat untuk 100+ nominal: ikon kecil di kiri, angka besar,
   satuan maks 2 baris, harga di bawah. Rel geser tetap memakai kartu tinggi. */
#k24Noms:not(.is-rel) .k24-nom { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; align-content: start; min-height: 0; padding: 10px 10px 10px 10px; }
#k24Noms:not(.is-rel) .k24-nom .ff-nom-gbr { width: 30px; height: 30px; margin: 2px 0 0; grid-column: 1; grid-row: 1 / span 2; }
#k24Noms:not(.is-rel) .k24-nom-name { grid-column: 2; padding-right: 0; }
#k24Noms:not(.is-rel) .k24-nom-jm { padding-right: 44px; }
#k24Noms:not(.is-rel) .k24-nom-jm { font-size: 19px; }
#k24Noms:not(.is-rel) .k24-nom-name.is-teks .k24-nom-jm { font-size: 14.5px; }
#k24Noms:not(.is-rel) .k24-nom-un { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#k24Noms:not(.is-rel) .k24-nom-harga { grid-column: 1 / -1; padding-top: 6px; padding-right: 26px; }
#k24Noms:not(.is-rel) .k24-nom-price { font-size: 15.5px; }
#k24Noms:not(.is-rel) .k24-nom .ff-coret { font-size: 11.5px; }
#k24Noms:not(.is-rel) .k24-nom .k24-diskon { top: 8px; right: 8px; font-size: 11px; padding: 1px 5px; }
#k24Noms:not(.is-rel) .k24-nom:has(input:checked)::after, #k24Noms:not(.is-rel) .k24-nom.is-active::after { bottom: 10px; right: 8px; }
#k24Noms:not(.is-rel) .k24-nom:has(input:checked), #k24Noms:not(.is-rel) .k24-nom.is-active { transform: scale(1.02); }

/* langkah 3: ringkasan */
.k24-ringkas .k24-it { display: flex; gap: 12px; align-items: center; }
.k24-it img, .k24-it .k24-it-ph { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; background: rgba(255, 255, 255, .1); }
.k24-it b { display: block; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.k24-it small { display: block; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.k24-sum-row { display: flex; justify-content: space-between; gap: 14px; font-size: 15px; padding: 7px 0; }
.k24-sum-row > span:first-child { color: var(--ink-2); flex: none; }
.k24-sum-row > span:last-child { text-align: right; overflow-wrap: anywhere; min-width: 0; }
.k24-sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; flex-wrap: wrap; }
.k24-sum-total > span { color: var(--ink-2); font-size: 15px; }
.k24-sum-total b { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.k24-qris { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.k24-qris .k24-ik { color: #fff; width: 20px; height: 20px; }
.k24-ringkas .k24-btn { margin-top: 14px; }
.k24-ringkas .k24-btn-ghost { margin-top: 8px; }
.k24-ringkas .ffkp, .k24-ringkas details { margin-top: 12px; }

/* cara top up & lipatan */
.k24-lipat { margin-top: 14px; border-radius: 18px; padding: 0 16px; }
.k24-lipat summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; cursor: pointer; list-style: none; }
.k24-lipat summary::-webkit-details-marker { display: none; }
.k24-lipat summary .k24-ik { transform: rotate(90deg); transition: transform .25s; }
.k24-lipat[open] summary .k24-ik { transform: rotate(-90deg); }
.k24-lipat ol { margin: 0; padding: 0 0 14px 20px; font-size: 15px; color: var(--ink-2); display: grid; gap: 6px; }

/* bilah bayar menempel (HP) */
.k24-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px max(10px, env(safe-area-inset-bottom));
  background: rgba(16, 17, 22, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid rgba(255, 255, 255, .08);
}
.k24-bar-art { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.k24-bar-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.k24-bar-info { min-width: 0; flex: 1; display: grid; }
.k24-bar-info > span { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k24-bar-info strong { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; }
.k24-bar-info small { font-size: 12px; color: var(--ink-2); }
.k24-bar .k24-btn { flex: none; min-height: 52px; padding: 0 22px; font-size: 17px; }
.k24-bar.is-kosong .k24-bar-info strong { color: var(--ink-2); }

/* ulasan bersama di bawah halaman beli */
.ffu { color: var(--ink); }

/* ═══════════════════ PESANAN ═══════════════════ */
.k24-nota { max-width: 640px; margin: 0 auto; padding: 4px var(--ff-gutter) 0; }
.k24-kep { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; margin-top: 8px; }
.k24-kep .k24-sampul { width: 84px; height: 84px; }
.k24-kep small { display: block; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.k24-kep h1 { font-size: 28px; line-height: 1.08; font-weight: 700; letter-spacing: -.03em; overflow-wrap: anywhere; margin: 2px 0; }
.k24-kode { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding: 10px 10px 10px 16px; border-radius: 18px; }
.k24-kode small { display: block; font-size: 13px; color: var(--ink-2); }
.k24-kode b { font-size: 19px; letter-spacing: .04em; overflow-wrap: anywhere; }
.k24-kode .k24-btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
.k24-prog { margin-top: 22px; }
.k24-prog-baris { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.k24-prog h2 { font-size: 20px; font-weight: 600; }
.k24-prog-baris span { font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.k24-progbar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); margin-top: 12px; overflow: hidden; }
.k24-progbar i { display: block; height: 100%; width: calc(var(--p, .2) * 100%); border-radius: 6px; background: linear-gradient(90deg, #fff, color-mix(in srgb, var(--amb) 50%, #fff)); box-shadow: 0 0 12px rgba(255, 255, 255, .5); }
.k24-prog.is-bad .k24-progbar i { background: linear-gradient(90deg, #ff9aa0, #d93a46); box-shadow: none; }
.k24-prog p { font-size: 15px; color: var(--ink-2); margin-top: 10px; }
.k24-tahap { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.k24-tahap span { font-size: 14px; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .08); color: var(--ink-3); }
.k24-tahap span.sel { color: var(--ink-2); }
.k24-tahap span.ini { background: var(--putih); color: var(--on-putih); font-weight: 600; }
.k24-status { margin-top: 20px; padding: 22px 18px; border-radius: 24px; text-align: center; }
.k24-status-atas { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--ink-2); text-align: left; gap: 10px; }
.k24-status-atas b { font-size: 15px; color: #fff; padding: 4px 11px; border-radius: 99px; background: rgba(255, 255, 255, .1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.k24-status-tot { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.k24-status-tot b { display: block; font-size: 34px; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.k24-status .k24-btn { margin-top: 16px; }
.k24-status-ew { font-size: 14px; color: var(--ink-2); margin-top: 12px; }
.k24-medali { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #ffe58a, #c99a2e); color: #3a2600; box-shadow: 0 0 0 2.5px #fff, 0 0 40px -4px color-mix(in srgb, var(--amb) 70%, transparent); }
.k24-medali .k24-ik { width: 34px; height: 34px; }
.k24-medali.is-bad { background: linear-gradient(145deg, #ff9aa0, #d93a46); color: #fff; box-shadow: none; }
.k24-medali.is-run { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: 0 0 0 2.5px rgba(255, 255, 255, .6); }
.k24-medali.is-run .k24-ik { animation: k24-putar 2.4s linear infinite; }
@keyframes k24-putar { to { transform: rotate(360deg); } }
.k24-status h2 { margin-top: 14px; font-size: 22px; font-weight: 700; }
.k24-status > p { font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.k24-serial { margin-top: 16px; text-align: left; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.k24-serial small { display: block; font-size: 13px; color: var(--ink-2); }
.k24-serial code { display: block; font-size: 16px; margin-top: 4px; overflow-wrap: anywhere; color: #fff; }
.k24-rinci { margin-top: 18px; padding: 6px 18px; }
.k24-rinci .k24-sum-row { border-bottom: 1px solid rgba(255, 255, 255, .07); padding: 11px 0; }
.k24-rinci .k24-sum-row:last-child { border-bottom: 0; }
.k24-tolong { margin-top: 14px; display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--ink-2); padding: 14px 16px; border-radius: 18px; }
.k24-tolong a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.k24-trofi {
  position: fixed; left: 50%; top: 12px; z-index: 60; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 24px);
  padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(30, 32, 40, .96); box-shadow: 0 20px 40px -10px #000, 0 0 0 1px rgba(255, 255, 255, .1);
  transform: translate(-50%, -150%); transition: transform .5s var(--ease);
}
.k24-trofi.tampil { transform: translate(-50%, 0); }
.k24-trofi i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(145deg, #ffe58a, #c99a2e); color: #3a2600; }
.k24-trofi b { display: block; font-size: 15px; }
.k24-trofi small { display: block; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k24-trofi > div { min-width: 0; }

/* ═══════════════════ CEK PESANAN / AKUN / KATALOG ═══════════════════ */
.k24-hal { max-width: 720px; margin: 0 auto; padding: 8px var(--ff-gutter) 0; }
.k24-hal-judul { font-size: clamp(30px, 8vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin-top: 10px; }
.k24-hal-sub { font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.k24-baris-list { display: grid; gap: 8px; margin-top: 12px; }
.k24-baris { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; text-decoration: none; min-height: 64px; }
a.k24-baris:hover, a.k24-baris:focus-visible { box-shadow: var(--fokus); outline: 0; }
.k24-baris .k24-riw-art { width: 44px; height: 44px; flex: none; }
.k24-baris-in { flex: 1; min-width: 0; }
.k24-baris-in b { display: block; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k24-baris-in small { display: block; font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k24-sub-h { font-size: 19px; font-weight: 600; margin-top: 30px; }

.k24-profil { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 18px; }
.k24-avatar { width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; font-size: 44px; font-weight: 700; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent)); color: var(--on-accent); box-shadow: var(--fokus); }
.k24-profil h1 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 18px; overflow-wrap: anywhere; }
.k24-profil p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.k24-saldo-kartu { margin-top: 20px; text-align: center; }
.k24-saldo-kartu small { font-size: 14px; color: var(--ink-2); }
.k24-saldo-kartu b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }
.k24-saldo-kartu p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.k24-hal .k24-rel { margin-inline: calc(-1 * var(--ff-gutter)); padding-inline: var(--ff-gutter); scroll-padding-inline: var(--ff-gutter); }
.k24-gtile { width: 128px; text-decoration: none; }
.k24-gtile .k24-st { margin-top: 6px; }
.k24-lupa { border: 0; cursor: pointer; min-height: 36px; }

.k24-kat-kisi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; margin-top: 14px; }
.k24-kat-kisi .k24-vt { width: auto; }
.k24-kat-blok { margin-top: 26px; }
.k24-kat-blok h2 { font-size: 17px; font-weight: 600; }
.k24-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin-top: 12px; }
.k24-chips::-webkit-scrollbar { display: none; }
.k24-chips button, .k24-chips a { flex: none; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .09); color: var(--ink-2); font-size: 14.5px; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.k24-chips .is-active { background: var(--putih); color: var(--on-putih); font-weight: 600; }

/* formulir bersama sebelum KelasForm t24 dipasang (cadangan rapi) */
.gm-label { display: block; font-size: 14px; color: var(--ink-2); margin: 12px 0 6px; }
.gm-input { width: 100%; height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .32); color: var(--ink); padding: 0 14px; font-size: 16px; }
.gm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--putih); color: var(--on-putih); font-weight: 600; cursor: pointer; }

/* ═══════════════════ DESKTOP ═══════════════════ */
@media (min-width: 1024px) {
  :root { --ff-gutter: 32px; }
  .k24-bilah-in { padding-right: calc(var(--ff-gutter) - 8px); }
  .k24-nav-desk { display: flex; gap: 2px; margin-right: 8px; }
  .k24-nav-desk a { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 99px; font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
  .k24-nav-desk a:hover, .k24-nav-desk a[aria-current] { color: #fff; background: rgba(255, 255, 255, .1); }
  .k24-ib.is-hp { display: none; }
  .k24-relg { padding-top: 64px; padding-bottom: 34px; }
  .k24-tile, .k24-semua { width: 104px; height: 104px; }
  .k24-tile.fokus ~ .k24-tile, .k24-tile.fokus ~ .k24-semua { transform: translateX(48px); }
  .k24-sorot { min-height: 330px; padding-bottom: 20px; }
  .k24-sorot .k24-seni { width: 620px; right: var(--ff-gutter); top: -240px; }
  .k24-cari { max-width: 560px; }
  .k24-wrap > .ff-ann { max-width: 720px; }
  .k24-bawah { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .k24-kaki-peta { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); padding: 26px 28px; }
  .k24-kaki-toko { grid-column: auto; }
  .k24-kaki-peta .ff-kaki-kol:has(> .ff-sosial) { grid-column: auto; }
  .k24-ikon-menu { justify-content: flex-start; }
  .k24-proof { left: 24px; bottom: 24px; }
  body.k24-ada-bar .k24-proof { bottom: 24px; }

  /* beli: dua kolom, urutan 1 → 2 (kiri, atas ke bawah) → 3 (kanan) */
  .k24-hub { padding-top: 20px; }
  .k24-hub .k24-seni { width: 680px; right: 0; top: -230px; }
  .k24-hub .k24-sampul { width: 96px; height: 96px; }
  /* Urutan baca 1 → 2 → 3: langkah 1 selebar halaman di atas, lalu 2 (kiri) dan 3 (kanan, menempel). */
  .k24-tata { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0 32px; align-items: start;
    grid-template-areas: "satu satu" "dua tiga"; }
  .k24-blok-1 { grid-area: satu; }
  .k24-blok-2 { grid-area: dua; }
  .k24-blok-3 { grid-area: tiga; position: sticky; top: 72px; }
  .k24-akun:has(.k24-cekbtn) { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 24px; grid-auto-flow: row dense; align-items: start; }
  .k24-akun:has(.k24-cekbtn) > * { grid-column: 1; }
  .k24-akun:has(.k24-cekbtn) > .k24-saved { grid-column: 1 / -1; }
  .k24-akun:has(.k24-cekbtn) > .k24-cekbtn { grid-column: 2; margin-top: 27px; }
  .k24-akun:has(.k24-cekbtn) > .k24-nick { grid-column: 2; }
  #k24Noms.is-rel .k24-noms, .k24-noms { grid-auto-flow: row; grid-template-rows: none; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); overflow: visible; margin: 0; padding: 12px 0 0; }
  .k24-ganti, .k24-geser { display: none !important; }
  .k24-bar { display: none; }
  body.k24-ada-bar { padding-bottom: 0; }
  .k24-kat-kisi { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 22px 18px; }
  .k24-hal.is-lebar { max-width: var(--ff-wrap); }
}

/* ═══════════════════ GERAK DIKURANGI ═══════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ═══════════════════ BLOK BERSAMA: aksen sebagai TEKS → tinta beraksen ═══════════════════
 * Beberapa partial bersama mewarnai teks kecil dengan --accent mentah; di kanvas gelap
 * aksen tua (#0044FF, #1D4ED8) jatuh di bawah 4,5:1. Di tema ini teks beraksen = --accent-2.
 * Spesifisitas dinaikkan (body …) karena <style> partial dicetak sesudah theme.css. */
body .ff-lp-all, body .ff-lp-harga, body .ff-lp-back, body .ff-lp-chip.is-aksen, body .ff-lp-hargabesar,
body .ff-lp-teks a, body .ff-alat-back, body .ff-art-body a, body .ff-promo-habis, body .ff-fk-nom b,
body .ff-promo-head svg, body .ff-promo-kicker { color: var(--accent-2); }
body .ff-lp-chip.is-aksen { border-color: var(--accent-2); }
.k24-gtile .k24-st { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }

/* ═══ Review C · 10 Nov ═══════════════════════════════════════════════ */
/* Kisi nominal panjang dipotong (JS) → tombol kaca "Tampilkan N lainnya". */
.k24-lagi { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin: 12px 0 4px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--kaca); color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background .2s; }
.k24-lagi::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.k24-lagi:hover, .k24-lagi:focus-visible { background: rgba(255, 255, 255, .14); outline: 0; box-shadow: var(--fokus); }
/* Notifikasi pembelian di halaman beli: pindah ke atas & ringkas — dulu
   menutupi kolom User ID tepat di atas bilah bayar. */
body.k24-ada-bar .k24-proof { top: calc(10px + env(safe-area-inset-top)); bottom: auto; left: 50%; transform: translate(-50%, -18px); max-width: min(330px, calc(100vw - 24px)); padding-block: 4px; }
body.k24-ada-bar .k24-proof.is-in { transform: translate(-50%, 0); }
body.k24-ada-bar .k24-proof-meta { display: none; }
body.k24-ada-bar .k24-proof-ik { width: 30px; height: 30px; }
/* Teks aksen kecil dari partial (Pengumuman, Tempel ID): pakai aksen terang. */
.k24-wrap .ff-ann-in b, .ff-ann-in b { color: var(--accent-2); font-size: 12.5px; }
.ff-tmp-btn { color: var(--accent-2) !important; border-color: color-mix(in srgb, var(--accent-2) 45%, transparent) !important; }
/* User ID & Server ID sejajar; contoh panjang berelips. */
.k24-row-2 > div > label { min-height: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.k24-row-2 .ff-tmp-row { min-height: 34px; }
.k24-row-2 input { text-overflow: ellipsis; }
/* Teks kecil ≥13px. */
.k24-nom .k24-diskon, .k24-vt-p .k24-diskon { font-size: 12.5px; }
#k24Noms:not(.is-rel) .k24-nom .ff-coret, .k24-nom .ff-coret { font-size: 12.5px; }
.k24-nom-un { font-size: 13px; }
.ff-kaki-judul { font-size: 12.5px; }
/* Halaman beli desktop: hub dipadatkan jadi satu baris (sampul | judul + cip + keterangan)
   supaya langkah 1 (isi ID) sudah tampak di layar pertama 1440×900. */
@media (min-width: 1024px) {
  .k24-hub { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 22px; align-items: center; padding-top: 12px; }
  .k24-hub > .k24-sampul { grid-row: 1 / span 4; align-self: center; }
  .k24-hub > :not(.k24-sampul):not(.k24-seni) { grid-column: 2; }
  .k24-hub .k24-pen { margin-top: 0; }
  .k24-hub h1 { font-size: 46px; max-width: 22ch; margin-top: 2px; }
  .k24-hub .k24-cips { margin-top: 8px; }
  .k24-hub-desk { margin-top: 8px; font-size: 14.5px; }
  .k24-hub .k24-seni { width: 520px; top: -190px; }
  .k24-beli .k24-wrap > .ff-ann { margin-top: 14px; }
  .k24-blok-1 { margin-top: 18px; }
}
