:root {
  --app: #1a1b1e;
  --bg: #2b2d31;
  --bg2: #1e1f22;
  --surface: #2b2d31;
  --surface2: #313338;
  --line: #232428;
  --line2: #3f4147;
  --text: #dbdee1;
  --header: #f2f3f5;
  --muted: #949ba4;
  --faint: #80848e;
  --brand: #5865f2;
  --brand-hover: #4752c4;
  --violet: #a78bfa;
  --green: #23a55a;
  --red: #da373c;
  --yellow: #f0b232;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(900px 460px at 50% -8%, rgba(88, 101, 242, .12), transparent 62%),
    radial-gradient(700px 400px at 86% 2%, rgba(167, 139, 250, .08), transparent 60%),
    var(--app);
  background-attachment: fixed;
  color: var(--text);
  font-family: "gg sans", "Noto Sans", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(88, 101, 242, .3);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #3f4147 transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  color: var(--header);
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

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

.small {
  font-size: 12.5px;
  margin-top: 8px;
}

.wrap {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
}

.spacer {
  flex: 1;
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
}

input,
textarea,
select {
  font: inherit;
  color: var(--text);
}

input[type=email],
input[type=number],
input[type=text] {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 8px;
  padding: 11px 13px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 600;
  font-size: 14.5px;
  background: var(--brand);
  color: #fff;
  transition: background .15s, opacity .15s;
}

.btn:hover {
  background: var(--brand-hover);
}

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

.btn.white {
  background: #fff;
  color: #1a1b1e;
}

.btn.white:hover {
  background: #eef0ff;
}

.btn.ghost {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, .22);
}

.btn.green {
  background: var(--green);
}

.btn.green:hover {
  background: #1a8a4a;
}

.btn.full {
  width: 100%;
  margin-top: 14px;
}

.btn.sm {
  padding: 7px 12px;
  font-size: 13px;
}

.link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}

.link:hover {
  color: var(--header);
}

.pill {
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.pill:hover {
  background: var(--brand-hover);
}

/* maintenance bar */
.maint-bar {
  background: var(--yellow);
  color: #1a1b1e;
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
}

/* topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 56px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--header);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo .dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo .dot::after {
  content: "";
  width: 66%;
  height: 66%;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='9.5' width='16' height='11.5' rx='1.5'/><path d='M4 13.5h16M12 9.5v11.5'/><path d='M12 9.5C9.6 9.5 7.3 9.5 7.3 7.8 7.3 6.2 10.5 6 12 9.5ZM12 9.5c2.4 0 4.7 0 4.7-1.7C16.7 6.2 13.5 6 12 9.5Z'/></svg>") center/contain no-repeat;
}

.logo em {
  font-style: normal;
  color: var(--brand);
}

.cur-toggle {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: 9px;
  padding: 3px;
}

.cur-btn {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  width: 30px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
}

.cur-btn.on {
  background: var(--surface2);
  color: var(--header);
}

/* shop nav */
.shopnav {
  border-bottom: 1px solid var(--line);
  background: rgba(26, 27, 30, .6);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 57px;
  z-index: 29;
}

.shopnav .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 50px;
  overflow-x: auto;
}

.snav {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  height: 50px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

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

.snav.on {
  color: var(--header);
  border-bottom-color: var(--brand);
}

.searchbox {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  height: 34px;
  min-width: 220px;
}

.searchbox input {
  background: none;
  border: 0;
  outline: none;
  width: 100%;
  font-size: 14px;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  margin-top: 24px;
  padding: 32px 44px;
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(88, 101, 242, .2), rgba(167, 139, 250, .07)), var(--surface);
  border: 1px solid rgba(255, 255, 255, .08);
}

.hero-wm {
  position: absolute;
  right: 29%;
  bottom: -36px;
  width: 300px;
  height: 300px;
  color: #c9cdfb;
  opacity: .07;
  pointer-events: none;
  --bg: #2b2d31;
}

.hero-main {
  position: relative;
  z-index: 1;
  flex: 0 1 600px;
  min-width: 0;
}

.qpill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #b8bff5;
  background: rgba(0, 0, 0, .26);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.qpill b {
  color: #fff;
}

.qpill.busy {
  color: #f3cd74;
}

.hero h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.08;
  margin: 0 0 12px;
  color: #fff;
  letter-spacing: -.01em;
}

.hero h1 em {
  font-style: normal;
  color: var(--violet);
}

/* diskon asli dari /api/meta: sembunyikan placeholder sampai datang */
.hero-disc {
  opacity: 0;
  transition: opacity .3s;
}

.hero-disc.ready {
  opacity: 1;
}

.hero p {
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 560px;
}

.hero textarea {
  width: 100%;
  min-height: 58px;
  max-height: 150px;
  resize: vertical;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  padding: 14px;
  font-size: 14px;
  color: #fff;
  outline: none;
}

.hero textarea::placeholder {
  color: rgba(255, 255, 255, .5);
}

.paste-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hint {
  color: rgba(255, 255, 255, .72);
  font-size: 13.5px;
}

.hs-card {
  position: relative;
  z-index: 1;
  width: 372px;
  flex-shrink: 0;
  background: rgba(10, 11, 26, .42);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .7);
}

.hs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .92);
}

.hs-head a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .72);
  font-weight: 600;
}

.hs-head a:hover {
  color: #fff;
}

.hs-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hs-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .12s;
}

.hs-row:hover {
  background: rgba(255, 255, 255, .06);
}

.hs-art {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  flex-shrink: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .14), rgba(0, 0, 0, .2));
  display: grid;
  place-items: center;
}

.hs-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hs-info {
  flex: 1;
  min-width: 0;
}

.hs-nm {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hs-meta {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .6);
  margin-top: 1px;
}

.hs-empty {
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  padding: 16px 8px;
  text-align: center;
}

.save-pill {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: #248046;
  padding: 3px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* label di panel "Recently sold" */
.sold-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(35, 165, 90, .16);
  color: #5ad67d;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.sold-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 920px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    padding: 26px 22px;
    gap: 24px;
  }

  .hs-card {
    width: 100%;
  }

  .hero-main {
    flex: none;
  }

  .hero-wm {
    right: -20px;
    bottom: auto;
    top: 6px;
    width: 140px;
    height: 140px;
  }
}

/* errors */
#errbox:not(:empty) {
  margin-top: 14px;
  background: rgba(218, 55, 60, .12);
  border: 1px solid rgba(218, 55, 60, .35);
  color: #f7a8aa;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
}

#errbox code {
  color: #fff;
  word-break: break-all;
}

/* cart */
.cart {
  margin-top: 18px;
  background: var(--surface2);
  border-radius: 16px;
  padding: 18px 20px;
}

.cart.pop {
  animation: cartpop .34s ease;
}

@keyframes cartpop {
  42% {
    transform: scale(1.015);
  }
}

.cart-head {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.cart-head h3 {
  font-size: 16px;
  margin: 0;
}

.cart-head .count {
  color: var(--muted);
  font-weight: 500;
}

.cart-head .link {
  margin-left: auto;
}

.cart-head .link:hover {
  color: var(--red);
}

.cart-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row:last-child {
  border-bottom: 0;
}

.cart-art {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 115% at 50% 2%, #3a3c42, #1c1d21 74%);
  flex-shrink: 0;
  overflow: hidden;
}

.cart-art img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.cart-art.np img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-info {
  flex: 1;
  min-width: 0;
}

.cart-info .nm {
  font-weight: 600;
  color: var(--header);
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-info .kind {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}

.cart-info .price {
  margin-top: 4px;
}

.orig {
  color: var(--faint);
  text-decoration: line-through;
  font-size: 13px;
}

.sell {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.disc {
  color: #5ad67d;
  font-weight: 600;
  font-size: 13px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg2);
  border-radius: 8px;
  padding: 2px;
}

.qty button {
  width: 28px;
  height: 28px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
}

.qty button:hover {
  background: var(--surface);
}

.qty span {
  min-width: 22px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.cart-x {
  background: transparent;
  border: 0;
  color: var(--faint);
  font-size: 14px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
}

.cart-x:hover {
  background: rgba(218, 55, 60, .14);
  color: var(--red);
}

.cart-total {
  display: flex;
  align-items: center;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line2);
}

.cart-total>div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.cart-total .k {
  color: var(--muted);
  font-size: 14px;
}

.cart-total .v {
  font-size: 24px;
  font-weight: 700;
  color: var(--header);
}

.cart-total .was {
  color: var(--faint);
  text-decoration: line-through;
  font-size: 14px;
}

.cart-total .btn {
  margin-left: auto;
}

/* features */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.feat {
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: 14px;
  padding: 18px;
}

.feat b {
  display: block;
  color: var(--header);
  font-size: 15px;
  margin-bottom: 5px;
}

.feat p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.feat-ic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(88, 101, 242, .14);
  color: var(--brand);
  margin-bottom: 12px;
}

@media (max-width: 720px) {
  .feature-row {
    grid-template-columns: 1fr;
  }
}

/* sections */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 42px 0 2px;
}

.section-head h2 {
  font-size: 20px;
  margin: 0;
}

.see-all {
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: 0;
  font-family: inherit;
}

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

/* collections */
.collection {
  margin-top: 24px;
}

.col-banner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1320 / 370;
  max-height: 232px;
  border-radius: 12px;
  background: var(--surface) center/cover;
  display: flex;
  align-items: center;
  padding: 28px 34px;
}

.col-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .74), rgba(0, 0, 0, .4) 44%, transparent 75%);
}

.col-content {
  position: relative;
  z-index: 1;
  max-width: 476px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.col-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.col-logo {
  max-height: 84px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .5));
}

.col-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}

.col-sub {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

.col-cta {
  background: #fff;
  color: #1a1b1e;
  font: inherit;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-size: 14px;
}

.col-cta:hover {
  background: #e9ebff;
}

.collection .items {
  margin-top: 14px;
}

@media (max-width: 560px) {
  .col-banner {
    padding: 20px;
    aspect-ratio: auto;
  }

  .col-title {
    font-size: 20px;
  }

  .col-logo {
    max-height: 62px;
  }
}

/* item grid — hover lifts art and swaps name/price for an add button */
.items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 246px;
  border: 2px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: radial-gradient(120% 110% at 50% 0%, #313338, #1c1d21 75%);
  transition: border-color .2s;
}

.item:hover {
  border-color: var(--line2);
}

.item.in {
  border-color: var(--brand);
}

.item .art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 14px 14px 58px;
}

.item .art img {
  max-width: 86%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .25s;
}

.item:hover .art img {
  transform: translateY(-6px);
}

.item .art.np {
  padding: 0;
}

.item .art.np img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.item .footer {
  position: relative;
  margin-top: auto;
  padding: 12px 14px 13px;
  z-index: 1;
}

.item .fgrad {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to top, var(--app) 8%, rgba(26, 27, 30, .74) 46%, transparent);
}

.item .finfo {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .25s, opacity .2s;
}

.item .finfo>div,
.item .fbtn>span {
  min-height: 0;
  overflow: hidden;
}

.item:hover .finfo {
  grid-template-rows: 0fr;
  opacity: 0;
}

.item .nm {
  font-weight: 600;
  font-size: 15px;
  color: var(--header);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item .price {
  margin-top: 7px;
}

.item .fbtn {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(14%);
  transition: grid-template-rows .25s, opacity .2s, transform .25s;
}

.item:hover .fbtn {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: none;
}

.item .addbtn {
  display: block;
  margin-top: 8px;
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 9px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
}

.item.in .addbtn {
  background: var(--surface2);
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 3px 8px;
  border-radius: 4px;
  background: #fff;
  color: #000;
}

.skel {
  min-height: 246px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface2) 50%, var(--surface) 100%) 0 0/200% 100%;
  animation: shimmer 1.2s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.empty {
  grid-column: 1 / -1;
  color: var(--muted);
  text-align: center;
  padding: 48px 0;
}

/* browse */
.browse-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

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

.chip {
  background: var(--surface);
  border: 1px solid var(--line2);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 15px;
  font: inherit;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
}

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

.chip.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.chip span {
  opacity: .65;
  margin-left: 4px;
}

.sort-sel {
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  cursor: pointer;
}

.browse-info {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.browse-info .chip {
  padding: 4px 11px;
  font-size: 12.5px;
}

/* loading saat ganti kategori / filter */
.load-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  transition: opacity .25s;
}

.load-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: loadbar 1s ease-in-out infinite;
}

.load-bar.on {
  opacity: 1;
}

@keyframes loadbar {
  from { transform: translateX(-100%); }
  to { transform: translateX(250%); }
}

.spin {
  width: 14px;
  height: 14px;
  border: 2px solid var(--line2);
  border-top-color: var(--brand);
  border-radius: 50%;
  display: inline-block;
  animation: spin .7s linear infinite;
}

.chip.loading {
  pointer-events: none;
}

.chip.loading span {
  display: none;
}

.chip.loading::after {
  content: "";
  width: 11px;
  height: 11px;
  margin-left: 7px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  vertical-align: -1px;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .load-bar::before, .spin, .chip.loading::after { animation-duration: 2s; }
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 28px 0 8px;
  flex-wrap: wrap;
}

.pager button {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line2);
  color: var(--text);
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.pager button.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.pager button:disabled {
  opacity: .4;
  cursor: default;
}

.pager .gap {
  color: var(--faint);
  padding: 0 4px;
}

/* faq */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: 14px;
  padding: 20px;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(88, 101, 242, .18);
  color: #aeb6ff;
  font-weight: 700;
  margin-bottom: 12px;
}

.step b {
  display: block;
  color: var(--header);
  margin-bottom: 6px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  max-width: 860px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 0 18px;
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  color: var(--header);
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.faq summary::after {
  content: "+";
  color: var(--muted);
  font-size: 18px;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14.5px;
}

/* closing cta */
.closing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 42px 0 10px;
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: 16px;
}

.closing-cta h2 {
  margin: 0 0 4px;
  font-size: 21px;
}

.closing-cta p {
  margin: 0;
  max-width: 520px;
}

/* footer */
.site-footer {
  margin-top: 56px;
  padding: 34px 0 30px;
  border-top: 1px solid var(--line);
}

.sf-cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 28px;
}

.sf-brand p {
  color: var(--muted);
  font-size: 14px;
  max-width: 260px;
  line-height: 1.5;
}

.sf-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.sf-col h4 {
  margin: 0 0 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.sf-col a,
.sf-col .link {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 400;
}

.sf-col a:hover,
.sf-col .link:hover {
  color: #fff;
}

.sf-disclaimer {
  margin-top: 30px;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.6;
  max-width: 820px;
}

.sf-bottom {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.sf-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(35, 165, 90, .35);
  background: rgba(35, 165, 90, .08);
  color: #8be0aa;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.sf-status.paused {
  border-color: rgba(240, 178, 50, .4);
  background: rgba(240, 178, 50, .08);
  color: #f3cd74;
}

.sf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 760px) {
  .sf-cols {
    grid-template-columns: 1fr 1fr;
  }

  .sf-brand {
    grid-column: 1 / -1;
  }
}

/* modals */
.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, .6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-bg.open {
  display: flex;
  animation: fadeIn .15s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

.modal {
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
}

.modal p {
  line-height: 1.5;
  font-size: 14px;
}

.m-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.m-head h3 {
  margin: 0;
  font-size: 18px;
}

.x {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.x:hover {
  background: var(--surface2);
  color: var(--header);
}

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

.co-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
}

.co-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.co-row .cart-art {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.co-row .nm {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--header);
}

.co-row .q {
  color: var(--muted);
}

.co-div {
  height: 1px;
  background: var(--line2);
  margin: 16px 0;
}

.co-pay {
  background: var(--bg2);
  border: 1px solid var(--brand);
  border-radius: 8px;
  padding: 10px 13px;
  font-weight: 600;
  font-size: 14px;
  color: var(--header);
}

.co-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
}

.co-total b {
  font-size: 22px;
  color: var(--header);
}

.co-agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
  cursor: pointer;
}

.co-agree a {
  color: #aeb9ff;
}

.co-agree input {
  margin-top: 3px;
  accent-color: var(--brand);
}

.co-terms {
  text-align: center;
  color: var(--faint);
  font-size: 12.5px;
  margin-top: 12px;
}

.ord-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--bg2);
  margin-top: 8px;
  cursor: pointer;
}

.ord-row:hover {
  background: var(--surface2);
}

.ord-row .id {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13.5px;
  color: var(--header);
}

.ord-row .meta {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.ord-row .sp {
  flex: 1;
}

.status {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(240, 178, 50, .16);
  color: #f3cd74;
}

.status.paid,
.status.delivered {
  background: rgba(35, 165, 90, .18);
  color: #5ad67d;
}

.status.expired,
.status.failed,
.status.refunded,
.status.underpaid,
.status.refunding {
  background: rgba(218, 55, 60, .16);
  color: #f7a8aa;
}

.ord-status {
  text-align: center;
  padding: 8px 0 4px;
}

.ord-status h4 {
  margin: 10px 0 6px;
  font-size: 18px;
}

.ord-status p {
  color: var(--muted);
  margin: 0;
}

/* sold popup, chat, toast */
.sold-pop {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 10px 14px 10px 10px;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .7);
  max-width: 300px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}

.sold-pop.show {
  opacity: 1;
  transform: none;
}

.sold-pop b {
  display: block;
  color: var(--header);
  font-size: 14px;
}

.sold-pop span {
  color: var(--muted);
  font-size: 12px;
}

.chat-launch {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -8px rgba(88, 101, 242, .6);
  transition: transform .15s;
}

.chat-launch:hover {
  transform: scale(1.06);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  z-index: 70;
  background: var(--header);
  color: #1a1b1e;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 640px) {
  .searchbox {
    min-width: 160px;
  }

  .sold-pop {
    display: none;
  }
}

/* auth + account */
input[type=password], .code-input { width: 100%; background: var(--bg2); border: 1px solid var(--line2); border-radius: 8px; padding: 11px 13px; outline: none; color: var(--text); font: inherit; }
input[type=password]:focus, .code-input:focus { border-color: var(--brand); }
.code-input { font-size: 26px; letter-spacing: 10px; text-align: center; font-weight: 700; margin-top: 4px; }
.tabs { display: flex; gap: 4px; background: var(--bg2); border-radius: 10px; padding: 4px; margin-bottom: 16px; }
.tab { flex: 1; background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; font-size: 14px; padding: 8px; border-radius: 7px; cursor: pointer; }
.tab.on { background: var(--surface2); color: var(--header); }
.form-err { color: #f7a8aa; font-size: 13px; margin-top: 10px; min-height: 0; }
.form-err:empty { display: none; }
.auth-links { display: flex; justify-content: space-between; margin-top: 14px; }
.acct-mail { display: flex; flex-direction: column; gap: 2px; background: var(--bg2); border-radius: 10px; padding: 12px 14px; }
.acct-mail b { color: var(--header); word-break: break-all; }
.acct-mail .small { margin-top: 0; }
.co-mail { word-break: break-all; border-color: var(--line2); }
.pill.user { background: var(--surface); border: 1px solid var(--line2); color: var(--header); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill.user:hover { background: var(--surface2); }
.gift-links { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 2px 46px; }
.gift-link { display: flex; align-items: center; gap: 8px; background: var(--bg2); border: 1px solid rgba(35,165,90,.35); border-radius: 8px; padding: 7px 8px 7px 11px; }
.gift-link a { flex: 1; min-width: 0; color: #8be0aa; font-size: 13px; font-family: ui-monospace, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gift-wait { margin: 4px 0 2px 46px; color: #f3cd74; font-size: 12.5px; }
.captcha { margin-top: 14px; min-height: 65px; }
/* account dashboard (/account) */
.bal-pill { display: inline-flex; align-items: center; gap: 7px; margin-right: 8px; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line2); color: var(--muted); font-size: 14px; }
.bal-pill b { color: #5ad67d; }
.bal-pill:hover { background: var(--surface2); }
.acct-guest { max-width: 420px; margin: 70px auto; text-align: center; }
.acct-guest h2 { margin: 0 0 8px; }
.acct-guest .btn { margin-top: 10px; }
.acct { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 26px; align-items: start; padding: 28px 0 40px; }
.acct-side { position: sticky; top: 84px; display: flex; flex-direction: column; min-height: 440px; background: var(--surface); border: 1px solid var(--line2); border-radius: 16px; padding: 18px; }
.acct-who { display: flex; align-items: center; gap: 12px; padding: 4px 4px 16px; border-bottom: 1px solid var(--line2); margin-bottom: 14px; min-width: 0; }
.acct-who div { display: flex; flex-direction: column; min-width: 0; }
.acct-who b { color: var(--header); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-who span { color: var(--muted); font-size: 12px; margin-top: 2px; }
.acct-av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #5865f2, #3ba7d9); }
.acct-nav { display: flex; flex-direction: column; gap: 4px; }
.acct-nav a { padding: 10px 12px; border-radius: 8px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.acct-nav a:hover { background: var(--surface2); color: var(--header); }
.acct-nav a.on { background: var(--brand); color: #fff; }
.acct-out { margin-top: auto; padding: 10px; color: var(--header); }
.acct-body { min-width: 0; }
.acct-pane { display: flex; flex-direction: column; gap: 14px; }
.acct-h { margin: 0; font-size: 28px; }
.acct-sub { margin: -8px 0 4px; color: var(--muted); }
.bal-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 26px; border-radius: 16px; color: #fff;
  background: radial-gradient(600px 200px at 100% 0, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(110deg, #5865f2, #3c45a5 70%, #2f3480); }
.bal-card div { display: flex; flex-direction: column; gap: 6px; }
.bal-card span { font-size: 13px; font-weight: 600; opacity: .9; }
.bal-val { font-size: 34px; font-weight: 800; line-height: 1; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; background: var(--surface); border: 1px solid var(--line2); border-radius: 14px; min-width: 0; }
.stat b { color: var(--header); font-size: 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat span { color: var(--muted); font-size: 13px; }
.acct-card { min-width: 0; background: var(--surface); border: 1px solid var(--line2); border-radius: 16px; padding: 20px 22px; }
.acct-card h3 { margin: 0 0 14px; font-size: 17px; }
.otable { border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; background: var(--bg2); }
.otr { display: grid; grid-template-columns: minmax(0, 3fr) .7fr 1fr 1.2fr 1.3fr; gap: 12px; align-items: center; padding: 13px 16px; border-top: 1px solid var(--line2); font-size: 14px; cursor: pointer; }
.otr:hover { background: var(--surface2); }
.otr.oth { border-top: 0; cursor: default; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.otr.oth:hover { background: var(--surface); }
.oid { font-family: ui-monospace, Consolas, monospace; color: var(--header); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status.cancelled { background: rgba(148, 155, 164, .16); color: var(--muted); }
.topup-row { display: flex; gap: 10px; margin-top: 14px; max-width: 420px; }
.topup-row .btn { flex: none; }
.tx { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--line2); font-size: 14px; }
.tx:first-child { border-top: 0; }
.tx[data-order] { cursor: pointer; }
.tx div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tx div b { color: var(--header); }
.tx div span { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx .amt { color: var(--header); font-variant-numeric: tabular-nums; }
.tx .amt.plus { color: #5ad67d; }
.set-rows { padding: 6px 22px; }
.set-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line2); font-size: 14px; }
.set-rows div:first-child { border-top: 0; }
.set-rows span { color: var(--muted); }
.set-rows b { color: var(--header); word-break: break-all; text-align: right; }
.set-rows a { color: #00a8fc; font-weight: 600; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.switch-row div { display: flex; flex-direction: column; gap: 4px; }
.switch-row b { color: var(--header); font-size: 14px; }
.switch-row span { color: var(--muted); font-size: 12.5px; }
.switch { appearance: none; flex: none; position: relative; width: 44px; height: 24px; margin: 0; border-radius: 999px; background: var(--line2); cursor: pointer; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch:checked { background: var(--brand); }
.switch:checked::after { transform: translateX(20px); }
.btn.red { background: var(--red); }
.btn.red:hover { background: #a12828; }
.co-methods { display: flex; flex-direction: column; gap: 8px; }
button.co-pay { width: 100%; text-align: left; font: inherit; font-weight: 600; font-size: 14px; border-color: var(--line2); cursor: pointer; }
button.co-pay.on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
button.co-pay:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 900px) {
  .acct { grid-template-columns: minmax(0, 1fr); padding-top: 18px; }
  .acct-side { position: static; min-height: 0; }
  .acct-nav { flex-direction: row; overflow-x: auto; }
  .acct-nav a { white-space: nowrap; }
  .acct-out { margin-top: 10px; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bal-pill { display: none; }
  .bal-card { flex-direction: column; align-items: flex-start; }
  .otr { grid-template-columns: minmax(0, 1fr) auto; }
  .otr > :nth-child(2), .otr > :nth-child(5) { display: none; }
  .otr > :nth-child(4) { grid-column: 2; grid-row: 1; }
  .otr > :nth-child(3) { grid-column: 1; color: var(--muted); font-size: 13px; }
  .otr.oth > :nth-child(3) { display: none; }
  .topup-row { flex-direction: column; }
}

/* account → API (paket prabayar) */
.api-status { margin: 0; font-size: 14px; line-height: 1.5; }
.api-new { margin-top: 12px; }
.api-new .gift-link { margin-top: 6px; }
.api-new code { flex: 1; min-width: 0; color: #8be0aa; font-size: 13px; overflow-wrap: anywhere; }
.api-new code.masked { letter-spacing: 1px; color: var(--muted); }
.key-eye { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 7px; background: none; color: var(--muted); cursor: pointer; }
.key-eye:hover { background: var(--surface2); color: var(--header); }
.key-eye .eye-off, .key-eye[aria-pressed="true"] .eye-open { display: none; }
.key-eye[aria-pressed="true"] .eye-off { display: block; }
.api-actions { display: flex; gap: 8px; margin-top: 14px; }
.api-actions:has(> [hidden]:only-child) { display: none; }
.plan-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
/* kartu paket: gradasi + daftar fitur (gaya halaman reseller) */
.plan { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: 16px; min-width: 0; color: #fff;
  background: linear-gradient(160deg, #5865f2, #4450d6 55%, #3a43b8); border: 1px solid rgba(255, 255, 255, .14); }
.plan.best { background: linear-gradient(160deg, #a35bf0, #8b3fe0 55%, #7329c9); box-shadow: 0 18px 50px -18px rgba(139, 63, 224, .7); }
.plan-ic { position: absolute; top: 18px; right: 18px; width: 54px; height: 54px; opacity: .3; }
.plan-flag { align-self: flex-start; margin: -10px 0 8px; padding: 3px 10px; border-radius: 999px; background: #fff; color: #1a1b1e; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.plan-nm { font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; opacity: .9; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.plan-price b { font-size: 36px; line-height: 1.1; }
.plan-price span { font-size: 14px; font-weight: 600; opacity: .85; }
.plan-sub { margin-top: 4px; font-size: 13px; opacity: .8; }
.plan-feat { list-style: none; margin: 18px 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.plan-feat li { display: flex; align-items: flex-start; gap: 10px; }
.plan-feat li.bonus { margin: -4px -10px 2px; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, .16); border: 1px dashed rgba(255, 255, 255, .45); }
.plan-feat li.bonus::before { width: 15px; height: 15px; margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='9' width='16' height='12' rx='1.5'/%3E%3Cpath d='M4 13h16M12 9v12M12 9C9.6 9 7.3 9 7.3 7.3 7.3 5.7 10.5 5.5 12 9ZM12 9c2.4 0 4.7 0 4.7-1.7C16.7 5.7 13.5 5.5 12 9Z'/%3E%3C/svg%3E"); }
.plan-feat li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 3px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; width: 100%; background: #fff; color: #4450d6; font-weight: 700; }
.plan.best .btn { color: #7329c9; }
.plan .btn:hover { background: #eef0ff; }
.plan-alt { align-self: center; margin-top: 10px; background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.plan-alt:hover { color: #fff; }
.plan-alt:disabled { opacity: .6; cursor: default; }
.plan a.btn.short { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
/* "What's included" */
.incl-h { margin: 26px 0 12px; font-size: 18px; }
.incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.incl > div { display: flex; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line2); border-radius: 14px; min-width: 0; }
.incl-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: rgba(88, 101, 242, .16); color: #aeb9ff; }
.incl b { display: block; color: var(--header); font-size: 14.5px; margin-bottom: 3px; }
.incl p, .dz-main .incl p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.dz-main .incl { margin-bottom: 18px; }
.incl a { color: #00a8fc; }

/* /docs — halaman dokumentasi API (docs.html) */
.dz-badge { margin-left: 4px; padding: 2px 8px; border-radius: 6px; background: rgba(88, 101, 242, .2); color: #aeb9ff; font-size: 12px; font-weight: 700; }
.dz-back { color: var(--muted); font-size: 14px; font-weight: 600; }
.dz-back:hover { color: var(--header); }
.dz { display: grid; grid-template-columns: 248px minmax(0, 760px); gap: 26px; align-items: start; padding-top: 28px; padding-bottom: 80px; }
.dz-side { position: sticky; top: 84px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line2); border-radius: 16px; padding: 18px; }
.dz-side-h { padding: 6px 12px 10px; color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dz-nav { display: flex; flex-direction: column; gap: 4px; }
.dz-nav a { padding: 9px 12px; border-radius: 8px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.dz-nav a:hover { background: var(--surface2); color: var(--header); }
.dz-nav a.on { background: var(--brand); color: #fff; }
.dz-side-cta { margin-top: 16px; padding: 8px; text-align: center; color: var(--header); font-size: 13px; font-weight: 700; }
.dz-side-cta:hover { color: #aeb9ff; }
.dz-main { min-width: 0; font-size: 15px; line-height: 1.65; }
.dz-main section { padding: 34px 0; border-top: 1px solid var(--line2); scroll-margin-top: 76px; }
.dz-main section:first-child { padding-top: 0; border-top: 0; }
.dz-main h1 { margin: 0 0 10px; font-size: 32px; }
.dz-main h2 { margin: 0 0 12px; font-size: 22px; }
.dz-main h3 { margin: 22px 0 8px; font-size: 16px; }
.dz-main p { margin: 0 0 14px; }
.dz-main a:not(.btn) { color: #00a8fc; }
.dz-main a:not(.btn):hover { text-decoration: underline; }
.dz-lead { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.dz-main code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; font-weight: 600; color: var(--header); background: var(--surface); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
.dz-main pre { margin: 0 0 16px; padding: 16px 18px; background: #18191c; border: 1px solid var(--line); border-radius: 10px; color: var(--text); font: 13px/1.65 ui-monospace, Consolas, monospace; overflow-x: auto; }
.dz-main pre code { all: unset; }
.t-c { color: #7c8089; }
.t-s { color: #8be0aa; }
.t-n { color: #f0b27a; }
.t-k, .t-p { color: #aeb9ff; font-weight: 700; }
.t-w { color: var(--yellow); }
.t-ok { color: #5ad67d; }
/* kartu terminal di bagian atas */
.term { margin: 22px 0 18px; background: #111214; border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line2); font: 13px ui-monospace, Consolas, monospace; color: var(--muted); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ed6a5e; }
.term-bar i:nth-child(2) { background: #f5bf4f; }
.term-bar i:nth-child(3) { background: #61c554; margin-right: 8px; }
.term-bar b { margin-left: auto; color: #5ad67d; font-weight: 500; font-size: 12px; }
.term-bar b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #5ad67d; vertical-align: 1px; }
.term pre { margin: 0; border: 0; border-radius: 0; background: none; color: var(--header); line-height: 1.8; }
/* baris label – nilai */
.kv { margin-bottom: 12px; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.kv span { color: var(--muted); }
.kv b { color: var(--header); text-align: right; font-size: 13.5px; }
.kv code { background: none; padding: 0; }
/* judul endpoint */
.ep-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ep-h.sub { margin-top: 26px; }
.ep-h code { background: none; padding: 0; font-size: 15px; }
.ep-h .m { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.m.get { background: rgba(35, 165, 90, .18); color: #5ad67d; }
.m.post { background: rgba(88, 101, 242, .22); color: #aeb9ff; }
/* tabel field / respons / error */
.ftable { margin: 0 0 16px; font-size: 14px; }
.ftable > div { display: grid; grid-template-columns: 190px 110px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.ftable > div > span:nth-child(2) { color: var(--muted); font-size: 13px; }
.ftable > div > span:last-child { color: var(--text); }
.ftable > div > code:first-child { justify-self: start; color: #aeb9ff; background: none; padding: 0; }
.ftable .fh { padding: 6px 0; }
.ftable .fh span { color: var(--muted) !important; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ftable.err > div { grid-template-columns: 70px 190px minmax(0, 1fr); }
.ftable.err b { color: #aeb9ff; font-family: ui-monospace, Consolas, monospace; }
.ftable.err > div > span:nth-child(2) { color: var(--header); font-size: 14px; }
.ftable.err > div > span:last-child { color: var(--muted); }
/* status */
.st-list { margin-bottom: 14px; }
.st-list > div { display: flex; align-items: baseline; gap: 14px; padding: 8px 0; font-size: 14px; color: var(--muted); }
.st { flex: none; min-width: 84px; text-align: center; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.st.paid { background: rgba(88, 101, 242, .22); color: #aeb9ff; }
.st.delivered { background: rgba(35, 165, 90, .2); color: #5ad67d; }
@media (max-width: 900px) {
  .dz { grid-template-columns: minmax(0, 1fr); padding-top: 18px; }
  .dz-side { position: static; }
  .dz-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .dz-main section { scroll-margin-top: 72px; }
}
@media (max-width: 640px) {
  .plan-row, .incl { grid-template-columns: minmax(0, 1fr); }
  .dz-main h1 { font-size: 28px; }
  .term pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .ftable > div, .ftable.err > div { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
  .ftable > div > span:last-child { grid-column: 1 / -1; }
  .ftable.err > div > span:nth-child(2) { justify-self: end; }
  .ftable .fh { display: none !important; }
  .kv b { font-size: 13px; }
}

/* account → Support (tiket) */
.tk-fields { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.tk-sel { width: 100%; background: var(--bg2); border: 1px solid var(--line2); border-radius: 8px; padding: 11px 13px; color: var(--text); font: inherit; }
.tk-form textarea, #tkThread textarea { width: 100%; min-height: 120px; resize: vertical; background: var(--bg2); border: 1px solid var(--line2); border-radius: 8px; padding: 11px 13px; outline: none; line-height: 1.5; }
.tk-msgs { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; max-height: 460px; overflow-y: auto; }
.tk-msg { max-width: 85%; padding: 11px 14px; border-radius: 12px; background: var(--bg2); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.55; }
.tk-msg.customer { align-self: flex-end; background: rgba(88, 101, 242, .2); }
.tk-msg.admin { border: 1px solid var(--line2); }
.tk-msg small { display: block; margin-top: 6px; color: var(--muted); font-size: 11.5px; }
@media (max-width: 640px) { .tk-fields { grid-template-columns: minmax(0, 1fr); } .tk-msg { max-width: 100%; } }

/* login: lupa password · settings: ganti password */
.auth-forgot { display: flex; justify-content: flex-end; margin-top: 8px; }
.pw-form { display: grid; gap: 12px; max-width: 420px; }
.pw-form input { width: 100%; background: var(--bg2); border: 1px solid var(--line2); border-radius: 8px; padding: 11px 13px; outline: none; }
.pw-form .label { margin-bottom: 6px; }
.pw-form .btn { justify-self: start; }

/* ---------- /reviews (gaya "What buyers say") ---------- */
.rv { max-width: 860px; margin: 0 auto; padding: 26px 0 30px; }
.rv-h { margin: 0; text-align: center; font-size: 30px; }
.rv-sub { margin: 8px 0 22px; text-align: center; color: var(--muted); font-size: 14px; }
.rv-sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 34px; align-items: center; padding: 24px 28px; margin-bottom: 18px;
  border: 1px solid var(--line2); border-radius: 18px; background: radial-gradient(500px 180px at 0 0, rgba(88, 101, 242, .18), transparent 70%), var(--surface); }
.rv-score { display: flex; align-items: center; gap: 18px; }
.rv-gift { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #5865f2, #3c45a5); box-shadow: 0 10px 26px -10px rgba(88, 101, 242, .8); }
.rv-avg { color: var(--header); font-size: 40px; font-weight: 800; line-height: 1; }
.rv-avg span { margin-left: 4px; color: var(--muted); font-size: 18px; font-weight: 600; }
.rv-count { margin-top: 4px; color: var(--muted); font-size: 14px; }
.rv-dist { display: grid; gap: 8px; }
.rv-bar { display: grid; grid-template-columns: 34px minmax(0, 1fr) 44px; gap: 12px; align-items: center; font-size: 13px; }
.rv-bar > span { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); font-weight: 700; }
.rv-bar > span svg { width: 12px; height: 12px; color: #f0b232; }
.rv-bar > div { height: 8px; border-radius: 999px; background: var(--bg2); overflow: hidden; }
.rv-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #5865f2, #a78bfa); }
.rv-bar b { color: var(--muted); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.stars { display: inline-flex; gap: 1px; vertical-align: -2px; }
.stars i { display: grid; color: var(--line2); }
.stars i.on { color: #f0b232; }
.stars svg { width: 14px; height: 14px; }
.stars.lg { margin-top: 6px; }
.stars.lg svg { width: 18px; height: 18px; }
.rv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rv-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line2); border-radius: 14px; background: var(--surface); min-width: 0; }
.rv-top { display: flex; align-items: center; gap: 12px; }
.rv-art { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--bg2); display: grid; place-items: center; overflow: hidden; }
.rv-art img { width: 100%; height: 100%; object-fit: contain; }
.rv-meta { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rv-meta b { color: var(--header); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-meta b em { font-style: normal; color: var(--violet); font-weight: 700; }
.rv-meta > span { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.rv-ok { color: #3ba55d; font-weight: 600; }
.rv-text { margin: 0; color: var(--text); font-size: 14px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.rv-items { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-items span { padding: 3px 9px; border-radius: 999px; background: var(--bg2); color: var(--muted); font-size: 12px; }
.rv-more { display: flex; justify-content: center; margin: 18px 0 6px; }
.rv-more .btn.ghost { color: var(--header); background: var(--surface); border-color: var(--line2); }
.rv-cta { text-align: center; color: var(--muted); font-size: 13.5px; }
.rv-cta a { color: #aeb9ff; }
.rv-empty { grid-column: 1 / -1; }
.rv-skel { height: 128px; border-radius: 14px; }
/* form review di detail order */
.rv-form { display: grid; gap: 10px; }
.rv-form .label { margin: 0; }
.rv-pick { display: flex; gap: 4px; }
.rv-pick button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line2); border-radius: 9px; background: var(--bg2); color: var(--line2); cursor: pointer; }
.rv-pick button svg { width: 20px; height: 20px; }
.rv-pick button.on { color: #f0b232; border-color: rgba(240, 178, 50, .5); }
.rv-pick button:hover { border-color: #f0b232; }
.rv-form textarea { width: 100%; min-height: 80px; resize: vertical; background: var(--bg2); border: 1px solid var(--line2); border-radius: 8px; padding: 10px 12px; outline: none; line-height: 1.5; }
.rv-form .btn { justify-self: start; }
.rv-form .small { margin: 0; }
@media (max-width: 720px) {
  .rv-sum { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
  .rv-grid { grid-template-columns: minmax(0, 1fr); }
  .rv-h { font-size: 25px; }
}
