/* ═══════════════════════════════════════════════════════════════════════
   TEMPLATE 15 — PIKSEL · arcade retro 8-bit (gelap)
   Toko = satu mesin arcade: papan nama menyala, layar CRT, panel kontrol.
   Sudut 0 di mana pun (kecuali layar CRT & tombol A), kedalaman = bayangan
   keras + bevel 4px. Tanpa blur shadow. Spasi kelipatan 4px.
   Semua turunan warna dari --accent/--brand (warna seller) lewat color-mix.
   ═══════════════════════════════════════════════════════════════════════ */

@font-face { font-family: "Press Start 2P"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("font/pressstart2p-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("font/chakrapetch-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("font/chakrapetch-700-latin.woff2") format("woff2"); }

:root {
  --accent: #FFC531;            /* kuning koin (bawaan; layout menimpa) */
  --brand: #2EF2FF;             /* fosfor cyan */
  --on-accent: #1B1300;

  /* Kanvas & permukaan — tetap, tak ikut aksen (CRT malam). */
  --bg: #0C0B1D;  --crt: #0C0B1D;
  --panel: #16153A; --card: #16153A;
  --panel-2: #201E52; --card-2: #201E52;
  --isian: #05051A;
  --ink: #F4F3FF;               /* 16:1 di kanvas */
  --ink-2: #A9A7D6;             /* 7,4:1 di kanvas, 6,6:1 di panel-2 */
  --dim: var(--ink-2);

  /*
   * Tinta beraksen untuk TEKS di kanvas gelap: 62% aksen + putih.
   * WAJIB == uji.tinta (campur #ffffff, porsi 0.62). Aksen gelap (#1D4ED8)
   * jadi terbaca, aksen terang (#FFC531) tetap kuning koin.
   */
  --accent-2: color-mix(in srgb, var(--accent) 62%, #ffffff);
  /* Tinta merek (cyan) untuk judul bagian — sama rumusnya. */
  --brand-2: color-mix(in srgb, var(--brand) 62%, #ffffff);

  --line: color-mix(in oklab, var(--brand) 55%, var(--panel));
  --hot: color-mix(in oklab, var(--accent) 22%, #FF2D6A);    /* tombol A, pita */
  --good: color-mix(in oklab, var(--brand) 30%, #4DFF7A);    /* sukses */
  --ok: var(--good);
  --danger: #FF6B8E;
  --bad: #FF6B8E;
  --warn: #FFD166;
  --glow: color-mix(in oklab, var(--brand) 40%, transparent);
  --px: 4px;

  --f-pix: "Press Start 2P", ui-monospace, monospace;
  --f-txt: "Chakra Petch", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-teks: var(--f-txt);

  /* Kontainer bersama — WAJIB sama dengan .x15-wrap. */
  --ff-wrap: 1180px;
  --ff-gutter: 14px;
  /* Tinggi panel kontrol bawah (HP); 0 di desktop. */
  --tab-h: 88px;
}

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

html { background: var(--crt); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  font: 500 16px/1.45 var(--f-txt); color: var(--ink);
  background-color: var(--crt);
  background-image: radial-gradient(color-mix(in oklab, var(--brand) 13%, transparent) 1px, transparent 1.5px);
  background-size: 16px 16px;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }

.x15-wrap { max-width: var(--ff-wrap); margin: 0 auto; padding: 0 var(--ff-gutter); }
.x15-pix { font-family: var(--f-pix); font-weight: 400; letter-spacing: 0; line-height: 1.5; }
.x15-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.x15-dim { color: var(--ink-2); }
.x15-good { color: var(--good); }
.x15-mono { font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.x15-lompat { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 14px; font-weight: 700; }
.x15-lompat:focus { top: 8px; }

/* ── sprite piksel (store/t15/piksel) — warna per huruf peta ── */
.x15-spr { display: block; image-rendering: pixelated; shape-rendering: crispEdges; width: 18px; height: 18px; flex: none; }
.x15-spr .k { fill: #000; }
.x15-spr .w { fill: #fff; }
.x15-spr .l { fill: color-mix(in oklab, var(--brand) 45%, #fff); }
.x15-spr .c { fill: var(--brand); }
.x15-spr .d { fill: color-mix(in oklab, var(--brand) 55%, #000); }
.x15-spr .y { fill: var(--accent); }
.x15-spr .o { fill: color-mix(in oklab, var(--accent) 55%, #7A2A00); }
.x15-spr .v { fill: color-mix(in oklab, var(--accent) 35%, #fff); }
.x15-spr .b { fill: color-mix(in oklab, var(--accent) 25%, #6B2C12); }
.x15-spr .B { fill: color-mix(in oklab, var(--accent) 15%, #3D1608); }
.x15-spr .m { fill: currentColor; }

/* ── bingkai bertangga & jendela dialog RPG ── */
.x15-box {
  position: relative; background: var(--panel); margin: var(--px);
  box-shadow:
    0 calc(var(--px) * -1) 0 0 var(--line), 0 var(--px) 0 0 var(--line),
    calc(var(--px) * -1) 0 0 0 var(--line), var(--px) 0 0 0 var(--line),
    0 calc(var(--px) * 2) 0 0 #000a, var(--px) calc(var(--px) * 2) 0 0 #000a, calc(var(--px) * 2) var(--px) 0 0 #000a;
}
.x15-pad { padding: 16px; }
.x15-dlg {
  position: relative; background: #0D0C2B; border: 4px solid var(--ink); outline: 4px solid #000;
  box-shadow: inset 0 0 0 3px #0D0C2B, inset 0 0 0 5px color-mix(in oklab, var(--ink) 35%, transparent);
  padding: 16px; margin: 4px;
}
.x15-who { display: block; font-size: 10px; color: var(--brand-2); margin-bottom: 10px; }
.x15-say { font-size: 17px; margin-bottom: 14px; }

/* ── judul bagian: label piksel + subjudul Indonesia ── */
.x15-sec { display: flex; align-items: center; gap: 10px; margin: 30px 0 14px; }
.x15-sec h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: inherit; }
.x15-sec-pix { font-size: 13px; color: var(--brand-2); text-shadow: 2px 2px 0 #000; }
.x15-sec-id { font: 700 15px/1.2 var(--f-txt); color: var(--ink-2); }
.x15-rule { flex: 1; min-width: 16px; height: 4px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 12px); }
.x15-sec a { flex: none; font-weight: 700; font-size: 14px; color: var(--accent-2); padding: 12px 0; text-decoration: none; }

/* ── tombol ── */
.x15-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px;
  border: 0; border-radius: 0; cursor: pointer; text-decoration: none; text-align: center;
  font: 700 16px/1.2 var(--f-txt); background: var(--accent); color: var(--on-accent);
  box-shadow: inset -4px -4px 0 color-mix(in oklab, var(--accent) 55%, #000), inset 4px 4px 0 color-mix(in oklab, var(--accent) 50%, #fff), 0 4px 0 #000;
  transition: transform .08s steps(2);
}
.x15-btn:active { transform: translateY(4px); box-shadow: inset -4px -4px 0 color-mix(in oklab, var(--accent) 55%, #000), 0 0 0 #000; }
.x15-btn:disabled { cursor: not-allowed; filter: grayscale(.7) brightness(.75); }
.x15-btn-ghost { background: var(--panel-2); color: var(--ink); box-shadow: inset -4px -4px 0 #0007, inset 4px 4px 0 #fff2, 0 4px 0 #000; }
.x15-btn-ghost:active { box-shadow: inset 3px 3px 0 #0007; }
.x15-btn-full { display: flex; width: 100%; margin-top: 12px; }
.x15-btn-sm { min-height: 40px; padding: 0 12px; font-size: 14px; }
.x15-btn-bahaya { color: #FFB3C4; }

/* ── isian ── */
.x15-label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin: 12px 0 6px; }
.x15-input, .x15 .gm-input {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 0;
  background: var(--isian); color: var(--ink); border: 3px solid var(--line);
  font: 700 17px/1.2 var(--f-txt); letter-spacing: .02em; caret-color: var(--accent-2);
  outline: 0; -webkit-appearance: none; appearance: none;
}
.x15-input::placeholder { color: #8886BD; font-weight: 500; letter-spacing: 0; font-size: 15px; }
.x15-input:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px #000, 0 0 18px var(--glow); }
select.x15-input { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.x15-hint { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.45; }
.x15-hint a, .x15-alert a, .x15-hint-box a, .x15-fold a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.x15-hint summary { color: var(--brand-2); }
.x15-row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 120px); gap: 10px; align-items: start; }
.x15-row-2 > * { min-width: 0; }
.x15-row-2 .x15-label { min-height: 40px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 8px; margin-top: 4px; }

/* .x15-inp = kolom cari dengan awalan piksel & kursor kotak */
.x15-inp { position: relative; display: flex; align-items: center; background: var(--isian); border: 3px solid var(--line); min-height: 52px; }
.x15-inp:focus-within { border-color: var(--accent-2); box-shadow: 0 0 0 3px #000, 0 0 18px var(--glow); }
.x15-inp i { font-style: normal; font-size: 12px; color: var(--brand-2); padding: 0 4px 0 12px; }
.x15-inp input { flex: 1; min-width: 0; width: 100%; background: none; border: 0; outline: 0; padding: 12px; font: 700 17px var(--f-txt); color: var(--ink); caret-color: transparent; -webkit-appearance: none; appearance: none; }
.x15-inp input::placeholder { color: #8886BD; font-weight: 500; }
.x15-inp input::-webkit-search-cancel-button { -webkit-appearance: none; }
.x15-caret { width: 12px; height: 22px; background: var(--accent); margin-right: 12px; opacity: 0; flex: none; }
.x15-inp:focus-within .x15-caret { opacity: 1; animation: x15-kedip 1s steps(1) infinite; }
@keyframes x15-kedip { 50% { opacity: 0; } }

/* ── peringatan ── */
.x15-alert { margin: 14px 0; padding: 12px 14px; font-size: 15px; border: 3px solid; background: #000; }
.x15-alert-info { border-color: var(--line); }
.x15-alert-error { border-color: var(--danger); color: #FFD3DD; }
.x15-alert-ok { border-color: var(--good); }

/* ═══ BILAH ATAS ═══ */
.x15-top { position: sticky; top: 0; z-index: 30; background: color-mix(in oklab, var(--crt) 94%, transparent); border-bottom: 4px solid #000; }
.x15-top-in { display: flex; align-items: center; gap: 10px; height: 60px; }
.x15-brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; flex: 1; }
.x15-logo { flex: none; width: 40px; height: 40px; border: 3px solid var(--brand); background: #000; display: grid; place-items: center; overflow: hidden; }
.x15-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x15-logo-huruf { font: 400 16px var(--f-pix); color: var(--accent-2); }
.x15-brand-in { min-width: 0; }
.x15-brand-in b { display: block; font-size: 12px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.x15-brand-in small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x15-credit { flex: none; margin-left: auto; text-align: right; text-decoration: none; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; min-height: 44px; min-width: 44px; }
.x15-credit .x15-pix { font-size: 10px; color: var(--accent-2); }
.x15-credit em { font-style: normal; font-weight: 700; font-size: 14px; color: var(--ink); }
.x15-credit.is-cari { align-items: center; gap: 2px; padding: 0 8px; background: var(--panel-2); box-shadow: inset -3px -3px 0 #0006, inset 3px 3px 0 #fff2; }
.x15-credit.is-cari em { font-size: 12px; }
.x15-topnav { display: none; }

/* ═══ PITA INFO ═══ */
.x15-ribbon { background: var(--hot); color: #fff; border-bottom: 4px solid #000; overflow: hidden; white-space: nowrap; min-height: 36px; display: flex; align-items: center; }
.x15-ribbon-trek { display: inline-flex; gap: 64px; padding-left: 14px; font: 700 14px var(--f-txt); animation: x15-marq 24s linear infinite; text-shadow: 1px 1px 0 #0006; }
.x15-ribbon-trek b { font-size: 10px; color: #FFF1C2; margin-right: 6px; }
@keyframes x15-marq { to { transform: translateX(calc(-50% - 32px)); } }
/* Kotak pengumuman bawaan tak dicetak dua kali: isinya sudah di pita. */
.x15 .ff-ann { display: none !important; }

/* ═══ PANEL KONTROL (HP) ═══ */
.x15-ctrl {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
  background: linear-gradient(#2A2766, #1A1846); border-top: 4px solid #000;
  box-shadow: 0 -4px 0 color-mix(in oklab, var(--brand) 35%, #2A2766) inset;
}
.x15-ctrl-in { max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.x15-dpad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; flex: 1; min-width: 0; background: #0B0A24; padding: 5px; border: 3px solid #000; box-shadow: inset 0 0 0 2px #fff1; }
.x15-dpad a { min-height: 50px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: #2D2B6B; text-decoration: none;
  box-shadow: inset -3px -3px 0 #0006, inset 3px 3px 0 #fff2; font: 700 13px/1 var(--f-txt); color: var(--ink); }
.x15-dpad a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x15-dpad a[aria-current] { background: color-mix(in srgb, var(--brand) 34%, #2D2B6B); box-shadow: inset 0 0 0 2px var(--brand), inset -3px -3px 0 #0006; }
.x15-dpad a:active { box-shadow: inset 3px 3px 0 #0006; }
.x15-abtn {
  flex: none; width: 72px; height: 72px; border-radius: 50%; border: 4px solid #000; background: var(--hot); color: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; padding: 0;
  box-shadow: inset -6px -6px 0 color-mix(in oklab, var(--hot) 60%, #000), inset 5px 5px 0 color-mix(in oklab, var(--hot) 55%, #fff), 0 5px 0 #000;
}
.x15-abtn .x15-pix { font-size: 12px; line-height: 1; }
.x15-abtn span + span { font: 700 13px/1 var(--f-txt); margin-top: 6px; text-shadow: 1px 1px 0 #0007; }
.x15-abtn:active { transform: translateY(4px); box-shadow: inset -6px -6px 0 color-mix(in oklab, var(--hot) 60%, #000), 0 1px 0 #000; }

/* ═══ BUKTI SOSIAL (popup) ═══ */
.x15-proof {
  position: fixed; left: 10px; bottom: calc(var(--tab-h) + 12px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; gap: 10px; max-width: min(340px, calc(100vw - 92px));
  padding: 10px 6px 10px 12px; background: #0D0C2B; border: 3px solid var(--ink); outline: 3px solid #000;
  opacity: 0; transform: translateY(12px); transition: opacity .25s steps(4), transform .25s steps(4);
}
.x15-proof.is-in { opacity: 1; transform: none; }
.x15-proof-koin { width: 24px; height: 24px; }
.x15-proof-body { min-width: 0; display: flex; flex-direction: column; }
.x15-proof-title { font-weight: 700; font-size: 14px; line-height: 1.25; }
.x15-proof-meta { font-size: 13px; color: var(--ink-2); }
.x15-proof-x { flex: none; width: 40px; height: 40px; border: 0; background: none; color: var(--ink-2); font-size: 22px; cursor: pointer; }

/* ═══ BERANDA: KABINET ═══ */
.x15-hero { padding-top: 8px; }
.x15-cab { padding: 8px; background: linear-gradient(#24215E, #15133B); border: 4px solid #000; box-shadow: 0 0 0 4px #2A2766, 0 8px 0 4px #000; margin: 4px 4px 10px; }
.x15-lit {
  position: relative; text-align: center; padding: 6px 8px 5px; margin: -8px -8px 8px; border-bottom: 4px solid #000; overflow: hidden;
  background: radial-gradient(90% 120% at 50% 100%, color-mix(in oklab, var(--hot) 45%, transparent), transparent 70%), linear-gradient(#1B0F3B, #2A0F3E);
}
.x15-lit::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, #ffffff0d 0 2px, transparent 2px 6px); pointer-events: none; }
.x15-logo-type {
  position: relative; display: block; font-size: clamp(16px, 5.4vw, 40px); line-height: 1.2; word-spacing: -.3em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: clip;
  color: var(--accent-2);
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 30%, #fff) 0 30%, var(--accent-2) 30% 55%, color-mix(in oklab, var(--accent) 55%, var(--hot)) 55% 78%, var(--hot) 78%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 2px 0 #000);
}
.x15-lit-sub { position: relative; display: inline-block; margin-top: 2px; font-size: 8px; color: var(--brand-2); letter-spacing: .2em; }
.x15-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 14px / 18px; box-shadow: inset 0 0 0 3px #000; isolation: isolate; }
.x15-screen .ff-ban { margin: 0 !important; height: 100%; }
.x15-screen .ff-ban-bing, .x15-screen .ff-ban-trek { height: 100%; }
.x15-screen .ff-ban-trek { grid-auto-columns: 100% !important; gap: 0 !important; }
.x15-screen .ff-ban-slide { border-radius: 0 !important; background: #000; }
.x15-screen .ff-ban-slide img { height: 100% !important; filter: saturate(1.12) contrast(1.04); }
.x15-screen .ff-ban-dots { display: none !important; }
.x15-glare, .x15-scan { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 2; }
.x15-glare { background: radial-gradient(120% 70% at 30% 0%, #ffffff22, transparent 45%); box-shadow: inset 0 0 50px #000b, inset 0 0 0 2px #000; }
.x15-scan { background: repeating-linear-gradient(transparent 0 2px, #0004 2px 4px); }
.x15-attract { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  background: radial-gradient(70% 80% at 50% 40%, color-mix(in oklab, var(--brand) 22%, #000), #000 70%); }
.x15-attract-spr { width: 96px; height: 72px; }
.x15-attract .x15-pix { color: var(--accent-2); font-size: 14px; }
.x15-attract small { color: var(--ink-2); font-size: 14px; }
.x15-power { animation: x15-crt 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.x15-power::after { content: ""; position: absolute; inset: 0; z-index: 3; background: #fff; border-radius: inherit; pointer-events: none; animation: x15-kilat 1.1s ease-out both; }
@keyframes x15-crt { 0% { transform: scale(.92, .006); } 30% { transform: scale(1, .006); } 55% { transform: scale(1, 1); } 100% { transform: none; } }
@keyframes x15-kilat { 0%, 40% { opacity: 1; } 100% { opacity: 0; } }
.x15-cab-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; min-height: 40px; }
.x15-press { font-size: 10px; color: var(--accent-2); text-shadow: 2px 2px 0 #000; text-decoration: none; padding: 12px 0; animation: x15-redup 1.1s steps(1) infinite; }
@keyframes x15-redup { 50% { opacity: .35; } }
.x15-slot-sel { display: flex; gap: 6px; }
.x15-slot-sel button { min-width: 44px; height: 40px; border: 2px solid #000; background: #0B0A24; font-size: 9px; cursor: pointer; color: #fff; border-radius: 0; }
.x15-slot-sel button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }

.x15-intro { padding: 0 4px; }
.x15-intro-h { font: 500 15px/1.4 var(--f-txt); color: var(--ink-2); margin: 2px 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x15-intro-h span { display: none; }
.x15-cari { margin: 0; }
.x15-fakta { display: none; }

/* kategori = kaset */
.x15-cats { display: flex; gap: 8px; overflow-x: auto; padding: 10px 4px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.x15-cats::-webkit-scrollbar { display: none; }
.x15-cats a, .x15-cats button {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 3px solid #000; border-radius: 0;
  background: var(--panel-2); font: 700 15px var(--f-txt); cursor: pointer; text-decoration: none; color: var(--ink);
  box-shadow: inset 0 -6px 0 #0005, 0 3px 0 #000;
}
.x15-cats small { font-weight: 500; color: var(--ink-2); }
.x15-cats [aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.x15-cats [aria-pressed="true"] small { color: inherit; }

/* SELECT PLAYER */
.x15-pilih .x15-sec { margin: 6px 0 10px; }
.x15-blok + .x15-blok { margin-top: 22px; }
.x15-blok-h { display: flex; align-items: center; gap: 10px; font: 700 15px var(--f-txt); color: var(--ink); margin: 0 0 12px 2px; }
.x15-blok-h .x15-pix { font-size: 9px; background: var(--accent); color: var(--on-accent); padding: 4px 5px; }
.x15-blok-h small { color: var(--ink-2); font-weight: 500; }
.x15-blok-h a { margin-left: auto; color: var(--accent-2); font-size: 14px; padding: 10px 0; text-decoration: none; }
.x15-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
.x15-tile { position: relative; display: block; min-width: 0; text-decoration: none; padding-top: 2px; }
.x15-tile-art { position: relative; display: block; aspect-ratio: 1; background: #000; border: 3px solid #000; outline: 3px solid var(--panel-2); overflow: hidden; }
.x15-tile-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x15-tile-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 2px, #0003 2px 3px); pointer-events: none; }
.x15-tile-huruf { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent-2); font-size: 18px; }
.x15-tile-nama { display: block; font: 700 14px/1.2 var(--f-txt); margin-top: 8px; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.x15-tile-pub { display: block; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x15-tile-from { display: block; font: 700 13px var(--f-txt); color: var(--accent-2); font-variant-numeric: tabular-nums; }
.x15-tile-tag { position: absolute; z-index: 2; right: -4px; top: 8px; font-size: 8px; background: var(--hot); color: #fff; padding: 5px; border: 2px solid #000; }
.x15-tile.is-p1 .x15-tile-art, .x15-tile:focus-visible .x15-tile-art { outline-color: var(--accent); box-shadow: 0 0 0 6px #000, 0 0 22px color-mix(in oklab, var(--accent) 55%, transparent); }
.x15-tile.is-p1::before, .x15-tile:focus-visible::before { content: "P1"; position: absolute; z-index: 3; top: -10px; left: -6px; font: 400 9px var(--f-pix); background: var(--accent); color: var(--on-accent); padding: 5px 6px; border: 2px solid #000; }
.x15-tile:focus-visible { outline: 0; }
.x15-semua { margin-top: 18px; }
.x15-semua a { color: var(--ink) !important; }

/* lapak (ITEM SHOP) — partial bersama diberi kicker piksel */
.x15-shop .ff-lp-title::before { content: "ITEM SHOP"; display: block; font: 400 12px/1.6 var(--f-pix); color: var(--brand-2); margin-bottom: 4px; text-shadow: 2px 2px 0 #000; }
.x15-shop .ff-lp-card { border-radius: 0 !important; border: 3px solid #000 !important; box-shadow: 0 0 0 3px var(--panel-2), 5px 6px 0 3px #000 !important; background: var(--panel) !important; }
.x15-shop .ff-lp-art, .x15-shop .ff-lp-art img { border-radius: 0 !important; }
.x15-shop .ff-lp-harga { color: var(--accent-2) !important; }
.x15-shop { margin-top: 30px; }
.x15-shop [class*="ff-lp"] { border-radius: 0 !important; }

/* HI-SCORE */
.x15-hs { padding: 14px 14px 12px; }
.x15-hs table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.x15-hs th { font: 700 13px var(--f-txt); color: var(--ink-2); text-align: left; padding: 0 0 8px; }
.x15-hs th:last-child, .x15-hs td:last-child { text-align: right; }
.x15-hs td { padding: 9px 0; border-top: 2px dashed #ffffff1c; font-size: 14px; vertical-align: middle; }
.x15-hs td:first-child { font-size: 11px; color: var(--accent-2); width: 44px; }
.x15-hs tr:nth-child(2) td:first-child { color: #E9E9FF; }
.x15-hs tr:nth-child(3) td:first-child { color: #F0A36B; }
.x15-hs td b { display: block; font-size: 15px; color: var(--good); }
.x15-hs td span { color: var(--ink-2); font-size: 13px; }
.x15-hs td:last-child { color: var(--ink-2); font-size: 13px; white-space: nowrap; padding-left: 8px; }
.x15-hs-note { font-size: 13px; color: var(--ink-2); margin-top: 8px; }

/* POWER-UP */
.x15-pu { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; }
.x15-qblock { width: 56px; height: 56px; background: var(--accent); border: 4px solid #000; display: grid; place-items: center; font-size: 22px; color: var(--on-accent);
  box-shadow: inset -5px -5px 0 color-mix(in oklab, var(--accent) 55%, #7A2A00), inset 5px 5px 0 color-mix(in oklab, var(--accent) 40%, #fff); animation: x15-bob 1.4s steps(2) infinite; }
@keyframes x15-bob { 50% { transform: translateY(-4px); } }
.x15-pu .ff-promo { margin: 0 !important; border-radius: 0 !important; }
.x15-pu-kode { font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.x15-pu-kode b { color: var(--ink); display: block; font-size: 17px; }

/* HOW TO PLAY */
.x15-how { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.x15-how li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; }
.x15-how-no { width: 48px; height: 48px; display: grid; place-items: center; background: #000; color: var(--accent-2); font-size: 16px; border: 3px solid var(--accent); }
.x15-how b { display: block; font-size: 17px; }
.x15-how span { color: var(--ink-2); font-size: 15px; }

/* SAVE POINT */
.x15-save { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; text-align: center; }
.x15-save > div { padding: 14px 6px; background: var(--panel); border: 3px solid #000; box-shadow: inset 0 0 0 2px var(--panel-2); min-width: 0; }
.x15-save .x15-spr { width: 30px; height: 30px; margin: 0 auto 8px; color: var(--good); }
.x15-save b { display: block; font-size: 14px; line-height: 1.25; }
.x15-save small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.3; }
.x15-cek { padding: 16px; margin-top: 22px; }
.x15-cek label { display: block; margin-bottom: 10px; }
.x15-cek label b { display: block; font-size: 17px; }
.x15-cek label span { color: var(--ink-2); font-size: 14px; }
.x15-cek-baris { display: flex; gap: 10px; }
.x15-cek-baris .x15-inp { flex: 1; min-width: 0; }

/* baris daftar (pesanan, artikel, mutasi) */
.x15-rows { display: grid; gap: 10px; }
.x15-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 56px; background: var(--panel); border: 3px solid #000; box-shadow: inset 0 0 0 2px var(--panel-2), 4px 4px 0 #000; text-decoration: none; }
.x15-row:not(.is-diam):active { transform: translate(2px, 2px); }
.x15-row-img { width: 48px; height: 48px; object-fit: cover; border: 2px solid #000; flex: none; }
.x15-row-in { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.x15-row-in strong { font-size: 15px; overflow-wrap: anywhere; }
.x15-row-in span { font-size: 13px; color: var(--ink-2); }
.x15-row-go { color: var(--accent-2); font-size: 12px; }
.x15-row form { flex: none; margin: 0; }
.x15-badge { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; font: 700 13px var(--f-txt); border: 2px solid; background: #000; white-space: nowrap; }
.x15-badge.is-ok { color: var(--good); }
.x15-badge.is-bad { color: #FF9DB4; }
.x15-badge.is-wait { color: var(--warn); }
.x15-badge.is-run { color: var(--brand-2); }
.x15-dot { width: 8px; height: 8px; background: currentColor; animation: x15-kedip 1s steps(1) infinite; }

/* ═══ HALAMAN BELI ═══ */
.x15-beli { padding-top: 6px; }
.x15-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--brand-2); text-decoration: none; }
.x15-head { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; padding: 6px 0 4px; }
.x15-head-art { width: 84px; height: 84px; border: 4px solid #000; outline: 4px solid var(--accent); background: #000; position: relative; overflow: hidden; display: grid; place-items: center; margin: 4px; }
.x15-head-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x15-head-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 2px, #0004 2px 3px); }
.x15-head h1 { font: 700 20px/1.25 var(--f-txt); overflow-wrap: anywhere; }
.x15-head h1.is-pix { font: 400 14px/1.5 var(--f-pix); text-transform: uppercase; }
.x15-head-pub { color: var(--ink-2); font-size: 14px; margin: 4px 0 8px; }
.x15-chips-ok { display: flex; flex-wrap: wrap; gap: 6px; }
.x15-chips-ok span { display: inline-flex; align-items: center; gap: 6px; font: 700 13px var(--f-txt); padding: 4px 8px; background: #000; border: 2px solid var(--good); color: var(--good); }
.x15-chips-ok .x15-spr { width: 12px; height: 12px; }
.x15-desk { color: var(--ink-2); font-size: 15px; margin-top: 12px; max-width: 70ch; }
.x15-peta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 14px 0 4px; }
.x15-peta-item { display: flex; flex-direction: column; gap: 4px; padding: 7px 8px; background: var(--panel); border: 3px solid #000; font: 700 14px var(--f-txt); color: var(--ink-2); min-width: 0; }
.x15-peta-item b { font-size: 9px; color: inherit; }
.x15-peta-item.is-done { color: var(--good); }
.x15-peta-item.is-now { background: color-mix(in srgb, var(--brand) 30%, var(--panel-2)); color: var(--ink); box-shadow: inset 0 0 0 2px var(--brand); }

.x15-step { margin-top: 22px; }
.x15-step-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.x15-step-h b { font-size: 10px; color: var(--accent-2); background: #000; padding: 6px 8px; border: 2px solid var(--accent); }
.x15-step-h h2 { font: 700 20px/1.2 var(--f-txt); }
.x15-beli .x15-dlg .x15-label:first-of-type { margin-top: 0; }

.x15-saved { display: grid; gap: 8px; margin-bottom: 12px; }
.x15-saved-btn { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 10px; text-align: left; background: var(--panel-2); border: 3px solid #000; cursor: pointer; border-radius: 0; color: var(--ink); }
.x15-saved-btn.is-active { box-shadow: inset 0 0 0 2px var(--brand); background: color-mix(in srgb, var(--brand) 22%, var(--panel-2)); }
.x15-saved-av { width: 34px; height: 34px; display: grid; place-items: center; background: #000; color: var(--accent-2); font-size: 12px; flex: none; }
.x15-saved-in { min-width: 0; display: flex; flex-direction: column; }
.x15-saved-in strong { font-size: 15px; }
.x15-saved-in span { font-size: 13px; color: var(--ink-2); }

.x15-nick { margin-top: 12px; padding: 10px 12px; font-size: 15px; color: var(--ink-2); border: 2px dashed var(--line); }
.x15-nick.is-ok { color: var(--ink); border: 2px solid var(--good); background: color-mix(in oklab, var(--good) 14%, #000); }
.x15-nick.is-ok .x15-pix { display: block; font-size: 9px; color: var(--good); margin-bottom: 4px; }
.x15-nick.is-ok b { display: block; font-size: 18px; }
.x15-nick.is-bad { color: #FFD3DD; border: 2px solid var(--hot); background: color-mix(in oklab, var(--hot) 14%, #000); }

/* tab kelompok & cari nominal */
.x15-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 10px; padding-bottom: 4px; }
.x15-tabs::-webkit-scrollbar { display: none; }
.x15-chip { flex: none; min-height: 44px; padding: 0 14px; border: 3px solid #000; border-radius: 0; background: var(--panel-2); font: 700 15px var(--f-txt); cursor: pointer; color: var(--ink); box-shadow: 0 3px 0 #000; }
.x15-chip small { font-weight: 500; color: var(--ink-2); margin-left: 4px; }
.x15-chip.is-active { background: var(--accent); color: var(--on-accent); }
.x15-chip.is-active small { color: inherit; }
.x15-nomcari { margin-bottom: 4px; }
.x15-tier { font: 700 15px var(--f-txt); color: var(--ink); margin: 18px 0 0; }
.x15-nom-group:first-child .x15-tier { margin-top: 8px; }

/* ITEM SHOP: kartu nominal */
.x15-noms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.x15-grp { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); margin: 8px 0 -4px; display: flex; align-items: center; gap: 8px; }
.x15-grp .x15-pix { font-size: 9px; color: var(--brand-2); }
.x15-nom {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 10px 10px 12px; min-height: 112px; min-width: 0; cursor: pointer;
  background: var(--panel); border: 3px solid #000; box-shadow: inset 0 0 0 2px var(--panel-2), 4px 4px 0 #000; color: var(--ink);
}
.x15-nom input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
/* Gambar nominal (partial ikon-nominal) atau sprite permata bertingkat —
   menempel di pojok kanan atas supaya kartu tetap pendek. */
.x15-nom .ff-nom-gbr, .x15-nom-spr { position: absolute; top: 8px; right: 8px; margin: 0; }
.x15-nom .ff-nom-gbr { width: 36px; height: 36px; object-fit: contain; }
.x15-nom-spr { width: 44px; height: 33px; }
.x15-nom .ff-nom-gbr + .x15-nom-spr { display: none; }
.x15-nom-name { font: 700 15px/1.25 var(--f-txt); overflow-wrap: anywhere; padding-right: 44px; min-height: 38px; }
.x15-nom .ff-coret { font-size: 13px; color: #9C9AC9 !important; margin-top: 4px; }
.x15-nom-price { margin-top: auto; padding-top: 4px; font: 700 19px/1.1 var(--f-txt); color: var(--accent-2); font-variant-numeric: tabular-nums; }
.x15-nom-kaki { margin-top: 6px; }
.x15-nom:has(input:checked), .x15-nom.is-active {
  background: color-mix(in oklab, var(--brand) 16%, var(--panel));
  box-shadow: inset 0 0 0 3px var(--brand), 0 0 0 3px #000, 0 0 24px var(--glow);
}
.x15-nom:has(input:checked)::before, .x15-nom.is-active::before {
  content: "\25B6"; position: absolute; left: -13px; top: 50%; margin-top: -9px; color: var(--accent-2); font: 400 13px/18px var(--f-pix);
  animation: x15-senggol .6s steps(2) infinite;
}
@keyframes x15-senggol { 50% { transform: translateX(3px); } }
.x15-nom:has(input:focus-visible) { outline: 3px solid var(--accent-2); outline-offset: 3px; }

/* kasir */
.x15-kanan { margin-top: 22px; }
.x15-sum-h { font: 700 17px var(--f-txt); margin-bottom: 8px; }
.x15-sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.x15-sum-row span:first-child { color: var(--ink-2); flex: none; }
.x15-sum-row span:last-child { text-align: right; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.x15-sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 3px dashed #ffffff30; margin-top: 8px; padding-top: 12px; }
.x15-sum-total span { font-size: 14px; color: var(--ink-2); font-weight: 700; }
.x15-sum-total b { font: 700 28px var(--f-txt); color: var(--accent-2); font-variant-numeric: tabular-nums; }
.x15-sum .ff-total-qris { color: var(--ink-2); }
.x15-qris-note { display: flex; gap: 10px; align-items: center; margin-top: 14px; color: var(--ink-2); font-size: 14px; }
.x15-qris-note b { font-size: 9px; color: #000; background: #fff; padding: 6px; flex: none; }
#x15Saldo { margin-top: 10px; }

/* BILAH BAYAR = panel kontrol + LCD */
.x15-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; display: flex; align-items: center; gap: 12px;
  padding: 8px max(12px, calc((100vw - 560px) / 2)) max(10px, env(safe-area-inset-bottom));
  background: linear-gradient(#2A2766, #1A1846); border-top: 4px solid #000; box-shadow: 0 -4px 0 color-mix(in oklab, var(--brand) 35%, #2A2766) inset;
}
.x15-lcd { position: relative; flex: 1; min-width: 0; background: #06150F; border: 3px solid #000; box-shadow: inset 0 0 0 2px #ffffff14, inset 0 0 18px #000; padding: 7px 26px 7px 12px; overflow: hidden; }
.x15-lcd::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 2px, #0005 2px 4px); pointer-events: none; }
#x15BarItem { display: block; font: 700 14px/1.25 var(--f-txt); color: #A9F0C9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#x15BarTotal { display: block; font: 700 26px/1.1 var(--f-txt); color: var(--accent-2); text-shadow: 0 0 10px color-mix(in oklab, var(--accent) 55%, transparent); font-variant-numeric: tabular-nums; }
.x15-lcd .ff-total-qris { color: #A9F0C9; }
.x15-bar.is-kosong #x15BarTotal { color: #6F9C84; text-shadow: none; }
.x15-slot { position: absolute; right: 8px; top: 8px; width: 8px; height: 24px; background: #000; border: 2px solid var(--accent); }
.x15-lcd.is-flash { animation: x15-flash .5s steps(2) 2; }
@keyframes x15-flash { 50% { filter: brightness(2.2); } }
.x15-bar .x15-abtn { width: 80px; height: 80px; }
.x15-bar .x15-abtn:disabled { filter: grayscale(1) brightness(.6); cursor: not-allowed; }
.x15-has-bar { --tab-h: 104px; }
.x15-has-bar .x15-ctrl { display: none; }

/* koin INSERT COIN + CREDIT + konfirmasi */
.x15-coin-fx { position: fixed; z-index: 80; left: 0; top: 0; width: 48px; height: 48px; pointer-events: none; }
.x15-coin-fx .x15-spr { width: 100%; height: 100%; animation: x15-putar .32s steps(4) infinite; }
@keyframes x15-putar { 0% { transform: scaleX(1); } 25% { transform: scaleX(.5); } 50% { transform: scaleX(.12); } 75% { transform: scaleX(.5); } }
.x15-credit-pop {
  position: fixed; z-index: 81; left: 0; right: 0; top: 38%; font-size: 22px; line-height: 1.4; color: var(--accent-2); text-align: center;
  text-shadow: 4px 4px 0 var(--hot); pointer-events: none; opacity: 0; background: #000e; padding: 22px 0 18px; border-block: 4px solid var(--accent);
}
.x15-credit-pop small { display: block; font-size: 11px; color: var(--ink); text-shadow: 2px 2px 0 #000; }
.x15-credit-pop.is-on { animation: x15-pop 1s steps(8) forwards; }
@keyframes x15-pop { 0% { opacity: 1; transform: scale(2.2); } 20% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; } }
.x15-confirm { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; background: #000b; padding: 12px; }
.x15-confirm .x15-dlg { width: 100%; max-width: 520px; margin-bottom: max(108px, env(safe-area-inset-bottom)); animation: x15-naik .25s steps(5) both; }
@keyframes x15-naik { from { transform: translateY(40px); opacity: 0; } }
.x15-confirm .x15-dim { font-size: 15px; }
.x15-yn { display: flex; gap: 10px; margin-top: 16px; }
.x15-yn button { flex: 1; min-height: 52px; border: 3px solid #000; border-radius: 0; background: var(--panel-2); font: 700 16px var(--f-txt); text-align: left; padding: 0 12px; cursor: pointer; color: var(--ink); }
.x15-yn button:first-child { background: var(--accent); color: var(--on-accent); }
.x15-yn .x15-pix { font-size: 11px; }

.x15-fold { margin-top: 12px; background: var(--panel); border: 3px solid #000; }
.x15-fold summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; font-weight: 700; cursor: pointer; list-style: none; }
.x15-fold summary::-webkit-details-marker { display: none; }
.x15-fold summary::after { content: "+"; font: 400 14px var(--f-pix); color: var(--accent-2); }
.x15-fold[open] summary::after { content: "-"; }
.x15-fold > div { padding: 0 14px 14px; color: var(--ink-2); font-size: 15px; }
.x15-fold ol { padding-left: 20px; margin: 0; }

/* ulasan bersama di dalam bingkai tema */
.x15-ulasan { max-width: var(--ff-wrap); margin: 0 auto; padding: 0 var(--ff-gutter); }

/* ═══ PESANAN ═══ */
.x15-nota { padding-top: 18px; }
.x15-ordhead { text-align: center; padding: 6px 0 4px; }
.x15-ord-stage { font-size: 16px; color: var(--accent-2); text-shadow: 3px 3px 0 #000; margin-bottom: 8px; }
.x15-ord-stage.is-ok { color: var(--good); }
.x15-ord-stage.is-bad { color: #FF9DB4; }
.x15-ordhead h1 { font: 700 22px/1.25 var(--f-txt); }
.x15-ordhead p + p { margin-top: 8px; }
.x15-map { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 22px 0 6px; padding: 0; text-align: center; list-style: none; }
.x15-map::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 26px; height: 4px; background: repeating-linear-gradient(90deg, var(--ink-2) 0 8px, transparent 8px 14px); }
.x15-map li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font: 700 14px/1.2 var(--f-txt); color: var(--ink-2); }
.x15-node { width: 56px; height: 56px; display: grid; place-items: center; background: var(--panel); border: 4px solid #000; outline: 3px solid var(--panel-2); font-size: 14px; color: var(--ink-2); }
.x15-map small { font-weight: 500; font-size: 13px; }
.x15-map .is-now { color: var(--accent-2); }
.x15-map .is-now .x15-node { background: var(--accent); color: var(--on-accent); outline-color: var(--accent); animation: x15-bob 1s steps(2) infinite; }
.x15-map .is-done .x15-node { background: var(--good); color: #002; }
.x15-map .is-done { color: var(--ink); }
.x15-map .is-bad .x15-node { background: var(--hot); color: #fff; }
.x15-map .is-bad { color: #FF9DB4; }
.x15-stagebox { margin-top: 22px; padding: 18px 16px; text-align: center; }
.x15-stagebox > p { margin-top: 10px; font-size: 15px; }
.x15-stagebox-top { display: flex; justify-content: space-between; align-items: center; }
.x15-tag-qris { font-size: 10px; background: #fff; color: #000; padding: 6px; }
.x15-timer { font-size: 10px; color: var(--ink-2); }
.x15-timer em { font-style: normal; margin-left: 6px; font-size: 16px; color: #FF9DB4; }
.x15-amount { margin: 16px 0 6px; }
.x15-amount span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; }
.x15-amount b { display: block; font: 700 34px/1.1 var(--f-txt); color: var(--accent-2); margin-top: 6px; font-variant-numeric: tabular-nums; }
.x15-stagebox-ikon { display: flex; justify-content: center; }
.x15-stagebox-ikon .x15-spr { width: 72px; height: 54px; }
.x15-stagebox.is-ok { box-shadow: 0 -4px 0 0 var(--good), 0 4px 0 0 var(--good), -4px 0 0 0 var(--good), 4px 0 0 0 var(--good), 0 8px 0 0 #000a, 4px 8px 0 0 #000a, 8px 4px 0 0 #000a; }
.x15-stagebox.is-bad { box-shadow: 0 -4px 0 0 var(--hot), 0 4px 0 0 var(--hot), -4px 0 0 0 var(--hot), 4px 0 0 0 var(--hot), 0 8px 0 0 #000a, 4px 8px 0 0 #000a, 8px 4px 0 0 #000a; }
.x15-stagebox .x15-btn-full { margin-top: 16px; }
.x15-serial { margin-top: 14px; padding: 12px; background: #000; border: 3px dashed var(--good); text-align: left; }
.x15-serial .x15-pix { display: block; font-size: 9px; color: var(--good); margin-bottom: 6px; }
.x15-serial code { font: 700 18px/1.3 ui-monospace, monospace; overflow-wrap: anywhere; user-select: all; }
.x15-rinci { margin-top: 26px; }
.x15-kode { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; font-size: 14px; }
.x15-kode-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #000; border: 3px solid var(--line); padding: 4px 4px 4px 12px; }
.x15-kode-in b { font-size: 18px; overflow-wrap: anywhere; }
.x15-rinci dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; font-size: 15px; margin: 0; }
.x15-rinci dt { color: var(--ink-2); }
.x15-rinci dd { margin: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.x15-rinci .x15-tot { border-top: 3px dashed #ffffff30; padding-top: 10px; font-size: 18px; }
.x15-rinci dd.x15-tot { color: var(--accent-2); }
.x15-hint-box { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px; background: color-mix(in oklab, var(--brand) 10%, #000); border: 3px solid var(--line); }
.x15-hint-box .x15-spr { width: 24px; height: 24px; color: var(--brand-2); }
.x15-hint-box p { font-size: 15px; }

/* ═══ HALAMAN BIASA (cek, akun, katalog) ═══ */
.x15-hal { padding-top: 18px; }
.x15-halhead { margin-bottom: 16px; }
.x15-halhead-pix { font-size: 12px; color: var(--brand-2); text-shadow: 2px 2px 0 #000; margin-bottom: 6px; }
.x15-halhead h1 { font: 700 26px/1.2 var(--f-txt); }
.x15-halhead p.x15-dim { margin-top: 4px; }
.x15-sempit { max-width: 620px; }
.x15-hal form.x15-dlg .x15-label { margin-top: 0; }
.x15-hal .x15-rows { margin-top: 12px; }
.x15-katnav { position: sticky; top: 64px; z-index: 20; background: color-mix(in oklab, var(--crt) 94%, transparent); padding: 8px 0 0; margin: 0 calc(var(--ff-gutter) * -1) 12px; padding-inline: var(--ff-gutter); border-bottom: 4px solid #000; }
.x15-katalog .x15-blok { margin-top: 16px; }
.x15-profil-in { display: flex; align-items: center; gap: 12px; }
.x15-profil-in > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.x15-profil-in strong { font-size: 18px; overflow-wrap: anywhere; }
.x15-profil-av { width: 52px; height: 52px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 18px; border: 3px solid #000; flex: none; }
.x15-saldo { margin-top: 18px; }
.x15-saldo-pix { font-size: 9px; color: var(--brand-2); margin-bottom: 6px; }
.x15-saldo-amt { font: 700 30px/1.15 var(--f-txt); color: var(--accent-2); margin-top: 4px; font-variant-numeric: tabular-nums; }
.x15-keluar { margin-top: 26px; }

/* ═══ KAKI (CREDITS) ═══ */
.x15-foot { margin-top: 48px; padding: 30px 0 26px; border-top: 4px solid #000; background: #08071A; }
.x15-foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.x15-foot-toko { grid-column: 1 / -1; }
.x15-foot-h { font-size: 12px; color: var(--brand-2); margin-bottom: 10px; }
.x15-foot-nama { font: 700 18px var(--f-txt); }
.x15-foot-toko .x15-dim { font-size: 14px; margin-top: 4px; }
.x15-foot-kontak { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.x15-foot .ff-kaki-judul { font-family: var(--f-txt); font-weight: 700; color: var(--ink-2); }
.x15-foot .ff-kaki-list a { color: var(--ink); }
.x15-foot .ff-kaki-kol:last-child:has(.ff-sosial) { grid-column: 1 / -1; }
.x15-bayar { margin-top: 24px; padding-top: 18px; border-top: 2px dashed #ffffff1c; }
.x15-bayar-h { font-size: 9px; color: var(--ink-2); margin-bottom: 10px; }
.x15-bayar-list { display: flex; flex-wrap: wrap; gap: 6px; }
.x15-bayar-list span { font: 700 13px var(--f-txt); padding: 5px 8px; background: var(--panel); border: 2px solid #000; box-shadow: inset 0 0 0 1px var(--panel-2); }
.x15-foot-copy { margin-top: 18px; color: var(--ink-2); font-size: 13px; }
.x15-foot-go { margin-top: 12px; font-size: 9px; color: var(--accent-2); }

/* sosial (partial bersama) — bentuk kotak tanpa sudut */
.x15 .ff-sosial { --ffs-r: 0px; --ffs-rp: 0px; }

/* ═══ formulir bersama (masuk-akun, akun-sandi) — cadangan sampai
   KelasForm t15 dipasang integrator ═══ */
.x15 .gm-label { display: block; font-size: 14px; color: var(--ink-2); margin: 12px 0 6px; }
.x15 .gm-btn, .x15 .gm-btn-primary { min-height: 48px; border: 0; border-radius: 0; background: var(--accent); color: var(--on-accent); font-weight: 700; box-shadow: inset -4px -4px 0 color-mix(in oklab, var(--accent) 55%, #000), 0 4px 0 #000; }

/* ═══ DESKTOP ≥1024px ═══ */
@media (min-width: 1024px) {
  :root { --tab-h: 0px; --ff-gutter: 32px; }
  .x15-has-bar { --tab-h: 0px; }
  body { padding-bottom: 0; }
  .x15-ctrl { display: none; }
  .x15-top-in { height: 72px; gap: 20px; }
  .x15-brand { flex: none; max-width: 260px; }
  .x15-topnav { display: flex; gap: 8px; flex-wrap: nowrap; min-width: 0; overflow: hidden; }
  .x15-topnav a { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--panel-2); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
    box-shadow: inset -3px -3px 0 #0006, inset 3px 3px 0 #fff2; }
  .x15-topnav a .x15-spr, .x15-topnav a svg { width: 16px; height: 16px; }
  .x15-topnav a[aria-current] { background: color-mix(in srgb, var(--brand) 34%, var(--panel-2)); box-shadow: inset 0 0 0 2px var(--brand); }
  .x15-proof { bottom: 20px; }

  .x15-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: end; padding-top: 28px; }
  .x15-cab { padding: 12px; margin-bottom: 4px; }
  .x15-lit { padding: 16px 10px 12px; margin: -12px -12px 12px; }
  .x15-logo-type { font-size: clamp(24px, 3vw, 40px); }
  .x15-lit-sub { font-size: 10px; margin-top: 10px; }
  .x15-screen { border-radius: 18px / 22px; }
  .x15-cab-foot { margin-top: 10px; }
  .x15-press { font-size: 11px; }
  .x15-intro { padding: 0 0 12px; align-self: center; }
  .x15-fakta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; }
  .x15-fakta > div { background: #06150F; border: 3px solid #000; box-shadow: inset 0 0 0 2px #ffffff14; padding: 10px 12px; }
  .x15-fakta dt { font-size: 9px; color: #A9F0C9; }
  .x15-fakta dd { margin: 6px 0 0; font: 700 17px/1.2 var(--f-txt); color: var(--accent-2); }
  .x15-intro-h { font-size: 26px; line-height: 1.3; color: var(--ink-2); margin-bottom: 18px; white-space: normal; }
  .x15-intro-h span { display: inline; color: var(--ink); }
  .x15-cats { padding-left: 0; }
  .x15-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 18px; }
  .x15-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
  .x15-cols > :only-child { grid-column: 1 / -1; }
  .x15-cols-akun { grid-template-columns: 1fr 1.3fr; }
  .x15-sec { margin-top: 36px; }

  .x15-head { grid-template-columns: 140px minmax(0, 1fr); gap: 20px; }
  .x15-head-art { width: 140px; height: 140px; }
  .x15-head h1 { font-size: 28px; }
  .x15-head h1.is-pix { font-size: 22px; }
  .x15-beli-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
  .x15-kanan { position: sticky; top: 92px; margin-top: 22px; }
  .x15-noms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .x15-bar { position: static; margin-top: 18px; padding: 0; background: none; border: 0; box-shadow: none; }
  .x15-confirm { align-items: center; }
  .x15-confirm .x15-dlg { margin-bottom: 0; }
  .x15-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .x15-rinci { margin-top: 22px; }
  .x15-katnav { top: 76px; }
  .x15-foot-cols { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
  .x15-foot-toko { grid-column: auto; }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .x15-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .x15-noms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* HP sempit: kartu nominal & ubin rapat */
@media (max-width: 380px) {
  .x15-grid { gap: 14px 8px; }
  .x15-nom-name { font-size: 14px; }
  .x15-tile-nama { font-size: 13px; }
  .x15-noms { gap: 10px; }
  .x15-nom { padding: 10px; }
  .x15-nom-price { font-size: 17px; }
  .x15-dpad a { font-size: 12px; }
  .x15-abtn { width: 70px; height: 70px; }
  .x15-bar .x15-abtn { width: 74px; height: 74px; }
  .x15-save small { font-size: 12px; }
}

/* HP: halaman beli dipadatkan (hero kecil, paragraf turun ke SEO saja) */
@media (max-width: 720px) {
  .x15-desk { display: none; }
}

/* ═══ GERAK DIMATIKAN ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .x15-ribbon { white-space: normal; }
  .x15-ribbon-trek { flex-wrap: wrap; padding: 8px 14px; }
  .x15-ribbon-trek > [aria-hidden="true"] { display: none; }
  .x15-caret { display: none; }
  .x15-power::after { display: none; }
}

/* ═══ Teks beraksen di partial bersama → tinta terbaca (--accent-2).
   Partial bersama menulis `color: var(--accent)`; aksen gelap seller
   (#0044FF) cuma 2,6:1 di kanvas CRT. Latar beraksen tak disentuh. ═══ */
.x15 .ff-lp-all, .x15 .ff-lp-harga, .x15 .ff-lp-back, .x15 .ff-lp-hargabesar, .x15 .ff-lp-teks a,
.x15 .ff-alat-back, .x15 .ff-promo-kicker, .x15 .ff-promo-habis, .x15 .ff-promo-head svg,
.x15 .ff-fk-nom b, .x15 .ff-art-body a, .x15 .ff-tmp-btn, .x15 .ff-tmp-btn span { color: var(--accent-2) !important; }
.x15 .ff-kaki-judul { opacity: 1 !important; color: var(--ink-2) !important; }
.x15 .x15-nom .ff-coret { opacity: 1 !important; color: #B9B7E3 !important; }

/* ═══ Review A (10 Nov) ═══════════════════════════════════════════════
   Nama nominal "86 Diamonds ( 78 + 8 Bonus )" dipecah: angka utama tebal,
   rincian bonus kecil di bawahnya (tak lagi pecah jadi 3 baris berkurung).
   Kelompok >16 nominal dilipat ke 12 kartu + tombol "Tampilkan semua".   */
.x15-nom-sub { display: block; margin-top: 2px; font: 500 13px/1.3 var(--f-txt); color: var(--ink-2); }
.x15-nom-name { min-height: 0; }
.x15-nom-group.is-lipat:not(.is-cari) .x15-lebih { display: none; }
.x15-lagi { margin-top: 16px; }
.x15-row-2 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.x15-top, .x15-katnav { background: var(--crt); }
body .x15-nom .ff-coret, body .ff-coret { opacity: 1; }
.x15 .ffkp input, .x15 .ffkp button { border-radius: 0; border: 3px solid #000; min-height: 44px; }
.x15 .ffkp input { background: #05051a; box-shadow: inset 0 0 0 2px var(--line); color: var(--ink); }
.x15 .ffkp button { background: var(--panel-2); box-shadow: inset -3px -3px 0 #0007, inset 3px 3px 0 #fff2, 0 3px 0 #000; }
