/*
 * TEMPLATE 2 — "Terang"
 *
 * Dibangun dari perilaku yang terukur, bukan selera. Yang menentukan bentuknya:
 *
 * 1. CORONG SATU KOLOM BERNOMOR. Toko topup terbesar di pasar ini (Lapakgaming)
 *    memecah pembelian jadi langkah berurutan yang jelas, bukan satu halaman
 *    padat. Beban berpikirnya turun, dan di layar sempit itu bedanya besar.
 *    T1 memakai dua kolom dengan ringkasan di kanan; di HP ringkasan itu jatuh
 *    ke bawah dan pembeli kehilangan totalnya.
 *
 * 2. AKSI UTAMA DI ZONA JEMPOL. Tombol bayar menempel di bawah layar, tempat
 *    ibu jari beristirahat; uji A/B di ritel melaporkan kenaikan 5–12% pada
 *    penyelesaian checkout seluler. Sasaran sentuh minimal 48px (Material),
 *    bukan 44 — pembeli topup banyak yang memakai HP murah berlayar kecil.
 *
 * 3. TANDA AMAN MENEMPEL DI TOMBOL BAYAR. Sinyal kepercayaan yang diletakkan
 *    SEBARIS dengan pembayaran dilaporkan menaikkan penyelesaian ~18%;
 *    diletakkan di footer, tak ada yang membacanya.
 *
 * 4. TERANG. T1 gelap dan terasa seperti situs gaming. Sebagian pembeli —
 *    terutama yang membelikan untuk anaknya — membaca latar hitam sebagai
 *    kurang tepercaya, dan layar terang jauh lebih terbaca di bawah matahari.
 *    Dua template ini sengaja melayani dua selera yang berbeda.
 *
 * Warna toko masuk lewat --accent dan --brand dari layout. TIDAK ADA warna
 * merek yang dipatok di berkas ini: semua turunannya color-mix, jadi palet apa
 * pun terpakai utuh. Lihat config fireflazz.templates.t2.
 */

:root {
  --bg:        #FFFFFF;
  --bg-soft:   #F8FAFC;
  --bg-mute:   #F1F5F9;
  --line:      #E2E8F0;
  --line-2:    #CBD5E1;
  --ink:       #0F172A;
  --ink-2:     #475569;
  /* #94A3B8 cuma 2,45 di atas --sunk — jauh di bawah AA, dan yang memakainya
     antara lain judul langkah "Pilih nominal" saat diredupkan serta harga
     coret. Diukur di halaman sungguhan. */
  --ink-3:     #697483;

  --accent:     #2563EB;
  /* Tinta = aksen untuk TEKS di atas latar terang. Aksen mentah dipakai
     sebagai teks akan tipis; yang gelap ini yang lolos ambang WCAG. */
  --accent-ink:  color-mix(in srgb, var(--accent) 86%, #000000);
  --accent-08:   color-mix(in srgb, var(--accent) 8%, transparent);
  --accent-14:   color-mix(in srgb, var(--accent) 14%, transparent);
  --accent-30:   color-mix(in srgb, var(--accent) 30%, transparent);
  --brand:      #F97316;

  --ok:   #047857;
  --bad:  #B91C1C;
  --warn: #B45309;

  --r:     16px;
  --r-sm:  10px;
  --shadow:    0 1px 2px rgba(15,23,42,.06), 0 8px 24px -16px rgba(15,23,42,.28);
  --shadow-lg: 0 2px 4px rgba(15,23,42,.06), 0 18px 40px -22px rgba(15,23,42,.35);

  /* Ruang aman bilah menempel; ikut lekukan layar iPhone. */
  --bar-h: calc(64px + env(safe-area-inset-bottom, 0px));
}

* { box-sizing: border-box; }

/*
 * `hidden` HARUS menang.
 *
 * Kartu game dan bilah bayar dinyalakan-dimatikan lewat atribut `hidden`, tapi
 * keduanya juga punya `display:flex`/`display:grid` dari kelasnya — dan
 * display dari kelas mengalahkan display:none bawaan atribut. Tanpa baris ini,
 * hasil pencarian yang "disembunyikan" tetap terlihat dan bilah bayar muncul
 * sebelum nominal dipilih. Jebakan yang sama sudah pernah terjadi di T1.
 */
[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* 16px, bukan 15: di HP murah berlayar 5 inci teks 15px sudah menyipitkan
     mata, dan pembeli yang menyipit lebih sering salah mengetik ID. */
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.t2-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .t2-wrap { padding: 0 24px; } }

/* Bingkai isi yang dibaca blok bersama (lapak, artikel). WAJIB sama persis
   dengan .t2-wrap di atas; alasannya di t1/theme.css. */
:root { --ff-wrap: 1120px; --ff-gutter: 16px; }
@media (min-width: 768px) { :root { --ff-gutter: 24px; } }

/* Corong beli sengaja SEMPIT. Baris panjang membuat mata kehilangan
   posisinya, dan di sini yang dibaca adalah angka, bukan prosa. */
.t2-funnel { max-width: 640px; margin: 0 auto; }

.t2-mute  { color: var(--ink-2); }
.t2-dim   { color: var(--ink-3); }
.t2-small { font-size: 13.5px; }
.t2-mono  { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.t2-mt-2 { margin-top: 8px; }
.t2-mt-4 { margin-top: 16px; }
.t2-mt-6 { margin-top: 24px; }

/* ─────────────────────────────── Navigasi ─────────────────────────────── */

.t2-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.t2-nav-in { display: flex; align-items: center; gap: 12px; height: 62px; }

.t2-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.t2-logo-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
  background: var(--accent); color: #fff;
}
.t2-logo-name { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.t2-nav-sp { margin-left: auto; }

.t2-search-wrap { position: relative; flex: 1 1 auto; max-width: 380px; display: none; }
@media (min-width: 860px) { .t2-search-wrap { display: block; } }
.t2-search {
  width: 100%; height: 42px; border-radius: 999px; padding: 0 16px;
  border: 1px solid var(--line-2); background: var(--bg-soft); color: var(--ink);
  outline: none;
}
.t2-search:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-14); background: #fff; }
.t2-search-dd {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg); overflow: hidden; max-height: 62vh; overflow-y: auto;
}
.t2-search-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.t2-search-item:hover, .t2-search-item.is-active { background: var(--accent-08); }
.t2-search-item img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.t2-search-empty { padding: 14px; color: var(--ink-3); font-size: 14px; }

.t2-nav-link { display: none; font-size: 14.5px; font-weight: 600; color: var(--ink-2); padding: 8px 10px; border-radius: 8px; }
.t2-nav-link:hover { color: var(--accent-ink); background: var(--accent-08); }
@media (min-width: 720px) { .t2-nav-link { display: inline-block; } }

/* ──────────────────────────────── Akun ────────────────────────────────── */

.t2-acc { position: relative; flex: 0 0 auto; }
.t2-acc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 6px 12px 6px 8px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: #fff; color: var(--ink); cursor: pointer;
}
.t2-acc-btn:hover { border-color: var(--accent); }
.t2-avatar {
  width: 30px; height: 30px; border-radius: 999px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
  background: var(--accent); color: #fff;
}
.t2-acc-lbl { display: none; line-height: 1.15; text-align: left; }
@media (min-width: 520px) { .t2-acc-lbl { display: block; } }
.t2-acc-name { display: block; font-size: 13.5px; font-weight: 700; }
.t2-acc-saldo { display: block; font-size: 11.5px; color: var(--accent-ink); font-weight: 700; }

.t2-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  min-width: 250px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}
.t2-menu-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.t2-menu-head strong { display: block; font-size: 14.5px; }
.t2-menu-head span { display: block; font-size: 12.5px; color: var(--ink-3); word-break: break-all; }
.t2-menu-item {
  display: block; width: 100%; text-align: left;
  padding: 11px 12px; border-radius: 10px; font-size: 14.5px;
  border: 0; background: none; color: var(--ink); cursor: pointer;
}
.t2-menu-item:hover { background: var(--bg-mute); }
.t2-menu-saldo {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 10px; background: var(--accent-08);
  color: var(--accent-ink); font-size: 14px; font-weight: 700; margin-bottom: 6px;
}
.t2-menu-cta { background: var(--accent); color: #fff; font-weight: 700; text-align: center; }
.t2-menu-cta:hover { background: var(--accent-ink); }
.t2-menu-note { margin: 8px 12px 4px; font-size: 12px; color: var(--ink-3); line-height: 1.45; }

/* ──────────────────────────────── Tombol ──────────────────────────────── */

.t2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  /* 48px: ambang Material, dan pembeli sering menekan sambil berjalan. */
  min-height: 48px; padding: 0 20px;
  border-radius: 12px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 700; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, opacity .15s ease;
}
.t2-btn-primary { background: var(--accent); color: #fff; }
.t2-btn-primary:hover:not(:disabled) { background: var(--accent-ink); }
.t2-btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.t2-btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.t2-btn-full { width: 100%; }
.t2-btn:disabled { opacity: .55; cursor: not-allowed; }
.t2-btn:focus-visible { outline: 3px solid var(--accent-30); outline-offset: 2px; }

/* ──────────────────────────────── Langkah ─────────────────────────────── */

.t2-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 16px; margin-top: 14px; box-shadow: var(--shadow);
}
@media (min-width: 640px) { .t2-step { padding: 22px 24px; } }

.t2-step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.t2-step-num {
  width: 30px; height: 30px; border-radius: 999px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 14px; font-weight: 800;
  background: var(--accent); color: #fff;
}
/* Langkah yang belum tiba gilirannya diredupkan, bukan disembunyikan:
   pembeli tetap melihat berapa sisa langkahnya. */
.t2-step.is-wait .t2-step-num { background: var(--bg-mute); color: var(--ink-3); }
.t2-step.is-wait .t2-step-title { color: var(--ink-3); }
.t2-step-num.is-done { background: var(--ok); }
.t2-step-title { margin: 0; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.t2-step-note { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-2); }

/* ────────────────────────────── Kolom isian ───────────────────────────── */

.t2-label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.t2-label + .t2-input { margin-bottom: 0; }
.t2-input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: #fff; color: var(--ink); outline: none;
}
.t2-input::placeholder { color: var(--ink-3); }
.t2-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-14); }
.t2-hint { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.t2-hint strong { color: var(--ink); }
.t2-row-2 { display: grid; gap: 12px; }
@media (min-width: 520px) { .t2-row-2 { grid-template-columns: 1fr 1fr; } }

/* Nama akun hasil pengecekan: bukti bahwa ID-nya benar SEBELUM bayar.
   Salah ID adalah komplain nomor satu di bisnis ini. */
.t2-nick { margin: 10px 0 0; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.t2-nick.is-ok  { color: var(--ok); font-weight: 700; }
.t2-nick.is-bad { color: var(--bad); }

/* ────────────────────────────── Akun tersimpan ────────────────────────── */

.t2-saved { display: grid; gap: 8px; margin-bottom: 14px; }
.t2-saved-btn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  min-height: 56px; padding: 10px 12px; text-align: left; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
}
.t2-saved-btn:hover { border-color: var(--accent); background: var(--accent-08); }
.t2-saved-btn.is-active { border-color: var(--accent); background: var(--accent-08); box-shadow: 0 0 0 3px var(--accent-14); }
.t2-saved-av {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
  background: var(--accent); color: #fff;
}
.t2-saved-in { min-width: 0; }
.t2-saved-in strong { display: block; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t2-saved-in span { display: block; font-size: 12.5px; color: var(--ink-3); }

/* ───────────────────────────────── Nominal ────────────────────────────── */

.t2-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: none; }
.t2-chips::-webkit-scrollbar { display: none; }
.t2-chip {
  flex: 0 0 auto; min-height: 40px; padding: 0 14px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 999px; background: #fff;
  font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.t2-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }

.t2-tier { margin: 18px 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.t2-tier:first-child { margin-top: 0; }

.t2-noms { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .t2-noms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/*
 * Kartu nominal: HARGA yang dibesarkan, bukan nama nominalnya.
 * Pembeli topup datang dengan anggaran di kepala ("ada 50 ribu"), lalu
 * mencari apa yang muat — bukan sebaliknya.
 */
.t2-nom {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 92px; padding: 12px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  transition: border-color .12s ease, background-color .12s ease;
}
.t2-nom:hover { border-color: var(--accent); }
.t2-nom.is-active { border-color: var(--accent); background: var(--accent-08); box-shadow: 0 0 0 3px var(--accent-14); }
.t2-nom-name { font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.35; }
.t2-nom-price { margin-top: 8px; font-size: 15.5px; font-weight: 800; color: var(--accent-ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.t2-nom-check {
  position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 999px;
  display: none; place-items: center; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800;
}
.t2-nom.is-active .t2-nom-check { display: grid; }

/* ───────────────────────── Metode & tanda aman ────────────────────────── */

.t2-pays { display: grid; gap: 8px; }
.t2-pay {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
}
.t2-pay strong { display: block; font-size: 14.5px; }
.t2-pay span { display: block; font-size: 12.5px; color: var(--ink-2); }

/* Tanda aman menempel PERSIS di atas tombol bayar. Di footer tak ada yang
   membacanya; di sini ia terbaca tepat saat keraguan muncul. */
.t2-trust { display: grid; gap: 8px; margin: 14px 0 0; padding: 14px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.t2-trust-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.t2-trust-item svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--ok); margin-top: 1px; }

/* ─────────────────────────────── Ringkasan ────────────────────────────── */

.t2-sum { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-soft); padding: 16px; }
.t2-sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 14.5px; }
.t2-sum-row span:first-child { color: var(--ink-2); flex: 0 0 auto; }
.t2-sum-row span:last-child { text-align: right; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.t2-sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 10px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.t2-sum-total b { font-size: 22px; font-weight: 800; color: var(--accent-ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ───────────────────────── Bilah menempel (zona jempol) ───────────────── */

.t2-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px -20px rgba(15,23,42,.5);
}
.t2-bar[hidden] { display: none !important; }
.t2-bar-info { flex: 1 1 auto; min-width: 0; line-height: 1.2; }
.t2-bar-info span { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.t2-bar-info strong { display: block; font-size: 18px; font-weight: 800; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.t2-bar .t2-btn { flex: 0 0 auto; min-width: 150px; }
/* Ruang di kaki halaman supaya isi terakhir tak tertutup bilah. */
.t2-has-bar { padding-bottom: var(--bar-h); }

/* ────────────────────────────── Hero & kartu ──────────────────────────── */

.t2-hero {
  position: relative; overflow: hidden;
  margin: 18px 0 0; padding: 26px 20px; border-radius: 20px;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.t2-hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 180%;
  background: radial-gradient(closest-side, var(--accent-14), transparent 70%);
  pointer-events: none;
}
.t2-hero::after {
  content: ""; position: absolute; inset: auto auto -60% -15%; width: 55%; height: 170%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%);
  pointer-events: none;
}
.t2-hero-in { position: relative; z-index: 1; }
.t2-hero h1 { margin: 8px 0 6px; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
@media (min-width: 640px) { .t2-hero { padding: 40px; } .t2-hero h1 { font-size: 34px; } }
.t2-eyebrow {
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  background: var(--accent-14); color: var(--accent-ink);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.t2-hero p { margin: 0; color: var(--ink-2); max-width: 52ch; }

.t2-hero-game { display: flex; gap: 16px; align-items: center; }
.t2-hero-art {
  width: 84px; height: 84px; flex: 0 0 auto; border-radius: 18px; overflow: hidden;
  display: grid; place-items: center; font-size: 30px; font-weight: 800;
  background: var(--accent); color: #fff; box-shadow: var(--shadow-lg);
}
.t2-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.t2-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.t2-pill { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.t2-pill.is-accent { background: var(--accent-14); border-color: transparent; color: var(--accent-ink); }

.t2-sec { margin-top: 34px; }
.t2-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.t2-sec-title { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.t2-sec-link { font-size: 14px; font-weight: 700; color: var(--accent-ink); }

.t2-games { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .t2-games { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .t2-games { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.t2-game {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  transition: border-color .12s ease, transform .12s ease, box-shadow .12s ease;
}
.t2-game:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.t2-game-art { aspect-ratio: 1 / 1; background: var(--bg-mute); }
.t2-game-art img { width: 100%; height: 100%; object-fit: cover; }
.t2-game-body { padding: 10px 12px 12px; }
.t2-game-name { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.t2-game-price { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-3); }
.t2-game-price b { color: var(--accent-ink); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .t2-game:hover { transform: none; }
}

/* ───────────────────────── Peringatan & status ────────────────────────── */

.t2-alert { padding: 13px 15px; border-radius: 12px; font-size: 14px; line-height: 1.5; margin-top: 14px; border: 1px solid; }
.t2-alert-info { background: var(--accent-08); border-color: var(--accent-30); color: var(--accent-ink); }
.t2-alert-error { background: #FEF2F2; border-color: #FECACA; color: var(--bad); }
.t2-alert-ok { background: #ECFDF5; border-color: #A7F3D0; color: var(--ok); }

.t2-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.t2-badge-wait { background: #FFFBEB; color: var(--warn); }
.t2-badge-ok   { background: #ECFDF5; color: var(--ok); }
.t2-badge-bad  { background: #FEF2F2; color: var(--bad); }
.t2-badge-run  { background: var(--accent-08); color: var(--accent-ink); }

.t2-dot { width: 7px; height: 7px; border-radius: 999px; background: currentColor; animation: t2-pulse 1.5s ease-in-out infinite; }
@keyframes t2-pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .t2-dot { animation: none; } }

/* ───────────────────────────────── Tabel ──────────────────────────────── */

.t2-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.t2-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.t2-table th { text-align: left; padding: 11px 14px; background: var(--bg-soft); color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.t2-table td { padding: 12px 14px; border-top: 1px solid var(--line); }
.t2-num { text-align: right; font-variant-numeric: tabular-nums; }

/* ───────────────────────────────── Footer ─────────────────────────────── */

.t2-footer { margin-top: 56px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.t2-footer-in { padding: 32px 0 28px; display: grid; gap: 24px; }
@media (min-width: 700px) { .t2-footer-in { grid-template-columns: 1.4fr 1fr; } }
.t2-footer-bot { padding: 16px 0 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.t2-footer-bot a { color: var(--accent-ink); font-weight: 700; }

/* ──────────────────────── Notifikasi transaksi nyata ──────────────────── */

.t2-proof {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 10px; max-width: min(340px, calc(100vw - 32px));
  padding: 11px 13px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease;
}
.t2-proof.is-in { opacity: 1; transform: none; }
.t2-proof-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--ok); flex: 0 0 auto; }
.t2-proof-body { min-width: 0; line-height: 1.3; }
.t2-proof-title { display: block; font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t2-proof-meta { display: block; font-size: 11.5px; color: var(--ink-3); }
.t2-proof-x { border: 0; background: none; color: var(--ink-3); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }
/* Bilah bayar menang; notifikasi minggir supaya tak menutupi tombol. */
.t2-has-bar .t2-proof { bottom: calc(var(--bar-h) + 12px); }

/* Baris jaminan di kaki halaman: isi ruang kosong dengan janji yang nyata. */
.t2-jaminan { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0,1fr)); padding: 28px 0 4px; }
@media (min-width: 860px) { .t2-jaminan { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.t2-jaminan-item {
  display: flex; gap: 10px; align-items: flex-start; margin: 0;
  padding: 13px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; font-size: 12.5px; line-height: 1.45; color: var(--ink-2);
}
.t2-jaminan-item svg { flex: 0 0 auto; width: 17px; height: 17px; color: var(--ok); margin-top: 1px; }
.t2-jaminan-item strong { display: block; color: var(--ink); font-size: 13px; }
