/* Sippiw Labs — toko publik. Satu file CSS (CSP: style-src 'self'; font-src 'self').
   Font di-self-host (woff2 latin di public/fonts, disajikan di /static/fonts), BUKAN dari host luar:
   Space Grotesk = display, DM Sans = body, JetBrains Mono = angka. src relatif ke /static/ (seperti logo.webp). */

/* Space Grotesk — display (judul). */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/space-grotesk-600.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-grotesk-700.woff2") format("woff2");
}
/* DM Sans — body. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/dm-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/dm-sans-700.woff2") format("woff2");
}
/* JetBrains Mono — angka (harga, jumlah, key). */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jetbrains-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/jetbrains-mono-500.woff2") format("woff2");
}

:root {
  /* v3.16 "navy chunky": flat navy surfaces, 2px dark outlines, SOLID offset shadows (no glow, no gradient, no glass). */
  --bg0: #0a1230;
  --bg1: #0a1230;
  --bg2: #0f1b42;
  --bg-deep: #08102a;
  --surface: #111d45;
  --surface-2: #0f1b42;
  --surface-3: #16275c;
  --outline: #050a1c;
  --line: #2b3f7a;
  --line-2: #2b3f7a;
  --field: #0b1638;
  --blue: #1f6fff;
  /* #1f6fff + white text is 4.4:1 (fails AA for small text): small white text sits on --blue-ink (5.9:1). */
  --blue-ink: #1a5ae0;
  --sky: #3aa0ff;
  --ice: #a9d1ff;
  --cta-ink: #04122e;
  --text: #dfe8ff;
  --text-2: #c5d3f5;
  --heading: #ffffff;
  --muted: #a4b5dd;
  --faint: #8ea4d6;
  --danger: #ff4d6d;
  --danger-ink: #1a0509;
  --success: #2ee59d;
  --warn: #ffc857;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1200px;
  --hdr-h: 68px;
  /* Display face: self-hosted Space Grotesk (woff2 @font-face di atas, CSP-safe: style-src/font-src 'self'). */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  /* Alias lama (dipakai banyak aturan): semuanya warna SOLID sekarang. */
  --card-bg: var(--surface);
  --surface-1: var(--surface);
  --grad-cta: var(--sky);
  --btn-blue-fill: var(--sky);
  /* Bentuk: kartu 12, tombol 10, tag 6, pil 999. */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 12px;
  --r-xl: 12px;
  --r-2xl: 12px;
  --r-3xl: 12px;
  --r-pill: 999px;
  --bw: 2px;
  /* Bayangan keras (offset solid, tanpa blur). */
  --sh-press: 2px 2px 0 var(--outline);
  --sh-sm: 3px 3px 0 var(--outline);
  --sh: 4px 4px 0 var(--outline);
  --sh-md: 4px 4px 0 var(--outline);
  --sh-card: 5px 5px 0 var(--outline);
  --sh-hover: 6px 6px 0 var(--outline);
  /* v3.18 tema: token yang berganti nilai di tema terang (blok di bawah). Isi warna terang (--sky, --ice, --blue,
     --warn, --danger) + tinta gelapnya TIDAK berganti: kontrasnya sama di kedua tema. */
  --on-blue: #fff; /* teks di atas isi biru / merah / media (putih di kedua tema) */
  --dot: rgba(143, 168, 230, 0.075); /* grid titik latar */
  --tint-rgb: 255, 255, 255; /* lapisan tipis di atas permukaan (rgba(var(--tint-rgb), a)) */
  --well-rgb: 4, 8, 20; /* sumur / isian gelap di dalam kartu (rgba(var(--well-rgb), a)) */
  --ghost-line: var(--line); /* garis tombol sekunder (terang: garis navy seperti tombol lain) */
  /* Cincin logo (latar logo hitam): biru-navy terang di tema gelap supaya bingkai 2px terlihat; navy di tema terang. */
  --logo-ring: var(--line);
  /* Toggle ikon tema (display): ikon bulan di tema gelap, matahari di tema terang. */
  --when-dark: block;
  --when-light: none;
  /* Token KHUSUS TEMA TERANG (sengaja tidak diisi di sini): --accent, --accent-2, --success-text, --warn-text,
     --danger-text, --info-text, --panel, --media, --tone-keep, --tone-line. Setiap pemakaian membawa warna gelap lamanya
     sebagai cadangan var(--token, <warna gelap>), jadi tema gelap tampil persis seperti sebelum v3.18.
     --tone-line = garis tombol bernada (soft / selesai / gagal): nada di tema gelap, navy di tema terang. */
  color-scheme: dark;
}

/* v3.18 tema TERANG = biru + putih, bahasa "chunky" yang sama (garis navy 2px + bayangan solid navy).
   TERANG = BAWAAN: berlaku untuk semua pengunjung kecuali yang memilih gelap (server merender
   <html data-theme="dark"> dari cookie sippiw_theme). Token :root di atas = tema gelap. */
:root:not([data-theme="dark"]) {
  --bg0: #f3f7ff;
  --bg1: #f3f7ff;
  --bg2: #e8f0ff;
  --bg-deep: #e3ecff;
  --surface: #ffffff;
  --surface-2: #e8f0ff;
  --surface-3: #d6e4ff;
  --outline: #0b1430;
  --line: #b9cdf5;
  --line-2: #b9cdf5;
  --field: #ffffff;
  --text: #0b1430;
  --text-2: #26365f;
  --heading: #0b1430;
  --muted: #42557f;
  --faint: #4a5d86;
  --success: #12b886;
  --dot: rgba(11, 20, 48, 0.09);
  --tint-rgb: 11, 20, 48;
  --well-rgb: 214, 228, 255;
  --ghost-line: var(--outline);
  --logo-ring: var(--outline);
  --star-off: #b9cdf5;
  --when-dark: none;
  --when-light: block;
  --accent: #1a5ae0;
  --accent-2: #1747b8;
  --success-text: #08704a;
  --warn-text: #855000;
  --danger-text: #c0113a;
  --info-text: #26365f;
  --panel: #ffffff;
  --media: #dbe6fb;
  --tone-keep: 40%;
  --tone-line: var(--outline);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg0);
  scroll-padding-top: calc(var(--hdr-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg0);
  /* Satu-satunya pola latar: grid titik navy halus (seperti kertas bertitik di referensi). */
  background-image: radial-gradient(var(--dot) 1px, transparent 1.4px);
  background-size: 22px 22px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent, var(--sky));
}

strong,
b {
  font-weight: 700;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

::selection {
  background: rgba(58, 160, 255, 0.38);
  color: var(--on-blue);
}

:focus-visible {
  outline: 2px solid var(--accent, var(--sky));
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* v3.23.1: kata bertanda hubung di judul (mis. "Ready-to-use") tidak dipatah di tanda hubungnya. */
.nowrap {
  white-space: nowrap;
}

.no-js [data-js-only] {
  display: none !important;
}

.skip {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--on-blue);
  background: var(--blue);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}

.skip:focus {
  top: 12px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.icon-xs {
  width: 13px;
  height: 13px;
}

.mono {
  font-family: var(--mono);
}

.muted {
  color: var(--muted);
}

code {
  font-family: var(--mono);
}

.main {
  position: relative;
  z-index: 1;
  flex: 1;
  outline: none;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.page {
  padding: clamp(22px, 4vw, 40px) 0 clamp(48px, 7vw, 88px);
}

/* ---------- Latar ---------- */

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes fade-out {
  to {
    opacity: 0;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

/* ---------- Merek ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  position: relative;
  flex: none;
}

.brand-logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-spring);
}

.brand:hover .brand-logo img {
  transform: rotate(-8deg) scale(1.06);
}

.brand-name {
  font-size: 15.5px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-silver {
  color: var(--heading);
}

.brand-blue {
  color: var(--accent, var(--sky));
}

.grad,
.hl {
  color: var(--accent, var(--sky));
}

.grad-green {
  color: var(--success-text, var(--success));
}

/* ---------- Header ---------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(var(--well-rgb), 0.66);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.hdr.is-scrolled {
  background: rgba(var(--well-rgb), 0.86);
}

.hdr.is-open {
  background: var(--panel, #050816);
}

.hdr-in {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100% - 2 * var(--gutter), var(--container));
  min-height: var(--hdr-h);
  margin-inline: auto;
  padding-top: env(safe-area-inset-top);
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(var(--tint-rgb), 0.025);
  border: 1px solid rgba(122, 162, 255, 0.08);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.nav-ico {
  width: 16px;
  height: 16px;
  color: var(--faint);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--heading);
  background: rgba(58, 160, 255, 0.1);
}

.nav-link:hover .nav-ico,
.nav-link[aria-current="page"] .nav-ico {
  color: var(--accent, var(--sky));
}

.nav-link[aria-current="page"] {
  color: var(--on-blue);
  background: rgba(31, 111, 255, 0.16);
}

.nav-extra {
  display: none;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.hdr-burger {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(var(--tint-rgb), 0.04);
  color: var(--text);
  cursor: pointer;
}

.hdr-burger .i-close,
.hdr.is-open .hdr-burger .i-open {
  display: none;
}

.hdr.is-open .hdr-burger .i-close {
  display: block;
}

/* Menu akun (details/summary: tetap jalan tanpa JS) */
.umenu {
  position: relative;
}

.umenu-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 3px 10px 3px 3px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(var(--tint-rgb), 0.04);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.25s;
}

.umenu-btn::-webkit-details-marker {
  display: none;
}

.umenu-btn:hover,
.umenu[open] .umenu-btn {
  border-color: rgba(58, 160, 255, 0.55);
  background: rgba(58, 160, 255, 0.1);
}

.umenu-name {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
}

.umenu-chev {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform 0.25s var(--ease-out);
}

.umenu[open] .umenu-chev {
  transform: rotate(180deg);
}

.umenu-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 50;
  width: 280px;
  padding: 8px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  animation: pop-in 0.28s var(--ease-out) both;
}

.umenu:not([open]) .umenu-pop {
  display: none;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
}

.umenu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.umenu-who {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.umenu-who strong {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.umenu-who > span {
  font-size: 13px;
  color: var(--muted);
}

.umenu-who .vbadge {
  margin-top: 4px;
}

.umenu-form {
  margin: 0;
}

.umenu-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.umenu-item .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.umenu-item:hover {
  color: var(--heading);
  background: rgba(58, 160, 255, 0.1);
}

.umenu-item:hover .icon {
  color: var(--accent, var(--sky));
}

.umenu-item--warn,
.umenu-item--warn .icon {
  color: var(--warn-text, var(--warn));
}

.umenu-item--danger:hover {
  color: var(--danger-text, #ffb3c2);
  background: rgba(255, 77, 109, 0.12);
}

.umenu-item--danger:hover .icon {
  color: var(--danger-text, var(--danger));
}

/* Avatar */
.avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  color: var(--on-blue);
  font-weight: 800;
  background: var(--blue-ink);
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--media, #1a2547);
}

.avatar--sm {
  width: 34px;
  height: 34px;
  font-size: 14px;
}

.avatar--md {
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.avatar--lg {
  width: 60px;
  height: 60px;
  font-size: 24px;
}

.avatar--xl {
  width: 84px;
  height: 84px;
  font-size: 34px;
}

.vbadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.vbadge .icon {
  width: 14px;
  height: 14px;
}

.vbadge--ok {
  color: var(--success-text, var(--success));
  background: rgba(46, 229, 157, 0.1);
  border: 1px solid rgba(46, 229, 157, 0.35);
}

.vbadge--warn {
  color: var(--warn-text, var(--warn));
  background: rgba(255, 200, 87, 0.1);
  border: 1px solid rgba(255, 200, 87, 0.38);
}

/* Pengumuman */
.announce {
  position: relative;
  z-index: 2;
  background: var(--surface-3);
  border-bottom: 1px solid rgba(58, 160, 255, 0.28);
}

.announce-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--info-text, #dceaff);
}

.announce-in p {
  margin: 0;
  overflow-wrap: anywhere;
}

.announce-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--on-blue);
  background: rgba(31, 111, 255, 0.45);
}

.announce-icon .icon {
  width: 15px;
  height: 15px;
}

.closed-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--warn-text, #ffe6b0);
  background: rgba(255, 200, 87, 0.1);
  border: 1px solid rgba(255, 200, 87, 0.38);
}

.closed-bar .icon {
  color: var(--warn-text, var(--warn));
}

.closed-bar p {
  margin: 0;
  font-size: 14.5px;
}

.closed-bar strong {
  color: var(--warn-text, #fff3d6);
}

.page .closed-bar {
  margin: 0 0 18px;
}

/* ---------- Tombol ---------- */

.btn {
  --btn-h: 46px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--btn-h);
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: transform 0.18s var(--ease-out), box-shadow 0.3s, background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-2, var(--ice));
  outline-offset: 3px;
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-arrow {
  transition: transform 0.25s var(--ease-out);
}

.btn:hover:not(:disabled):not(.is-disabled) .btn-arrow {
  transform: translateX(3px);
}

.btn--primary {
  color: var(--on-blue);
  background: var(--btn-blue-fill);
}

.btn--primary:hover:not(:disabled):not(.is-disabled) {
  transform: translateY(-1px);
}

.btn--primary:active:not(:disabled) {
  transform: translateY(2px) scale(0.99);
}

.btn--green {
  color: #03140c;
  background: var(--success);
}

.btn--green:hover:not(:disabled):not(.is-disabled) {
  transform: translateY(-1px);
}

.btn--green .btn-spinner {
  border-color: rgba(3, 20, 12, 0.25);
  border-top-color: #03140c;
}

.btn--discord {
  color: var(--on-blue);
  background: var(--blue-ink);
}

.btn--discord:hover {
  transform: translateY(-1px);
}

.btn--light {
  color: #18205a;
  background: #fff;
}

.btn--light:hover {
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(var(--tint-rgb), 0.04);
  border-color: var(--line-2);
}

.btn--ghost:hover:not(:disabled):not(.is-disabled) {
  background: rgba(58, 160, 255, 0.11);
  border-color: rgba(58, 160, 255, 0.5);
}

.btn--warn {
  color: #2a1d00;
  background: var(--warn);
}

.btn--warn:hover {
  transform: translateY(-1px);
}

.btn--danger {
  color: var(--on-blue);
  background: var(--danger);
}

.btn--danger:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn--danger-soft {
  color: var(--danger-text, #ff9cb0);
  background: rgba(255, 77, 109, 0.08);
  border-color: rgba(255, 77, 109, 0.3);
}

.btn--danger-soft:hover:not(:disabled) {
  color: var(--on-blue);
  background: rgba(255, 77, 109, 0.2);
  border-color: rgba(255, 77, 109, 0.6);
}

.btn--lg {
  --btn-h: 54px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 16px;
}

.btn--sm {
  --btn-h: 38px;
  gap: 7px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 14px;
}

.btn--sm .icon {
  width: 16px;
  height: 16px;
}

.btn--xs {
  --btn-h: 30px;
  gap: 6px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 12.5px;
}

.btn--xs .icon {
  width: 14px;
  height: 14px;
}

.btn--block {
  width: 100%;
  --btn-h: 54px;
  font-size: 16px;
  border-radius: 12px;
}

.btn.is-done {
  color: var(--success-text, #c9ffe9);
  border-color: rgba(46, 229, 157, 0.55);
  background: rgba(46, 229, 157, 0.14);
  box-shadow: none;
}

.btn.is-failed {
  color: var(--danger-text, #ffc9d3);
  border-color: rgba(255, 77, 109, 0.55);
}

.btn-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 2.5px solid rgba(var(--tint-rgb), 0.3);
  border-top-color: var(--heading);
  opacity: 0;
  pointer-events: none;
}

.btn.is-loading,
.link-btn.is-loading {
  pointer-events: none;
}

.btn.is-loading > :not(.btn-spinner),
.link-btn.is-loading > :not(.btn-spinner) {
  opacity: 0;
}

.btn.is-loading .btn-spinner,
.link-btn.is-loading .btn-spinner {
  opacity: 1;
  animation: spin 0.7s linear infinite;
}

.btn--sm .btn-spinner {
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-width: 2px;
}

.link-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--accent-2, var(--ice));
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.link-btn .icon {
  width: 17px;
  height: 17px;
}

.link-btn:hover {
  color: var(--heading);
  background: rgba(58, 160, 255, 0.1);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-row--center {
  justify-content: center;
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

.inline-center {
  display: flex;
  justify-content: center;
  margin: 6px 0 0;
}

/* ---------- Bagian (section) ---------- */

.section {
  position: relative;
  z-index: 1;
  padding: clamp(52px, 8vw, 104px) 0 0;
}

.section--tight {
  padding-top: clamp(40px, 6vw, 72px);
}

.sec-head {
  margin: 0 0 clamp(22px, 3vw, 34px);
}

.sec-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
}

.sec-head--center {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.sec-head--center .eyebrow {
  justify-content: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent, var(--sky));
}

.eyebrow .icon {
  width: 16px;
  height: 16px;
}

.eyebrow--green {
  color: var(--success-text, var(--success));
}

.sec-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.sec-lead {
  max-width: 560px;
  margin: 10px 0 0;
  font-size: 16px;
  color: var(--muted);
}

.sec-head--center .sec-lead {
  margin-inline: auto;
}

.sec-lead strong {
  color: var(--text);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  overflow: clip;
  padding: clamp(36px, 6vw, 84px) 0 clamp(48px, 7vw, 96px);
}

.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.hero-copy > * {
  animation: rise 0.9s var(--ease-out) both;
}

.hero-copy > :nth-child(1) { animation-delay: 0.1s; }
.hero-copy > :nth-child(2) { animation-delay: 0.2s; }
.hero-copy > :nth-child(3) { animation-delay: 0.3s; }
.hero-copy > :nth-child(4) { animation-delay: 0.4s; }
.hero-copy > :nth-child(5) { animation-delay: 0.5s; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2, var(--ice));
  background: rgba(var(--well-rgb), 0.66);
  border: 1px solid rgba(58, 160, 255, 0.38);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 70px);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.hero-title .hl {
  position: relative;
}

/* Marker/underline accent under the highlighted tail words (reference look). Painted as a swash below
   the glyphs so it does not fight the gradient background-clip:text fill. */

.hero-lead {
  max-width: 540px;
  margin: 20px 0 0;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-2);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust .icon {
  width: 18px;
  height: 18px;
  color: var(--accent, var(--sky));
}

/* ---------- Katalog ---------- */

.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(var(--tint-rgb), 0.03);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.25s;
}

.chip .icon {
  width: 15px;
  height: 15px;
}

.chip:hover {
  color: var(--heading);
  border-color: rgba(58, 160, 255, 0.45);
}

.chip-n {
  font-size: 11.5px;
  opacity: 0.7;
}

.chip[aria-pressed="true"],
.chip[aria-current="true"] {
  color: var(--on-blue);
  background: rgba(31, 111, 255, 0.24);
  border-color: rgba(58, 160, 255, 0.7);
}

.search {
  position: relative;
  display: block;
  width: 240px;
  max-width: 100%;
}

.search .icon {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  color: var(--faint);
  pointer-events: none;
  transition: color 0.2s;
}

.search:focus-within .icon {
  color: var(--accent, var(--sky));
}

.search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 38px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(var(--well-rgb), 0.66);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}

.search input::placeholder {
  color: var(--faint);
}

.search input:focus {
  border-color: rgba(58, 160, 255, 0.85);
}

.search input::-webkit-search-cancel-button {
  filter: invert(0.7) sepia(1) hue-rotate(180deg);
  cursor: pointer;
}

.price {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.price strong {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price small {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.price--xl strong {
  font-size: clamp(30px, 3.2vw, 38px);
}

.price--sm strong {
  font-size: 16px;
}

/* Badge kategori */
.cat {
  --c: 58, 160, 255;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  height: 28px;
  padding: 0 11px 0 9px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 750;
  color: color-mix(in srgb, rgb(var(--c)) var(--tone-keep, 100%), #000);
  background: var(--surface-2);
  border: 1px solid rgba(var(--c), 0.42);
}

.cat .icon {
  width: 14px;
  height: 14px;
}

.cat--sm {
  height: 24px;
  font-size: 11.5px;
}

.cat--kit {
  --c: 169, 209, 255;
}

.cat--robux {
  --c: 46, 229, 157;
}

.cat--lainnya {
  --c: 200, 210, 232;
}

/* Gambar pengganti (produk tanpa foto) */
.ph {
  --c: 58, 160, 255;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--surface-3);
}

.ph--kit {
  --c: 169, 209, 255;
}

.ph--robux {
  --c: 46, 229, 157;
}

.ph--lainnya {
  --c: 190, 205, 235;
}

.ph-glyph {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  color: color-mix(in srgb, rgb(var(--c)) var(--tone-keep, 100%), #000);
  background: rgba(var(--c), 0.14);
  border: 1px solid rgba(var(--c), 0.45);
}

.ph-glyph .icon {
  width: 34px;
  height: 34px;
}

.ph-name {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(var(--c), 0.55);
}

.ph--lg {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}

.ph--lg .ph-glyph {
  width: 110px;
  height: 110px;
  border-radius: 12px;
}

.ph--lg .ph-glyph .icon {
  width: 52px;
  height: 52px;
}

.ph--sm .ph-glyph {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.ph--sm .ph-glyph .icon {
  width: 18px;
  height: 18px;
}

.ph--sm .ph-name {
  display: none;
}

/* Kosong */
.empty {
  padding: 40px 20px 42px;
  text-align: center;
  color: var(--muted);
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 12px;
  color: var(--accent, var(--sky));
  background: rgba(31, 111, 255, 0.1);
  border: 1px solid rgba(58, 160, 255, 0.28);
}

.empty strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  color: var(--text);
}

.empty p {
  max-width: 380px;
  margin: 0 auto;
  font-size: 14px;
}

.empty .btn {
  margin-top: 16px;
}

.empty--search {
  margin-top: 8px;
  border-radius: 12px;
  border: 1px dashed var(--line-2);
}

/* ---------- Panel ---------- */

.panel {
  position: relative;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 24px);
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 16px;
}

.panel-head .panel-title {
  margin: 0;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
}

.panel-title .icon {
  width: 19px;
  height: 19px;
  color: var(--accent, var(--sky));
}

.panel-lead {
  margin: -4px 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.panel-lead strong {
  color: var(--text-2);
}

.narrow {
  max-width: 520px;
}

/* ---------- Robux ---------- */

.robux {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  overflow: hidden;
  padding: clamp(22px, 4vw, 48px);
  border-radius: var(--r-3xl);
  background: var(--surface);
  border: 1px solid rgba(46, 229, 157, 0.24);
}

.rate {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0;
  padding: 10px 16px 10px 10px;
  border-radius: 12px;
  background: rgba(46, 229, 157, 0.08);
  border: 1px solid rgba(46, 229, 157, 0.32);
}

.rate-k {
  padding: 4px 10px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #03140c;
  background: var(--success);
}

.rate strong {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.checks {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-2);
}

.checks .icon {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 7px;
  color: var(--success-text, var(--success));
  background: rgba(46, 229, 157, 0.12);
}

.checks--panel {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.checks--panel .icon {
  color: var(--accent, var(--sky));
  background: rgba(58, 160, 255, 0.12);
}

.robux-card {
  position: relative;
  padding: 22px;
  border-radius: 12px;
  background: rgba(var(--well-rgb), 0.66);
  border: 1px solid rgba(122, 162, 255, 0.2);
}

.robux-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.robux-card-head .icon {
  width: 18px;
  height: 18px;
  color: var(--success-text, var(--success));
}

.robux-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--faint);
}

.robux-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}

/* Kalkulator */
.calc-label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
}

.calc-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  gap: 8px;
}

.no-js .calc-row {
  grid-template-columns: minmax(0, 1fr);
}

.calc-btn {
  display: grid;
  place-items: center;
  height: 58px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(var(--tint-rgb), 0.04);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.25s;
}

.calc-btn:hover:not(:disabled) {
  border-color: rgba(46, 229, 157, 0.55);
  background: rgba(46, 229, 157, 0.1);
}

.calc-btn:active:not(:disabled) {
  transform: scale(0.94);
}

.calc-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.calc-field {
  position: relative;
}

.calc-unit {
  position: absolute;
  left: 14px;
  top: 50%;
  display: flex;
  color: var(--success-text, var(--success));
  transform: translateY(-50%);
  pointer-events: none;
}

.calc-input {
  width: 100%;
  height: 58px;
  padding: 0 14px 0 46px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--field);
  color: var(--heading);
  font-size: 24px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.3s;
  -moz-appearance: textfield;
  appearance: textfield;
}

.calc-input::-webkit-inner-spin-button,
.calc-input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.calc-input:focus {
  border-color: rgba(46, 229, 157, 0.85);
}

.calc.is-invalid .calc-input {
  border-color: rgba(255, 77, 109, 0.75);
}

.calc-rule {
  margin: 8px 2px 0;
  font-size: 12.5px;
  color: var(--faint);
}

.calc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}

.calc-preset {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(var(--tint-rgb), 0.03);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.25s;
}

.calc-preset:hover:not(:disabled) {
  color: var(--heading);
  border-color: rgba(46, 229, 157, 0.5);
}

.calc-preset[aria-pressed="true"] {
  color: #03140c;
  background: var(--success);
  border-color: var(--success);
}

.calc-error {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--danger-text, #ff8aa0);
}

@keyframes bump {
  40% {
    transform: scale(1.04);
  }
}

/* ---------- Kenapa kami ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
}

.feature {
  position: relative;
  overflow: hidden;
  padding: 24px 22px 24px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 160, 255, 0.4);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 0 18px;
  border-radius: 12px;
  color: var(--on-blue);
  background: var(--blue-ink);
}

.feature-icon .icon {
  width: 23px;
  height: 23px;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Cara beli ---------- */

.howto {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.howto::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
}

.howto-step {
  position: relative;
  text-align: center;
}

.howto-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 12px;
  color: var(--accent-2, var(--ice));
  background: var(--surface);
  border: 1px solid rgba(58, 160, 255, 0.45);
}

.howto-icon .icon {
  width: 28px;
  height: 28px;
}

.howto-num {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: -8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 22px;
  border-radius: 50%;
  font-size: 12.5px;
  font-weight: 850;
  color: var(--on-blue);
  background: var(--blue-ink);
}

.howto-step h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
}

.howto-step p {
  max-width: 250px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--muted);
}

.howto-cta {
  display: flex;
  justify-content: center;
  margin: 34px 0 0;
}

/* ---------- Kontak (beranda) ---------- */

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 56px);
  padding: clamp(22px, 4vw, 44px);
  border-radius: var(--r-3xl);
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-copy .btn {
  margin-top: 22px;
}

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 0 0;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--text-2);
  background: rgba(31, 111, 255, 0.08);
  border: 1px solid rgba(58, 160, 255, 0.22);
  overflow-wrap: anywhere;
}

.contact-note .icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--accent, var(--sky));
}

.channels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ch {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 8px;
  border-radius: 12px;
  background: rgba(var(--well-rgb), 0.55);
  border: 1px solid var(--line);
  transition: border-color 0.25s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}

.ch:hover {
  border-color: rgba(58, 160, 255, 0.4);
  transform: translateX(3px);
}

.ch-main {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 4px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
}

.ch-icon {
  --c: 58, 160, 255;
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: color-mix(in srgb, rgb(var(--c)) var(--tone-keep, 100%), #000);
  background: rgba(var(--c), 0.14);
  border: 1px solid rgba(var(--c), 0.4);
}

.ch-icon--server,
.ch-icon--discord {
  --c: 169, 209, 255;
}

.ch-icon--wa {
  --c: 46, 229, 157;
}

.ch-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ch-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.ch-value {
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ch-go {
  width: 17px;
  height: 17px;
  margin-left: auto;
  color: var(--faint);
  transition: color 0.2s, transform 0.25s var(--ease-out);
}

.ch-main:hover .ch-go {
  color: var(--accent, var(--sky));
  transform: translateX(3px);
}

.copy-btn {
  flex: none;
}

/* ---------- CTA Discord ---------- */

.dcta {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
  overflow: hidden;
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--r-3xl);
  background: var(--blue-ink);
}

.dcta-glyph {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  color: var(--on-blue);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dcta-glyph .icon {
  width: 42px;
  height: 42px;
}

.dcta-copy h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 850;
  letter-spacing: -0.015em;
  color: var(--on-blue);
}

.dcta-copy p {
  margin: 6px 0 0;
  font-size: 15px;
  color: rgba(235, 240, 255, 0.85);
}

/* ---------- Footer ---------- */

.ftr {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 8vw, 104px);
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.ftr-in {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  padding: clamp(36px, 5vw, 56px) 0 30px;
}

.ftr-brand p {
  max-width: 340px;
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.ftr-safe {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px !important;
}

.ftr-safe .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--success-text, var(--success));
}

.ftr-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ftr-col h2 {
  margin: 4px 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

.ftr-col a {
  padding: 5px 0;
  font-size: 14.5px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.ftr-col a:hover {
  color: var(--heading);
}

.ftr-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  padding: 18px 0 max(24px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--faint);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  z-index: 70;
  right: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(400px, calc(100vw - 32px));
  padding: 14px 12px 16px 15px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--panel, #0a1026);
  border: 1px solid var(--line-2);
  animation: toast-in 0.6s var(--ease-spring) 0.35s both;
}

.toast--ok {
  color: var(--success);
  border-color: rgba(46, 229, 157, 0.42);
}

.toast--error {
  color: var(--danger);
  border-color: rgba(255, 77, 109, 0.48);
}

.toast-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: currentColor;
}

.toast-icon .icon {
  width: 18px;
  height: 18px;
  color: #04110c;
}

.toast--error .toast-icon .icon {
  color: var(--on-blue);
}

.toast-msg {
  flex: 1;
  margin: 5px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.toast-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.toast-close:hover {
  color: var(--heading);
  background: rgba(var(--tint-rgb), 0.08);
}

.toast-close .icon {
  width: 16px;
  height: 16px;
}

.toast-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: currentColor;
  transform-origin: left;
  opacity: 0.8;
  animation: toast-bar 6s linear 0.95s both;
}

.toast:hover .toast-bar {
  animation-play-state: paused;
}

.toast.is-out {
  animation: toast-out 0.35s ease-in forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.94);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateX(40px) scale(0.96);
  }
}

@keyframes toast-bar {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* ---------- Modal konfirmasi ---------- */

.modal {
  width: 420px;
  max-width: calc(100vw - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}

.modal::backdrop {
  background: rgba(2, 4, 10, 0.7);
  animation: fade-in 0.25s ease both;
}

.modal[open] .modal-card {
  animation: modal-in 0.45s var(--ease-spring) both;
}

.modal.is-closing .modal-card {
  animation: modal-out 0.18s ease-in forwards;
}

.modal.is-closing::backdrop {
  animation: fade-out 0.18s ease-in forwards;
}

.modal-card {
  padding: 28px 24px 22px;
  border-radius: 12px;
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(255, 77, 109, 0.32);
}

.modal-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 12px;
  color: var(--danger-text, #ff6b86);
  background: rgba(255, 77, 109, 0.13);
  border: 1px solid rgba(255, 77, 109, 0.4);
}

.modal-icon .icon {
  width: 26px;
  height: 26px;
}

.modal h2 {
  margin: 16px 0 6px;
  font-size: 19px;
  font-weight: 800;
}

.modal p {
  margin: 0 0 22px;
  font-size: 14.5px;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }
}

@keyframes modal-out {
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
}

/* ---------- Breadcrumb + kepala halaman ---------- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 20px;
  font-size: 13.5px;
  color: var(--muted);
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.crumbs a:hover {
  color: var(--heading);
}

.crumbs .icon {
  width: 15px;
  height: 15px;
}

.crumb-sep {
  width: 14px !important;
  height: 14px !important;
  color: var(--faint);
}

.crumbs [aria-current] {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-weight: 650;
}

.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
  animation: rise 0.7s var(--ease-out) both;
}

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.page-lead {
  margin: 8px 0 0;
  font-size: 15.5px;
  color: var(--muted);
}

.page-head-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-head--order .page-title .mono {
  letter-spacing: 0.04em;
}

/* Banner */
.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 12px;
  animation: rise 0.7s var(--ease-out) 0.1s both;
}

.banner p {
  flex: 1 1 260px;
  margin: 0;
  font-size: 14.5px;
}

.banner strong {
  color: var(--heading);
}

.banner-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.banner--warn {
  color: var(--warn-text, #ffe6b0);
  background: rgba(255, 200, 87, 0.1);
  border: 1px solid rgba(255, 200, 87, 0.38);
}

.banner--warn .banner-icon {
  color: var(--warn-text, var(--warn));
  background: rgba(255, 200, 87, 0.14);
}

.banner--danger {
  color: var(--danger-text, #ffd3dc);
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.4);
}

.banner--danger .banner-icon {
  color: var(--danger-text, var(--danger));
  background: rgba(255, 77, 109, 0.14);
}

.banner--info {
  color: var(--info-text, #d6e8ff);
  background: rgba(31, 111, 255, 0.1);
  border: 1px solid rgba(58, 160, 255, 0.32);
}

.banner--info .banner-icon {
  color: var(--accent, var(--sky));
  background: rgba(58, 160, 255, 0.14);
}

/* Status pesanan */
.status {
  --c: 138, 148, 173;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 27px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 750;
  white-space: nowrap;
  color: color-mix(in srgb, rgb(var(--c)) var(--tone-keep, 100%), #000);
  background: rgba(var(--c), 0.12);
  border: 1px solid rgba(var(--c), 0.38);
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.status--warn {
  --c: 255, 200, 87;
}

.status--sky {
  --c: 58, 160, 255;
}

.status--ice {
  --c: 169, 209, 255;
}

.status--success {
  --c: 46, 229, 157;
}

.status--danger {
  --c: 255, 110, 140;
}

.status--warn::before,
.status--sky::before,
.status--ice::before {
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
  transition: background-size 0.3s var(--ease-out), color 0.2s;
}

.link:hover {
  color: var(--accent-2, var(--ice));
  background-size: 100% 1px;
}

.link .icon {
  color: var(--faint);
}

/* ---------- Detail produk ---------- */

.pd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  grid-template-areas:
    "gallery side"
    "desc side";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 20px clamp(18px, 3vw, 32px);
}

.pd-gallery {
  grid-area: gallery;
  min-width: 0;
  animation: rise 0.7s var(--ease-out) both;
}

.pd-desc {
  grid-area: desc;
  animation: rise 0.7s var(--ease-out) 0.15s both;
}

.pd-side {
  grid-area: side;
  position: sticky;
  top: calc(var(--hdr-h) + 18px);
  display: grid;
  gap: 12px;
  min-width: 0;
  animation: rise 0.7s var(--ease-out) 0.1s both;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: var(--media, #060b1c);
  border: 1px solid var(--line);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.6s var(--ease-out);
}

.gallery-main img.is-swapping {
  opacity: 0;
  transform: scale(1.02);
}

.gallery-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 750;
  background: rgba(3, 5, 12, 0.72);
  border: 1px solid var(--line-2);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin: 12px 0 0;
  padding: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 162, 255, 0.3) transparent;
}

.thumb {
  flex: none;
  width: 108px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid transparent;
  outline-offset: 2px;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s, box-shadow 0.25s;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover {
  opacity: 0.95;
}

.thumb[aria-pressed="true"] {
  opacity: 1;
  border-color: var(--accent, var(--sky));
}

.gallery--empty .ph {
  border: 1px solid var(--line);
}

.prose {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 14px;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose h3 {
  margin: 22px 0 8px;
  font-size: 17px;
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li {
  margin: 0 0 6px;
}

.prose li::marker {
  color: var(--accent, var(--sky));
}

.buy {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(20px, 2.4vw, 26px);
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(58, 160, 255, 0.24);
}

.buy .checks--panel {
  margin-top: 4px;
}

.buy-title {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.buy-short {
  margin: -6px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.buy-price {
  padding: 14px 0 2px;
  border-top: 1px solid var(--line);
}

.buy-rate {
  font-size: 14.5px;
  color: var(--text-2);
}

.buy-rate strong {
  color: var(--success-text, var(--success));
}

.buy-hint {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.buy-hint .icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--accent, var(--sky));
}

.buy-hint--warn .icon {
  color: var(--warn-text, var(--warn));
}

.buy-hint a {
  color: var(--accent-2, var(--ice));
  font-weight: 650;
}

.pd-help {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  background: rgba(var(--well-rgb), 0.5);
  border: 1px solid var(--line);
  transition: border-color 0.2s, background-color 0.2s;
}

.pd-help:hover {
  border-color: rgba(58, 160, 255, 0.45);
  background: rgba(31, 111, 255, 0.08);
}

.pd-help > .icon:first-child {
  color: var(--accent, var(--sky));
}

.pd-help b {
  color: var(--accent-2, var(--ice));
}

.pd-help .btn-arrow {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--faint);
}

.buybar {
  display: none;
}

/* ---------- Auth ---------- */

.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  min-height: calc(100vh - var(--hdr-h) - 80px);
  min-height: calc(100dvh - var(--hdr-h) - 80px);
  padding: clamp(28px, 5vw, 64px) 0;
}

.auth--single {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.auth-aside {
  max-width: 520px;
  animation: rise 0.9s var(--ease-out) 0.1s both;
}

.auth-art {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 0 26px;
}

.auth-art img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.auth-aside-title {
  margin: 0 0 22px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.auth-points {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15.5px;
  color: var(--text-2);
}

.auth-points strong {
  color: var(--heading);
}

.auth-point-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--accent, var(--sky));
  background: rgba(31, 111, 255, 0.12);
  border: 1px solid rgba(58, 160, 255, 0.32);
}

.auth-point-icon .icon {
  width: 19px;
  height: 19px;
}

/* Kartu kaca */
.gcard {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 460px;
  border-radius: 12px;
  animation: card-in 0.9s var(--ease-out) both;
}

.gcard--wide {
  max-width: 660px;
}

.gcard--msg {
  max-width: 540px;
}

.gcard-body {
  position: relative;
  padding: 34px 32px 28px;
}

.gcard-body > * {
  animation: rise 0.7s var(--ease-out) both;
}

.gcard-body > :nth-child(1) { animation-delay: 0.08s; }
.gcard-body > :nth-child(2) { animation-delay: 0.13s; }
.gcard-body > :nth-child(3) { animation-delay: 0.18s; }
.gcard-body > :nth-child(4) { animation-delay: 0.23s; }
.gcard-body > :nth-child(5) { animation-delay: 0.28s; }
.gcard-body > :nth-child(6) { animation-delay: 0.33s; }
.gcard-body > :nth-child(n + 7) { animation-delay: 0.38s; }

.gcard.is-ready {
  animation: none;
}

.gcard.is-shaking {
  animation: card-shake 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.gcard-title {
  margin: 0 0 8px;
  text-align: center;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.gcard-lead {
  max-width: 440px;
  margin: 0 auto 22px;
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
}

.gcard-lead strong {
  color: var(--text);
}

.gcard-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 6px;
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.gcard-alt a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-2, var(--ice));
  font-weight: 700;
  text-decoration: none;
}

.gcard-alt a:hover {
  color: var(--heading);
  text-decoration: underline;
}

.gcard-alt .icon {
  width: 15px;
  height: 15px;
}

.gcard-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12.5px;
  color: var(--faint);
}

.gcard-note .icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  vertical-align: -3px;
  color: var(--success-text, var(--success));
}

@keyframes card-in {
  from {
    transform: translateY(26px) scale(0.955);
  }
  to {
    transform: none;
  }
}

@keyframes card-shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-11px); }
  30% { transform: translateX(10px); }
  45% { transform: translateX(-8px); }
  60% { transform: translateX(6px); }
  75% { transform: translateX(-3px); }
  90% { transform: translateX(2px); }
}

/* Emblem */
.emblem {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
}

.emblem-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.emblem-badge {
  position: absolute;
  right: -4px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--on-blue);
  background: var(--blue-ink);
}

.emblem-badge .icon {
  width: 17px;
  height: 17px;
}

/* Peringatan password Roblox */
.warnbox {
  display: flex;
  gap: 13px;
  margin: 0 0 20px;
  padding: 14px 15px;
  border-radius: 12px;
  color: var(--warn-text, #ffe2c2);
  background: rgba(255, 150, 80, 0.1);
  border: 1px solid rgba(255, 170, 90, 0.6);
}

.warnbox-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #2a0f00;
  background: var(--warn);
}

.warnbox strong {
  display: block;
  font-size: 15.5px;
  font-weight: 850;
  color: var(--heading);
}

.warnbox p {
  margin: 3px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
}

.warnbox b {
  color: var(--heading);
}

/* Pesan / alert */
.alert-slot:empty {
  display: none;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  animation: alert-in 0.45s var(--ease-out) both;
}

.alert .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.alert a {
  color: inherit;
  font-weight: 700;
}

.alert--error {
  color: var(--danger-text, #ffc9d3);
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.38);
}

.alert--error .icon {
  color: var(--danger-text, var(--danger));
}

.alert--info {
  color: var(--info-text, #cfe5ff);
  background: rgba(31, 111, 255, 0.12);
  border: 1px solid rgba(58, 160, 255, 0.35);
}

.alert--info .icon {
  color: var(--accent, var(--sky));
}

.alert--ok {
  color: var(--success-text, #c4f8e2);
  background: rgba(46, 229, 157, 0.1);
  border: 1px solid rgba(46, 229, 157, 0.35);
}

.alert--ok .icon {
  color: var(--success-text, var(--success));
}

@keyframes alert-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
}

/* ---------- Form ---------- */

.form {
  margin: 0;
}

.form-meta {
  display: flex;
  justify-content: flex-end;
  margin: -4px 2px 16px;
}

.link-sm {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--accent-2, var(--ice));
  text-decoration: none;
}

.link-sm:hover {
  color: var(--heading);
  text-decoration: underline;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}

.field {
  position: relative;
  margin: 0 0 14px;
}

.field-input {
  display: block;
  width: 100%;
  height: 58px;
  padding: 22px 16px 7px 48px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--field);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.3s, background-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.field--toggle .field-input {
  padding-right: 54px;
}

.field-input::placeholder {
  color: transparent;
}

.field-input:hover {
  border-color: rgba(122, 170, 255, 0.38);
}

.field-input:focus {
  border-color: rgba(58, 160, 255, 0.9);
  background-color: rgba(var(--well-rgb), 0.85);
}

.field-input.is-invalid {
  border-color: rgba(255, 77, 109, 0.75);
}

.field-input:-webkit-autofill,
.field-input:-webkit-autofill:hover,
.field-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  -webkit-box-shadow: 0 0 0 100px var(--field) inset;
  transition: background-color 9999s ease 0s;
}

.field-label {
  position: absolute;
  left: 48px;
  top: 29px;
  max-width: calc(100% - 64px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(-50%);
  font-size: 15.5px;
  color: var(--muted);
  pointer-events: none;
  transition: top 0.22s var(--ease-out), font-size 0.22s var(--ease-out), color 0.2s, letter-spacing 0.22s;
}

.field--toggle .field-label {
  max-width: calc(100% - 110px);
}

.field-input:focus + .field-label,
.field-input:not(:placeholder-shown) + .field-label,
.field-input:-webkit-autofill + .field-label {
  top: 17px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--accent, var(--sky));
}

.field-input:not(:focus):not(:placeholder-shown) + .field-label {
  color: var(--muted);
}

.field-icon {
  position: absolute;
  left: 16px;
  top: 29px;
  display: flex;
  color: var(--faint);
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 0.2s, filter 0.2s;
}

.field:focus-within .field-icon {
  color: var(--accent, var(--sky));
}

.field-toggle {
  position: absolute;
  right: 8px;
  top: 29px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.2s, background-color 0.2s;
}

.field-toggle:hover {
  color: var(--text);
  background: rgba(122, 162, 255, 0.1);
}

.field-toggle .i-hide,
.field-toggle[aria-pressed="true"] .i-show {
  display: none;
}

.field-toggle[aria-pressed="true"] .i-hide {
  display: block;
}

.field-hint {
  margin: -6px 4px 14px;
  font-size: 12.5px;
  color: var(--faint);
}

.hint-warn {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: -6px 2px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--warn-text, #ffcf8a);
}

.hint-warn .icon {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: var(--warn-text, var(--warn));
}

.nowrap {
  white-space: nowrap;
}

.field--area .field-input {
  height: auto;
  min-height: 150px;
  padding: 28px 16px 12px;
  line-height: 1.55;
  resize: vertical;
}

.field--area .field-label {
  left: 16px;
}

.counter {
  margin: -8px 4px 14px;
  text-align: right;
  font-size: 12px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.counter.is-near {
  color: var(--warn-text, var(--warn));
}

.strength {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -4px 2px 16px;
}

.meter {
  display: flex;
  flex: 1;
  gap: 5px;
}

.meter span {
  flex: 1;
  height: 5px;
  border-radius: 5px;
  background: rgba(122, 162, 255, 0.14);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.meter[data-level="1"] span:nth-child(1) {
  background: var(--danger);
}

.meter[data-level="2"] span:nth-child(-n + 2) {
  background: var(--warn);
}

.meter[data-level="3"] span:nth-child(-n + 3) {
  background: var(--sky);
}

.meter[data-level="4"] span {
  background: var(--success);
}

.strength-label {
  min-width: 120px;
  text-align: right;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}

.match-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 18px;
  margin: -6px 2px 14px;
  font-size: 12.5px;
  font-weight: 650;
}

.match-hint:empty {
  display: none;
}

.match-hint::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.match-hint[data-state="ok"] {
  color: var(--success-text, var(--success));
}

.match-hint[data-state="bad"] {
  color: var(--danger-text, #ff8aa0);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 6px 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(var(--well-rgb), 0.4);
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.check:hover {
  border-color: rgba(58, 160, 255, 0.4);
  background: rgba(58, 160, 255, 0.06);
}

.check strong {
  color: var(--heading);
}

.check.is-attention {
  border-color: rgba(255, 200, 87, 0.7);
  background: rgba(255, 200, 87, 0.1);
  animation: card-shake 0.5s both;
}

.check input {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1.5px solid rgba(122, 162, 255, 0.5);
  border-radius: 7px;
  background: rgba(var(--well-rgb), 0.7);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.check input::after {
  content: "";
  width: 10px;
  height: 5.5px;
  margin-top: -2px;
  border: 2.5px solid var(--on-blue);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.25s var(--ease-spring);
}

.check input:checked {
  border-color: transparent;
  background: var(--blue-ink);
}

.check input:checked::after {
  transform: rotate(-45deg) scale(1);
}

.check:has(input:checked) {
  border-color: rgba(58, 160, 255, 0.5);
  background: rgba(31, 111, 255, 0.08);
}

/* Honeypot: tidak terlihat, tidak bisa difokus lewat Tab */
.hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: #04170f;
  background: var(--success);
}

.success-mark .icon {
  width: 30px;
  height: 30px;
  stroke-width: 3;
}

/* ---------- Verifikasi ---------- */

.verify-who {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 18px;
}

.verify-who > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.verify-who strong {
  font-size: 16px;
}

.verify-who > div > span:not(.vbadge) {
  font-size: 13px;
  color: var(--muted);
}

.verify-who .vbadge {
  margin-top: 4px;
}

.vcode {
  margin: 0 0 22px;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  background: var(--surface-2);
  border: 1px solid rgba(58, 160, 255, 0.4);
}

.vcode-label {
  display: block;
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.vcode-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
}

.vcode-code {
  font-size: clamp(26px, 5.4vw, 38px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--heading);
  user-select: all;
  overflow-wrap: anywhere;
}

.vcode-exp {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.vcode-exp .icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  vertical-align: -3px;
}

.vcode-exp b {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.is-expired .vcode-exp b,
.vcode-exp.is-expired b {
  color: var(--danger-text, #ff8aa0);
}

.vsteps {
  display: grid;
  gap: 4px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.vsteps li {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 10px 6px 12px;
  font-size: 14.5px;
  color: var(--text-2);
}

.vsteps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: -6px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}

.vsteps strong {
  color: var(--heading);
}

.vsteps em {
  font-style: normal;
  color: var(--accent-2, var(--ice));
}

.vstep-n {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 850;
  color: var(--accent-2, var(--ice));
  background: rgba(31, 111, 255, 0.16);
  border: 1px solid rgba(58, 160, 255, 0.45);
}

.vsteps li > div {
  padding-top: 3px;
}

.vstep-btn {
  margin: 10px 0 0;
}

.vsteps li > div .vstep-btn {
  display: flex;
  width: fit-content;
}

.tips {
  display: grid;
  gap: 8px;
  margin: 18px 0 6px;
  padding: 14px 14px;
  border-radius: 12px;
  list-style: none;
  background: rgba(var(--well-rgb), 0.45);
  border: 1px solid var(--line);
}

.tips li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
}

.tips .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--accent, var(--sky));
}

.tips b {
  color: var(--text-2);
  font-family: var(--mono);
}

/* Stepper (lupa password) */
.stepper {
  display: flex;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--faint);
}

.step::before {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(-50% + 24px);
  right: calc(50% + 24px);
  height: 2px;
  border-radius: 2px;
  background: var(--line-2);
}

.step:first-child::before {
  display: none;
}

.step.is-done::before,
.step.is-current::before {
  background: var(--sky);
}

.step-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  background: rgba(var(--well-rgb), 0.8);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 750;
}

.step-dot .icon {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}

.step.is-current .step-dot {
  color: var(--on-blue);
  border-color: var(--accent, var(--sky));
  background: var(--blue-ink);
}

.step.is-done .step-dot {
  color: var(--on-blue);
  border-color: transparent;
  background: var(--blue-ink);
}

.step-label {
  font-weight: 650;
}

.step.is-current .step-label {
  color: var(--text);
}

.step.is-done .step-label {
  color: var(--text-2);
}

/* ---------- Akun ---------- */

.acct {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.acct-side {
  position: sticky;
  top: calc(var(--hdr-h) + 18px);
  animation: rise 0.7s var(--ease-out) 0.1s both;
}

.acct-main {
  display: grid;
  gap: 0;
  min-width: 0;
  animation: rise 0.7s var(--ease-out) 0.18s both;
}

.no-js .acct-main {
  gap: 18px;
}

/* Tab akun di atas kartu profil + isi: bingkai ada di scroller (selalu selebar kedua kartu, tepi kiri/kanan rata dengan kartu),
   daftar tab di dalamnya tanpa bingkai dan digeser di dalam bingkai saat layar sempit. Selektor .tabs-scroller.acct-tabs supaya
   menang dari aturan .tabs-scroller (margin -4px) di bawah. */
.tabs-scroller.acct-tabs {
  margin: 0 0 18px;
  padding: 5px;
  background: var(--surface-2);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-sm);
  animation: rise 0.7s var(--ease-out) 0.05s both;
}

/* Tab dibagi rata selebar bingkai; layar sempit tetap bisa digeser (lebar minimal = isi). */
.acct-tabs .tabs {
  display: flex;
  width: max-content;
  min-width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.acct-tabs .tab {
  flex: 1 0 auto;
  justify-content: center;
}

.acct-tabs .tabs-indicator {
  top: 0;
  bottom: 0;
}

.profile {
  padding: 22px;
}

.profile-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.profile-who {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
  max-width: 100%;
}

.profile-name {
  max-width: 100%;
  overflow: hidden;
  font-size: 19px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-user {
  font-size: 14px;
  color: var(--muted);
}

.profile-who .vbadge {
  margin-top: 6px;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.profile-facts div {
  min-width: 0;
  text-align: center;
}

.profile-facts dt {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.profile-facts dd {
  margin: 3px 0 0;
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-facts .mono {
  font-size: 12.5px;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
}

/* Tab */
.tabs-scroller {
  margin: 0 -4px 16px;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-scroller::-webkit-scrollbar {
  display: none;
}

.tabs {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 12px;
  background: rgba(var(--well-rgb), 0.72);
  border: 1px solid var(--line);
}

.tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s;
}

.tab .icon {
  width: 17px;
  height: 17px;
}

.tab:hover {
  color: var(--text);
}

.tab[aria-selected="true"] {
  color: var(--on-blue);
}

.tab:focus-visible {
  outline-offset: -2px;
}

.tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 750;
  color: var(--text-2);
  background: rgba(122, 162, 255, 0.14);
}

/* Angka di tab terpilih: chip putih SOLID + tinta biru (5.9:1) di atas penanda biru (putih transparan hanya ~4:1). */
.tab[aria-selected="true"] .tab-count {
  color: var(--blue-ink);
  background: #fff;
}

.tab-count--hot {
  color: #2a1d00 !important;
  background: var(--warn) !important;
}

.tabs-indicator {
  position: absolute;
  z-index: 0;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: var(--w, 0);
  transform: translateX(var(--x, 0));
  border-radius: 12px;
  background: var(--blue-ink);
  transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out);
}

.tabs-indicator.no-anim {
  transition: none;
}

.tabpanel {
  outline: none;
}

.tabpanel.is-entering {
  animation: panel-in 0.45s var(--ease-out) both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* Daftar pesanan / produk / lisensi */
.olist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.orow {
  --c: 138, 148, 173;
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 14px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(var(--well-rgb), 0.5);
  border: 1px solid var(--line);
  transition: border-color 0.2s, background-color 0.2s, transform 0.25s var(--ease-out);
}

.orow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: rgb(var(--c));
}

.orow:hover {
  border-color: var(--line-2);
  background: rgba(31, 111, 255, 0.05);
}

.orow--warn {
  --c: 255, 200, 87;
}

.orow--sky {
  --c: 58, 160, 255;
}

.orow--ice {
  --c: 169, 209, 255;
}

.orow--success {
  --c: 46, 229, 157;
}

.orow--danger {
  --c: 255, 110, 140;
}

.orow-icon,
.owned-icon,
.lic-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--accent, var(--sky));
  background: rgba(31, 111, 255, 0.12);
  border: 1px solid rgba(58, 160, 255, 0.3);
}

.orow-main,
.owned-main,
.lic-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.orow-name,
.owned-name {
  overflow: hidden;
  font-size: 15.5px;
  font-weight: 750;
  color: var(--text);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orow-name:hover,
.owned-name:hover {
  color: var(--accent-2, var(--ice));
}

.orow-meta,
.owned-meta,
.lic-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  font-size: 13px;
  color: var(--muted);
}

.orow-meta code,
.owned-meta code {
  font-size: 12.5px;
  color: var(--text-2);
}

.owned-meta a {
  text-decoration: none;
}

.orow-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.orow-total {
  font-size: 16px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.owned,
.lic {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 14px;
  border-radius: 12px;
  background: rgba(var(--well-rgb), 0.5);
  border: 1px solid var(--line);
}

.owned-icon {
  color: var(--accent-2, var(--ice));
  background: rgba(169, 209, 255, 0.12);
  border-color: rgba(169, 209, 255, 0.32);
}

.lic-icon {
  color: var(--success-text, var(--success));
  background: rgba(46, 229, 157, 0.1);
  border-color: rgba(46, 229, 157, 0.3);
}

.owned-lic {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--success-text, var(--success));
}

.owned-lic .icon {
  width: 14px;
  height: 14px;
}

.owned-nofile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.owned-nofile .icon {
  width: 15px;
  height: 15px;
}

/* ---------- Checkout ---------- */

.co {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 390px);
  align-items: start;
  gap: clamp(16px, 2.6vw, 28px);
  margin: 0;
}

.co-main {
  display: grid;
  gap: 16px;
  min-width: 0;
  animation: rise 0.7s var(--ease-out) 0.08s both;
}

.co-main > .alert-slot .alert {
  margin: 0;
}

.co-side {
  position: sticky;
  top: calc(var(--hdr-h) + 18px);
  animation: rise 0.7s var(--ease-out) 0.16s both;
}

.co-legend {
  float: left;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  font-size: 17px;
  font-weight: 800;
}

.co-legend + * {
  clear: both;
}

.co-n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 850;
  color: var(--on-blue);
  background: var(--blue-ink);
}

.co-block .buy-rate {
  margin: 0 0 14px;
}

.co-block .field:last-child {
  margin-bottom: 0;
}

.explain {
  display: flex;
  gap: 12px;
  margin: 4px 0 0;
  padding: 14px;
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--text-2);
  background: rgba(31, 111, 255, 0.07);
  border: 1px solid rgba(58, 160, 255, 0.24);
}

.explain strong {
  display: block;
  margin-bottom: 3px;
  color: var(--heading);
}

.explain p {
  margin: 0;
}

.explain b {
  color: var(--heading);
}

.explain-sub {
  margin-top: 8px !important;
  font-size: 12.5px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.explain-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: var(--accent, var(--sky));
  background: rgba(58, 160, 255, 0.14);
}

.explain-icon .icon {
  width: 18px;
  height: 18px;
}

.summary .panel-title {
  margin-bottom: 16px;
}

.sum-product {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.sum-product > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.sum-product strong {
  font-size: 15.5px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.sum-thumb {
  display: block;
  flex: none;
  width: 86px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line-2);
}

.sum-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sum-lines {
  display: grid;
  gap: 9px;
}

.sum-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
}

.sum-line > span:last-child {
  min-width: 0;
  color: var(--text);
  font-weight: 650;
  text-align: right;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.sum-line a {
  color: var(--accent-2, var(--ice));
  text-decoration: none;
}

.sum-line--muted > span:last-child {
  color: var(--text-2);
  font-weight: 500;
}

.sum-line--uc > span:last-child {
  color: var(--warn-text, var(--warn));
}

.sum-lines--dates {
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--line-2);
}

.sum-lines--dates:empty {
  display: none;
}

.sum-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-2);
}

.sum-total span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
}

.sum-total small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--warn-text, var(--warn));
}

.sum-total strong {
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

.sum-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.sum-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--warn-text, var(--warn));
}

.sum-note b {
  color: var(--warn-text, var(--warn));
}

.sum-foot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--faint);
}

.sum-foot .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--success-text, var(--success));
}

.cancel-form {
  margin: 18px 0 0;
}

/* ---------- Pesanan ---------- */

.panel--steps {
  margin: 0 0 20px;
  padding: 22px clamp(14px, 2vw, 24px) 18px;
  animation: rise 0.7s var(--ease-out) 0.08s both;
}

.ostep {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ostep-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  text-align: center;
}

.ostep-item::before {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(-50% + 26px);
  right: calc(50% + 26px);
  height: 2px;
  border-radius: 2px;
  background: var(--line-2);
}

.ostep-item:first-child::before {
  display: none;
}

.ostep-item.is-done::before,
.ostep-item.is-current::before {
  background: var(--sky);
}

.ostep-item.is-error::before {
  background: var(--danger);
}

.ostep-dot {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  background: rgba(var(--well-rgb), 0.9);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.ostep-dot .icon {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}

.ostep-item.is-done .ostep-dot {
  color: var(--on-blue);
  border-color: transparent;
  background: var(--blue-ink);
}

.ostep-item.is-current .ostep-dot {
  color: var(--heading);
  border-color: var(--accent, var(--sky));
  background: var(--surface-3);
}

.ostep-item.is-error .ostep-dot {
  color: var(--on-blue);
  border-color: transparent;
  background: var(--danger);
}

.ostep-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--faint);
}

.ostep-item.is-done .ostep-label {
  color: var(--text-2);
}

.ostep-item.is-current .ostep-label {
  color: var(--heading);
}

.ostep-item.is-error .ostep-label {
  color: var(--danger-text, #ff8aa0);
}

.ostep-time {
  font-size: 11.5px;
  color: var(--faint);
}

.order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 370px);
  align-items: start;
  gap: clamp(16px, 2.6vw, 28px);
}

.order-main {
  display: grid;
  gap: 18px;
  min-width: 0;
  animation: rise 0.7s var(--ease-out) 0.14s both;
}

.order-main > .banner {
  margin: 0;
}

.order-side {
  position: sticky;
  top: calc(var(--hdr-h) + 18px);
  display: grid;
  gap: 12px;
  animation: rise 0.7s var(--ease-out) 0.2s both;
}

.pay-total {
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid rgba(58, 160, 255, 0.4);
}

.pay-total-k {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.pay-total-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 4px 0 0;
}

.bigtotal {
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: var(--heading);
}

.bigtotal-uc {
  margin-left: 1px;
  padding: 0 6px;
  border-radius: 10px;
  color: var(--warn-text, #ffd36b);
  background: rgba(255, 200, 87, 0.16);
}

.pay-total-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--text-2);
}

.pay-total-note .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--warn-text, var(--warn));
}

.pay-total-note b {
  color: var(--warn-text, #ffd36b);
}

.deadline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 200, 87, 0.07);
  border: 1px solid rgba(255, 200, 87, 0.3);
}

.deadline > div {
  display: flex;
  flex-direction: column;
  flex: 1 1 180px;
  min-width: 0;
}

.deadline-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--warn-text, var(--warn));
  background: rgba(255, 200, 87, 0.14);
}

.deadline-k {
  font-size: 12px;
  color: var(--muted);
}

.deadline strong {
  font-size: 15px;
}

.deadline-left {
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--warn-text, #ffe6b0);
  background: rgba(255, 200, 87, 0.12);
}

.deadline-left b {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--heading);
}

.deadline.is-expired {
  background: rgba(255, 77, 109, 0.08);
  border-color: rgba(255, 77, 109, 0.4);
}

.deadline.is-expired .deadline-left b {
  color: var(--danger-text, #ff8aa0);
}

.methods {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
}

.methods--2 {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.method {
  min-width: 0;
  padding: 16px;
  border-radius: 12px;
  background: rgba(var(--well-rgb), 0.5);
  border: 1px solid var(--line);
}

.method .alert {
  margin: 0;
}

.method-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 9px;
  margin: 0 0 14px;
}

.method-head .icon {
  width: 19px;
  height: 19px;
  color: var(--accent, var(--sky));
}

.method-head strong {
  font-size: 15.5px;
}

.method-head span {
  flex-basis: 100%;
  font-size: 12.5px;
  color: var(--muted);
}

.qris {
  display: block;
  width: min(100%, 300px);
  margin: 0 auto;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  transition: transform 0.3s var(--ease-out);
}

.qris:hover {
  transform: scale(1.015);
}

.qris img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.method-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.method-note b {
  color: var(--text);
}

.bank-lines {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bank-lines li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.bank-lines li.has-copy {
  padding: 10px 10px 10px 12px;
  background: rgba(31, 111, 255, 0.08);
  border: 1px solid rgba(58, 160, 255, 0.24);
}

.acct-no {
  display: block;
  margin: 1px 0;
  font-family: var(--mono);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--heading);
}

.instructions {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(var(--well-rgb), 0.45);
  border: 1px dashed var(--line-2);
}

.instructions h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
}

.instructions h3 .icon {
  width: 17px;
  height: 17px;
  color: var(--accent, var(--sky));
}

.instructions p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

/* Upload bukti */
.drop {
  position: relative;
  margin: 0 0 16px;
}

.drop-input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drop-input:focus-visible + .drop-zone {
  outline: 2px solid var(--accent, var(--sky));
  outline-offset: 3px;
}

.no-js .drop-input {
  position: static;
  height: auto;
  margin: 0 0 12px;
  opacity: 1;
}

.no-js .drop-zone {
  display: none;
}

.drop.has-file .drop-input {
  height: 0;
  pointer-events: none;
}

.drop-zone {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  background: var(--surface-2);
  border: 2px dashed rgba(122, 162, 255, 0.32);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.3s;
}

.drop:hover .drop-zone,
.drop.is-dragover .drop-zone {
  border-color: rgba(58, 160, 255, 0.75);
}

.drop.is-dragover .drop-zone {
  background-color: rgba(31, 111, 255, 0.1);
}

.drop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.drop-empty strong {
  font-size: 15px;
}

.drop-empty small {
  font-size: 12.5px;
  color: var(--muted);
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 0 6px;
  border-radius: 12px;
  color: var(--accent, var(--sky));
  background: rgba(31, 111, 255, 0.12);
  border: 1px solid rgba(58, 160, 255, 0.35);
}

.drop-icon .icon {
  width: 26px;
  height: 26px;
}

.drop-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.drop-preview img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 12px;
  object-fit: contain;
}

.drop-file {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  max-width: 100%;
  font-size: 13.5px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.drop-file small {
  font-weight: 500;
  color: var(--muted);
}

.drop.has-file .drop-zone {
  border-style: solid;
  border-color: rgba(46, 229, 157, 0.5);
}

.drop-clear {
  margin: 8px auto 0;
  display: flex;
}

/* Kartu status */
.state {
  --c: 138, 148, 173;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-color: rgba(var(--c), 0.35);
  background: var(--surface);
}

.state h2 {
  margin: 2px 0 6px;
  font-size: 19px;
  font-weight: 850;
}

.state p {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: var(--text-2);
}

.state p:last-child {
  margin-bottom: 0;
}

.state-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: color-mix(in srgb, rgb(var(--c)) var(--tone-keep, 100%), #000);
  background: rgba(var(--c), 0.14);
  border: 1px solid rgba(var(--c), 0.4);
}

.state-icon .icon {
  width: 24px;
  height: 24px;
}

.state--sky {
  --c: 58, 160, 255;
}

.state--ice {
  --c: 169, 209, 255;
}

.state--success {
  --c: 46, 229, 157;
}

.state--done .success-mark {
  flex: none;
  margin: 0;
}

.done-actions {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.done-actions .btn {
  width: fit-content;
}

.done-lic {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-2);
  background: rgba(31, 111, 255, 0.08);
  border: 1px solid rgba(58, 160, 255, 0.28);
}

.done-lic .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--accent, var(--sky));
}

.done-lic b {
  color: var(--heading);
}

.done-lic--green {
  background: rgba(46, 229, 157, 0.08);
  border-color: rgba(46, 229, 157, 0.32);
}

.done-lic--green .icon {
  color: var(--success-text, var(--success));
}

/* ---------- Kontak ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  align-items: start;
  gap: clamp(16px, 2.6vw, 28px);
}

.contact-form {
  animation: rise 0.7s var(--ease-out) 0.08s both;
}

.contact-side {
  display: grid;
  gap: 14px;
  animation: rise 0.7s var(--ease-out) 0.16s both;
}

.channels--stack .ch:hover {
  transform: none;
}

.panel--tip {
  border-color: rgba(46, 229, 157, 0.26);
  background: var(--surface);
}

.panel--tip h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 6px;
  font-size: 15px;
}

.panel--tip h3 .icon {
  width: 18px;
  height: 18px;
  color: var(--success-text, var(--success));
}

.panel--tip p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-2);
}

.panel--tip b {
  color: var(--heading);
}

.sent {
  padding: 18px 4px 8px;
  text-align: center;
}

.sent h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 850;
}

.sent p {
  max-width: 440px;
  margin: 0 auto 20px;
  color: var(--muted);
}

.sent .btn-row {
  justify-content: center;
}

.sent .success-mark .icon {
  stroke-width: 2.4;
}

/* ---------- Halaman pesan ---------- */

.page--message .gcard-body {
  text-align: center;
}

.msg-icon {
  --tone: var(--sky);
  --tone-rgb: 58, 160, 255;
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 4px auto 6px;
  border-radius: 12px;
  color: var(--tone);
  background: rgba(var(--tone-rgb), 0.12);
  border: 1px solid rgba(var(--tone-rgb), 0.4);
}

.msg-icon .icon {
  width: 34px;
  height: 34px;
}

.msg-code {
  margin: 6px 0 12px;
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--tone, var(--sky));
}

.tone-blue { --tone: var(--sky); --tone-rgb: 58, 160, 255; }
.tone-success { --tone: var(--success); --tone-rgb: 46, 229, 157; }
.tone-danger { --tone: #ff6b86; --tone-rgb: 255, 77, 109; }
.tone-warn { --tone: var(--warn); --tone-rgb: 255, 200, 87; }

/* ---------- Muncul saat digulir ---------- */

.js .reveal-ready {
  opacity: 0;
  transform: translateY(28px);
}

.js .reveal-ready.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out) var(--rd, 0s), transform 0.8s var(--ease-out) var(--rd, 0s);
}

/* ---------- Responsif ---------- */

@media (max-width: 1100px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ftr-in {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  }

  .methods--2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  :root {
    --hdr-h: 62px;
  }

  /* Menu HP (burger): lihat blok "v6: header" di bagian akhir file (breakpoint 1100px). */

  .hero-in {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-cta,
.hero-trust {
    justify-content: center;
  }

  .robux {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .pd,
.co,
.order,
.contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .pd {
    grid-template-areas:
      "gallery"
      "side"
      "desc";
    grid-template-rows: auto;
  }

  .pd-side,
.co-side,
.order-side {
    position: static;
  }

  .acct {
    grid-template-columns: minmax(0, 1fr);
  }

  .acct-side {
    position: static;
  }

  /* Tab ada di atas kedua kartu: isi tab tampil langsung di bawahnya, kartu profil pindah ke bawah. */
  .acct-main {
    order: -1;
  }

  /* Tab akun sedikit lebih rapat: muat tanpa digeser di tablet (~900px); lebih sempit lagi tetap digeser di dalam bingkai. */
  .acct-tabs .tab {
    padding: 0 12px;
  }

  .profile-top {
    flex-direction: row;
    text-align: left;
  }

  .profile-who {
    align-items: flex-start;
  }

  .profile-actions {
    justify-content: flex-start;
  }

  .auth {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .auth-aside {
    display: none;
  }

  .ftr-in {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ftr-brand {
    grid-column: 1 / -1;
  }

  .page--product .buybar {
    position: fixed;
    z-index: 35;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
    background: var(--panel, #060a1a);
    border-top: 1px solid var(--line-2);
    animation: buybar-in 0.5s var(--ease-out) 0.4s both;
  }

  .page--product .ftr {
    padding-bottom: 76px;
  }

  .buybar-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .buybar-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .buybar-name {
    overflow: hidden;
    font-size: 13px;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .buybar .price {
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
  }

  .buybar .price small {
    margin: 0;
  }

  @keyframes buybar-in {
    from {
      transform: translateY(100%);
    }
  }
}

@media (max-width: 760px) {
  .howto {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .howto::before {
    left: 34px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 2px;
    height: auto;
    background: var(--line);
  }

  .howto-step {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px;
    align-items: center;
    text-align: left;
  }

  .howto-icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .howto-num {
    left: 52px;
    top: -6px;
    margin-left: 0;
  }

  .howto-step h3 {
    align-self: end;
    margin: 0;
  }

  .howto-step p {
    align-self: start;
    max-width: none;
    margin: 2px 0 0;
  }

  .dcta {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .dcta .btn {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ostep {
    grid-auto-flow: row;
    gap: 0;
  }

  .ostep-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    min-height: 44px;
    padding: 0;
    text-align: left;
  }

  .ostep-item::before {
    left: 15px;
    right: auto;
    top: -12px;
    width: 2px;
    height: 12px;
  }

  .ostep-dot {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .ostep-dot .icon {
    width: 16px;
    height: 16px;
  }

  .panel--steps {
    padding: 14px 16px;
  }

  .ostep-dot {
    grid-row: 1 / span 2;
  }

  .ostep-label {
    align-self: end;
  }

  .ostep-time {
    align-self: start;
  }

  .ostep-item:not(:has(.ostep-time)) .ostep-label {
    grid-row: 1 / span 2;
    align-self: center;
  }

  .orow {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas:
      "icon main main"
      "side side cta";
    row-gap: 12px;
  }

  .orow-icon {
    grid-area: icon;
  }

  .orow-main {
    grid-area: main;
  }

  .orow-side {
    grid-area: side;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
  }

  .orow-cta {
    grid-area: cta;
    align-self: end;
  }

  .owned,
.lic {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .owned > :last-child,
.lic > :last-child {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .brand-name {
    font-size: 14px;
  }

  .hdr-in {
    gap: 10px;
  }

  .hdr-actions {
    gap: 6px;
  }

  .umenu-name,
.umenu-chev {
    display: none;
  }

  .umenu-btn {
    padding: 3px;
  }

  .umenu-pop {
    position: fixed;
    left: 12px;
    right: 12px;
    top: calc(var(--hdr-h) + 8px);
    width: auto;
  }

  .hero {
    padding-top: 20px;
  }

  /* Katalog HP: 2 kolom ringkas seperti toko online. */

  .ph-glyph {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .ph-glyph .icon {
    width: 24px;
    height: 24px;
  }

  .ph-name {
    display: none;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .catalog-tools {
    justify-content: flex-start;
    width: 100%;
  }

  .chips {
    flex-wrap: nowrap;
    width: calc(100% + 2 * var(--gutter));
    margin: 0 calc(-1 * var(--gutter));
    padding: 8px var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: none;
  }

  .search {
    width: 100%;
  }

  .robux {
    border-radius: 12px;
  }

  .robux-card {
    padding: 16px;
    border-radius: 12px;
  }

  .calc-row {
    grid-template-columns: 50px minmax(0, 1fr) 50px;
  }

  .calc-input {
    font-size: 22px;
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-band,
.dcta {
    border-radius: 12px;
  }

  .ftr-in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ftr-bottom {
    flex-direction: column;
  }

  .gcard {
    border-radius: 12px;
  }

  .gcard-body {
    padding: 28px 18px 22px;
  }

  .gcard-title {
    font-size: 23px;
  }

  .auth {
    padding-top: 22px;
  }

  .vcode {
    padding: 16px 12px;
  }

  .vcode-box .btn {
    width: 100%;
  }

  .strength-label {
    min-width: 96px;
  }

  .panel {
    border-radius: 12px;
  }

  .pay-total {
    padding: 16px;
  }

  .pay-total-row .btn {
    width: 100%;
  }

  .state {
    flex-direction: column;
    gap: 12px;
  }

  .done-actions .btn {
    width: 100%;
  }

  .profile-facts dd {
    font-size: 14px;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: auto;
  }

  .page--product .toast {
    bottom: 86px;
  }

  @keyframes toast-in {
    from {
      opacity: 0;
      transform: translateY(30px) scale(0.96);
    }
  }

  @keyframes toast-out {
    to {
      opacity: 0;
      transform: translateY(30px) scale(0.96);
    }
  }
}

@media (max-width: 380px) {
  .brand-name {
    letter-spacing: 0.04em;
  }

  .hdr-login span {
    display: none;
  }

  .hdr-login {
    width: 38px;
    padding: 0;
  }

  .ftr-in {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-facts {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .profile-facts div:first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Gerak dikurangi ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
*::before,
*::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal-ready {
    opacity: 1;
    transform: none;
  }

  .btn.is-loading .btn-spinner,
.link-btn.is-loading .btn-spinner {
    animation: spin 1.4s linear infinite !important;
    animation-duration: 1.4s !important;
    animation-iteration-count: infinite !important;
  }
}

/* =====================================================================================================
   v3–v5: bahasa (ID|EN), halaman /script (ref 1), /robux (ref 2), modal "Buat Pesanan" (ref 3),
   pembayaran dinamis (QRIS / rekening), "Saya sudah bayar", license key per pembelian.
   ===================================================================================================== */

.js .no-js-only {
  display: none !important;
}

body.has-modal {
  overflow: hidden;
}

/* ---------- Pilihan bahasa ---------- */

.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 38px;
  padding: 3px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: rgba(var(--tint-rgb), 0.03);
}

.lang-ico {
  width: 15px;
  height: 15px;
  margin: 0 3px 0 5px;
  color: var(--faint);
}

.lang-opt {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 30px;
  padding: 0 7px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s, box-shadow 0.25s;
}

.lang-opt:hover {
  color: var(--heading);
  background: rgba(58, 160, 255, 0.12);
}

.lang-opt[aria-current="true"] {
  color: var(--on-blue);
  background: var(--blue-ink);
}

.lang--ftr {
  margin-top: 16px;
}

.ftr-attr a,
.ftr-altlang a {
  color: var(--faint);
  text-decoration: underline;
  text-decoration-color: rgba(122, 162, 255, 0.3);
  text-underline-offset: 3px;
}

.ftr-attr a:hover,
.ftr-altlang a:hover {
  color: var(--text-2);
}

/* ---------- Tombol tambahan ---------- */

.btn--grad {
  color: #04101f;
  background: var(--grad-cta);
}

.btn--grad:hover:not(:disabled):not(.is-disabled) {
  transform: translateY(-1px);
}

.btn--grad:active:not(:disabled) {
  transform: translateY(1px) scale(0.99);
}

.btn--grad .btn-spinner {
  border-color: rgba(4, 16, 31, 0.25);
  border-top-color: #04101f;
}

.btn--off,
.btn--off:hover {
  color: var(--faint);
  background: rgba(var(--tint-rgb), 0.035);
  border-color: rgba(122, 162, 255, 0.1);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.btn--off:disabled {
  opacity: 1;
}

.sec-more {
  flex: none;
}

/* ---------- Badge, ketersediaan, ubin ikon ---------- */

.obadge {
  --b1: #8fd0ff;
  --b2: #3aa0ff;
  --bt: #031225;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  height: 27px;
  padding: 0 11px;
  overflow: hidden;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--bt);
  background: var(--b1);
}

.obadge .icon {
  width: 13px;
  height: 13px;
}

.obadge--green {
  --b1: #8cf7cf;
  --b2: #2ee59d;
  --bt: #03170e;
}

.obadge--orange {
  --b1: #ffc27a;
  --b2: #ff8a4c;
  --bt: #2a1000;
}

.obadge--purple {
  --b1: #8fd0ff;
  --b2: #8fd0ff;
  --bt: #04122e;
}

.obadge--pink {
  --b1: #ffb1df;
  --b2: #ff63b4;
  --bt: #2a0018;
}

.obadge--grey {
  --b1: #c9d1e3;
  --b2: #8a94ad;
  --bt: #0c1222;
}

.avail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.avail--on {
  color: #03170e;
  background: var(--success);
}

.avail--off {
  color: var(--muted);
  background: rgba(var(--well-rgb), 0.78);
  border: 1px solid rgba(138, 148, 173, 0.35);
}

.itile {
  --c: 58, 160, 255;
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  color: color-mix(in srgb, rgb(var(--c)) var(--tone-keep, 100%), #000);
  background: rgba(var(--c), 0.14);
  border: 1px solid rgba(var(--c), 0.38);
}

.itile .icon {
  width: 25px;
  height: 25px;
}

.itile--green {
  --c: 46, 229, 157;
}

.itile--orange {
  --c: 255, 150, 90;
}

.itile--purple {
  --c: 169, 209, 255;
}

.itile--pink {
  --c: 255, 120, 190;
}

.itile--grey {
  --c: 190, 200, 225;
}

/* Chip tag dengan centang (ref 1) */
.tchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tchips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px 0 11px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--text);
  background: rgba(var(--tint-rgb), 0.035);
  border: 1px solid rgba(122, 162, 255, 0.16);
}

.tchips .icon {
  width: 15px;
  height: 15px;
  color: var(--accent, var(--sky));
}

/* ---------- Kartu Script (ref 1) ---------- */

.sgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.scard {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--surface-1);
  border: 1px solid rgba(122, 162, 255, 0.14);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}

.scard:hover,
.scard:focus-within {
  transform: translateY(-5px);
  border-color: rgba(58, 160, 255, 0.48);
}

.scard-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--media, #060b1c);
  border-bottom: 1px solid rgba(122, 162, 255, 0.12);
}

.scard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.scard:hover .scard-img {
  transform: scale(1.05);
}

.scard-media .ph-name {
  font-size: 13px;
}

.scard-badge {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 14px;
  max-width: calc(100% - 28px);
}

.scard-avail {
  position: absolute;
  z-index: 2;
  right: 14px;
  top: 14px;
}

.scard.is-soldout .scard-img {
  filter: grayscale(0.7) brightness(0.7);
}

.scard-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px 24px;
}

.scard-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.scard-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.scard-title a:hover {
  color: var(--accent-2, var(--ice));
}

.scard-desc {
  display: -webkit-box;
  min-height: calc(1.55em * 2);
  margin: -4px 0 0;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.scard-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: auto 0 0;
  padding-top: 4px;
}

.scard-price small {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

.scard-price strong {
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--heading);
}

.scard-actions {
  display: flex;
  gap: 10px;
}

.scard-cta {
  flex: 1;
  --btn-h: 52px;
  border-radius: 12px;
  font-size: 16px;
}

.scard-quick {
  flex: none;
  --btn-h: 52px;
  border-radius: 12px;
}

/* ---------- Halaman /script ---------- */

.page-head--catalog {
  align-items: flex-end;
}

.page-head--catalog .catalog-tools {
  max-width: 100%;
}

.chip {
  text-decoration: none;
}

form.search {
  margin: 0;
}

/* ---------- Kartu penawaran Robux (ref 2) ---------- */

.ogrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.ocard {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 24px 24px 26px;
  border-radius: var(--r-2xl);
  background: var(--surface);
  border: 1px solid rgba(122, 162, 255, 0.16);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}

.ocard:hover,
.ocard:focus-within {
  transform: translateY(-4px);
  border-color: rgba(58, 208, 255, 0.45);
}

.ocard.is-soldout {
  border-color: rgba(122, 162, 255, 0.1);
}

.ocard-num {
  position: absolute;
  z-index: -1;
  right: 14px;
  top: 2px;
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: rgba(var(--tint-rgb), 0.025);
  -webkit-text-stroke: 1.5px rgba(122, 162, 255, 0.1);
  user-select: none;
  pointer-events: none;
}

.ocard-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 20px;
}

.ocard-top .obadge {
  margin-top: 4px;
}

.ocard-top .avail {
  margin: 6px 0 0 auto;
}

.ocard-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.ocard-title a {
  color: var(--text);
  text-decoration: none;
}

.ocard-title a:hover {
  color: var(--accent-2, var(--ice));
}

.ocard-desc {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.ocard-from-k {
  margin: 0;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.ocard-from {
  margin: 2px 0 14px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--heading);
}

.pkgs {
  display: grid;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.pkgs li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px dashed rgba(122, 162, 255, 0.16);
}

.pkgs li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.pkgs b {
  flex: none;
  color: var(--heading);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ocard-rate {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--faint);
}

.ocard-cta {
  margin-top: auto;
  padding-top: 22px;
}

.ocard-cta .btn {
  --btn-h: 52px;
  border-radius: 12px;
}

/* Langkah singkat /robux */
.rsteps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: none;
  animation: rise 0.7s var(--ease-out) 0.08s both;
}

.rsteps li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  color: var(--text-2);
  background: rgba(var(--well-rgb), 0.6);
  border: 1px solid var(--line);
}

.rsteps-n {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 850;
  color: #03170e;
  background: var(--success);
}

.rsteps-ico {
  width: 18px;
  height: 18px;
  color: var(--success-text, var(--success));
}

.rgate {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(31, 111, 255, 0.08);
  border: 1px solid rgba(58, 160, 255, 0.26);
}

.rsafe {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 760px;
  margin: 26px auto 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--text-2);
  background: rgba(46, 229, 157, 0.06);
  border: 1px solid rgba(46, 229, 157, 0.22);
}

.rsafe .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--success-text, var(--success));
}

.rsafe strong {
  color: var(--heading);
}

/* Kartu Robux di beranda */
.robux-card-head {
  justify-content: space-between;
  letter-spacing: 0.08em;
}

.robux-card-name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.robux-card-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.robux-card .pkgs {
  margin-bottom: 18px;
}

/* ---------- Detail produk (tambahan) ---------- */

.buy-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.buy-top .avail {
  margin-left: auto;
}

.buy .tchips li {
  height: 30px;
  font-size: 12.5px;
}

.buy-from {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.buy-price .buy-rate {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.buy-pkgs {
  padding: 12px 14px 4px;
  border-radius: 12px;
  background: rgba(var(--well-rgb), 0.5);
  border: 1px solid var(--line);
}

.buy-pkgs-k {
  margin: 0 0 2px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.buy-pkgs .pkgs li:last-child {
  border-bottom: 0;
}

.gallery-main {
  aspect-ratio: 16 / 9;
}

/* ---------- Modal "Buat Pesanan" (ref 3) ---------- */

.omodal {
  width: 760px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}

.omodal::backdrop {
  background: rgba(2, 4, 10, 0.74);
  animation: fade-in 0.25s ease both;
}

.omodal[open] .omodal-card {
  animation: modal-in 0.45s var(--ease-spring) both;
}

.omodal.is-closing .omodal-card {
  animation: modal-out 0.18s ease-in forwards;
}

.omodal.is-closing::backdrop {
  animation: fade-out 0.18s ease-in forwards;
}

.omodal-card {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 24px);
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(122, 162, 255, 0.22);
}

.omodal-card:focus {
  outline: none;
}

.omodal-card.is-shaking {
  animation: card-shake 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.omodal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 18px 26px;
  border-bottom: 1px solid var(--line);
}

.omodal-head h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.omodal-x {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(var(--tint-rgb), 0.04);
  color: var(--text-2);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.omodal-x:hover {
  color: var(--heading);
  border-color: rgba(58, 160, 255, 0.5);
  background: rgba(58, 160, 255, 0.12);
}

.omodal-body {
  flex: 1;
  min-height: 0;
  padding: 20px 26px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 162, 255, 0.35) transparent;
}

.omodal-body > .alert-slot .alert {
  margin: 0 0 14px;
}

.ofields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 16px;
}

.ofield {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.ofield--wide,
.ofield--span {
  grid-column: 1 / -1;
}

.ofield-k {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--text);
}

.ofield-k small {
  font-weight: 600;
  color: var(--faint);
}

.ofield-hint {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--faint);
}

.ofield.is-invalid .ofield-hint {
  color: var(--danger-text, #ff8aa0);
}

.oinput,
.oselect select {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(var(--well-rgb), 0.7);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.25s, background-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.oinput::placeholder {
  color: var(--faint);
}

.oinput:hover,
.oselect select:hover {
  border-color: rgba(122, 170, 255, 0.4);
}

.oinput:focus,
.oselect select:focus {
  border-color: rgba(58, 208, 255, 0.85);
  background-color: rgba(var(--well-rgb), 0.9);
}

.oinput.is-invalid,
.ofield.is-invalid .oinput {
  border-color: rgba(255, 77, 109, 0.75);
}

.oselect {
  position: relative;
  display: block;
}

.oselect select {
  padding-right: 44px;
  text-overflow: ellipsis;
  cursor: pointer;
}

.oselect select:disabled {
  opacity: 1;
  cursor: default;
}

.oselect option {
  color: var(--info-text, #e9eef7);
  background: var(--panel, #0b1330);
}

.oselect > .icon {
  position: absolute;
  right: 15px;
  top: 50%;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.otextarea {
  height: auto;
  min-height: 92px;
  padding: 13px 16px;
  line-height: 1.5;
  resize: vertical;
}

.ostepper {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 8px;
}

.ostepper-btn {
  display: grid;
  place-items: center;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(var(--tint-rgb), 0.04);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.25s;
}

.ostepper-btn:hover:not(:disabled) {
  border-color: rgba(46, 229, 157, 0.55);
  background: rgba(46, 229, 157, 0.1);
}

.ostepper-btn:active:not(:disabled) {
  transform: scale(0.94);
}

.ostepper-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ostepper-input {
  text-align: center;
  font-size: 19px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}

.ostepper-input::-webkit-inner-spin-button,
.ostepper-input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.ototal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 20px 0 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px dashed rgba(58, 160, 255, 0.4);
}

.ototal > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ototal-k {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ototal small {
  font-size: 12.5px;
  color: var(--warn-text, var(--warn));
}

.ototal strong {
  flex: none;
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--heading);
}

.ototal strong.is-bump {
  animation: bump 0.35s var(--ease-spring);
}

/* Panel info pembayaran (ref 3) */
.opay {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 16px 0 0;
  padding: 16px;
  border-radius: 12px;
  background: rgba(var(--well-rgb), 0.6);
  border: 1px solid var(--line);
}

.opay--empty {
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}

.opay--empty .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--accent, var(--sky));
}

.opay--empty p {
  margin: 0;
}

.opay-qr {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 128px;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #ffffff;
}

.opay-qr-art {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #04101f;
}

.opay-qr-art .icon {
  width: 60px;
  height: 60px;
  stroke-width: 1.6;
}

.opay-qr-cap {
  position: absolute;
  left: 50%;
  bottom: -10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--on-blue);
  background: var(--danger);
  transform: translateX(-50%);
}

.opay-main {
  flex: 1;
  min-width: 0;
}

.opay-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 850;
}

.opay-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.opay-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-size: 13px;
  color: var(--text-2);
}

.opay-acc {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  min-width: 0;
}

.opay-acc b {
  color: var(--heading);
}

.opay-acc .mono {
  font-size: 12.5px;
  overflow-wrap: anywhere;
}

.opay-acc small {
  flex-basis: 100%;
  font-size: 11.5px;
  color: var(--faint);
}

.opay-ico,
.pacct-ico,
.pay-opt-ico {
  --c: 58, 160, 255;
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: color-mix(in srgb, rgb(var(--c)) var(--tone-keep, 100%), #000);
  background: rgba(var(--c), 0.14);
  border: 1px solid rgba(var(--c), 0.32);
}

.opay-ico .icon {
  width: 16px;
  height: 16px;
}

.opay-ico--ewallet,
.pacct-ico--ewallet {
  --c: 46, 229, 157;
}

.opay-ico--qris,
.pacct-ico--qris {
  --c: 255, 110, 140;
}

.opay-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--faint);
}

.opay-note strong {
  color: var(--text-2);
}

.opay--noqr {
  display: block;
}

.omodal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px 18px;
  border-top: 1px solid var(--line);
  background: rgba(var(--well-rgb), 0.45);
}

.omodal-foot .btn--grad {
  min-width: 190px;
}

/* ---------- Checkout tanpa JS: pilihan paket & metode ---------- */

.pkg-options,
.pay-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 10px;
}

.pkg-opt,
.pay-opt {
  position: relative;
  display: block;
  cursor: pointer;
}

.pkg-opt input,
.pay-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pkg-opt-body,
.pay-opt-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(var(--well-rgb), 0.55);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.25s;
}

.pkg-opt-body b {
  flex: none;
  font-variant-numeric: tabular-nums;
}

.pkg-opt-label {
  min-width: 0;
  font-size: 14px;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.pay-opt-body {
  justify-content: flex-start;
}

.pay-opt-body > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pay-opt-body small {
  font-size: 12px;
  color: var(--faint);
  overflow-wrap: anywhere;
}

.pay-opt-ico .icon {
  width: 16px;
  height: 16px;
}

.pkg-opt:hover .pkg-opt-body,
.pay-opt:hover .pay-opt-body {
  border-color: rgba(58, 160, 255, 0.5);
}

.pkg-opt input:checked + .pkg-opt-body,
.pay-opt input:checked + .pay-opt-body {
  border-color: rgba(58, 208, 255, 0.85);
  background: rgba(31, 111, 255, 0.14);
}

.pkg-opt input:focus-visible + .pkg-opt-body,
.pay-opt input:focus-visible + .pay-opt-body {
  outline: 2px solid var(--accent, var(--sky));
  outline-offset: 3px;
}

.pkg-opt input:disabled + .pkg-opt-body,
.pay-opt input:disabled + .pay-opt-body {
  opacity: 0.55;
  cursor: not-allowed;
}

.co-extra {
  margin: 16px 0 0;
}

.co-extra .field {
  margin-bottom: 0;
}

.co-note {
  margin: 14px 0 0;
}

.co-note .field-input {
  min-height: 100px;
}

/* .counter memakai margin-top negatif (mengandalkan margin bawah .field); .co-note tanpa margin bawah -> beri jarak. */
.co-note + .counter {
  margin-top: 6px;
}

.co-side .opay {
  margin-top: 14px;
  flex-direction: column;
  align-items: stretch;
}

.co-side .opay-qr {
  width: 96px;
  margin: 0 auto 6px;
}

.co-side .opay-list {
  grid-template-columns: minmax(0, 1fr);
}

/* ---------- Halaman pesanan: pembayaran ---------- */

.pay-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 0 0 14px;
}

.pay-head .panel-title {
  margin: 0;
}

.pay-chosen {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  color: var(--accent-2, var(--ice));
  background: rgba(31, 111, 255, 0.12);
  border: 1px solid rgba(58, 160, 255, 0.35);
}

.pay-chosen .icon {
  width: 15px;
  height: 15px;
}

.pmethod {
  margin: 16px 0 0;
}

.pmethod--qris {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 18px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid rgba(58, 160, 255, 0.28);
}

.qris-wrap {
  min-width: 0;
}

.qris--dynamic {
  width: min(100%, 300px);
  margin: 0 auto;
  padding: 14px 14px 10px;
}

.qris--dynamic img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  image-rendering: pixelated;
}

.qris--dynamic figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 0;
  min-width: 0;
}

.qris-badge {
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--on-blue);
  background: var(--danger);
}

.qris-merchant {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  color: #1a2547;
}

.pmethod-copy {
  min-width: 0;
}

.pmethod-k {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, var(--sky));
}

.pmethod-k .icon {
  width: 17px;
  height: 17px;
}

.pmethod-filled {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.pmethod-filled b {
  color: var(--heading);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.pmethod-filled--warn b {
  color: var(--warn-text, #ffd36b);
}

.pmethod-merchant {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--success-text, #c4f8e2);
  background: rgba(46, 229, 157, 0.08);
  border: 1px solid rgba(46, 229, 157, 0.3);
}

.pmethod-merchant .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--success-text, var(--success));
}

.pmethod-merchant b {
  color: var(--heading);
}

.pmethod-steps {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0 0 0 20px;
  font-size: 13.5px;
  color: var(--text-2);
}

.pmethod-steps li::marker {
  color: var(--accent, var(--sky));
  font-weight: 800;
}

.pmethod-steps strong {
  color: var(--heading);
}

.pmethod-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 2px 0;
  font-size: 13.5px;
  color: var(--text-2);
}

.pmethod-hint .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--warn-text, var(--warn));
}

.pmethod-hint b {
  color: var(--warn-text, #ffd36b);
}

.pmethod--warn .alert {
  margin: 0;
}

/* Rekening / e-wallet */
.pacct {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 12px 12px 14px;
  border-radius: 12px;
  background: rgba(var(--well-rgb), 0.5);
  border: 1px solid var(--line);
}

.pacct--big {
  gap: 16px;
  padding: 18px;
  border-radius: 12px;
  background: var(--surface-2);
  border-color: rgba(58, 160, 255, 0.32);
}

.pacct--big .pacct-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.pacct-ico .icon {
  width: 17px;
  height: 17px;
}

.pacct--big .pacct-ico .icon {
  width: 22px;
  height: 22px;
}

.pacct-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pacct-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--heading);
}

.pacct-label small {
  margin-left: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.pacct-no {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  overflow-wrap: anywhere;
}

.pacct--big .pacct-no {
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--heading);
}

.pacct-name,
.pacct-note {
  font-size: 12.5px;
  color: var(--muted);
}

.pchange {
  margin: 14px 0 0;
}

.pchange-k {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 750;
  color: var(--text-2);
}

.pchange-row {
  display: flex;
  gap: 10px;
}

.pchange-row .oselect {
  flex: 1;
  min-width: 0;
}

.pchange-row .oselect select {
  height: 44px;
  font-size: 14.5px;
}

.pchange-row .btn {
  --btn-h: 44px;
  flex: none;
}

.pothers {
  margin: 14px 0 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(var(--well-rgb), 0.35);
}

.pothers > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 750;
  color: var(--text-2);
  cursor: pointer;
  list-style: none;
}

.pothers > summary::-webkit-details-marker {
  display: none;
}

.pothers > summary .icon:first-child {
  width: 17px;
  height: 17px;
  color: var(--accent, var(--sky));
}

.pothers-chev {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.25s var(--ease-out);
}

.pothers[open] .pothers-chev {
  transform: rotate(180deg);
}

.pothers-list {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.method--extra {
  margin: 14px 0 0;
}

/* "Saya sudah bayar" */
.paid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  align-items: center;
  gap: 16px 22px;
  border-color: rgba(46, 229, 157, 0.3);
  background: var(--surface);
}

.paid .panel-title {
  margin-bottom: 6px;
}

.paid .panel-title .icon {
  color: var(--success-text, var(--success));
}

.paid-copy p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}

.paid form {
  margin: 0;
}

/* Bukti opsional (dilipat) */
.proof--optional {
  padding: 0;
}

.proof-sum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: clamp(16px, 2.2vw, 22px);
  cursor: pointer;
  list-style: none;
}

.proof-sum::-webkit-details-marker {
  display: none;
}

.proof-sum .panel-title {
  margin: 0;
}

.proof-opt {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--success-text, var(--success));
}

.proof-chev {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.25s var(--ease-out);
}

.proof--optional[open] .proof-chev {
  transform: rotate(180deg);
}

.proof--optional > form {
  padding: 0 clamp(16px, 2.2vw, 22px) clamp(16px, 2.2vw, 22px);
}

.sum-line--note > span:last-child {
  font-weight: 500;
  white-space: pre-line;
}

/* ---------- License key ---------- */

.kgrid {
  display: grid;
  gap: 14px;
}

.kcard {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid rgba(46, 229, 157, 0.22);
}

.kcard--revoked {
  background: rgba(var(--well-rgb), 0.5);
  border-color: rgba(255, 77, 109, 0.3);
}

.kcard-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.kcard-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--success-text, var(--success));
  background: rgba(46, 229, 157, 0.12);
  border: 1px solid rgba(46, 229, 157, 0.32);
}

.kcard--revoked .kcard-icon {
  color: var(--danger-text, #ff8aa0);
  background: rgba(255, 77, 109, 0.1);
  border-color: rgba(255, 77, 109, 0.3);
}

.kcard-title {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.kcard-title a,
.kcard-title strong {
  overflow: hidden;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kcard-title a:hover {
  color: var(--accent-2, var(--ice));
}

.kcard-code {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.kcard-revoked {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--danger-text, #ffd3dc);
  background: rgba(255, 77, 109, 0.1);
  border: 1px solid rgba(255, 77, 109, 0.32);
}

.kcard-revoked .icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--danger-text, var(--danger));
}

.kkey-k {
  display: block;
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.kkey-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.kkey-v {
  flex: 1 1 260px;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--heading);
  background: rgba(var(--well-rgb), 0.8);
  border: 1px solid rgba(58, 160, 255, 0.32);
  overflow-wrap: anywhere;
  user-select: all;
}

.kkey-v.is-shown {
  border-color: rgba(46, 229, 157, 0.55);
}

.kcard--revoked .kkey-v {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 77, 109, 0.6);
}

.kreveal {
  margin: 8px 0 0;
  font-size: 13px;
}

.kreveal summary {
  color: var(--accent-2, var(--ice));
  cursor: pointer;
}

.kreveal code {
  display: block;
  margin: 6px 0 0;
  font-size: 14px;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.kowner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.kowner > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.kowner-k {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.kowner-v {
  font-size: 14.5px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.kowner-id {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.kfacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.kfacts > div {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(var(--tint-rgb), 0.025);
  border: 1px solid var(--line);
}

.kfacts dt {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.kfacts dd {
  margin: 3px 0 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  overflow-wrap: anywhere;
}

.kplaces {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(var(--tint-rgb), 0.02);
}

.kplaces summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-2);
  cursor: pointer;
  list-style: none;
}

.kplaces summary::-webkit-details-marker {
  display: none;
}

.kplaces summary .icon:first-child {
  width: 17px;
  height: 17px;
  color: var(--accent, var(--sky));
}

.kplaces-chev {
  width: 16px;
  height: 16px;
  margin-left: auto;
  transition: transform 0.25s var(--ease-out);
}

.kplaces[open] .kplaces-chev {
  transform: rotate(180deg);
}

.kplaces ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0 12px 12px;
  list-style: none;
}

.kplaces li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}

.kplaces li:last-child {
  border-bottom: 0;
}

.kcard-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: var(--text-2);
}

.kcard-note .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--accent, var(--sky));
}

.khow {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(31, 111, 255, 0.07);
  border: 1px solid rgba(58, 160, 255, 0.24);
}

.khow > p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 13.5px;
  color: var(--text-2);
}

.khow > p .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--accent, var(--sky));
}

.khow code {
  color: var(--heading);
}

.kcode {
  margin: 0;
  padding: 10px 12px;
  overflow-x: auto;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--info-text, #cfe5ff);
  background: rgba(var(--well-rgb), 0.85);
  border: 1px solid rgba(122, 162, 255, 0.18);
}

.kcode code {
  color: inherit;
}

.khow .btn {
  justify-self: start;
}

.kcard-order {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  color: var(--accent-2, var(--ice));
  text-decoration: none;
}

.kcard-order .icon:first-child {
  width: 16px;
  height: 16px;
}

.kcard-order .btn-arrow {
  width: 15px;
  height: 15px;
}

.lic-legacy {
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--line-2);
}

.sub-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
}

.sub-title .icon {
  width: 18px;
  height: 18px;
  color: var(--success-text, var(--success));
}

.okey .kcard {
  margin: 0;
}

.okey-more {
  display: inline-block;
  margin: 12px 2px 0;
}

/* ---------- Responsif (v4) ---------- */

@media (max-width: 1180px) {
  .nav-ico {
    display: none;
  }

  .hdr-discord {
    width: 38px;
    padding: 0;
  }

  .hdr-discord span {
    display: none;
  }

  .rsteps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .paid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pmethod--qris {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .pmethod-k,
.pmethod-merchant {
    justify-content: center;
  }

  .pmethod-steps {
    max-width: 420px;
    margin-inline: auto;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .ofields {
    grid-template-columns: minmax(0, 1fr);
  }

  .kfacts {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .kfacts > div:last-child {
    grid-column: 1 / -1;
  }

  .opay {
    flex-direction: column;
    align-items: stretch;
  }

  .opay-qr {
    width: 104px;
    margin: 0 auto 8px;
  }
}

@media (max-width: 600px) {
  .sgrid,
.ogrid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .scard-body {
    gap: 12px;
    padding: 18px 18px 20px;
  }

  .scard-title {
    font-size: 18.5px;
  }

  .scard-desc {
    font-size: 14.5px;
  }

  .tchips li {
    height: 31px;
    font-size: 12.5px;
  }

  .ocard {
    padding: 20px 18px 22px;
    border-radius: 12px;
  }

  .ocard-num {
    font-size: 80px;
  }

  .ocard-from {
    font-size: 28px;
  }

  .rsteps li {
    padding: 10px 11px;
    font-size: 13px;
  }

  .rsteps-ico {
    display: none;
  }

  .lang {
    height: 36px;
  }

  .lang-ico {
    display: none;
  }

  .lang-opt {
    min-width: 28px;
    height: 28px;
    padding: 0 5px;
    font-size: 11.5px;
  }

  .hdr-login {
    width: 38px;
    padding: 0;
  }

  .hdr-login span {
    display: none;
  }

  .omodal {
    max-width: 100vw;
    width: 100vw;
    max-height: 100dvh;
    margin: auto 0 0;
  }

  .omodal-card {
    max-height: 94dvh;
    border-radius: 12px 12px 0 0;
    border-bottom: 0;
  }

  .omodal[open] .omodal-card {
    animation: sheet-in 0.45s var(--ease-out) both;
  }

  .omodal.is-closing .omodal-card {
    animation: sheet-out 0.18s ease-in forwards;
  }

  .omodal-head {
    padding: 16px 16px 14px 20px;
  }

  .omodal-body {
    padding: 16px 18px 18px;
  }

  .omodal-foot {
    padding: 12px 16px max(14px, env(safe-area-inset-bottom));
  }

  .omodal-foot .btn {
    flex: 1;
  }

  .omodal-foot .btn--ghost {
    flex: 0 0 auto;
  }

  .omodal-foot .btn--grad {
    min-width: 0;
  }

  .opay-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .pacct--big {
    flex-wrap: wrap;
  }

  .pacct--big .copy-btn {
    width: 100%;
  }

  .pchange-row {
    flex-direction: column;
  }

  .ototal {
    padding: 14px;
  }

  @keyframes sheet-in {
    from {
      transform: translateY(100%);
    }
  }

  @keyframes sheet-out {
    to {
      transform: translateY(100%);
    }
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 13px;
    letter-spacing: 0.02em;
  }

  .ocard-top {
    flex-wrap: wrap;
  }
}

/* =====================================================================================================
   v6: header 6 menu, bintang rating, statistik + ticker pembelian, /riwayat, /antrian, /ulasan,
   klaim akun, ganti password wajib, verifikasi opsional. Lebar bar rating = kelas .pw-N (tanpa style inline).
   ===================================================================================================== */

:root {
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.95-4.7 4.58 1.1 6.47L12 17.45 6.2 20.5l1.1-6.47L2.6 9.45l6.5-.95z' fill='black' stroke='black' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E");
  --star-on: #ffc857;
  --star-off: rgba(169, 190, 235, 0.2);
}

/* ---------- Header ---------- */

.nav-link--m {
  display: none;
}

.umenu-check {
  display: grid;
  margin-left: -4px;
  color: var(--accent, var(--sky));
}

.umenu-check .icon {
  width: 16px;
  height: 16px;
}

.umenu-opt {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.vbadge--muted {
  color: var(--muted);
  background: rgba(138, 148, 173, 0.08);
  border: 1px solid rgba(138, 148, 173, 0.28);
}

/* 6 menu: merek tidak boleh menyusut, tombol Discord di header cukup ikon (teks lengkap ada di menu HP, hero, CTA, footer). */
.hdr-in > .brand {
  flex: none;
}

.nav-link {
  padding: 0 13px;
}

.hdr-discord {
  width: 38px;
  padding: 0;
}

.hdr-discord span {
  display: none;
}

@media (max-width: 1360px) {
  .hdr-in {
    gap: 14px;
  }
}

/* Menu burger: 6 menu + aksi tidak muat satu baris di bawah 1100px. */
@media (max-width: 1100px) {
  .hdr-burger {
    display: grid;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 45;
    display: none;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100vh - var(--hdr-h));
    max-height: calc(100dvh - var(--hdr-h));
    overflow-y: auto;
    padding: 14px var(--gutter) 20px;
    background: var(--bg0);
    border-bottom: 1px solid var(--line-2);
  }

  .hdr.is-open .nav {
    display: flex;
    animation: nav-in 0.3s var(--ease-out) both;
  }

  @keyframes nav-in {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
  }

  .nav-link {
    height: 50px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 15.5px;
    background: rgba(var(--tint-rgb), 0.025);
    border: 1px solid var(--line);
  }

  .nav-link--m {
    display: inline-flex;
  }

  .nav-ico {
    display: block;
    width: 19px;
    height: 19px;
  }

  .nav-extra {
    display: grid;
    gap: 10px;
  }

  .nav-extra:empty {
    display: none;
  }

  .nav-extra-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hdr-discord,
  .hdr-register {
    display: none;
  }

  /* Tanpa JS: menu tetap terlihat sebagai baris kedua. */
  .no-js .hdr-in {
    flex-wrap: wrap;
  }

  .no-js .nav {
    position: static;
    display: flex;
    flex: 0 0 100%;
    order: 3;
    width: 100%;
    padding: 0 0 12px;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .no-js .nav-links {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .no-js .nav-link {
    flex: 1 1 30%;
    justify-content: center;
    height: 42px;
    font-size: 14.5px;
  }

  .no-js .nav-extra {
    display: none;
  }
}

@media (max-width: 420px) {
  .nav-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-link {
    height: 48px;
  }
}

/* ---------- Bintang ---------- */

.st {
  display: inline-block;
  flex: none;
  width: 16px;
  height: 16px;
  background: var(--star-off);
  -webkit-mask: var(--star-mask) center / contain no-repeat;
  mask: var(--star-mask) center / contain no-repeat;
}

.st.is-full {
  background: var(--star-on);
}

.st.is-half {
  background: var(--star-off);
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  vertical-align: middle;
}

.stars--sm .st {
  width: 15px;
  height: 15px;
}

.stars--md .st {
  width: 19px;
  height: 19px;
}

.stars--lg .st {
  width: 24px;
  height: 24px;
}

.rchip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px 0 8px;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--text);
  background: rgba(255, 200, 87, 0.08);
  border: 1px solid rgba(255, 200, 87, 0.28);
}

.rchip .st {
  width: 14px;
  height: 14px;
}

.rchip b {
  font-weight: 800;
  color: var(--warn-text, #ffe2a0);
}

.rchip small {
  font-size: 12px;
  color: var(--muted);
}

.scard-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 4px;
}

.scard-foot .scard-price {
  margin: 0;
  padding: 0;
}

.ocard-rating {
  margin: -2px 0 10px;
}

.buy-rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  width: fit-content;
  margin: -4px 0 0;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.buy-rating b {
  font-weight: 800;
  color: var(--warn-text, #ffe2a0);
}

a.buy-rating:hover span {
  color: var(--accent-2, var(--ice));
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Statistik toko ---------- */

.section--proof {
  padding-top: clamp(4px, 1.5vw, 16px);
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.proof > * {
  min-width: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  --c: 58, 160, 255;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 16px 18px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface-1);
  border: 1px solid rgba(var(--c), 0.18);
}

.stat--green {
  --c: 46, 229, 157;
}

.stat--ice {
  --c: 169, 209, 255;
}

.stat-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: color-mix(in srgb, rgb(var(--c)) var(--tone-keep, 100%), #000);
  background: rgba(var(--c), 0.12);
  border: 1px solid rgba(var(--c), 0.34);
}

.stat-ico .icon {
  width: 22px;
  height: 22px;
}

.stat-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stat-n {
  font-size: clamp(24px, 2.4vw, 31px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--heading);
}

.stat-k {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--muted);
}

.stats--page {
  margin: 0 0 18px;
}

/* ---------- Pembelian terbaru (ticker beranda + /riwayat) ---------- */

.feedbar {
  position: relative;
  padding: 14px 0 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.feedbar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px 12px;
}

.feedbar-k {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2, var(--ice));
}

.live-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.feedbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feedbar-pause {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: rgba(var(--tint-rgb), 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.feedbar-pause:hover {
  color: var(--heading);
  border-color: rgba(58, 160, 255, 0.5);
}

.feedbar-pause .icon {
  width: 13px;
  height: 13px;
}

.feedbar-pause .i-play,
.feedbar-pause[aria-pressed="true"] .i-pause {
  display: none;
}

.feedbar-pause[aria-pressed="true"] .i-play {
  display: block;
}

.feedbar-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent, var(--sky));
  text-decoration: none;
  white-space: nowrap;
}

.feedbar-more .icon {
  width: 15px;
  height: 15px;
}

.feedbar-more:hover {
  color: var(--heading);
}

.feedbar-more:hover .btn-arrow {
  transform: translateX(3px);
}

.ticker {
  position: relative;
  display: flex;
  overflow: hidden;
}


.ticker-track {
  display: flex;
  flex: none;
  gap: 12px;
  min-width: 100%;
  margin: 0;
  padding: 0 12px 0 0;
  list-style: none;
}

.ticker--static .ticker-track {
  flex-wrap: wrap;
  padding: 0 18px;
}

.ticker--move .ticker-track {
  animation: ticker var(--tk-dur, 50s) linear infinite;
}

.ticker--n3 {
  --tk-dur: 26s;
}

.ticker--n4 {
  --tk-dur: 32s;
}

.ticker--n5 {
  --tk-dur: 38s;
}

.ticker--n6 {
  --tk-dur: 44s;
}

.ticker--n7 {
  --tk-dur: 50s;
}

.ticker--n8 {
  --tk-dur: 56s;
}

@keyframes ticker {
  to {
    transform: translateX(-100%);
  }
}

.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track,
.ticker.is-paused .ticker-track {
  animation-play-state: paused;
}

.tk {
  --c: 58, 160, 255;
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  max-width: 440px;
  padding: 10px 12px 10px 10px;
  border-radius: 12px;
  background: rgba(var(--tint-rgb), 0.03);
  border: 1px solid rgba(122, 162, 255, 0.12);
}

.tk--robux {
  --c: 46, 229, 157;
}

.tk--manual {
  --c: 169, 209, 255;
}

.tk-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: color-mix(in srgb, rgb(var(--c)) var(--tone-keep, 100%), #000);
  background: rgba(var(--c), 0.12);
  border: 1px solid rgba(var(--c), 0.32);
}

.tk-ico .icon {
  width: 18px;
  height: 18px;
}

.tk-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tk-line {
  overflow: hidden;
  font-size: 14px;
  color: var(--text-2);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tk-buyer {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--heading);
}

.tk-prod {
  font-weight: 750;
  color: var(--text);
}

a.tk-prod {
  text-decoration: none;
}

a.tk-prod:hover {
  color: var(--accent-2, var(--ice));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tk-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.tk-detail {
  font-weight: 700;
  color: color-mix(in srgb, rgb(var(--c)) var(--tone-keep, 100%), #000);
}

.tk-detail + .tk-time::before {
  content: "·";
  margin-right: 8px;
  color: var(--faint);
}

.tk-done {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--success-text, var(--success));
  background: rgba(46, 229, 157, 0.1);
  border: 1px solid rgba(46, 229, 157, 0.32);
}

.tk-done .icon {
  width: 12px;
  height: 12px;
}

.feedpanel-n {
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}

.feed {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feed .tk {
  max-width: none;
  padding: 12px 14px 12px 12px;
}

.feed .tk-main {
  flex: 1;
}

.feed .tk-line {
  font-size: 14.5px;
  white-space: normal;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 4px 0;
  font-size: 13.5px;
  color: var(--muted);
}

.privacy-note .icon {
  width: 18px;
  height: 18px;
  color: var(--success-text, var(--success));
}

/* ---------- Antrian (/antrian) ---------- */

.qpage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  align-items: start;
  gap: clamp(16px, 2.4vw, 24px);
  animation: rise 0.7s var(--ease-out) 0.1s both;
}

.qside {
  position: sticky;
  top: calc(var(--hdr-h) + 18px);
  display: grid;
  gap: 18px;
  min-width: 0;
}

.qmain {
  padding: 0;
  overflow: hidden;
}

.qsum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.qsum-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.qsum-n {
  font-size: 46px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--heading);
}

.qsum-k {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-2);
}

.qsum-split {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--muted);
}

.qsum-split li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.qsum-split b {
  color: var(--text);
}

.qdot {
  --c: 58, 160, 255;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgb(var(--c));
}

.qdot--ice {
  --c: 169, 209, 255;
}

.qdot--green {
  --c: 46, 229, 157;
}

.qsum-live {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-left: auto;
  font-size: 12.5px;
  color: var(--muted);
}

.qsum-live time {
  color: var(--text-2);
}

.qsum-live.is-error [data-q-updated] {
  color: var(--warn-text, var(--warn));
}

.qsum-refresh {
  padding: 6px 10px;
  font-size: 13px;
}

.qsum-refresh .icon {
  width: 15px;
  height: 15px;
}

.qtable-wrap {
  overflow-x: auto;
}

.qtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.qtable th {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--faint);
  border-bottom: 1px solid var(--line);
}

.qtable td {
  padding: 12px 16px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(122, 162, 255, 0.07);
  transition: background-color 0.3s;
}

.qtable tbody tr:last-child td {
  border-bottom: 0;
}

.qtable tbody tr:hover td {
  background-color: rgba(58, 160, 255, 0.04);
}

.qtable th.qc-pos,
.qc-pos {
  width: 68px;
}

.qpos {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 7px;
  border-radius: 11px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  color: var(--accent-2, var(--ice));
  background: rgba(58, 160, 255, 0.08);
  border: 1px solid rgba(58, 160, 255, 0.22);
}

.qtable tbody tr:first-child .qpos {
  color: var(--on-blue);
  background: var(--blue-ink);
  border-color: rgba(120, 190, 255, 0.7);
}

.qbuyer {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--text);
}

.qown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 999px;
  vertical-align: middle;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #04101f;
  background: var(--grad-cta);
}

.qown .icon {
  width: 12px;
  height: 12px;
}

.qcode {
  display: inline-block;
  margin-left: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent, var(--sky));
  text-decoration: none;
}

a.qcode:hover {
  color: var(--heading);
  text-decoration: underline;
}

.qrow.is-own td {
  background-color: rgba(58, 160, 255, 0.1);
}

.qtable tbody tr.is-own:hover td {
  background-color: rgba(58, 160, 255, 0.14);
}

.qc-prod {
  min-width: 190px;
}

.qrow.is-own td:first-child {
  box-shadow: inset 3px 0 0 var(--accent, #3aa0ff);
}

.qrow.is-new td {
  animation: qrow-in 1.2s var(--ease-out);
}

@keyframes qrow-in {
  from {
    background-color: rgba(58, 160, 255, 0.24);
  }
}

.qprod {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.qprod-ico,
.qprod-ico--digital {
  --c: 58, 160, 255;
}

.qprod-ico--robux {
  --c: 46, 229, 157;
}

.qprod-ico--manual {
  --c: 169, 209, 255;
}

.qprod-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: color-mix(in srgb, rgb(var(--c)) var(--tone-keep, 100%), #000);
  background: rgba(var(--c), 0.12);
  border: 1px solid rgba(var(--c), 0.3);
}

.qprod-ico .icon {
  width: 16px;
  height: 16px;
}

.qprod-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.qprod-text b {
  font-weight: 700;
  color: var(--text);
}

.qprod-text small {
  font-size: 12.5px;
  color: var(--muted);
}

.qwait {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: var(--text-2);
}

.qwait .icon {
  width: 15px;
  height: 15px;
  color: var(--faint);
}

.qempty .empty {
  padding: 46px 20px;
}

.qmore {
  margin: 0;
  padding: 12px 22px 0;
  font-size: 13px;
  color: var(--muted);
}

.qhint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 22px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.qhint .icon {
  width: 16px;
  height: 16px;
  color: var(--accent, var(--sky));
}

.qmine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(58, 160, 255, 0.42);
  animation: rise 0.7s var(--ease-out) 0.05s both;
}

.qmine > div {
  flex: 1 1 260px;
}

.qmine-n {
  font-size: 34px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.qmine p {
  margin: 3px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.qresult {
  --c: 138, 148, 173;
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(var(--c), 0.07);
  border: 1px solid rgba(var(--c), 0.34);
  animation: rise 0.5s var(--ease-out) both;
}

.qresult--warn {
  --c: 255, 200, 87;
}

.qresult--sky {
  --c: 58, 160, 255;
}

.qresult--ice {
  --c: 169, 209, 255;
}

.qresult--success {
  --c: 46, 229, 157;
}

.qresult--danger {
  --c: 255, 110, 140;
}

.qresult-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}

.qresult-head > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.qresult-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: color-mix(in srgb, rgb(var(--c)) var(--tone-keep, 100%), #000);
  background: rgba(var(--c), 0.14);
}

.qresult-code {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.qresult-facts {
  display: grid;
  gap: 6px;
  margin: 0;
}

.qresult-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
}

.qresult-facts dt {
  color: var(--muted);
}

.qresult-facts dd {
  margin: 0;
  font-weight: 650;
  text-align: right;
}

.qresult-pos {
  font-size: 16px;
  color: var(--accent-2, var(--ice));
}

.qresult--muted p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}

.qhow-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qhow-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.qhow-steps .qdot {
  margin-top: 6px;
}

.qhow-steps strong {
  font-size: 14px;
}

.qhow-steps p {
  margin: 2px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.qhow-steps a {
  color: var(--accent-2, var(--ice));
  font-weight: 700;
}

/* Posisi antrian di halaman pesanan */
.qposcard {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid rgba(58, 160, 255, 0.4);
  transition: border-color 0.2s, box-shadow 0.3s;
}

.qposcard:hover {
  border-color: rgba(120, 190, 255, 0.7);
}

.qposcard:hover .btn-arrow {
  transform: translateX(3px);
}

.qposcard-n {
  display: flex;
  align-items: baseline;
  font-size: 36px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--heading);
}

.qposcard-n small {
  font-size: 20px;
  opacity: 0.75;
}

.qposcard-text {
  display: flex;
  flex: 1 1 200px;
  flex-direction: column;
  min-width: 0;
}

.qposcard-text strong {
  font-size: 15.5px;
}

.qposcard-text small {
  font-size: 13px;
  color: var(--muted);
}

.qposcard-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent, var(--sky));
}

.qposcard-go .icon {
  width: 16px;
  height: 16px;
}

.qpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 27px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 750;
  white-space: nowrap;
  color: var(--accent-2, var(--ice));
  text-decoration: none;
  background: rgba(58, 160, 255, 0.1);
  border: 1px solid rgba(58, 160, 255, 0.38);
}

.qpill .icon {
  width: 14px;
  height: 14px;
}

.qpill:hover {
  color: var(--heading);
  border-color: rgba(120, 190, 255, 0.7);
}

/* ---------- Ulasan ---------- */

.rv {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--surface-1);
  border: 1px solid rgba(122, 162, 255, 0.14);
  scroll-margin-top: calc(var(--hdr-h) + 20px);
}

.rv:target {
  border-color: rgba(58, 160, 255, 0.6);
}

.rv--own {
  border-color: rgba(58, 160, 255, 0.36);
}

.rv {
  isolation: isolate;
}

.rv-quote {
  position: absolute;
  z-index: -1;
  right: 14px;
  bottom: 8px;
  color: rgba(58, 160, 255, 0.09);
  pointer-events: none;
}

.rv-quote .icon {
  width: 52px;
  height: 52px;
}

.rv-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rv-who {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.rv-nameline {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.rv-name {
  overflow: hidden;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.rv-name:hover {
  color: var(--accent-2, var(--ice));
}

.rv-verified {
  display: inline-grid;
  flex: none;
  color: var(--accent, var(--sky));
}

.rv-verified .icon {
  width: 16px;
  height: 16px;
}

.rv-user {
  overflow: hidden;
  font-size: 13px;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.rvb {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

.rvb .icon {
  width: 13px;
  height: 13px;
}

.rvb--buyer {
  color: var(--success-text, var(--success));
  background: rgba(46, 229, 157, 0.1);
  border: 1px solid rgba(46, 229, 157, 0.34);
}

.rv-status {
  height: 24px;
  font-size: 11.5px;
}

.rv-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--muted);
}

.rv-edited {
  font-style: italic;
}

.rv-on {
  display: flex;
  min-width: 0;
}

.rv-product {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  height: 26px;
  padding: 0 10px;
  overflow: hidden;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text-2);
  text-decoration: none;
  text-overflow: ellipsis;
  background: rgba(var(--tint-rgb), 0.04);
  border: 1px solid rgba(122, 162, 255, 0.14);
  transition: color 0.2s, border-color 0.2s;
}

.rv-product span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.rv-product .icon {
  width: 14px;
  height: 14px;
  color: var(--accent, var(--sky));
}

a.rv-product:hover {
  color: var(--heading);
  border-color: rgba(58, 160, 255, 0.45);
}

.rv-product--general .icon {
  color: var(--accent-2, var(--ice));
}

.rv-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  overflow-wrap: anywhere;
}

.rv--clamp .rv-body {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.rv-reply {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(31, 111, 255, 0.08);
  border: 1px solid rgba(58, 160, 255, 0.2);
  border-left: 3px solid var(--accent, var(--sky));
}

.rv-reply-k {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 7px;
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--accent-2, var(--ice));
}

.rv-reply-k .icon {
  width: 15px;
  height: 15px;
}

.rv-reply-time {
  margin-left: auto;
  font-weight: 600;
  color: var(--faint);
}

.rv-reply-body {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.rv--clamp .rv-reply-body {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rv-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed rgba(122, 162, 255, 0.16);
}

.rv-until {
  margin-left: auto;
  font-size: 12px;
  color: var(--faint);
}

.rv-edit > summary {
  list-style: none;
}

.rv-edit > summary::-webkit-details-marker {
  display: none;
}

.rv-edit .when-open,
.rv-edit[open] .when-closed {
  display: none;
}

.rv-edit[open] .when-open {
  display: inline;
}

.rv-edit[open] {
  flex: 1 1 100%;
}

.rv-actions:has(.rv-edit[open]) .rv-del,
.rv-actions:has(.rv-edit[open]) .rv-until {
  display: none;
}

.rv-editform {
  margin-top: 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(var(--well-rgb), 0.5);
  border: 1px solid var(--line);
}

.rv-edit-foot {
  display: flex;
  justify-content: flex-end;
}

.rv-del {
  margin: 0;
}

.rvlist {
  display: grid;
  gap: 14px;
}

.rvgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}

.rvgrid-item {
  display: flex;
  min-width: 0;
}

.rvgrid-item > .rv {
  flex: 1;
}

/* Ringkasan rating */
.rsum-avg {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rsum-n {
  font-size: 54px;
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--warn-text, var(--warn));
}

.rsum-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rsum-count {
  font-size: 13.5px;
  color: var(--muted);
}

.rsum--compact .rsum-n {
  font-size: 38px;
}

.rsum--compact .rsum-avg {
  gap: 12px;
}

.rsum-dist {
  display: grid;
  gap: 2px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.rsum-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  text-decoration: none;
  transition: background-color 0.2s;
}

a.rsum-row:hover {
  background: rgba(255, 200, 87, 0.07);
}

a.rsum-row[aria-current] {
  background: rgba(255, 200, 87, 0.1);
}

.rsum-row.is-zero {
  opacity: 0.5;
}

.rsum-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

.rsum-label .st {
  width: 12px;
  height: 12px;
}

.rsum-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(var(--tint-rgb), 0.06);
}

.rsum-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--warn);
}

.rsum-c {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.pw-5 { width: 5%; }
.pw-10 { width: 10%; }
.pw-15 { width: 15%; }
.pw-20 { width: 20%; }
.pw-25 { width: 25%; }
.pw-30 { width: 30%; }
.pw-35 { width: 35%; }
.pw-40 { width: 40%; }
.pw-45 { width: 45%; }
.pw-50 { width: 50%; }
.pw-55 { width: 55%; }
.pw-60 { width: 60%; }
.pw-65 { width: 65%; }
.pw-70 { width: 70%; }
.pw-75 { width: 75%; }
.pw-80 { width: 80%; }
.pw-85 { width: 85%; }
.pw-90 { width: 90%; }
.pw-95 { width: 95%; }
.pw-100 { width: 100%; }

/* Beranda "Kata mereka" */
.kata-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}

.kata-score {
  display: block;
  padding: 10px 16px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 200, 87, 0.06);
  border: 1px solid rgba(255, 200, 87, 0.24);
  transition: border-color 0.2s, box-shadow 0.3s;
}

.kata-score:hover {
  border-color: rgba(255, 200, 87, 0.5);
}

.kata-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 20px 22px;
  border-radius: 12px;
  background: var(--surface-1);
  border: 1px dashed rgba(122, 162, 255, 0.3);
}

.kata-empty > div {
  flex: 1 1 260px;
}

.kata-empty strong {
  font-size: 16px;
}

.kata-empty p {
  margin: 3px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.kata-empty-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: var(--warn-text, #ffc857);
  background: rgba(255, 200, 87, 0.1);
  border: 1px solid rgba(255, 200, 87, 0.32);
}

/* Halaman produk + /ulasan: ringkasan (kanan atas), daftar (kiri), form (kanan bawah) */
.pd-reviews {
  margin-top: clamp(30px, 4.5vw, 56px);
  scroll-margin-top: calc(var(--hdr-h) + 16px);
}

/* v3.23.1: "Produk lainnya" di bawah halaman produk (kartu Script biasa). */
.pd-related {
  margin-top: clamp(30px, 4.5vw, 56px);
}

.sec-title--sm {
  font-size: clamp(22px, 2.6vw, 30px);
}

.rvpage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 370px);
  grid-template-areas:
    "main sum"
    "main form";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 18px clamp(16px, 2.4vw, 24px);
}

.rvpage-sum {
  grid-area: sum;
}

.rvpage-main {
  grid-area: main;
  min-width: 0;
  scroll-margin-top: calc(var(--hdr-h) + 16px);
}

.rvpage-form {
  grid-area: form;
  scroll-margin-top: calc(var(--hdr-h) + 16px);
}

.rvpage-sum .panel-title {
  overflow-wrap: anywhere;
}

.rvtools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 0 0 12px;
}

.rvfilter {
  display: flex;
  flex: 1 1 280px;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  margin: 0;
}

.rvfilter-k {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--muted);
}

.rvfilter-k .icon {
  width: 15px;
  height: 15px;
}

.rvfilter-sel {
  flex: 1;
  min-width: 0;
}

.rvfilter-sel select {
  height: 42px;
  font-size: 14.5px;
  border-radius: 12px;
}

.chip--star {
  gap: 4px;
  min-width: 52px;
  justify-content: center;
}

.chip--star .st {
  width: 13px;
  height: 13px;
}

.rvresult {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--muted);
}

.rvresult-f {
  font-weight: 700;
  color: var(--text);
}

.rvresult .link-sm {
  margin-left: 6px;
}

/* Paginasi */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.pager-list {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pager-n,
.pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: rgba(var(--tint-rgb), 0.03);
  color: var(--text-2);
  font-weight: 750;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.pager-n {
  min-width: 38px;
  padding: 0 8px;
}

.pager-btn {
  padding: 0 14px;
  font-size: 14px;
}

.pager-btn .icon {
  width: 16px;
  height: 16px;
}

a.pager-n:hover,
a.pager-btn:hover {
  color: var(--heading);
  border-color: rgba(58, 160, 255, 0.5);
  background: rgba(58, 160, 255, 0.1);
}

.pager-n[aria-current] {
  color: var(--on-blue);
  border-color: transparent;
  background: var(--blue-ink);
}

.pager-gap {
  display: grid;
  place-items: center;
  width: 20px;
  color: var(--faint);
}

.pager-btn.is-off,
.pager-n.is-off {
  opacity: 0.4;
  cursor: default;
}

/* Form ulasan */
.rvform .form {
  display: grid;
  gap: 14px;
}

.rvform .form > .field,
.rvform .form > .counter,
.rvform .form > .field-hint {
  margin-bottom: 0;
}

.rvform .form > .counter {
  margin-top: -10px;
}

.rvform-hint {
  margin: -10px 4px 0;
}

.rvform-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-2);
  background: rgba(58, 160, 255, 0.07);
  border: 1px solid rgba(58, 160, 255, 0.2);
}

.rvform-note .icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--accent, var(--sky));
}

.rvform-note--warn {
  background: rgba(255, 200, 87, 0.08);
  border-color: rgba(255, 200, 87, 0.3);
}

.rvform-note--warn .icon {
  color: var(--warn-text, var(--warn));
}

.rvform--cta .panel-lead {
  margin-bottom: 14px;
}

/* Input bintang (radio) */
.srate {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.srate-k {
  margin: 0 0 8px;
  padding: 0;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--text);
}

.srate-k .req {
  color: var(--warn-text, var(--warn));
}

.srate-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.srate-stars {
  position: relative;
  display: flex;
  gap: 2px;
}

/* Radio tetap bisa difokus & dipakai keyboard/pembaca layar, hanya disembunyikan secara visual. */
.srate-in {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

.srate-star {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.srate-star:hover {
  background: rgba(255, 200, 87, 0.08);
}

.srate-star .st {
  width: 30px;
  height: 30px;
  transition: transform 0.25s var(--ease-spring);
}

.srate-star:hover .st {
  transform: scale(1.14);
}

.srate-in:focus-visible + .srate-star {
  outline: 2px solid var(--accent-2, var(--ice));
  outline-offset: 1px;
}

.js .srate[data-show="1"] .srate-star:nth-of-type(-n + 1) .st,
.js .srate[data-show="2"] .srate-star:nth-of-type(-n + 2) .st,
.js .srate[data-show="3"] .srate-star:nth-of-type(-n + 3) .st,
.js .srate[data-show="4"] .srate-star:nth-of-type(-n + 4) .st,
.js .srate[data-show="5"] .srate-star:nth-of-type(-n + 5) .st,
.no-js .srate-stars:has(.srate-in:nth-of-type(1):checked) .srate-star:nth-of-type(-n + 1) .st,
.no-js .srate-stars:has(.srate-in:nth-of-type(2):checked) .srate-star:nth-of-type(-n + 2) .st,
.no-js .srate-stars:has(.srate-in:nth-of-type(3):checked) .srate-star:nth-of-type(-n + 3) .st,
.no-js .srate-stars:has(.srate-in:nth-of-type(4):checked) .srate-star:nth-of-type(-n + 4) .st,
.no-js .srate-stars:has(.srate-in:nth-of-type(5):checked) .srate-star:nth-of-type(-n + 5) .st {
  background: var(--star-on);
}

.srate.is-pop .srate-star .st {
  animation: star-pop 0.35s var(--ease-spring);
}

@keyframes star-pop {
  50% {
    transform: scale(1.25);
  }
}

.srate.is-invalid .srate-star .st {
  background: rgba(255, 110, 140, 0.4);
}

.srate-text {
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--warn-text, #ffe2a0);
}

.srate:not([data-show]) .srate-text {
  font-weight: 650;
  color: var(--faint);
}

/* ---------- Akun, daftar, klaim, verifikasi opsional ---------- */

.vopt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid rgba(58, 160, 255, 0.26);
}

.vopt-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: var(--accent, var(--sky));
  background: rgba(58, 160, 255, 0.14);
}

.vopt-copy strong {
  font-size: 14px;
}

.vopt-copy p {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.vopt .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.claimbox {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid rgba(58, 160, 255, 0.45);
}

.claimbox-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--accent, var(--sky));
  background: rgba(58, 160, 255, 0.16);
}

.claimbox strong {
  font-size: 14.5px;
}

.claimbox p {
  margin: 2px 0 0;
  font-size: 13.5px;
  color: var(--text-2);
}

.claimbox .btn {
  grid-column: 1 / -1;
}

.reg-perks {
  display: grid;
  gap: 6px;
  margin: -8px 0 16px;
  padding: 0;
  list-style: none;
}

.reg-perks li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-2);
}

.reg-perks .icon {
  width: 16px;
  height: 16px;
  color: var(--success-text, var(--success));
}

.reg-perks strong {
  color: var(--heading);
}

.opt-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  height: 26px;
  margin: 0 auto 12px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2, var(--ice));
  background: rgba(58, 160, 255, 0.12);
  border: 1px solid rgba(58, 160, 255, 0.35);
}

.opt-pill .icon {
  width: 13px;
  height: 13px;
}

.opt-pill--warn {
  color: var(--warn-text, var(--warn));
  background: rgba(255, 200, 87, 0.1);
  border-color: rgba(255, 200, 87, 0.4);
}

.vperks {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 12px 14px;
  list-style: none;
  border-radius: 12px;
  background: rgba(var(--tint-rgb), 0.03);
  border: 1px solid var(--line);
}

.vperks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
}

.vperks .icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--accent, var(--sky));
}

.vperks strong {
  color: var(--heading);
}

.gcard-alt--sm {
  margin-top: 8px;
  font-size: 13px;
}

/* Kata tebal di dalam teks peringatan tetap sebaris (judulnya saja yang blok). */
.warnbox p strong {
  display: inline;
  font-size: inherit;
  font-weight: 800;
}

/* ---------- Responsif (v6) ---------- */

@media (max-width: 1100px) {
  .rvgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .qpage {
    grid-template-columns: minmax(0, 1fr);
  }

  .qside {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  }

  .rvpage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "sum"
      "main"
      "form";
    grid-template-rows: auto;
  }
}

@media (max-width: 760px) {
  .ticker {
    display: block;
    padding: 0 12px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ticker-clone,
  .feedbar-pause {
    display: none;
  }

  .ticker--move .ticker-track,
  .ticker-track {
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 0;
    animation: none;
  }

  .ticker-track .tk:nth-child(n + 6) {
    display: none;
  }

  .tk {
    max-width: none;
    align-items: flex-start;
  }

  .tk-main {
    flex: 1;
  }

  .tk-line,
  .feed .tk-line {
    font-size: 14px;
    white-space: normal;
  }

  .tk-sub {
    flex-wrap: wrap;
    gap: 2px 8px;
    white-space: normal;
  }

  /* "Selesai" jadi lingkaran centang (teks tetap terbaca pembaca layar). */
  .tk-done {
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    margin-top: 6px;
  }

  .tk-done span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .tk-done .icon {
    width: 14px;
    height: 14px;
  }

  .feedbar-head {
    padding: 0 14px 12px;
  }

  .stats {
    gap: 8px;
  }

  .stat {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    text-align: center;
  }

  .stat-ico {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .stat-ico .icon {
    width: 19px;
    height: 19px;
  }

  .stat-main {
    align-items: center;
  }

  .stat-n {
    font-size: 21px;
  }

  .stat-k {
    font-size: 11.5px;
    line-height: 1.3;
  }

  .rvgrid {
    grid-template-columns: minmax(0, 1fr);
  }

  .qsum {
    padding: 16px;
  }

  .qsum-n {
    font-size: 38px;
  }

  .qsum-live {
    margin-left: 0;
    width: 100%;
  }

  /* Tabel antrian -> kartu */
  .qtable thead {
    display: none;
  }

  .qtable,
  .qtable tbody {
    display: block;
  }

  .qtable tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "pos buyer status"
      "pos prod prod"
      "pos wait wait";
    gap: 6px 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(122, 162, 255, 0.08);
  }

  .qtable tbody tr:last-child {
    border-bottom: 0;
  }

  .qtable td {
    display: block;
    padding: 0;
    border: 0;
    background: none !important;
    box-shadow: none !important;
  }

  .qtable .qc-pos {
    grid-area: pos;
    width: auto;
  }

  .qc-buyer {
    grid-area: buyer;
    min-width: 0;
  }

  .qc-status {
    grid-area: status;
    justify-self: end;
  }

  .qc-prod {
    grid-area: prod;
    min-width: 0;
  }

  .qc-wait {
    grid-area: wait;
    font-size: 12.5px;
  }

  .qrow.is-own {
    background: rgba(58, 160, 255, 0.1);
    box-shadow: inset 3px 0 0 var(--accent, #3aa0ff);
  }

  .qc-status .status {
    height: 24px;
    padding: 0 9px;
    font-size: 11.5px;
  }

  .qmore,
  .qhint {
    padding-left: 16px;
    padding-right: 16px;
  }

  .rsum-n {
    font-size: 46px;
  }

  .rvchips .chip {
    padding: 0 12px;
  }

  .rvchips .chip--star {
    min-width: 0;
  }

  .pager-btn span {
    display: none;
  }

  .pager-btn {
    width: 38px;
    padding: 0;
  }

  .qposcard-go {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .rv {
    padding: 16px;
  }

  .rv-head {
    flex-wrap: wrap;
  }

  .rv-badges {
    justify-content: flex-start;
  }

  .srate-star {
    width: 38px;
    height: 38px;
  }

  .srate-star .st {
    width: 27px;
    height: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .ticker--move .ticker-track {
    animation: none !important;
  }

  .ticker-clone {
    display: none;
  }

  .ticker--move {
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-mask-image: none;
    mask-image: none;
  }

  @media (min-width: 761px) {
    .ticker--move .ticker-track {
      padding: 0 18px 6px;
    }
  }

  .feedbar-pause {
    display: none;
  }

  .live-dot {
    animation: none !important;
  }

  .qrow.is-new td {
    animation: none !important;
  }
}

/* ---------- v7: stok Robux ---------- */

.stock {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 6px 13px 6px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--text-2);
  background: rgba(46, 229, 157, 0.07);
  border: 1px solid rgba(46, 229, 157, 0.28);
}

.stock b {
  color: var(--heading);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.stock-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.stock .icon {
  flex: none;
  width: 16px;
  height: 16px;
}

.stock--out {
  color: var(--danger-text, #ffc2cd);
  background: rgba(255, 77, 109, 0.08);
  border-color: rgba(255, 77, 109, 0.32);
  border-radius: 12px;
}

.stock--out .icon {
  color: var(--danger-text, var(--danger));
}

.buy-stock {
  margin: 0;
}

.co-stock {
  margin: 14px 0 0;
}

.co-stock + .calc {
  margin-top: 14px;
}

.avail--out {
  color: var(--on-blue);
  background: var(--danger);
}

.pkgs--out {
  opacity: 0.55;
}

.pkgs li.is-over > span,
.pkgs li.is-over b {
  color: var(--faint);
}

.pkgs li.is-over b {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 77, 109, 0.7);
}

.pkgs-over,
.pkg-opt-over {
  display: inline-block;
  margin-left: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--danger-text, #ff8aa0);
}

.pkg-opt-over {
  margin: 0 0 0 auto;
}

.pkg-opt.is-over .pkg-opt-body b {
  color: var(--faint);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 77, 109, 0.7);
}

/* Modal pesanan: stok di bawah pilihan produk. */
.ostock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 420px) {
  .stock {
    font-size: 12.5px;
  }
}

/* ---------- v8: galeri video YouTube ---------- */

.gallery-main {
  isolation: isolate;
}

.gallery-main.is-video {
  background: #050a1c;
}

.gallery-main img.is-broken {
  visibility: hidden;
}

.gallery-main.is-playing img,
.gallery-main.is-playing .gallery-count {
  visibility: hidden;
}

.gallery-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--on-blue);
  text-decoration: none;
  background: rgba(5, 10, 28, 0.35);
  outline-offset: -4px;
  cursor: pointer;
}

.gallery-play-btn {
  display: grid;
  place-items: center;
  width: clamp(62px, 8vw, 86px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sky);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s;
}

.gallery-play-btn .icon {
  width: 42%;
  height: 42%;
  margin-left: 7%;
}

.gallery-play:hover .gallery-play-btn,
.gallery-play:focus-visible .gallery-play-btn {
  transform: scale(1.08);
}

.gallery-frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.thumb {
  position: relative;
  background: var(--media, #060b1c);
}

.thumb-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 24px;
  border-radius: 8px;
  color: var(--on-blue);
  background: var(--sky);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease-spring);
}

.thumb-play .icon {
  width: 13px;
  height: 13px;
  margin-left: 2px;
}

.thumb--video:hover .thumb-play,
.thumb--video:focus-visible .thumb-play {
  transform: translate(-50%, -50%) scale(1.12);
}

.gallery-yt {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.js .gallery-yt li:not(.is-active) {
  display: none;
}

.gallery-yt a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 13px 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-2, var(--ice));
  text-decoration: none;
  background: rgba(var(--well-rgb), 0.55);
  border: 1px solid var(--line-2);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.gallery-yt a:hover {
  color: var(--heading);
  border-color: rgba(58, 160, 255, 0.55);
  background: rgba(31, 111, 255, 0.12);
}

.gallery-yt small {
  font-weight: 600;
  color: var(--muted);
}

.gallery-yt-ico {
  width: 15px;
  height: 15px;
  color: var(--accent, var(--sky));
}

.gallery-yt .icon-xs {
  color: var(--faint);
}

/* Chip "▶ Video" di kartu produk. */
.vchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--heading);
  background: rgba(3, 5, 12, 0.72);
  border: 1px solid rgba(var(--tint-rgb), 0.16);
}

.vchip .icon {
  width: 16px;
  height: 16px;
  padding: 3px 2px 3px 4px;
  border-radius: 50%;
  color: var(--on-blue);
  background: var(--sky);
}

/* Kanan atas (badge di kiri atas); kalau ada pil "Tidak tersedia" di kanan atas, pindah ke kanan bawah. */
.scard-vchip {
  position: absolute;
  z-index: 2;
  right: 14px;
  top: 14px;
}

.scard-avail ~ .scard-vchip {
  top: auto;
  bottom: 14px;
}

/* ---------- v8: kartu fitur produk ---------- */

.pd--feats {
  grid-template-areas:
    "gallery side"
    "feats side"
    "desc side";
  grid-template-rows: auto auto 1fr;
}

.pd-feats {
  grid-area: feats;
  min-width: 0;
  margin: 6px 0 4px;
  animation: rise 0.7s var(--ease-out) 0.12s both;
}

.pd-feats-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 14px;
  margin: 0 0 14px;
}

.pd-feats-head .panel-title {
  margin: 0;
  font-size: 19px;
}

.pd-feats-n {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.pfeats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pfeat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 150px;
  padding: 24px 24px 26px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(122, 162, 255, 0.14);
  transition: border-color 0.25s, box-shadow 0.35s, transform 0.35s var(--ease-out);
}

.pfeat:hover {
  transform: translateY(-2px);
  border-color: rgba(58, 160, 255, 0.5);
}

.pfeat-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(15.5px, 1.35vw, 18px);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--heading);
  overflow-wrap: anywhere;
}

.pfeat-ico {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--accent-2, var(--ice));
  transition: color 0.25s;
}

.pfeat:hover .pfeat-ico {
  color: var(--accent, var(--sky));
}

.pfeat-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* ---------- v8: lisensi (cakupan, masa berlaku, checkout 409) ---------- */

.kfacts--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kfacts dd.kfacts-good {
  color: var(--success-text, var(--success));
}

.kfacts dd.kfacts-bad {
  color: var(--danger-text, #ff9db0);
}

.kscope {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
  background: rgba(46, 229, 157, 0.06);
  border: 1px solid rgba(46, 229, 157, 0.22);
}

.kscope > .icon {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--success-text, var(--success));
}

.kscope > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.kscope strong {
  color: var(--heading);
}

.kscope-hint {
  font-size: 12.5px;
  color: var(--muted);
}

.lic-group-hint {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: -4px 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.lic-group-hint .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--accent, var(--sky));
}

.kexpiry {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13.5px;
  color: var(--text-2);
}

.kexpiry .icon {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--accent, var(--sky));
}

.kexpiry--bad {
  color: var(--warn-text, #ffd9a0);
}

.kexpiry--bad .icon {
  color: var(--warn-text, var(--warn));
}

.kcard--expired {
  background: rgba(var(--well-rgb), 0.5);
  border-color: rgba(255, 200, 87, 0.32);
}

.kcard--expired .kcard-icon {
  color: var(--warn-text, var(--warn));
  background: rgba(255, 200, 87, 0.1);
  border-color: rgba(255, 200, 87, 0.3);
}

.kcard--expired .kkey-v {
  color: var(--muted);
}

.kcard-expired {
  color: var(--warn-text, #ffe7b3);
  background: rgba(255, 200, 87, 0.08);
  border-color: rgba(255, 200, 87, 0.32);
}

.kcard-expired .icon {
  color: var(--warn-text, var(--warn));
}

.kcard-linked .icon {
  color: var(--accent-2, var(--ice));
}

.explain p + p:not(.explain-sub) {
  margin-top: 8px;
}

/* **tebal** di dalam paragraf penjelasan tetap sebaris (hanya judul kotak yang block). */
.explain p strong {
  display: inline;
  margin: 0;
}

.explain--warn {
  margin: 12px 0 0;
  background: rgba(255, 200, 87, 0.07);
  border-color: rgba(255, 200, 87, 0.34);
}

.explain--warn .explain-icon {
  color: var(--warn-text, var(--warn));
  background: rgba(255, 200, 87, 0.14);
}

.explain-actions {
  margin-top: 10px !important;
}

.co-block--error {
  border-color: rgba(255, 200, 87, 0.4);
}

.toast-link {
  color: var(--accent-2, var(--ice));
  font-weight: 750;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .pfeat {
    padding: 20px 20px 22px;
  }
}

@media (max-width: 960px) {
  .pd--feats {
    grid-template-areas:
      "gallery"
      "side"
      "feats"
      "desc";
    grid-template-rows: auto;
  }
}

@media (max-width: 760px) {
  .kfacts--4 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .kfacts--4 > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .pfeats {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .pfeat {
    min-height: 0;
    padding: 18px 18px 20px;
    gap: 10px;
  }

  .pfeat-title {
    font-size: 16px;
  }

  .pfeat-desc {
    font-size: 14.5px;
  }

  .thumb-play {
    width: 30px;
    height: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pfeat,
  .gallery-play-btn,
  .thumb-play {
    transition: none;
  }

  .pfeat:hover {
    transform: none;
  }
}
/* ==========================================================================
   v9: "≈ US$" (harga utama tetap Rupiah) + PayPal
   ========================================================================== */
.usd {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  cursor: help;
}

.usd[hidden] {
  display: none;
}

.usd--lg {
  margin-top: 4px;
  font-size: 15px;
  color: var(--accent-2, var(--ice));
}

.scard-price .usd {
  -webkit-text-fill-color: currentColor;
}

.ocard-usd {
  margin: -10px 0 14px;
}

.usd-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--faint);
}

.usd-note .icon {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

.ototal-amt {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 0;
}

.ototal-amt .ototal-usd {
  font-size: 13px;
}

.omodal-usd-note {
  margin-top: 6px;
}

.sum-usd,
.pay-usd {
  margin: 6px 0 0;
  text-align: right;
}

.pay-usd {
  text-align: left;
}

.usd-pay {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--accent-2, var(--ice));
  white-space: nowrap;
}

.usd-pay .icon {
  width: 14px;
  height: 14px;
}

.orow-side .usd,
.orow-side .usd-pay {
  display: block;
}

.pay-opt--paypal .pay-opt-ico,
.opay-ico--paypal {
  color: var(--accent, #7cc4ff);
}

.pp-note,
.pp-lead,
.pp-paid {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
}

.pp-note .icon,
.pp-lead .icon,
.pp-paid .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--accent, #7cc4ff);
}

.pp-paid {
  font-weight: 700;
  color: var(--accent-2, var(--ice));
}

.pay--paypal .bigtotal {
  color: var(--heading);
}

.pp-pay {
  margin: 16px 0 0;
}

.btn--paypal {
  color: #0b1530;
  background: #ffc439;
  border-color: rgba(255, 196, 57, 0.9);
}

.btn--paypal:hover,
.btn--paypal:focus-visible {
  background: #ffcb4f;
}

.btn--paypal .icon {
  color: #003087;
}

/* v9.1: PayPal manual (PayPal.Me) */
.pay-opt-body small.pay-opt-note {
  margin-top: 2px;
  color: var(--text-2);
}

.pp-pay--me .btn {
  text-decoration: none;
}

.pp-or {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.pp-idr {
  color: var(--text-2);
}

.pp-steps-wrap {
  margin: 16px 0 0;
}

.pp-steps li {
  overflow-wrap: anywhere;
}

.pacct-ico--paypal {
  color: var(--accent, #7cc4ff);
}

/* v3.18: halaman pantul PayPal + halaman cadangan (views gagal) = satu kartu tebal navy chunky di tengah, kedua tema. */
.page--bounce .bounce,
.page--fallback .bare {
  width: min(100% - 32px, 520px);
  margin: 16vh auto 0;
  padding: 26px 24px 24px;
  text-align: center;
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-card);
}

.page--bounce .bounce h1,
.page--fallback .bare h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--heading);
}

.page--bounce .bounce p,
.page--fallback .bare p {
  margin: 0 0 12px;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.page--fallback .bare form:empty {
  display: none;
}

.page--bounce .bounce .btn,
.page--fallback .bare .btn {
  margin-top: 6px;
}

.page--bounce footer,
.page--fallback footer {
  margin: 28px 0 24px;
  text-align: center;
  font-size: 12px;
}

.page--bounce footer a,
.page--fallback footer a {
  color: var(--muted);
}

/* =====================================================================================================
   Touch targets: guarantee a >=44px hit area for the small interactive controls on touch pointers
   (WCAG 2.5.5 / spec). Applies to coarse pointers only, so the compact desktop (mouse) chrome is kept.
   ===================================================================================================== */
@media (pointer: coarse) {
  .lang {
    height: auto;
  }

  .lang-opt {
    min-height: 44px;
  }

  .chip {
    min-height: 44px;
  }

  .calc-preset {
    min-height: 44px;
  }
}

/* =====================================================================================================
   v3.16 "navy chunky" — lapisan tampilan akhir (menimpa lapisan lama di atas; selektor sama/lebih kuat, posisi
   lebih akhir). Warna datar, garis luar 2px gelap (--outline), bayangan SOLID bergeser (tanpa blur), blok sorotan
   miring, tag bergaris, pemisah putus-putus, badge sudut. Tanpa glow / gradasi / kaca / partikel.
   Bentuk: kartu 12px, tombol 10px, tag 6px, pil 999px. Hover: geser -1px + bayangan lebih tebal; ditekan: geser 2px.
   ===================================================================================================== */

/* ---------- Dasar ---------- */

html {
  background: var(--bg0);
}

h1,
h2,
h3,
.sec-title,
.page-title,
.hero-title,
.gcard-title,
.buy-title {
  color: var(--heading);
}

.sec-title,
.page-title,
.buy-title,
.gcard-title,
.ocard-title,
.scard-title,
.auth-aside-title,
.dcta-copy h2,
.omodal-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
}

::selection {
  background: var(--blue-ink);
  color: var(--on-blue);
}

/* Cincin fokus = outline (bukan glow). */
:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--accent-2, var(--ice));
  outline-offset: 3px;
}

.skip {
  border: 2px solid var(--outline);
  border-radius: 10px;
  background: var(--blue-ink);
  box-shadow: var(--sh);
}

/* Muncul saat digulir: pendek & halus. */
.js .reveal-ready {
  transform: translateY(14px);
}

.js .reveal-ready.is-in {
  transition: opacity 0.45s var(--ease-out) var(--rd, 0s), transform 0.45s var(--ease-out) var(--rd, 0s);
}

/* Kata sorotan judul (dulu teks gradasi). Satu gaya sorotan untuk seluruh toko: blok miring solid seperti hero / 404, hanya di
   judul halaman (h1, satu per halaman). Di judul bagian (h2) teksnya putih polos, tanpa warna. */
.grad,
.grad-green {
  color: inherit;
}

.page-title .grad,
.page-title .grad-green {
  display: inline-block;
  max-width: 100%;
  margin: 0.1em 0.05em 0.06em 0;
  padding: 0 0.2em 0.06em;
  border: 2px solid var(--outline);
  border-radius: 10px;
  color: var(--on-blue);
  background: var(--blue);
  box-shadow: 3px 3px 0 var(--outline);
  overflow-wrap: anywhere;
  transform: rotate(-1.5deg);
}

.page-title .grad-green {
  color: #03170e;
  background: var(--success);
}

/* ---------- Header ---------- */

.hdr,
.hdr.is-scrolled,
.hdr.is-open {
  background: var(--bg0);
  border-bottom: 2px solid var(--outline);
  box-shadow: none;
}

/* Logo berlatar hitam: cincin --logo-ring (garis --outline nyaris sama dengan latar header gelap). */
.brand-logo img {
  border: 2px solid var(--logo-ring);
}

.brand-silver {
  color: var(--heading);
}

.brand-blue {
  color: var(--accent, var(--sky));
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
}

@media (min-width: 1101px) {
  .nav-links {
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 2px solid var(--outline);
  }

  .nav-link {
    height: 36px;
    border-radius: 8px;
    border: 2px solid transparent;
  }
}

.nav-link:hover {
  color: var(--heading);
  background: var(--surface-3);
}

.nav-link[aria-current="page"] {
  color: var(--on-blue);
  background: var(--blue-ink);
  border-color: var(--outline);
}

.nav-link[aria-current="page"] .nav-ico,
.nav-link:hover .nav-ico {
  color: inherit;
}

.hdr-burger {
  border: 2px solid var(--outline);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--sh-sm);
}

.umenu-btn {
  border: 2px solid var(--outline);
  background: var(--surface);
  box-shadow: var(--sh-sm);
}

.umenu-btn:hover,
.umenu[open] .umenu-btn {
  border-color: var(--outline);
  background: var(--surface-3);
}

.umenu-pop {
  padding: 8px;
  border-radius: 12px;
  background: var(--surface);
  border: 2px solid var(--outline);
  box-shadow: var(--sh-card);
}

.umenu-head {
  border-bottom: 2px dashed var(--line);
}

.umenu-item {
  border-radius: 8px;
}

.umenu-item:hover {
  background: var(--surface-3);
}

.avatar {
  background: var(--blue-ink);
  border: 2px solid var(--outline);
}

.avatar--xl {
  box-shadow: var(--sh);
}

.lang {
  border: 2px solid var(--outline);
  border-radius: 10px;
  background: var(--surface-2);
}

.lang-opt {
  border-radius: 6px;
}

.lang-opt:hover {
  background: var(--surface-3);
}

.lang-opt[aria-current="true"] {
  color: var(--on-blue);
  background: var(--blue-ink);
}

@media (max-width: 1100px) {
  .nav {
    background: var(--bg0);
    border-bottom: 2px solid var(--outline);
  }

  .nav-link {
    border-radius: 10px;
    background: var(--surface);
    border: 2px solid var(--outline);
    box-shadow: var(--sh-sm);
  }

  .nav-link[aria-current="page"] {
    background: var(--blue-ink);
  }
}

/* Pengumuman + toko tutup */
.announce {
  background: var(--surface-3);
  border-bottom: 2px solid var(--outline);
}

.announce-in {
  color: var(--text);
}

.announce-icon {
  border-radius: 6px;
  background: var(--blue-ink);
  border: 2px solid var(--outline);
}

.closed-bar {
  color: #2a1d00;
  background: var(--warn);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh);
}

.closed-bar .icon,
.closed-bar strong {
  color: #2a1d00;
}

/* ---------- Tombol ---------- */

.btn {
  border: 2px solid var(--outline);
  border-radius: 10px;
  box-shadow: var(--sh);
  font-weight: 750;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s;
}

.btn--lg,
.btn--block {
  border-radius: 10px;
}

.btn--sm {
  border-radius: 9px;
  box-shadow: var(--sh-sm);
}

.btn--xs {
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--outline);
}

.btn--primary,
.btn--grad {
  color: var(--cta-ink);
  background: var(--sky);
}

.btn--primary:hover:not(:disabled):not(.is-disabled),
.btn--grad:hover:not(:disabled):not(.is-disabled) {
  background: #5cb2ff;
}

.btn--primary .btn-spinner,
.btn--grad .btn-spinner {
  border-color: rgba(4, 18, 46, 0.25);
  border-top-color: var(--cta-ink);
}

.btn--ghost {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--ghost-line);
}

.btn--ghost:hover:not(:disabled):not(.is-disabled) {
  color: var(--heading);
  background: var(--surface-3);
  border-color: var(--accent, var(--sky));
}

.btn--green {
  color: #03170e;
  background: var(--success);
}

.btn--green:hover:not(:disabled):not(.is-disabled) {
  background: #5cf0b6;
}

.btn--discord {
  color: var(--on-blue);
  background: var(--blue-ink);
}

.btn--discord:hover {
  background: #2268f0;
}

.btn--light {
  color: var(--cta-ink);
  background: #fff;
}

.btn--light:hover {
  background: #eaf2ff;
}

.btn--warn {
  color: #2a1d00;
  background: var(--warn);
}

.btn--danger {
  color: var(--danger-ink);
  background: var(--danger);
}

.btn--danger .btn-spinner {
  border-color: rgba(26, 5, 9, 0.25);
  border-top-color: var(--danger-ink);
}

/* Garis tombol bernada: warna nada di tema gelap, navy di tema terang (--tone-line; merah / hijau di atas putih < 3:1). */
.btn--danger-soft {
  color: var(--danger-text, #ffb3c2);
  background: var(--surface-2);
  border-color: var(--tone-line, var(--danger));
}

.btn--danger-soft:hover:not(:disabled) {
  color: var(--danger-ink);
  background: var(--danger);
  border-color: var(--outline);
}

.btn--paypal {
  color: #0b1530;
  background: #ffc439;
  border-color: var(--outline);
}

.btn--paypal:hover,
.btn--paypal:focus-visible {
  background: #ffcf5c;
}

.btn.btn--off,
.btn.btn--off:hover {
  color: var(--faint);
  background: var(--surface-2);
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.btn.is-done {
  color: var(--success-text, #c9ffe9);
  background: rgba(46, 229, 157, 0.14);
  border-color: var(--tone-line, var(--success));
}

.btn.is-failed {
  border-color: var(--tone-line, var(--danger));
}

/* Hover: naik 1px + bayangan lebih tebal. Ditekan: turun 2px + bayangan tipis. */
.btn:hover:not(:disabled):not(.is-disabled):not(.btn--off) {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--outline);
}

.btn--sm:hover:not(:disabled):not(.is-disabled):not(.btn--off) {
  box-shadow: 4px 4px 0 var(--outline);
}

.btn--xs:hover:not(:disabled):not(.is-disabled):not(.btn--off) {
  box-shadow: 3px 3px 0 var(--outline);
}

.btn:active:not(:disabled):not(.is-disabled):not(.btn--off) {
  transform: translate(2px, 2px);
  box-shadow: var(--sh-press);
}

.btn--xs:active:not(:disabled):not(.is-disabled):not(.btn--off) {
  box-shadow: 1px 1px 0 var(--outline);
}

.link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Kepala bagian ---------- */

/* Eyebrow = pil bergaris polos (tanpa titik bercahaya), seperti referensi. */
.pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2, var(--ice));
  background: var(--surface-2);
  border: 2px solid var(--line);
  box-shadow: none;
}

.pill {
  margin: 0 0 22px;
}

.eyebrow {
  margin: 0 0 14px;
}

.eyebrow .icon {
  width: 14px;
  height: 14px;
  color: var(--accent, var(--sky));
}

.eyebrow--green .icon {
  color: var(--success-text, var(--success));
}

.sec-head--center .eyebrow {
  margin-inline: auto;
}

.sec-title {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
}

.sec-lead,
.page-lead {
  color: var(--muted);
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(30px, 5.5vw, 76px) 0 clamp(20px, 3vw, 40px);
}

.hero-copy > * {
  animation-duration: 0.5s;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--heading);
}

/* Dua kata sorotan: blok biru solid miring -2deg, garis 2px + bayangan solid 4px, teks putih. */
.hero-title .hl {
  display: inline-block;
  max-width: 100%;
  margin: 0.14em 0.06em 0.06em 0;
  padding: 0.02em 0.22em 0.08em;
  border: 2px solid var(--outline);
  border-radius: 10px;
  color: var(--on-blue);
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--outline);
  transform: rotate(-2deg);
}

.hero-lead {
  max-width: 540px;
  color: var(--text-2);
}

.hero-cta {
  gap: 14px;
}

.hero-trust {
  gap: 10px 20px;
  color: var(--muted);
}

.hero-trust .icon {
  color: var(--accent, var(--sky));
}

/* Kanan: SATU kartu tebal berbingkai = produk unggulan pertama dengan thumbnail aslinya. */
.hero-side {
  justify-self: center;
  width: min(100%, 480px);
  min-width: 0;
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: 6px 6px 0 var(--outline);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

a.hero-card:hover {
  transform: translate(-1px, -1px);
  box-shadow: 7px 7px 0 var(--outline);
}

a.hero-card:active {
  transform: translate(2px, 2px);
  box-shadow: var(--sh-press);
}

.hero-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-3);
  border-bottom: 2px solid var(--outline);
}

.hero-card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-media--logo {
  display: grid;
  place-items: center;
}

.hero-card-media--logo > img,
.hero-card-logo img {
  width: min(42%, 170px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--outline);
  box-shadow: var(--sh);
}

.hero-card-logo {
  display: contents;
}

.hero-card--logo .hero-card-media {
  aspect-ratio: 16 / 10;
}

.hero-card-badge {
  position: absolute;
  z-index: 1;
  left: 12px;
  top: 12px;
  max-width: calc(100% - 24px);
}

.hero-card-body {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px 18px 18px;
}

.hero-card-k {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2, var(--ice));
}

.hero-card-name {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading);
  overflow-wrap: anywhere;
}

.hero-card-desc {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 2px dashed var(--line);
}

.hero-card-price {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hero-card-price small {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.hero-card-price b {
  font-size: 22px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  color: var(--heading);
}

.hero-card-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--cta-ink);
  background: var(--sky);
  border: 2px solid var(--outline);
  box-shadow: var(--sh-sm);
}

.hero-card-go .icon {
  width: 17px;
  height: 17px;
}

a.hero-card:hover .hero-card-go .btn-arrow {
  transform: translateX(3px);
}

@media (min-width: 961px) {
  .hero-in {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}

@media (max-width: 960px) {
  .hero-side {
    width: min(100%, 460px);
  }
}

@media (max-width: 600px) {
  .hero-title .hl {
    box-shadow: 3px 3px 0 var(--outline);
  }

  .hero-card-body {
    padding: 14px 14px 16px;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Permukaan: kartu tebal ---------- */

.panel,
.feature,
.contact-band,
.buy,
.gcard,
.omodal-card,
.modal-card,
.stat,
.feedbar,
.rv,
.pfeat,
.qmine,
.qposcard,
.robux,
.ocard,
.scard {
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-card);
}

.gcard {
  isolation: auto;
}

.gcard.is-shaking {
  border-color: var(--danger);
}

/* Tanpa garis warna di tepi kartu: garis tetap 2px gelap, nada hanya dari kotak ikon solid di dalam kartu. */
.panel--tip,
.state,
.paid {
  border-color: var(--outline);
  box-shadow: var(--sh-card);
}

.panel--tip h3 .icon,
.paid .panel-title .icon {
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  padding: 4px;
  flex: none;
  color: #03170e;
  background: var(--success);
  border: 2px solid var(--outline);
  border-radius: 6px;
  box-shadow: 2px 2px 0 var(--outline);
}

.state--ice {
  --c: 169, 209, 255;
}

.state-icon {
  color: #050a1c;
  background: rgb(var(--c));
  border-color: var(--outline);
  box-shadow: 2px 2px 0 var(--outline);
}

.feature,
.pfeat,
.qposcard {
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.feature:hover,
.pfeat:hover,
.qposcard:hover {
  transform: translate(-1px, -1px);
  border-color: var(--outline);
  box-shadow: var(--sh-hover);
}

/* Permukaan bersarang (di dalam kartu): garis lembut 2px, tanpa bayangan. */
.orow,
.owned,
.lic,
.kcard,
.pacct,
.method,
.buy-pkgs,
.opay,
.kfacts > div,
.kplaces,
.pothers,
.rv-editform,
.tips,
.ch,
.tk,
.instructions {
  background: var(--surface-2);
  border-width: 2px;
  border-color: var(--line);
  border-radius: 10px;
}

.instructions {
  border-style: dashed;
}

.orow:hover {
  border-color: var(--accent, var(--sky));
  background: var(--surface-3);
}

.rv-reply,
.contact-note,
.done-lic,
.khow,
.claimbox,
.vopt,
.qresult,
.explain,
.deadline,
.rgate,
.rsafe,
.pmethod--qris,
.pacct--big,
.bank-lines li.has-copy,
.kcard-revoked,
.pmethod-merchant,
.alert,
.banner {
  border-width: 2px;
  border-radius: 10px;
}

/* Balasan owner: permukaan bersarang biasa (garis lembut 2px di keempat sisi, tanpa garis tepi berwarna). */
.rv-reply {
  background: var(--surface-2);
  border: 2px solid var(--line);
}

/* ---------- Statistik (kartu solid) ---------- */

.stat-ico {
  color: var(--cta-ink);
  background: rgb(var(--c));
  border: 2px solid var(--outline);
  border-radius: 10px;
  box-shadow: 2px 2px 0 var(--outline);
}

.stat-n {
  color: var(--heading);
}

.stat--ice {
  --c: 169, 209, 255;
}

/* ---------- Ticker pembelian ---------- */

.tk-ico {
  color: #050a1c;
  border: 2px solid var(--outline);
  border-radius: 8px;
  background: rgb(var(--c));
}

.tk--manual {
  --c: 169, 209, 255;
}

.tk-done {
  border-width: 2px;
  border-radius: 6px;
}

.live-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--outline);
}

.feedbar-pause {
  border: 2px solid var(--outline);
  border-radius: 8px;
  background: var(--surface-2);
  box-shadow: 2px 2px 0 var(--outline);
}

/* ---------- Kartu produk (.scard) ---------- */

.scard {
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.scard:hover,
.scard:focus-within {
  transform: translate(-1px, -1px);
  border-color: var(--outline);
  box-shadow: var(--sh-hover);
}

.scard-media {
  background: var(--surface-3);
  border-bottom: 2px solid var(--outline);
}

.scard:hover .scard-img {
  transform: none;
}

.scard-badge {
  left: 12px;
  top: 12px;
  max-width: calc(100% - 24px);
}

.scard-avail {
  right: 12px;
  top: 12px;
}

.scard-body {
  gap: 12px;
  padding: 18px 20px 20px;
}

.scard-title {
  font-size: 19px;
  line-height: 1.25;
}

.scard-title a {
  color: var(--heading);
}

.scard-title a:hover {
  color: var(--accent-2, var(--ice));
}

.scard-desc {
  margin: -2px 0 0;
  font-size: 14.5px;
}

.scard-rating {
  display: flex;
  margin-top: -2px;
}

/* Pemisah putus-putus + harga + "Lihat →". */
.scard-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 2px dashed var(--line);
}

.scard-foot .scard-price {
  margin: 0;
  padding: 0;
}

.scard-price strong {
  font-size: 21px;
  color: var(--heading);
}

.scard-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.scard-cta,
.scard-quick {
  flex: none;
  --btn-h: 40px;
  border-radius: 9px;
  font-size: 14.5px;
}

/* Tag bergaris (pil kecil). */
.tchips {
  gap: 6px;
}

.tchips li {
  height: 28px;
  padding: 0 10px 0 8px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-2);
  background: transparent;
  border: 2px solid var(--line);
}

.tchips .icon {
  width: 14px;
  height: 14px;
}

/* Badge sudut: isi solid + garis 2px + bayangan kecil. Premium/biru = #a9d1ff, Baru/oranye = #ffc857. */
.obadge {
  --b1: #a9d1ff;
  --bt: #04122e;
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--bt);
  background: var(--b1);
  border: 2px solid var(--outline);
  box-shadow: 2px 2px 0 var(--outline);
}

.obadge--green {
  --b1: #2ee59d;
  --bt: #03170e;
}

.obadge--orange {
  --b1: #ffc857;
  --bt: #2a1d00;
}

.obadge--purple {
  --b1: #8fd0ff;
  --bt: #04122e;
}

.obadge--pink {
  --b1: #ff9ed1;
  --bt: #2a0018;
}

.obadge--grey {
  --b1: #c9d1e3;
  --bt: #0c1222;
}

.avail {
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  border: 2px solid var(--outline);
}

.avail--on {
  color: #03170e;
  background: var(--success);
}

.avail--off {
  color: var(--muted);
  background: var(--surface-2);
  border-color: var(--line);
}

.avail--out {
  color: var(--danger-ink);
  background: var(--danger);
}

.cat {
  height: 26px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 2px solid var(--line);
}

.cat--kit {
  --c: 169, 209, 255;
}

/* Kotak ikon = isi warna SOLID + ikon gelap (warna hangat transparan di atas navy jadi ungu keabu-abuan). */
.itile {
  color: #050a1c;
  border: 2px solid var(--outline);
  border-radius: 10px;
  background: rgb(var(--c));
  box-shadow: 2px 2px 0 var(--outline);
}

.itile--purple {
  --c: 143, 208, 255;
}

.itile--orange {
  --c: 255, 150, 90;
}

.itile--pink {
  --c: 255, 158, 209;
}

.vchip {
  border-radius: 6px;
  background: var(--surface);
  border: 2px solid var(--outline);
  box-shadow: 2px 2px 0 var(--outline);
}

.vchip .icon {
  color: var(--cta-ink);
}

/* Gambar pengganti (produk tanpa thumbnail): blok polos + nama produk, tanpa gradasi. */
.ph {
  background: var(--surface-3);
}

.ph-glyph {
  border-radius: 12px;
  background: var(--surface);
  border: 2px solid var(--outline);
  box-shadow: 3px 3px 0 var(--outline);
}

.ph-name {
  color: var(--text-2);
  letter-spacing: 0.12em;
}

.ph--kit {
  --c: 169, 209, 255;
}

.rchip {
  border-width: 2px;
  border-radius: 6px;
}

/* ---------- Katalog: chip filter + cari ---------- */

.chip {
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
}

.chip:hover {
  color: var(--heading);
  border-color: var(--accent, var(--sky));
}

.chip[aria-pressed="true"],
.chip[aria-current="true"] {
  color: var(--on-blue);
  background: var(--blue-ink);
  border-color: var(--outline);
  box-shadow: var(--sh-sm);
}

.search input {
  height: 42px;
  border: 2px solid var(--outline);
  border-radius: 10px;
  background: var(--field);
  box-shadow: var(--sh-sm);
}

.search input:focus {
  border-color: var(--accent, var(--sky));
}

.empty-icon {
  border-radius: 12px;
  background: var(--surface-3);
  border: 2px solid var(--outline);
  box-shadow: 3px 3px 0 var(--outline);
}

.empty--search {
  border: 2px dashed var(--line);
  border-radius: 12px;
}

/* ---------- Robux ---------- */

.robux {
  border-radius: 12px;
}

.robux-card {
  background: var(--surface-2);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh);
}

.rate {
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}

.rate-k {
  border: 2px solid var(--outline);
  border-radius: 6px;
}

.checks .icon {
  border-radius: 6px;
}

.checks--panel {
  border-top: 2px dashed var(--line);
}

.ocard {
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ocard:hover,
.ocard:focus-within {
  transform: translate(-1px, -1px);
  border-color: var(--outline);
  box-shadow: var(--sh-hover);
}

.ocard.is-soldout {
  border-color: var(--outline);
}

/* Nomor besar samar di belakang kartu (sisa template lama) tidak dipakai lagi: tertutup badge dan terlihat seperti noda. */
.ocard-num {
  display: none;
}

.ocard-from {
  color: var(--heading);
}

.pkgs li {
  border-bottom: 2px dashed var(--line);
}

.rsteps li {
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 10px;
  box-shadow: var(--sh-sm);
}

.rsteps-n {
  border: 2px solid var(--outline);
  border-radius: 6px;
}

.rgate,
.rsafe {
  border-width: 2px;
}

/* Kalkulator / stepper */
.calc-btn,
.ostepper-btn {
  border: 2px solid var(--outline);
  border-radius: 10px;
  background: var(--surface-2);
  box-shadow: var(--sh-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.15s;
}

.calc-btn:hover:not(:disabled),
.ostepper-btn:hover:not(:disabled) {
  border-color: var(--outline);
  background: var(--surface-3);
}

.calc-btn:active:not(:disabled),
.ostepper-btn:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: var(--sh-press);
}

.calc-preset {
  border: 2px solid var(--line);
}

.calc-preset[aria-pressed="true"] {
  color: #03170e;
  background: var(--success);
  border-color: var(--outline);
  box-shadow: 2px 2px 0 var(--outline);
}

/* ---------- Input ---------- */

.field-input,
.oinput,
.oselect select,
.calc-input {
  border: 2px solid var(--outline);
  border-radius: 10px;
  background-color: var(--field);
}

.field-input:hover,
.oinput:hover,
.oselect select:hover {
  border-color: var(--line);
}

.field-input:focus,
.oinput:focus,
.oselect select:focus,
.calc-input:focus {
  border-color: var(--accent, var(--sky));
  background-color: var(--field);
}

.field-input.is-invalid,
.oinput.is-invalid,
.ofield.is-invalid .oinput,
.calc.is-invalid .calc-input {
  border-color: var(--danger);
}

.field-toggle {
  border-radius: 8px;
}

.check {
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}

.check:hover {
  border-color: var(--accent, var(--sky));
  background: var(--surface-2);
}

.check input {
  border: 2px solid var(--line);
  border-radius: 6px;
  background: var(--field);
}

.check input:checked {
  background: var(--blue-ink);
  border-color: var(--outline);
}

.check:has(input:checked) {
  border-color: var(--accent, var(--sky));
  background: var(--surface-3);
}

.meter span {
  border-radius: 3px;
  background: var(--surface-3);
}

.warnbox {
  color: #2a1d00;
  background: var(--warn);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh);
}

.warnbox strong,
.warnbox b {
  color: #1a1100;
}

.warnbox-icon {
  color: #a34400;
  background: #fff;
  border: 2px solid var(--outline);
  border-radius: 10px;
}

.success-mark {
  color: #03170e;
  background: var(--success);
  border: 2px solid var(--outline);
  box-shadow: 3px 3px 0 var(--outline);
}

.vcode {
  background: var(--surface-2);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh);
}

.vstep-n,
.auth-point-icon,
.explain-icon,
.deadline-icon,
.drop-icon,
.kcard-icon,
.orow-icon,
.owned-icon,
.lic-icon,
.ch-icon,
.qresult-ico,
.kata-empty-ico,
.state-icon,
.claimbox-icon,
.vopt-icon {
  border: 2px solid var(--outline);
  border-radius: 10px;
}

/* Kotak ikon netral solid (tanpa isi warna transparan); nadanya hanya di ikon. */
.orow-icon,
.owned-icon,
.lic-icon {
  background: var(--surface-3);
  border-color: var(--outline);
}

.owned-icon {
  color: var(--accent-2, var(--ice));
}

.ch-icon--server,
.ch-icon--discord {
  --c: 169, 209, 255;
}

.step-dot,
.ostep-dot {
  border-width: 2px;
}

.step.is-done .step-dot,
.step.is-current .step-dot,
.ostep-item.is-done .ostep-dot {
  border-color: var(--outline);
}

.ostep-item.is-current .ostep-dot {
  border-color: var(--accent, var(--sky));
}

.ostep-item.is-error .ostep-dot {
  color: var(--danger-ink);
  border-color: var(--outline);
}

/* ---------- Auth ---------- */

.auth-art img {
  border: 2px solid var(--outline);
  box-shadow: 6px 6px 0 var(--outline);
}

.auth-point-icon {
  background: var(--surface);
  box-shadow: 2px 2px 0 var(--outline);
}

.emblem-img {
  border: 2px solid var(--outline);
  box-shadow: 3px 3px 0 var(--outline);
}

.emblem-badge {
  border: 2px solid var(--outline);
}

.gcard-note {
  border-top: 2px dashed var(--line);
}

/* ---------- Akun: tab + daftar ---------- */

.tabs {
  border-radius: 12px;
  background: var(--surface-2);
  border: 2px solid var(--outline);
  box-shadow: var(--sh-sm);
}

.tab {
  border-radius: 8px;
}

.tabs-indicator {
  border-radius: 8px;
  background: var(--blue-ink);
  border: 2px solid var(--outline);
}

.tab-count {
  border-radius: 6px;
}

.profile-facts {
  border-top: 2px dashed var(--line);
}

/* Nada pesanan ada di pil status solid (tanpa garis warna di tepi baris). */
.orow::before {
  content: none;
}

.sum-thumb {
  border: 2px solid var(--outline);
  border-radius: 8px;
}

.sum-product {
  border-bottom: 2px dashed var(--line);
}

.sum-total,
.sum-lines--dates {
  border-top: 2px dashed var(--line);
}

.co-n {
  border: 2px solid var(--outline);
  border-radius: 8px;
}

/* ---------- Pesanan ---------- */

.pay-total {
  background: var(--surface-2);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh);
}

.deadline + .method {
  margin-top: 14px;
}

.bigtotal-uc {
  border: 2px solid var(--warn);
  border-radius: 6px;
}

.qris {
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-card);
}

.qris:hover {
  transform: none;
}

.opay-qr {
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-sm);
}

.opay-qr-cap,
.qris-badge {
  color: var(--danger-ink);
  border: 2px solid var(--outline);
  border-radius: 6px;
}

.pkg-opt-body,
.pay-opt-body {
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}

.pkg-opt:hover .pkg-opt-body,
.pay-opt:hover .pay-opt-body {
  border-color: var(--accent, var(--sky));
}

.pkg-opt input:checked + .pkg-opt-body,
.pay-opt input:checked + .pay-opt-body {
  border-color: var(--accent, var(--sky));
  background: var(--surface-3);
  box-shadow: 3px 3px 0 var(--outline);
}

.ototal {
  background: var(--surface-2);
  border: 2px dashed var(--line);
  border-radius: 10px;
}

.ototal strong {
  color: var(--heading);
}

.drop-zone {
  background: var(--surface-2);
  border: 2px dashed var(--line);
  border-radius: 12px;
}

.drop:hover .drop-zone,
.drop.is-dragover .drop-zone {
  border-color: var(--accent, var(--sky));
}

.drop.has-file .drop-zone {
  border-color: var(--success);
}

.drop-preview img {
  border: 2px solid var(--outline);
}

.kkey-v,
.kcode {
  background: var(--field);
  border: 2px solid var(--line);
  border-radius: 8px;
}

.kkey-v.is-shown {
  border-color: var(--success);
}

.kcard--revoked {
  border-color: rgba(255, 77, 109, 0.55);
}

.pay-chosen,
.qpill {
  border-width: 2px;
}

/* ---------- Detail produk ---------- */

.gallery-main {
  background: var(--surface-3);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-card);
}

.gallery-thumbs {
  gap: 10px;
  padding: 4px 6px 8px 2px;
}

.thumb {
  border: 2px solid var(--outline);
  border-radius: 8px;
  opacity: 0.7;
}

.thumb[aria-pressed="true"] {
  opacity: 1;
  border-color: var(--accent, var(--sky));
  box-shadow: 3px 3px 0 var(--outline);
}

.gallery-count {
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 6px;
}

.gallery-play-btn,
.thumb-play {
  color: var(--cta-ink);
  border: 2px solid var(--outline);
}

.gallery-play-btn {
  box-shadow: 4px 4px 0 var(--outline);
}

.gallery-play:hover .gallery-play-btn,
.gallery-play:focus-visible .gallery-play-btn {
  box-shadow: 5px 5px 0 var(--outline);
}

.gallery--empty .ph {
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-card);
}

.buy-price {
  border-top: 2px dashed var(--line);
}

.price--xl strong,
.price strong {
  color: var(--heading);
}

.pd-help {
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.pd-help:hover {
  background: var(--surface-3);
  border-color: var(--outline);
  transform: translate(-1px, -1px);
  box-shadow: var(--sh);
}

.page--product .buybar {
  background: var(--bg0);
  border-top: 2px solid var(--outline);
}

/* ---------- Beranda: fitur, cara beli, kontak, Discord ---------- */

.feature-icon {
  border: 2px solid var(--outline);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--outline);
}

.howto::before {
  height: 0;
  background: none;
  border-top: 2px dashed var(--line);
}

.howto-icon {
  color: var(--accent-2, var(--ice));
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh);
}

.howto-num {
  color: var(--cta-ink);
  background: var(--sky);
  border: 2px solid var(--outline);
}

@media (max-width: 760px) {
  .howto::before {
    width: 0;
    height: auto;
    border-top: 0;
    border-left: 2px dashed var(--line);
  }
}

.ch {
  transition: border-color 0.15s;
}

.ch:hover {
  border-color: var(--accent, var(--sky));
  transform: none;
}

.dcta {
  background: var(--blue-ink);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-card);
}

.dcta-glyph {
  color: var(--blue-ink);
  background: #fff;
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--outline);
}

.dcta-copy p {
  color: #eef3ff;
}

/* ---------- Footer ---------- */

.ftr {
  background: var(--bg-deep);
  border-top: 2px solid var(--outline);
}

.ftr-bottom {
  border-top: 2px dashed var(--line);
}

.ftr-col h2 {
  color: var(--faint);
}

/* ---------- Toast + modal ---------- */

/* Nada toast hanya dari kotak ikon solid (tanpa garis warna di tepi). */
.toast {
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-card);
}

.toast-icon {
  border: 2px solid var(--outline);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--outline);
}

.toast--error .toast-icon .icon {
  color: var(--danger-ink);
}

.toast-close {
  border-radius: 8px;
}

.modal::backdrop,
.omodal::backdrop {
  background: rgba(5, 10, 28, 0.8);
}

.modal-icon {
  color: var(--danger-ink);
  background: var(--danger);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--outline);
}

.omodal-head {
  border-bottom: 2px solid var(--outline);
}

.omodal-foot {
  border-top: 2px solid var(--outline);
  background: var(--surface-2);
}

.omodal-x {
  border: 2px solid var(--outline);
  border-radius: 10px;
  background: var(--surface-2);
  box-shadow: var(--sh-sm);
}

.omodal-x:hover {
  border-color: var(--outline);
  background: var(--surface-3);
}

@media (max-width: 600px) {
  .omodal-card {
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    box-shadow: none;
  }
}

/* ---------- Antrian ---------- */

.qsum {
  border-bottom: 2px solid var(--outline);
}

.qtable th {
  border-bottom: 2px solid var(--outline);
}

.qtable td {
  border-bottom: 1px solid var(--line);
}

.qpos {
  border: 2px solid var(--line);
  border-radius: 8px;
}

.qtable tbody tr:first-child .qpos {
  border-color: var(--outline);
}

.qown {
  border: 2px solid var(--outline);
  border-radius: 6px;
}

.qdot {
  border: 2px solid var(--outline);
  width: 11px;
  height: 11px;
}

.qdot--ice,
.qresult--ice,
.status--ice,
.orow--ice {
  --c: 169, 209, 255;
}

.qmine-n,
.qposcard-n,
.qsum-n {
  color: var(--heading);
}

/* ---------- Ulasan ---------- */

.rv:target {
  border-color: var(--accent, var(--sky));
  box-shadow: var(--sh-card);
}

/* Ulasan sendiri dikenali dari tombol Edit / Hapus-nya; kartunya sama dengan ulasan lain (tanpa garis warna). */
.rv--own {
  border-color: var(--outline);
  box-shadow: var(--sh-card);
}

.rvb--buyer {
  border-width: 2px;
  border-radius: 6px;
}

.rv-product {
  border: 2px solid var(--line);
  border-radius: 6px;
}

.rv-product--general .icon {
  color: var(--accent-2, var(--ice));
}

.rv-actions {
  border-top: 2px dashed var(--line);
}

.kata-score {
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-sm);
}

.kata-score:hover {
  border-color: var(--outline);
  box-shadow: var(--sh);
}

.kata-empty {
  background: var(--surface);
  border: 2px dashed var(--line);
  border-radius: 12px;
}

.rsum-n {
  color: var(--warn-text, var(--warn));
}

.rsum-bar {
  border-radius: 4px;
  background: var(--surface-3);
}

.rsum-fill {
  border-radius: 4px;
}

a.rsum-row[aria-current] {
  outline: 2px solid rgba(255, 200, 87, 0.6);
  outline-offset: -2px;
}

.pager-n,
.pager-btn {
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

a.pager-n:hover,
a.pager-btn:hover {
  border-color: var(--accent, var(--sky));
  background: var(--surface-3);
}

.pager-n[aria-current] {
  color: var(--on-blue);
  background: var(--blue-ink);
  border-color: var(--outline);
  box-shadow: var(--sh-sm);
}

/* Setengah bintang tanpa gradasi: isian kiri 50% (ikut dipotong mask bintang). */
.st.is-half {
  position: relative;
  overflow: hidden;
}

.st.is-half::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  background: #ffc857;
}

/* ---------- Halaman pesan (404 dll.) ---------- */

.msg-icon {
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh);
}

/* Kode status = blok miring seperti sorotan hero. */
.msg-code {
  --tone-bg: var(--blue);
  --tone-ink: var(--on-blue);
  display: inline-block;
  margin: 14px 0 18px;
  padding: 0.02em 0.2em 0.06em;
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 80px);
  font-weight: 700;
  color: var(--tone-ink);
  background: var(--tone-bg);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: 5px 5px 0 var(--outline);
  transform: rotate(-2deg);
}

.msg-code.tone-success {
  --tone-bg: var(--success);
  --tone-ink: #03170e;
}

.msg-code.tone-danger {
  --tone-bg: var(--danger);
  --tone-ink: var(--danger-ink);
}

.msg-code.tone-warn {
  --tone-bg: var(--warn);
  --tone-ink: #2a1d00;
}

/* ---------- v3.16: SHOWCASE game pembeli (beranda) ---------- */

.sc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sc-item {
  display: flex;
  min-width: 0;
}

.sc-card {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-card);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.sc-card:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--sh-hover);
}

.sc-card:active {
  transform: translate(2px, 2px);
  box-shadow: var(--sh-press);
}

.sc-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-3);
  border-bottom: 2px solid var(--outline);
}

.sc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--accent-2, var(--ice));
}

.sc-ph .icon {
  width: 44px;
  height: 44px;
}

/* Badge hijau "N main" (live). */
.sc-live {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: #03170e;
  background: var(--success);
  border: 2px solid var(--outline);
  box-shadow: 2px 2px 0 var(--outline);
}

.sc-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #03170e;
}

.sc-body {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px 44px 16px 16px;
}

.sc-name {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--heading);
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sc-meta {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13.5px;
  color: var(--muted);
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sc-go {
  position: absolute;
  right: 12px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: var(--accent-2, var(--ice));
  border: 2px solid var(--line);
}

.sc-go .icon {
  width: 14px;
  height: 14px;
}

.sc-card:hover .sc-go {
  color: var(--cta-ink);
  background: var(--sky);
  border-color: var(--outline);
}

@media (max-width: 960px) {
  .sc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .sc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

/* ---------- Pil status / stok / verifikasi / opsi ---------- */
/* Isi warna SOLID + tinta gelap + garis 2px + bayangan kecil (seperti .avail / .obadge). Tanpa titik berkedip, tanpa isi
   warna transparan + garis tipis transparan (pil bertitik gaya lama). */

.status {
  --st-bg: var(--surface-3);
  --st-ink: var(--text-2);
  gap: 6px;
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  font-weight: 800;
  color: var(--st-ink);
  background: var(--st-bg);
  border: 2px solid var(--outline);
  box-shadow: 2px 2px 0 var(--outline);
}

.status::before {
  content: none;
  animation: none;
}

.status--warn {
  --st-bg: var(--warn);
  --st-ink: #2a1d00;
}

.status--sky {
  --st-bg: var(--sky);
  --st-ink: var(--cta-ink);
}

.status--ice {
  --st-bg: var(--ice);
  --st-ink: var(--cta-ink);
}

.status--success {
  --st-bg: var(--success);
  --st-ink: #03170e;
}

.status--danger {
  --st-bg: var(--danger);
  --st-ink: var(--danger-ink);
}

.status--muted {
  --st-bg: var(--surface-3);
  --st-ink: var(--muted);
}

.rv-status {
  height: 24px;
}

/* Baris stok: permukaan solid + titik hijau solid bergaris; stok habis = blok merah solid. */
.stock {
  gap: 8px;
  padding: 5px 12px 5px 9px;
  border-radius: 6px;
  color: var(--text-2);
  background: var(--surface-2);
  border: 2px solid var(--outline);
  box-shadow: 2px 2px 0 var(--outline);
}

.stock-dot {
  width: 12px;
  height: 12px;
  background: var(--success);
  border: 2px solid var(--outline);
}

.stock--out,
.stock--out b,
.stock--out .icon {
  color: var(--danger-ink);
}

.stock--out {
  border-radius: 6px;
  background: var(--danger);
  border-color: var(--outline);
}

.vbadge {
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  font-weight: 800;
  border: 2px solid var(--outline);
}

.vbadge--ok {
  color: #03170e;
  background: var(--success);
  border-color: var(--outline);
}

.vbadge--warn {
  color: #2a1d00;
  background: var(--warn);
  border-color: var(--outline);
}

.vbadge--muted {
  color: var(--muted);
  background: var(--surface-2);
  border-color: var(--line);
}

/* Pil opsi (mis. "OPSIONAL") = pil bergaris polos seperti eyebrow; versi peringatan = blok kuning solid. */
.opt-pill {
  color: var(--accent-2, var(--ice));
  background: var(--surface-2);
  border: 2px solid var(--line);
}

.opt-pill--warn {
  color: #2a1d00;
  background: var(--warn);
  border-color: var(--outline);
  box-shadow: 2px 2px 0 var(--outline);
}

/* ---------- Catatan, peringatan, banner ---------- */
/* Bahasa yang sama dengan panel: permukaan SOLID + garis 2px + bayangan solid. Nada ditunjukkan kotak ikon solid (atau ikon
   berwarna), bukan isi warna transparan + garis tepi transparan. */

.alert {
  align-items: flex-start;
  padding: 10px 12px;
  color: var(--text);
  background: var(--surface-2);
  border: 2px solid var(--outline);
  border-radius: 10px;
  box-shadow: var(--sh-sm);
}

.alert--error {
  border-color: var(--danger);
}

.alert > .icon {
  box-sizing: border-box;
  flex: none;
  width: 26px;
  height: 26px;
  margin: -2px 0;
  padding: 4px;
  color: var(--cta-ink);
  background: var(--sky);
  border: 2px solid var(--outline);
  border-radius: 6px;
}

.alert--error > .icon {
  color: var(--danger-ink);
  background: var(--danger);
}

.alert--ok > .icon {
  color: #03170e;
  background: var(--success);
}

.alert a {
  color: var(--accent-2, var(--ice));
}

.banner,
.banner--warn,
.banner--danger,
.banner--info {
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh);
}

.banner-icon {
  border: 2px solid var(--outline);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--outline);
}

.banner--warn .banner-icon {
  color: #2a1d00;
  background: var(--warn);
}

.banner--danger .banner-icon {
  color: var(--danger-ink);
  background: var(--danger);
}

.banner--info .banner-icon {
  color: var(--cta-ink);
  background: var(--sky);
}

/* Catatan di tingkat halaman (/robux): permukaan solid tebal. */
.rgate,
.rsafe {
  color: var(--text-2);
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-sm);
}

/* Catatan di DALAM kartu: permukaan bersarang (garis lembut 2px, tanpa bayangan), seperti .orow / .buy-pkgs. */
.rvform-note,
.rvform-note--warn,
.vperks,
.kscope,
.contact-note,
.done-lic,
.done-lic--green,
.explain,
.deadline,
.deadline.is-expired,
.khow,
.claimbox,
.vopt,
.kcard-revoked,
.pmethod-merchant,
.bank-lines li.has-copy {
  color: var(--text-2);
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: 10px;
}

.deadline.is-expired,
.kcard-revoked {
  border-color: var(--danger);
}

.claimbox {
  border-color: var(--accent, var(--sky));
}

.deadline-left {
  color: #2a1d00;
  background: var(--warn);
  border: 2px solid var(--outline);
  border-radius: 6px;
}

.deadline-left b {
  color: #1a1100;
}

.deadline.is-expired .deadline-left {
  color: var(--danger-ink);
  background: var(--danger);
}

.deadline.is-expired .deadline-left b {
  color: var(--danger-ink);
}

.qhint {
  border-top: 2px dashed var(--line);
}

/* Kotak ikon kecil: permukaan netral solid + ikon berwarna (tanpa isi warna transparan). */
.vstep-n,
.explain-icon,
.deadline-icon,
.drop-icon,
.kcard-icon,
.ch-icon,
.claimbox-icon,
.vopt-icon,
.qresult-ico,
.kata-empty-ico {
  background: var(--surface-3);
  border-color: var(--outline);
}

/* Sisa isi warna transparan lain (ikon centang, pil, titik langkah, bintang kosong): dibuat solid. */
:root {
  --star-off: #2b3f7a;
}

.checks .icon {
  width: 24px;
  height: 24px;
  padding: 3px;
  color: #03170e;
  background: var(--success);
  border: 2px solid var(--outline);
}

.checks--panel .icon {
  color: var(--cta-ink);
  background: var(--sky);
}

.tk-done {
  color: #03170e;
  background: var(--success);
  border: 2px solid var(--outline);
}

.tab-count {
  background: var(--surface-3);
}

.step-dot,
.ostep-dot {
  background: var(--field);
}

.bigtotal-uc {
  color: #2a1d00;
  background: var(--warn);
  border-color: var(--outline);
}

.qpill {
  border-radius: 6px;
  color: var(--cta-ink);
  background: var(--ice);
  border: 2px solid var(--outline);
  box-shadow: 2px 2px 0 var(--outline);
}

.qpill:hover {
  color: var(--cta-ink);
  background: #c7e1ff;
  border-color: var(--outline);
}

.msg-icon {
  color: #050a1c;
  background: var(--tone, var(--sky));
  border: 2px solid var(--outline);
}

/* ---------- Grid showcase: kartu selalu rata kiri (mengikuti judul bagian), lebar kartu sama di semua jumlah ---------- */

@media (min-width: 961px) {
  /* 4 game = satu baris 4 kolom. Jumlah lain memakai grid dasar 3 kolom, baris terakhir rata kiri. */
  .sc-grid--n4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Ulasan: chip bintang muat dalam satu baris di HP kecil ---------- */

@media (max-width: 420px) {
  .rvchips {
    gap: 5px;
  }

  .rvchips .chip {
    gap: 3px;
    padding: 0 9px;
  }
}

/* ---------- Auth: kolom kiri mulai dari atas (form daftar panjang) dan ikut menempel saat digulir ---------- */

@media (min-width: 961px) {
  /* Baris grid tetap di tengah layar (form pendek seperti /masuk), tapi kedua kolom rata atas di dalam baris itu. */
  .auth {
    align-content: center;
    align-items: start;
  }

  .auth-aside {
    position: sticky;
    top: calc(var(--hdr-h) + 32px);
    align-self: start;
  }
}

/* ---------- Target sentuh >= 44px (layar sentuh dan layar sempit) ---------- */

@media (pointer: coarse), (max-width: 767px) {
  .btn--sm,
  .scard-cta,
  .scard-quick {
    --btn-h: 44px;
  }

  .hdr-burger {
    width: 44px;
    height: 44px;
  }

  .hdr-actions > .btn,
  .hdr-login,
  .hdr-discord {
    min-width: 44px;
    --btn-h: 44px;
  }

  .lang {
    height: auto;
  }

  .lang-opt {
    min-width: 44px;
    min-height: 44px;
  }

  .umenu-btn {
    min-height: 44px;
  }
}

/* ---------- Gerak dikurangi: tanpa geser saat hover/tekan ---------- */

@media (prefers-reduced-motion: reduce) {
  .btn:hover:not(:disabled):not(.is-disabled):not(.btn--off),
  .btn:active:not(:disabled):not(.is-disabled):not(.btn--off),
  .scard:hover,
  .scard:focus-within,
  .ocard:hover,
  .ocard:focus-within,
  .feature:hover,
  .pfeat:hover,
  .qposcard:hover,
  .pd-help:hover,
  a.hero-card:hover,
  a.hero-card:active,
  .sc-card:hover,
  .sc-card:active,
  .calc-btn:active:not(:disabled),
  .ostepper-btn:active:not(:disabled) {
    transform: none;
  }
}

/* ---------- v3.17: Robux payout grup (catatan + status cek grup + tombol di pesan penolakan) ---------- */
/* Bahasa navy chunky: permukaan solid bersarang + garis 2px; nada dari kotak ikon solid + warna garis (tanpa transparan / glow). */

.payout-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-2);
}

.payout-note .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--accent, var(--sky));
}

.payout-note[hidden] {
  display: none;
}

.payout-note--card {
  margin: 0 0 12px;
  font-size: 12.5px;
}

.payout-note--buy {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: 10px;
}

.payout-note--modal {
  margin: 0;
}

.gcheck {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 0;
  padding: 10px 12px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text);
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: 10px;
}

.gcheck[hidden] {
  display: none;
}

.ofield .gcheck {
  margin: 0;
}

.gcheck-ico {
  display: grid;
  place-items: center;
  flex: none;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  color: var(--cta-ink);
  background: var(--sky);
  border: 2px solid var(--outline);
  border-radius: 6px;
}

.gcheck-ico .icon {
  width: 15px;
  height: 15px;
}

.gcheck-body {
  flex: 1;
  min-width: 0;
}

.gcheck-msg {
  margin: 2px 0 0;
  font-weight: 750;
  color: var(--heading);
  overflow-wrap: anywhere;
}

.gcheck-sub {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.gcheck-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 2px;
}

.gcheck--ok {
  border-color: var(--success);
}

.gcheck--ok .gcheck-ico {
  color: #03170e;
  background: var(--success);
}

.gcheck--wait {
  border-color: var(--warn);
}

.gcheck--wait .gcheck-ico {
  color: #2a1d00;
  background: var(--warn);
}

.gcheck--no,
.gcheck--err {
  border-color: var(--danger);
}

.gcheck--no .gcheck-ico,
.gcheck--err .gcheck-ico {
  color: var(--danger-ink);
  background: var(--danger);
}

.gcheck--busy {
  border-style: dashed;
}

.gcheck--busy .gcheck-ico {
  color: var(--muted);
  background: var(--surface-3);
  border-color: var(--line);
}

.gcheck--busy .gcheck-msg {
  font-weight: 600;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .gcheck--busy .gcheck-ico .icon {
    animation: gcheck-spin 1s linear infinite;
  }
}

@keyframes gcheck-spin {
  to {
    transform: rotate(360deg);
  }
}

.gcheck.is-shaking {
  animation: card-shake 0.42s var(--ease-out);
}

/* Pesan penolakan checkout dengan tombol aksi (Gabung Discord / Gabung grup). */
.alert--actions .alert-main {
  flex: 1;
  min-width: 0;
}

.alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 2px;
}

.alert .alert-actions .btn--discord,
.gcheck .btn--discord {
  color: var(--on-blue);
}

.alert .alert-actions .btn--ghost {
  color: var(--text);
}

/* ---------- v3.18: tombol tema (header) + "Ikuti tema sistem" (footer) ---------- */
/* Tombol kotak tebal seperti burger menu: garis 2px + bayangan solid. Ikon bulan di tema gelap, matahari di tema terang
   (display dari token --when-dark / --when-light, jadi ikut juga saat tema dipilih sistem tanpa atribut). */
.theme-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 10px;
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.15s, color 0.15s;
}

.theme-toggle:hover {
  background: var(--surface-3);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--outline);
}

.theme-toggle:active {
  transform: translate(2px, 2px);
  box-shadow: var(--sh-press);
}

.theme-toggle .icon {
  width: 19px;
  height: 19px;
}

.theme-toggle .i-moon {
  display: var(--when-dark);
  color: var(--accent-2, var(--ice));
}

.theme-toggle .i-sun {
  display: var(--when-light);
  color: var(--warn-text, var(--warn));
}

/* Versi berlabel di menu HP: hanya di layar sempit (<= 480px), tempat tombol header disembunyikan supaya header muat. */
.theme-toggle--menu {
  display: none;
}

.theme-toggle-label {
  font-size: 14.5px;
  font-weight: 750;
}

/* Versi berlabel memakai ikon yang sama dengan tombol ikon (header toko, topbar admin): ikon = tema SEKARANG (bulan di
   tema gelap, matahari di tema terang); teks di sebelahnya menyebut aksinya ("Ganti ke mode gelap"). Satu arti di semua
   tombol tema. */

@media (max-width: 480px) {
  .theme-toggle--hdr {
    display: none;
  }

  .theme-toggle--menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 44px;
  }
}

@media (pointer: coarse), (max-width: 767px) {
  .theme-toggle--hdr {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle:hover,
  .theme-toggle:active {
    transform: none;
  }
}

/* ---------- v3.18: header HP sangat sempit (< 375px) ---------- */
/* Isi header HP = logo + nama (129) + jarak (14) + ID/EN (100) + akun / masuk (44) + burger (44) + jarak = 343px: pas di
   375px. 355-374px: segmen ID/EN dipadatkan (opsi 36px lebar, tinggi tetap 44px). < 355px: ID/EN pindah ke menu burger
   (seperti tombol tema di <= 480px), jadi header tidak melebar / burger tidak terdorong keluar layar. */
.lang--menu {
  display: none;
}

@media (max-width: 374px) {
  .hdr-in {
    gap: 10px;
  }

  .hdr-actions .lang-opt {
    min-width: 36px;
  }
}

/* v3.19: centang "terverifikasi" di tombol akun header membuat tombol itu lebih lebar dari 44px (header 375px melebar, burger
   terpotong). Di HP centangnya disembunyikan; status verifikasi tetap terlihat di menu akun. */
@media (max-width: 480px) {
  .umenu-check {
    display: none;
  }
}

@media (max-width: 354px) {
  .hdr-actions > .lang {
    display: none;
  }

  .nav-extra > .lang--menu {
    display: flex;
    width: 100%;
    height: auto;
  }

  .lang--menu .lang-ico {
    display: block;
  }

  .lang--menu .lang-opt {
    flex: 1;
  }
}

/* ---------- v3.19: LIVE CHAT (widget kanan bawah di semua halaman toko <-> tiket Discord) ---------- */
/* Navy chunky: tombol 56px dengan garis 2px + bayangan solid, panel kartu tebal (lembar penuh di <= 480px). Semua warna dari
   token tema (terang = bawaan, gelap lewat data-theme="dark"); token khusus terang selalu dengan cadangan warna gelap.
   Tanpa gradasi / blur / glow. Gambar dari CDN Discord tidak pernah dipasang: avatar staff = inisial, lampiran = link. */
.lc-fab {
  position: fixed;
  z-index: 60;
  right: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  color: var(--cta-ink);
  background: var(--sky);
  border: 2px solid var(--outline);
  border-radius: 16px;
  box-shadow: var(--sh);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.15s;
}

.lc-fab:hover {
  background: #5cb2ff;
  transform: translate(-1px, -1px);
  box-shadow: var(--sh-hover);
}

.lc-fab:active {
  transform: translate(2px, 2px);
  box-shadow: var(--sh-press);
}

.lc-fab:focus-visible,
.lc-x:focus-visible,
.lc-send:focus-visible,
.lc-msgs:focus-visible,
.lc-att:focus-visible,
.lc-link:focus-visible {
  outline: 2px solid var(--accent-2, var(--ice));
  outline-offset: 3px;
}

.lc-fab-ico {
  display: grid;
  place-items: center;
}

.lc-fab-ico .icon {
  width: 26px;
  height: 26px;
  stroke-width: 2.25;
}

.lc-fab-ico--close,
.lc.is-open .lc-fab-ico--chat {
  display: none;
}

.lc.is-open .lc-fab-ico--close {
  display: grid;
}

.lc-badge {
  position: absolute;
  top: -9px;
  right: -9px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  color: var(--danger-ink);
  background: var(--danger);
  border: 2px solid var(--outline);
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

/* Panel (dialog). Tinggi dibatasi supaya bagian atasnya selalu di bawah header (16px di bawah --hdr-h): judul + tombol tutup
   tidak pernah terpotong, dan header + menu akun tetap bisa diklik. */
.lc-panel {
  position: fixed;
  z-index: 75;
  right: 24px;
  bottom: calc(max(24px, env(safe-area-inset-bottom)) + 72px);
  display: flex;
  flex-direction: column;
  width: min(392px, calc(100vw - 32px));
  height: min(640px, calc(100vh - var(--hdr-h) - 112px));
  height: min(640px, calc(100dvh - var(--hdr-h) - 112px));
  min-height: 320px;
  overflow: hidden;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 14px;
  box-shadow: var(--sh-card);
}

.lc-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 12px 12px 14px;
  background: var(--surface-2);
  border-bottom: 2px solid var(--outline);
}

.lc-logo {
  flex: none;
  width: 42px;
  height: 42px;
}

.lc-logo img {
  width: 42px;
  height: 42px;
  border: 2px solid var(--logo-ring);
  border-radius: 50%;
  object-fit: cover;
}

.lc-head-main {
  flex: 1;
  min-width: 0;
}

.lc-title {
  margin: 0;
  overflow: hidden;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lc-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}

.lc-dot {
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--faint);
  border: 2px solid var(--outline);
  border-radius: 50%;
}

.lc-dot.is-online {
  background: var(--success);
}

.lc-x {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 10px;
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.15s;
}

.lc-x:hover {
  background: var(--surface-3);
  transform: translate(-1px, -1px);
  box-shadow: var(--sh);
}

.lc-x:active {
  transform: translate(2px, 2px);
  box-shadow: var(--sh-press);
}

.lc-x .icon {
  width: 19px;
  height: 19px;
}

.lc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Isi sederhana (masuk, memuat, gagal, nonaktif) */
.lc-pane {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
}

.lc-pane--center {
  flex: 1;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lc-hero-ico {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--accent, var(--sky));
  background: var(--surface-3);
  border: 2px solid var(--outline);
  border-radius: 14px;
  box-shadow: var(--sh-sm);
}

.lc-hero-ico .icon {
  width: 27px;
  height: 27px;
}

.lc-hero-ico--warn {
  color: var(--warn-text, var(--warn));
}

.lc-pane-title {
  margin: 4px 0 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.lc-lead {
  max-width: 300px;
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}

.lc-cta {
  max-width: 300px;
  margin-top: 6px;
}

.lc-link {
  color: var(--accent, var(--sky));
  font-size: 13.5px;
  font-weight: 700;
}

.lc-spin {
  width: 30px;
  height: 30px;
  border: 3px solid var(--line);
  border-top-color: var(--accent, var(--sky));
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Form tiket baru */
.lc-form {
  display: grid;
  gap: 12px;
  padding: 14px 16px 16px;
}

.lc-privacy {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 10px 12px;
  color: var(--text-2);
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.lc-privacy .icon {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--accent, var(--sky));
}

.lc-field {
  display: grid;
  gap: 6px;
}

.lc-label {
  color: var(--heading);
  font-size: 13.5px;
  font-weight: 700;
}

.lc-label small {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}

.lc-input {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  color: var(--text);
  background: var(--field);
  border: 2px solid var(--outline);
  border-radius: 10px;
  font: inherit;
  font-size: 14.5px;
  line-height: 1.4;
}

.lc-input:focus-visible {
  outline: 2px solid var(--accent-2, var(--ice));
  outline-offset: 2px;
}

.lc-input[readonly] {
  color: var(--text-2);
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 14px;
}

.lc-select {
  cursor: pointer;
}

.lc-area {
  min-height: 108px;
  resize: vertical;
}

.lc-counter {
  justify-self: end;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.lc-submit {
  margin-top: 2px;
}

.lc-alert:empty {
  display: none;
}

.lc-alert-msg {
  margin: 0;
  padding: 9px 12px;
  color: var(--danger-text, #ffb3c2);
  background: var(--surface-2);
  border: 2px solid var(--tone-line, var(--danger));
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
}

/* Percakapan */
.lc-chat {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.lc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 7px;
  margin: 0;
  padding: 8px 14px;
  color: var(--text-2);
  background: var(--surface);
  border-bottom: 2px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
}

.lc-meta-num {
  color: var(--heading);
  font-family: var(--mono);
}

.lc-meta-sep {
  color: var(--faint);
}

.lc-state[data-status="open"] {
  color: var(--success-text, var(--success));
}

.lc-state[data-status="opening"] {
  color: var(--warn-text, var(--warn));
}

.lc-state[data-status="closed"],
.lc-state[data-status="failed"] {
  color: var(--muted);
}

.lc-msgs-wrap {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

/* "Pesan baru" saat pembeli sedang membaca pesan lama (daftar tidak di bawah). */
.lc-jump {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  min-height: 36px;
  margin: 0 auto;
  padding: 0 14px;
  color: var(--cta-ink);
  background: var(--sky);
  border: 2px solid var(--outline);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.lc-jump:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--sh);
}

.lc-jump:focus-visible {
  outline: 2px solid var(--accent-2, var(--ice));
  outline-offset: 3px;
}

.lc-jump .icon {
  width: 16px;
  height: 16px;
}

.lc-msgs {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  margin: 0;
  padding: 14px 14px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg1);
  list-style: none;
}

.lc-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
  margin: 0;
}

.lc-msg--user {
  align-self: flex-end;
  align-items: flex-end;
}

.lc-msg--staff {
  flex-direction: row;
  align-self: flex-start;
  align-items: flex-start;
  gap: 8px;
}

.lc-msg--system {
  align-self: center;
  max-width: 94%;
}

.lc-msg-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lc-bubble {
  padding: 8px 12px;
  border: 2px solid var(--outline);
  box-shadow: var(--sh-press);
}

.lc-msg--user .lc-bubble {
  color: var(--on-blue);
  background: var(--blue-ink);
  border-radius: 14px 14px 4px 14px;
}

.lc-msg--staff .lc-bubble {
  color: var(--text);
  background: var(--surface);
  border-radius: 14px 14px 14px 4px;
}

.lc-text-body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.lc-ava {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: 18px;
  color: var(--heading);
  background: var(--surface-3);
  border: 2px solid var(--outline);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.lc-author {
  margin: 0 0 3px 2px;
  overflow: hidden;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lc-msg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 3px 0;
  color: var(--muted);
  font-size: 11.5px;
}

.lc-msg--staff .lc-msg-meta {
  margin-left: 2px;
}

.lc-msg-state {
  font-weight: 700;
}

.lc-msg-state.is-failed {
  color: var(--danger-text, #ffb3c2);
}

.lc-sys {
  margin: 0;
  padding: 6px 12px;
  color: var(--text-2);
  background: var(--surface-2);
  border: 2px dashed var(--line);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.lc-atts {
  display: grid;
  gap: 4px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.lc-text-body[hidden] + .lc-atts {
  margin-top: 0;
}

.lc-att {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  color: var(--accent, var(--sky));
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.lc-att .icon {
  flex: none;
  width: 15px;
  height: 15px;
}

.lc-foot {
  padding: 10px 12px 12px;
  background: var(--surface-2);
  border-top: 2px solid var(--outline);
}

.lc-note {
  margin: 0 0 8px;
  color: var(--warn-text, var(--warn));
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}

.lc-compose {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.lc-text {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  max-height: 140px;
  margin: 0;
  padding: 11px 12px;
  color: var(--text);
  background: var(--field);
  border: 2px solid var(--outline);
  border-radius: 12px;
  font: inherit;
  font-size: 14.5px;
  line-height: 1.4;
  resize: none;
}

.lc-text:focus-visible {
  outline: 2px solid var(--accent-2, var(--ice));
  outline-offset: 2px;
}

.lc-send {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--cta-ink);
  background: var(--sky);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.15s, opacity 0.15s;
}

.lc-send:hover:not(:disabled) {
  background: #5cb2ff;
  transform: translate(-1px, -1px);
  box-shadow: var(--sh);
}

.lc-send:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: var(--sh-press);
}

.lc-send:disabled {
  cursor: wait;
  opacity: 0.6;
}

.lc-send .icon {
  width: 20px;
  height: 20px;
}

.lc-hint {
  margin: 6px 2px 0;
  color: var(--muted);
  font-size: 11.5px;
}

.lc-foot .lc-alert {
  margin-top: 8px;
}

.lc-ended {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 14px 16px 16px;
  background: var(--surface-2);
  border-top: 2px solid var(--outline);
  text-align: center;
}

.lc-ended-text {
  margin: 0;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 700;
}

/* Header (dan menu akun / menu HP di dalamnya) selalu di atas panel chat desktop (z 75), toast (70) dan tombol chat (60). Lembar
   penuh layar (z 90, di bawah) tetap di atas header. */
.hdr {
  z-index: 80;
}

/* Toast (flash) dan baris paling bawah footer tidak tertutup tombol chat kanan bawah: body.has-lc = widget dirender. */
.has-lc .toast {
  bottom: calc(max(24px, env(safe-area-inset-bottom)) + 72px);
}

.has-lc .ftr-bottom {
  padding-bottom: calc(max(24px, env(safe-area-inset-bottom)) + 72px);
}

/* Produk: bilah beli tetap di bawah (<= 960px), tombol chat naik di atasnya (toast di atas tombol chat). */
@media (max-width: 960px) {
  .page--product .lc-fab {
    bottom: calc(max(10px, env(safe-area-inset-bottom)) + 80px);
  }

  .page--product .lc-panel {
    bottom: calc(max(10px, env(safe-area-inset-bottom)) + 152px);
    height: min(600px, calc(100vh - var(--hdr-h) - 178px));
    height: min(600px, calc(100dvh - var(--hdr-h) - 178px));
    min-height: 0;
  }

  .has-lc.page--product .toast {
    bottom: calc(max(10px, env(safe-area-inset-bottom)) + 148px);
  }
}

@media (max-width: 600px) {
  .has-lc .toast {
    bottom: calc(max(16px, env(safe-area-inset-bottom)) + 76px);
  }
}

/* HP, juga layar pendek / HP landscape (tinggi <= 520px, panel biasa tidak muat di bawah header): panel jadi lembar penuh layar;
   tombol chat disembunyikan selama panel terbuka; halaman di belakang tidak ikut bergulir. */
@media (max-width: 480px), (max-height: 520px) {
  .lc-fab {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .lc-panel,
  .page--product .lc-panel {
    z-index: 90;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding-right: env(safe-area-inset-right);
    padding-left: env(safe-area-inset-left);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .lc.is-open .lc-fab {
    display: none;
  }

  html.lc-lock,
  html.lc-lock body {
    overflow: hidden;
  }

  .lc-head {
    padding-top: max(12px, env(safe-area-inset-top));
  }

  .lc-foot,
  .lc-ended {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .lc-msg {
    max-width: 90%;
  }
}

@media (pointer: coarse) {
  .lc-hint {
    display: none;
  }
}

/* iOS Safari memperbesar halaman saat kolom < 16px difokus (kolom toko lain juga 16px). */
@media (max-width: 767px), (pointer: coarse) {
  .lc-input,
  .lc-input[readonly],
  .lc-text {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lc-fab,
  .lc-x,
  .lc-send,
  .lc-jump {
    transition: none;
  }

  .lc-fab:hover,
  .lc-fab:active,
  .lc-x:hover,
  .lc-x:active,
  .lc-send:hover:not(:disabled),
  .lc-send:active:not(:disabled),
  .lc-jump:hover {
    transform: none;
  }

  .lc-spin {
    animation-duration: 2.4s;
  }
}

/* ---------- v3.20: kontrol header seragam ---------- */
/* Discord, ID/EN, tema, Masuk, Daftar, tombol akun dan burger: tinggi, sudut, garis 2px dan bayangan solid yang sama.
   40px di desktop, 44px di layar sentuh / sempit (target sentuh). Diletakkan paling akhir supaya menang atas aturan lama. */
.hdr-actions {
  --hdr-ctl: 40px;
  align-items: center;
}

.hdr-actions > .btn {
  --btn-h: var(--hdr-ctl);
  border-radius: 10px;
}

.hdr-actions > .hdr-discord {
  width: var(--hdr-ctl);
  min-width: var(--hdr-ctl);
  padding: 0;
}

.hdr-actions > .lang {
  height: var(--hdr-ctl);
  padding: 3px;
  border-radius: 10px;
  box-shadow: var(--sh-sm);
}

.hdr-actions > .lang .lang-opt {
  height: 100%;
  min-height: 0;
  border-radius: 7px;
}

.hdr-actions > .theme-toggle,
.hdr-actions > .hdr-burger {
  width: var(--hdr-ctl);
  height: var(--hdr-ctl);
  border-radius: 10px;
}

.hdr-actions .umenu-btn {
  height: var(--hdr-ctl);
  min-height: var(--hdr-ctl);
}

@media (pointer: coarse), (max-width: 767px) {
  .hdr-actions {
    --hdr-ctl: 44px;
  }

  .hdr-actions > .lang {
    padding: 2px;
  }
}

/* Di <= 600px tombol Masuk tinggal ikon: jadi kotak seukuran kontrol lain. */
@media (max-width: 600px) {
  .hdr-actions > .hdr-login {
    width: var(--hdr-ctl);
    min-width: var(--hdr-ctl);
  }
}

/* ---------- v3.21: SALDO, TOP UP, REFERAL, PENARIKAN ---------- */
/* Tab Saldo + Referal di /akun, metode "Saldo" di checkout / modal, "Bayar pakai saldo" di halaman pesanan, saldo di menu akun.
   Bahasa navy chunky yang sama: permukaan solid bersarang + garis 2px + bayangan solid (tanpa gradasi / blur / glow). Nominal
   positif = hijau, minus = merah (token teks khusus terang selalu dengan cadangan warna gelap). */

.umenu-bal {
  margin-left: auto;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--heading);
  white-space: nowrap;
}

.umenu-bal.is-neg,
.wbal-amt.is-neg,
.wpay .is-neg {
  color: var(--danger-text, var(--danger));
}

/* Kartu saldo */
.wbal {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 14px;
  margin: 0 0 6px;
}

.wbal-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 18px 20px;
  background: var(--surface-3);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh);
}

.wbal-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.wbal-k .icon {
  width: 16px;
  height: 16px;
  color: var(--accent, var(--sky));
}

.wbal-amt {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--heading);
  overflow-wrap: anywhere;
}

.wbal-neg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--danger-text, var(--danger));
}

.wbal-neg .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.wbal-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.wbal-fact,
.refstats > div {
  min-width: 0;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: 10px;
}

.wbal-fact dt,
.refstats dt,
.refbox-k {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.wbal-fact dd {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 4px 0 0;
}

.wbal-fact b,
.refstats dd {
  font-size: 18px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  color: var(--heading);
  overflow-wrap: anywhere;
}

.wbal-fact small {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}

.wbal-fact--ok b {
  color: var(--success-text, var(--success));
}

.wbal-fact--hold b {
  color: var(--warn-text, var(--warn));
}

/* Bagian di dalam tab: top up, penarikan, riwayat */
.wsec {
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 2px dashed var(--line);
}

.wsec > .panel-lead {
  margin-bottom: 14px;
}

.wsec-off {
  margin: 16px 0 0;
}

.wform {
  max-width: 600px;
}

.wfield-set {
  min-width: 0;
  margin: 2px 0 14px;
  padding: 0;
  border: 0;
}

.wlegend {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-2);
}

.wpresets {
  margin: -4px 0 16px;
}

.wnote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.wnote .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--accent, var(--sky));
}

.wselect {
  margin: 0 0 16px;
}

/* Baris riwayat saldo / penarikan / komisi (pakai tata letak .orow) */
.wlist {
  margin-top: 4px;
}

.wrow .orow-name {
  white-space: normal;
}

.wrow .orow-meta a {
  text-decoration: none;
}

.wrow-amt {
  font-size: 15.5px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  color: var(--heading);
  white-space: nowrap;
}

.wrow--ledger.is-plus .wrow-amt {
  color: var(--success-text, var(--success));
}

.wrow--ledger.is-minus .wrow-amt {
  color: var(--danger-text, var(--danger));
}

.wrow-after,
.wrow-when {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--faint);
}

.wrow-held {
  font-weight: 650;
  color: var(--warn-text, var(--warn));
}

.wrow-reason {
  font-size: 13px;
  color: var(--danger-text, var(--danger));
  overflow-wrap: anywhere;
}

.wrow .orow-cta {
  margin: 0;
}

/* Referal: kode + link untuk dibagikan, aturan, statistik */
.refbox {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--surface-3);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh);
}

.refbox-row {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.refbox-v {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.refcode,
.reflink {
  min-width: 0;
  padding: 8px 12px;
  font-family: var(--mono);
  color: var(--heading);
  background: var(--field);
  border: 2px solid var(--line);
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.refcode {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.reflink {
  flex: 1 1 240px;
  font-size: 13.5px;
}

.refrules {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.refrules li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}

.refrules .icon {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--success-text, var(--success));
}

.refstats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}

.refstats dd {
  margin: 4px 0 0;
}

/* Checkout + modal: metode "Saldo", kode referal, ringkasan "Dibayar dengan saldo" */
.pay-opt--wallet .pay-opt-ico,
.sum-line--wallet .icon,
.sum-note--wallet .icon,
.wal-paid .icon,
.wal-note .icon {
  color: var(--success-text, var(--success));
}

.wal-note a,
.wpay-low a {
  font-weight: 750;
}

.sum-line--wallet > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sum-line--wallet .icon {
  width: 15px;
  height: 15px;
}

.sum-line--wallet > span:last-child {
  color: var(--success-text, var(--success));
}

.ototal small.ototal-wallet {
  color: var(--success-text, var(--success));
}

.oinput--code,
#ref_code {
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Review UX-14: placeholder "Contoh: ABCD234" tetap huruf biasa (bukan bagian kode). */
.oinput--code::placeholder {
  font-family: var(--font);
  letter-spacing: normal;
  text-transform: none;
}

.field-error {
  font-weight: 650;
  color: var(--danger-text, var(--danger));
}

/* Halaman pesanan: "Bayar pakai saldo" */
.wpay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  align-items: center;
  gap: 14px 22px;
  border-color: var(--outline);
  box-shadow: var(--sh-card);
}

.wpay .panel-title {
  margin-bottom: 6px;
}

.wpay .panel-title .icon {
  box-sizing: border-box;
  flex: none;
  width: 28px;
  height: 28px;
  padding: 4px;
  color: #03170e;
  background: var(--success);
  border: 2px solid var(--outline);
  border-radius: 6px;
  box-shadow: 2px 2px 0 var(--outline);
}

.wpay-copy p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}

.wpay form {
  margin: 0;
}

.wpay > .alert {
  margin: 0;
}

.wpay-low {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--warn-text, var(--warn));
}

.wpay-low .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

@media (max-width: 760px) {
  .wbal,
  .wpay {
    grid-template-columns: minmax(0, 1fr);
  }

  .refstats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- v3.22: LEADERBOARD PEMBELIAN (beranda "Top pembeli") + saklar di kartu profil /akun ---------- */
/* Aturan brand owner: hanya biru / navy / putih. #1 = kartu biru muda + badge biru penuh + mahkota biru, #2 = badge biru muda
   (ice), #3 = badge bergaris; peringkat 4-10 = baris ringkas (permukaan bersarang) di satu papan. Navy chunky: garis 2px +
   bayangan solid, tanpa gradasi / blur / glow. Satu daftar sepanjang masa (tanpa tab / periode bulanan; keputusan owner). */

/* Papan: keterangan periode + podium + baris 4-10. */
.lb {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.lb-cap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--muted);
}

.lb-cap .icon {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--accent, var(--sky));
}

/* Podium: peringkat 1-3 */
.lb-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Podium 1-2 orang (toko baru): kartu di tengah, tanpa kolom kosong. */
@media (min-width: 761px) {
  .lb-podium--n1 {
    grid-template-columns: minmax(0, 380px);
    justify-content: center;
  }

  .lb-podium--n2 {
    grid-template-columns: repeat(2, minmax(0, 380px));
    justify-content: center;
  }
}

.lb-top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 24px 18px 18px;
  text-align: center;
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--sh-card);
}

.lb-top--1 {
  background: var(--surface-3);
}

.lb-top.is-own {
  border-color: var(--blue-ink);
  box-shadow: 5px 5px 0 var(--blue-ink);
}

.lb-top .lb-rank {
  position: absolute;
  top: 12px;
  left: 12px;
}

.lb-face {
  position: relative;
  display: grid;
  place-items: center;
}

/* Area avatar setinggi avatar #1 (76px) di ketiga kartu: nama + total di podium sejajar. */
.lb-top .lb-face {
  min-height: 76px;
  margin-top: 16px;
  align-items: end;
}

.lb-top .avatar {
  box-shadow: var(--sh-sm);
}

.lb-top--1 .avatar--lg {
  width: 76px;
  height: 76px;
  font-size: 30px;
}

/* Mahkota #1: isi biru + garis navy (warna brand, bukan emas). */
.lb-crown {
  position: absolute;
  z-index: 1;
  top: -22px;
  left: 50%;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  color: var(--outline);
}

.lb-crown .icon {
  width: 30px;
  height: 30px;
  fill: var(--sky);
}

.lb-rank {
  display: inline-grid;
  place-items: center;
  flex: none;
  min-width: 46px;
  height: 30px;
  padding: 0 8px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: 8px;
}

.lb-rank--1 {
  color: var(--on-blue);
  background: var(--blue-ink);
  border-color: var(--outline);
  box-shadow: 2px 2px 0 var(--outline);
}

.lb-rank--2 {
  color: var(--cta-ink);
  background: var(--ice);
  border-color: var(--outline);
  box-shadow: 2px 2px 0 var(--outline);
}

.lb-rank--3 {
  color: var(--heading);
  background: var(--surface);
  border-color: var(--outline);
  box-shadow: 2px 2px 0 var(--outline);
}

/* Pembeli yang disamarkan: ikon orang generik (tanpa avatar). */
.lb-anon {
  color: var(--muted);
  background: var(--surface-2);
}

.lb-anon .icon {
  width: 52%;
  height: 52%;
}

.lb-who {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.lb-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 6px;
  min-width: 0;
  font-weight: 800;
  line-height: 1.3;
  color: var(--heading);
}

.lb-name-t {
  min-width: 0;
  overflow-wrap: anywhere;
}

.lb-top .lb-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.lb-verified .icon {
  width: 16px;
  height: 16px;
}

.lb-user {
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.lb-user--private {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.lb-user--private .icon {
  flex: none;
  width: 14px;
  height: 14px;
}

.lb-you {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 20px;
  padding: 0 7px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-blue);
  background: var(--blue-ink);
  border: 2px solid var(--outline);
  border-radius: 6px;
}

.lb-amt {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.lb-top .lb-amt {
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  border-top: 2px dashed var(--line);
}

.lb-total {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--heading);
}

.lb-top .lb-total {
  font-size: 20px;
}

.lb-orders {
  font-size: 12.5px;
  color: var(--muted);
}

/* Papan: peringkat 4-10 + baris "peringkatmu" */
.lb-board {
  padding: 12px;
}

.lb-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lb-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  grid-template-areas: "rank face who amt";
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 14px 8px 8px;
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: 10px;
}

.lb-row.is-own {
  background: var(--surface-3);
  border-color: var(--outline);
}

.lb-row > .lb-rank,
.lb-top > .lb-rank {
  grid-area: rank;
}

.lb-row > .avatar,
.lb-top > .lb-face {
  grid-area: face;
}

.lb-row > .lb-who,
.lb-top > .lb-who {
  grid-area: who;
}

.lb-row > .lb-amt,
.lb-top > .lb-amt {
  grid-area: amt;
}

.lb-row .lb-name {
  justify-content: flex-start;
}

.lb-row .lb-user--private {
  justify-content: flex-start;
}

.lb-row .lb-amt {
  text-align: right;
}

.lb-me {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 12px 6px 2px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-2);
  border-top: 2px dashed var(--line);
}

.lb-me:first-child {
  margin-top: 0;
  padding-top: 2px;
  border-top: 0;
}

.lb-me .icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--accent, var(--sky));
}

.lb-me strong {
  color: var(--heading);
}

.lb-empty {
  padding: 8px;
}

.lb-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.lb-note .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--accent, var(--sky));
}

.lb-note a {
  font-weight: 750;
}

@media (max-width: 760px) {
  .lb-podium {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  /* Podium jadi baris tebal (peringkat, avatar, nama, total). */
  .lb-top {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "rank face who amt";
    align-items: center;
    gap: 12px;
    padding: 14px;
    text-align: left;
  }

  .lb-top .lb-rank {
    position: static;
  }

  .lb-top .lb-name,
  .lb-top .lb-user--private {
    justify-content: flex-start;
  }

  .lb-top .lb-amt {
    width: auto;
    margin: 0;
    padding: 0;
    text-align: right;
    border-top: 0;
  }

  .lb-top .avatar--lg,
  .lb-top--1 .avatar--lg {
    width: 52px;
    height: 52px;
    font-size: 21px;
  }

  .lb-top--1 {
    padding-top: 24px;
  }

  .lb-top .lb-face {
    min-height: 0;
    margin-top: 0;
  }

  .lb-crown {
    top: -20px;
  }

  .lb-crown .icon {
    width: 24px;
    height: 24px;
  }

  .lb-top .lb-total {
    font-size: 16px;
  }
}

/* HP: total + jumlah pesanan pindah ke bawah nama (nama lengkap tidak terpotong). */
@media (max-width: 480px) {
  .lb-top,
  .lb-row {
    grid-template-columns: auto auto minmax(0, 1fr);
    grid-template-areas:
      "rank face who"
      "rank face amt";
    row-gap: 4px;
  }

  .lb-top .lb-amt,
  .lb-row .lb-amt {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    text-align: left;
  }

  .lb-row {
    padding: 10px 12px 10px 8px;
  }
}

/* Saklar "Tampilkan saya di leaderboard pembelian" (kartu profil /akun). */
.lbpref {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 2px dashed var(--line);
}

.lbsw {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.lbsw input {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 28px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.lbsw-track {
  position: relative;
  display: inline-block;
  flex: none;
  width: 46px;
  height: 28px;
  background: var(--surface-3);
  border: 2px solid var(--outline);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--outline);
  transition: background-color 0.15s ease;
}

.lbsw-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 50%;
  transition: transform 0.18s var(--ease-out);
}

.lbsw input:checked + .lbsw-track {
  background: var(--blue-ink);
}

.lbsw input:checked + .lbsw-track .lbsw-thumb {
  background: var(--on-blue);
  transform: translateX(18px);
}

.lbsw input:focus-visible + .lbsw-track {
  outline: 2px solid var(--accent, var(--sky));
  outline-offset: 3px;
}

.lbsw-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.lbsw-text strong {
  font-size: 14px;
  line-height: 1.35;
  color: var(--heading);
}

.lbsw-text small {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.lbpref .btn {
  justify-self: start;
}

@media (prefers-reduced-motion: reduce) {
  .lbsw-track,
  .lbsw-thumb {
    transition: none;
  }
}