/* ============================================================
   JIMY PANEL v141  |  Create Server (px-*) dan Setup Bot (bx-*)
   Hanya memakai variabel tema (--card, --line, --red, --green, dst), jadi ikut semua tema (Neon, Emas, Komik, Terang, Lapak).
   Dimuat paling akhir. Hapus file ini + <link>-nya di index.html untuk kembali ke tampilan v139.
   ============================================================ */
:root { --px-bad: #d6243c; --px-on: #fff; --px-ease: cubic-bezier(.2, .8, .2, 1); }
body.dark { --px-bad: #ff6b81; }
body.gold { --px-on: #0a1a22; }
body.gold { --px-on: #1a1210; }

/* ---------- CREATE SERVER ---------- */
.px { display: flex; flex-direction: column; gap: 14px; }
.px .i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.px-hero { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; padding: 16px; border-radius: 20px; border: 1px solid var(--line); position: relative; overflow: hidden;
  background: radial-gradient(260px 120px at 100% 0, var(--red-soft), transparent 70%), var(--card); }
.px-ring { --s: 68px; width: var(--s); height: var(--s); border-radius: 50%; display: grid; place-items: center; position: relative; flex: none;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), var(--line2) 0); transition: background .5s; }
.px-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--card); }
.px-ring > span { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.px-ring b { font: 900 21px var(--display); font-variant-numeric: tabular-nums; }
.px-ring small { font-size: 10.5px; color: var(--muted); margin-top: 2px; font-weight: 700; }
.px-ring.inf > span .i { font-size: 28px; color: var(--green); }
.px-hi { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.px-hq { font: 800 17px/1.25 var(--display); }
.px-hi small { font-size: 12px; color: var(--muted); }
.px-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.px-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 3px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700; color: var(--muted); background: var(--card2); border: 1px solid var(--line); }
.px-chip .i { font-size: 13px; color: var(--red); }

.px-prog { padding: 12px 14px 10px; border-radius: 16px; background: var(--card2); border: 1px solid var(--line); }
.px-pbar { height: 4px; border-radius: 9px; background: var(--line2); overflow: hidden; margin-bottom: 11px; }
.px-pbar i { display: block; height: 100%; width: calc(var(--p, 0) * 1%); border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--green)); transition: width .45s var(--px-ease); }
.px-prog ol { list-style: none; display: flex; justify-content: space-between; gap: 6px; margin: 0; padding: 0; }
.px-prog li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--muted); transition: color .25s; }
.px-prog li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; border: 1.5px solid var(--line2); transition: .25s; }
.px-prog li span .i { font-size: 13px; }
.px-prog li.done { color: var(--text); }
.px-prog li.done span { background: var(--green); border-color: var(--green); color: #04210f; }
.px-prog li.bad span { border-color: var(--px-bad); color: var(--px-bad); }
.px-prog small { display: block; margin-top: 9px; font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: right; }

.px-card { padding: 14px 14px 13px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); margin-bottom: 14px; }
.px-h { display: flex; align-items: center; gap: 9px; margin: 0 0 11px; font: 800 14.5px/1.2 var(--display); }
.px-h i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 900; background: var(--red); color: var(--px-on); flex: none; }
.px-h small { margin-left: auto; font: 500 11.5px var(--font); color: var(--muted); text-align: right; }

.px-field.okf { border-color: var(--green); box-shadow: 0 0 0 3px rgba(46, 226, 123, .13); }
.px-ns { display: grid; place-items: center; font-size: 20px; flex: none; }
.px-ns:empty { display: none; }
.px-ns.ok { color: var(--green); }
.px-ns.x { color: var(--px-bad); }
.px-ns .spin { width: 17px; height: 17px; }
.px-hrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.px-hrow .hint { flex: 1; min-width: 0; }
.px-cnt { font: 700 11.5px var(--mono); color: var(--dim); margin-top: 7px; flex: none; }
.px-cnt.full { color: var(--amber); }

.px-rts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.px-rt { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-height: 58px; text-align: left; padding: 11px 13px; border-radius: 14px; background: var(--card2); border: 1.5px solid var(--line2); color: var(--text); transition: transform .16s var(--px-ease), border-color .2s, background .2s, box-shadow .2s; }
.px-rt .i { grid-row: 1 / 3; font-size: 24px; color: var(--dim); transition: color .2s; }
.px-rt b { font-size: 14px; font-weight: 800; }
.px-rt small { font-size: 10.5px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-rt.on { border-color: var(--red); background: var(--red-soft); box-shadow: 0 0 0 3px var(--red-soft); }
.px-rt.on .i { color: var(--red); }
.px-rt:active { transform: scale(.97); }

.px-adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.px-ad { display: flex; flex-direction: column; gap: 2px; text-align: left; min-height: 56px; padding: 9px 10px; border-radius: 12px; background: var(--card2); border: 1px solid var(--line2); color: var(--text); transition: .18s; }
.px-ad b { font-size: 12.5px; font-weight: 800; }
.px-ad small { font-size: 10.5px; line-height: 1.3; color: var(--muted); }
.px-ad.on { border-color: var(--red); background: var(--red-soft); }

.px-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.px-plan { position: relative; display: flex; flex-direction: column; gap: 9px; text-align: left; min-height: 124px; padding: 12px 12px 11px; border-radius: 16px; background: var(--card2); border: 1.5px solid var(--line2); color: var(--text);
  transition: transform .16s var(--px-ease), border-color .2s, background .2s, box-shadow .2s; }
.px-plan:active { transform: scale(.975); }
.px-pt { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; padding-right: 26px; }
.px-pt b { font: 900 19px/1 var(--display); letter-spacing: .01em; }
.px-bdg { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; background: var(--red-soft); color: var(--red); border: 1px solid var(--red-line); }
.px-ms { display: flex; flex-direction: column; gap: 6px; }
.px-m { display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 7px; }
.px-m em { font-style: normal; font-size: 10px; font-weight: 800; color: var(--dim); letter-spacing: .03em; }
.px-m i { height: 5px; border-radius: 9px; background: var(--line2); position: relative; overflow: hidden; }
.px-m i::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--green)); }
.px-m small { font: 700 10.5px var(--mono); color: var(--muted); min-width: 38px; text-align: right; }
.px-inf { display: flex; align-items: center; gap: 10px; flex: 1; }
.px-inf .i { font-size: 34px; color: var(--green); }
.px-inf small { font-size: 12px; line-height: 1.35; color: var(--muted); font-weight: 600; }
.px-pp { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: var(--green); }
.px-pp.lk { color: var(--dim); font-size: 11px; font-weight: 600; line-height: 1.3; }
.px-pp .i { font-size: 13px; }
.px-chk { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line2); color: transparent; transition: .18s; }
.px-chk .i { font-size: 13px; }
.px-plan.on { border-color: var(--red); background: linear-gradient(160deg, var(--red-soft), transparent 70%), var(--card2); box-shadow: 0 0 0 3px var(--red-soft), 0 10px 26px rgba(0, 0, 0, .25); }
.px-plan.on .px-chk { background: var(--red); border-color: var(--red); color: var(--px-on); }
.px-plan.lock { opacity: .55; }
.px-plan.lock .px-chk { border-style: dashed; }
.px-plan.unli { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; flex-wrap: wrap; }
.px-plan.unli .px-pt { padding-right: 0; flex: none; }
.px-plan.unli .px-pp { margin-top: 0; margin-left: auto; padding-right: 30px; }
.px-more { grid-column: 1 / -1; }

.px-sum { padding-top: 6px; border-style: dashed; border-color: var(--line2); background: var(--card2); }
.px-chk2 { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 2px 0 8px; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.px-chk2 li { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--dim); }
.px-chk2 li span { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line2); flex: none; font-size: 11px; }
.px-chk2 li span .spin { width: 11px; height: 11px; }
.px-chk2 li.ok { color: var(--text); }
.px-chk2 li.ok span { background: var(--green); border-color: var(--green); color: #04210f; }
.px-sum .cx-r:first-of-type { border-top: 0; }

.px-dock { position: sticky; z-index: 6; bottom: calc(var(--tab-h, 64px) + env(safe-area-inset-bottom, 0px) + 10px); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--line2); box-shadow: 0 12px 34px rgba(0, 0, 0, .32); transition: border-color .25s, box-shadow .25s; }
@supports (backdrop-filter: blur(10px)) { .px-dock { background: color-mix(in srgb, var(--card) 90%, transparent); backdrop-filter: blur(14px); } }
.px-dock.rdy { border-color: var(--green); box-shadow: 0 12px 34px rgba(0, 0, 0, .32), 0 0 0 3px rgba(46, 226, 123, .14); }
.px-dk { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.px-dk small { font-size: 11px; font-weight: 700; color: var(--muted); }
.px-dock.rdy .px-dk small { color: var(--green); }
.px-dk b { font: 700 13px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-dock .btn.cta { flex: none; min-width: 148px; height: 48px; }
@media (min-width: 1024px) { .px-dock { bottom: 16px; } }
/* tombol kucing melayang naik supaya tidak menutupi tombol Buat Server di dock */
body[data-page="create"] #botfab { bottom: calc(var(--tab-h, 64px) + env(safe-area-inset-bottom, 0px) + 94px); }
@media (min-width: 1024px) { body[data-page="create"] #botfab { bottom: 92px; } }

.px-next { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.px-next > b { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.px-next a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .2s, transform .16s; }
.px-next a:active { transform: scale(.98); }
.px-next a:hover { border-color: var(--red-line); }
.px-next a > .i:first-child { font-size: 22px; color: var(--red); }
.px-next a > .i:last-child { font-size: 16px; color: var(--dim); }
.px-next a span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.px-next a span b { font-size: 13.5px; font-weight: 800; }
.px-next a span small { font-size: 11.5px; color: var(--muted); }

@media (max-width: 380px) {
  .px-adv { grid-template-columns: 1fr; }
  .px-chk2 { grid-template-columns: 1fr; }
  .px-dock .btn.cta { min-width: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  .px-pbar i, .px-ring, .px-plan, .px-rt, .px-next a { transition: none; }
}

/* ---------- SETUP BOT ---------- */
.bx { display: flex; flex-direction: column; gap: 12px; }
.bx .i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bx-hero { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(260px 120px at 100% 0, var(--red-soft), transparent 70%), var(--card); }
.bx-hero > .btn { grid-column: 1 / -1; justify-content: center; }
.bx-hi { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.bx-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bx-hq { font: 800 17px/1.25 var(--display); }
.bx-hi small { font-size: 12px; line-height: 1.4; color: var(--muted); }

.bx-tools { display: flex; gap: 8px; }
.bx-search { flex: 1; min-width: 0; height: 46px; }
.bx-tools .btn { height: 46px; flex: none; }
.bx-filt { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; margin: 0 -2px; }
.bx-filt::-webkit-scrollbar { display: none; }
.bx-filt button { flex: 1 1 auto; justify-content: center; height: 36px; padding: 0 9px; border-radius: 99px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--card2); border: 1px solid var(--line2); transition: .18s; white-space: nowrap; }
.bx-filt button b { font: 800 10.5px var(--mono); padding: 1px 6px; border-radius: 99px; background: var(--line); color: var(--text); }
.bx-filt button.on { color: var(--text); border-color: var(--red); background: var(--red-soft); }

.bx-guide { padding: 0 14px; border-radius: 16px; background: var(--card2); border: 1px solid var(--line); }
.bx-guide > summary { list-style: none; display: flex; align-items: center; gap: 9px; min-height: 48px; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.bx-guide > summary::-webkit-details-marker { display: none; }
.bx-guide > summary .i { font-size: 18px; color: var(--red); }
.bx-guide > summary small { margin-left: auto; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.bx-guide ol, .bx-guide ul { margin: 0 0 10px; padding-left: 20px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.bx-guide li { margin-bottom: 5px; }
.bx-guide li b { color: var(--text); }
.bx-gh { display: block; margin: 8px 0 6px; font-size: 12.5px; }
.bx-guide code, .bx-where code { font: 600 11.5px var(--mono); }

.bx-sec { border-radius: 18px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.bx-sec > summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 11px 14px; cursor: pointer; }
.bx-sec > summary::-webkit-details-marker { display: none; }
.bx-si { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: var(--red); background: var(--red-soft); flex: none; }
.bx-sh { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bx-sh b { font: 800 14px var(--display); }
.bx-sh small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-sc { font: 800 11.5px var(--mono); padding: 3px 9px; border-radius: 99px; color: var(--muted); background: var(--card2); border: 1px solid var(--line2); }
.bx-sc.ok { color: var(--green); border-color: rgba(46, 226, 123, .45); }
.bx-sec > summary > .i:last-child { font-size: 18px; color: var(--dim); transition: transform .2s; }
.bx-sec[open] > summary > .i:last-child { transform: rotate(180deg); }
.bx-sb { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-top: 1px solid var(--line); }

.bx-f { padding: 12px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.bx-f[hidden] { display: none; }
.bx-fh { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.bx-l { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; font-weight: 800; }
.bx-l .i { font-size: 17px; color: var(--muted); }
.bx-l span { overflow: hidden; text-overflow: ellipsis; }
.bx-st { flex: none; }
.bx-in { display: flex; align-items: center; gap: 4px; height: 50px; padding: 0 6px 0 13px; border-radius: 12px; background: var(--bg2, var(--card)); border: 1px solid var(--line2); transition: border-color .2s, box-shadow .2s; }
.bx-in:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.bx-in input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--text); font: 600 14px var(--mono); }
.bx-in input::placeholder { color: var(--dim); font-family: var(--font); font-weight: 500; font-size: 13px; }
.bx-ib { min-width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; color: var(--muted); flex: none; transition: .15s; }
.bx-ib[hidden] { display: none; }
.bx-ib:hover, .bx-ib:active { color: var(--text); background: var(--line); }
.bx-ib.txt { padding: 0 10px; font-size: 12px; font-weight: 800; color: var(--red); background: var(--red-soft); }
.bx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.bx-chips[hidden] { display: none; }
.bx-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 8px 0 11px; border-radius: 99px; font: 700 12px var(--mono); color: var(--text); background: var(--red-soft); border: 1px solid var(--red-line); }
.bx-chip .i { font-size: 13px; color: var(--muted); }
.bx-msg { margin: 7px 2px 0; font-size: 12px; font-weight: 600; line-height: 1.4; }
.bx-msg:empty { display: none; }
.bx-msg.ok { color: var(--green); }
.bx-msg.warn { color: var(--amber, #ffb020); }
.bx-msg.err, .bx-msg.bad { color: var(--px-bad); }
.bx-hint { margin: 7px 2px 0; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.bx-where { margin: 6px 2px 0; font-size: 10.5px; color: var(--dim); overflow-wrap: anywhere; }
.bx-files p { margin: 6px 0 10px; font-size: 13px; color: var(--muted); }
.bx-none { padding: 26px 16px; }

.bx-dock { position: sticky; z-index: 6; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; border-radius: 20px; background: var(--card); border: 1px solid var(--line2); box-shadow: 0 12px 34px rgba(0, 0, 0, .32); transition: border-color .25s; }
@supports (backdrop-filter: blur(10px)) { .bx-dock { background: color-mix(in srgb, var(--card) 90%, transparent); backdrop-filter: blur(14px); } }
body:not(.subpage) .bx-dock { bottom: calc(var(--tab-h, 64px) + env(safe-area-inset-bottom, 0px) + 10px); }
@media (min-width: 1024px) { body:not(.subpage) .bx-dock { bottom: 16px; } }
.bx-dock.has { border-color: var(--red-line); }
.bx-dk { grid-column: 1 / -1; padding: 0 4px; }
.bx-dkr { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 22px; }
.bx-dkr small { flex: 1; min-width: 0; font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-dock.has .bx-dkr small { color: var(--text); }
.bx-rst { flex: none; font-size: 12px; font-weight: 800; color: var(--red); padding: 4px 2px; }
.bx-rst[hidden] { display: none; }
.bx-prog { height: 4px; border-radius: 9px; background: var(--line2); margin-top: 6px; overflow: hidden; }
.bx-prog[hidden] { display: none; }
.bx-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--green)); transition: width .25s; }
.bx-dock .btn { height: 46px; padding: 0 12px; justify-content: center; }

.bx-ta { width: 100%; margin: 4px 0 10px; padding: 12px; border-radius: 12px; resize: vertical; min-height: 130px; background: var(--bg2, var(--card2)); border: 1px solid var(--line2); color: var(--text); font: 600 12.5px/1.5 var(--mono); outline: 0; }
.bx-ta:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.bx-ir { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow: auto; margin-bottom: 4px; }
.bx-ii { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; background: var(--card2); border: 1px solid var(--line); font-size: 12.5px; }
.bx-ii .i { font-size: 15px; color: var(--green); }
.bx-ii span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-ii code { font: 600 11.5px var(--mono); color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .bx-f, .bx-in, .bx-sec > summary > .i:last-child, .bx-prog i, .bx-filt button { transition: none; } }

/* layar lebar: tombol tidak melebar penuh */
@media (min-width: 700px) {
  .bx-hero { grid-template-columns: auto 1fr auto; }
  .bx-hero > .btn { grid-column: auto; }
  .bx-filt button { flex: 0 0 auto; padding: 0 14px; }
  .bx-dock { grid-template-columns: 1fr auto auto; align-items: center; }
  .bx-dk { grid-column: auto; }
  .bx-dock .btn { min-width: 160px; }
}

/* v141: hasil review desain. Isian Setup Bot dipipihkan (tidak ada kartu di dalam kartu); keadaan ditunjukkan lewat kolom input + lencana. */
.bx-sb { gap: 0; padding: 4px 14px; }
.bx-f { padding: 14px 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.bx-f + .bx-f:not([hidden]) { border-top: 1px solid var(--line); }
.bx-f[data-state=empty] .bx-in { border-color: rgba(255, 176, 32, .55); }
.bx-f[data-state=changed] .bx-in { border-color: var(--blue, #4aa3ff); box-shadow: 0 0 0 3px rgba(74, 163, 255, .12); }
.bx-f[data-state=saved] .bx-in { border-color: rgba(46, 226, 123, .55); }
.bx-f[data-state=err] .bx-in, .bx-f[data-lv=err] .bx-in { border-color: var(--px-bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--px-bad) 16%, transparent); }

/* v141: cek bukti bayar pajak (menu Penjualan) */
.sl-win { text-align: left; display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--surface2, rgba(255,255,255,.04)); font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.sl-win .i { flex: none; font-size: 16px; margin-top: 1px; color: var(--red); }
.sl-win b { color: var(--text); }
.sl-ck { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface2, rgba(255,255,255,.04)); }
.sl-ck > .i { flex: none; font-size: 20px; }
.sl-ck b { display: block; font-size: 14px; }
.sl-ck small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.sl-ck.ok { background: rgba(46, 226, 123, .1); } .sl-ck.ok > .i { color: #2ee27b; }
.sl-ck.warn { background: rgba(255, 176, 32, .1); } .sl-ck.warn > .i { color: #ffb020; }
.sl-ck.bad { background: color-mix(in srgb, var(--px-bad, #ff5d73) 12%, transparent); } .sl-ck.bad > .i { color: var(--px-bad, #ff5d73); }
.sl-cks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.sl-cks li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.sl-cks li b { color: var(--text); margin-right: 4px; }
.sl-cks li i { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; font-size: 11px; }
.sl-cks li.ok i { background: rgba(46, 226, 123, .18); color: #2ee27b; }
.sl-cks li.warn i { background: rgba(255, 176, 32, .18); color: #ffb020; }
.sl-cks li.bad i { background: color-mix(in srgb, var(--px-bad, #ff5d73) 18%, transparent); color: var(--px-bad, #ff5d73); }

/* v159: Diagnosa AI (Setup Bot + console) */
.bx-diag { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 12px; padding: 12px 14px; text-align: left; border-radius: 16px; border: 1.5px solid var(--line, rgba(0,0,0,.12)); background: var(--card, #fff); color: inherit; font: inherit; cursor: pointer; min-height: 56px; }
.bx-diag > .i { flex: none; width: 24px; height: 24px; color: var(--red); }
.bx-diag span { display: grid; gap: 2px; min-width: 0; } .bx-diag b { font-size: 15px; } .bx-diag small { color: var(--muted, #777); font-size: 12.5px; line-height: 1.35; }
.bx-diag:active { transform: translateY(1px); }
.dg { display: grid; gap: 8px; text-align: left; }
.dg-h { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: rgba(120,120,120,.1); }
.dg-h b { display: block; font-size: 16px; } .dg-h small { display: block; margin-top: 2px; color: var(--muted, #777); font-size: 13.5px; line-height: 1.4; }
.dg-i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; }
.dg-ok .dg-i { background: #d8f3e2; color: #17803d; } .dg-bad .dg-i { background: #fde0dc; color: #c0392b; } .dg-warn .dg-i { background: #fdf0cc; color: #9a6b00; }
.dg h4 { margin: 8px 0 0; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #777); }
.dg p, .dg li { margin: 0; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.dg ol, .dg ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.dg-n { font-size: 12px !important; color: var(--muted, #777); margin-top: 6px !important; }

/* v160: chat Asisten AI (Kapten Tulang) */
.asx { display: grid; gap: 10px; text-align: left; }
.asx-h { display: flex; align-items: center; gap: 10px; }
.asx-h > div { flex: 1; min-width: 0; } .asx-h b { display: block; font-size: 17px; } .asx-h small { color: var(--muted, #777); font-size: 12.5px; }
.asx-log { display: flex; flex-direction: column; gap: 8px; max-height: min(46dvh, 420px); min-height: 120px; overflow-y: auto; overscroll-behavior: contain; padding: 2px 2px 4px; }
.asx-m { max-width: 90%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.asx-m.ai { align-self: flex-start; background: rgba(120, 120, 120, .14); border-bottom-left-radius: 5px; }
.asx-m.me { align-self: flex-end; background: var(--red, #e8202f); color: #fff; border-bottom-right-radius: 5px; }
.asx-m.err { background: #fde0dc; color: #7a1d12; }
.asx-m.typing { display: flex; gap: 5px; padding: 14px 16px; } .asx-m.typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; animation: asxDot 1s infinite; } .asx-m.typing i:nth-child(2) { animation-delay: .15s; } .asx-m.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes asxDot { 50% { opacity: .9; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .asx-m.typing i { animation: none; opacity: .6; } }
.asx-fill { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .asx-fill .btn { min-height: 40px; }
.asx-q { display: flex; flex-wrap: wrap; gap: 6px; } .asx-q:empty { display: none; }
.asx-c { min-height: 38px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line, rgba(0,0,0,.18)); background: transparent; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.asx-f { display: flex; gap: 8px; } .asx-f input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line, rgba(0,0,0,.18)); background: var(--card, #fff); color: inherit; font: inherit; font-size: 16px; }
.asx-f .btn { flex: none; min-width: 52px; min-height: 46px; padding: 0 14px; }
.asx-n { margin: 0; font-size: 12px; color: var(--muted, #777); line-height: 1.4; }

/* v173: Beli VPS, saldo, bayar QRIS, antrean owner */
.vp-top { display: grid; gap: 10px; margin-bottom: 12px; }
.vp-bal { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--card, #fff); border: 1.5px solid var(--line, rgba(0,0,0,.12)); color: inherit; text-decoration: none; min-height: 56px; }
.vp-bal > .i { width: 24px; height: 24px; color: var(--red); flex: none; } .vp-bal span { display: grid; flex: 1; min-width: 0; } .vp-bal small { color: var(--muted, #777); font-size: 12px; } .vp-bal b { font-size: 19px; } .vp-bal i { font-style: normal; font-size: 13px; font-weight: 700; color: var(--red); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(120,120,120,.14); }
.seg button { min-height: 42px; border: 0; border-radius: 11px; background: transparent; color: inherit; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.seg button.on { background: var(--card, #fff); box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.vp-steps { display: flex; gap: 5px; margin: 4px 0 8px; } .vp-steps i { flex: 1; height: 6px; border-radius: 4px; background: rgba(120,120,120,.22); } .vp-steps i.done { background: var(--red); opacity: .55; } .vp-steps i.now { background: var(--red); }
.vp-st { margin: 0 0 8px; font-size: 14px; color: var(--muted, #777); } .vp-st b { color: inherit; }
.vp-sum { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; } .vp-sum span { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(120,120,120,.16); }
.vp-body { display: grid; gap: 8px; } .vp-body .sub { margin: 0 0 4px; }
.vp-o { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 10px 14px; text-align: left; border-radius: 14px; border: 2px solid var(--line, rgba(0,0,0,.14)); background: var(--card, #fff); color: inherit; font: inherit; cursor: pointer; }
.vp-o span { display: grid; gap: 2px; flex: 1; min-width: 0; } .vp-o b { font-size: 15.5px; } .vp-o small { color: var(--muted, #777); font-size: 12.5px; line-height: 1.35; } .vp-o em { font-style: normal; font-weight: 800; font-size: 15px; color: var(--red); flex: none; }
.vp-o > i { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line, rgba(0,0,0,.3)); }
.vp-o.on { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 22%, transparent); } .vp-o.on > i { background: var(--red); box-shadow: inset 0 0 0 3px var(--card, #fff); }
.vp-nav { margin-top: 14px; position: sticky; bottom: 8px; }
.vp-load { display: flex; align-items: center; gap: 8px; padding: 12px; color: var(--muted, #777); font-size: 14px; }
.vp-recap { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .vp-recap div { padding: 10px 12px; border-radius: 12px; background: rgba(120,120,120,.12); min-width: 0; } .vp-recap small { display: block; color: var(--muted, #777); font-size: 12px; } .vp-recap b { font-size: 14.5px; overflow-wrap: anywhere; } .vp-recap .tot { grid-column: 1 / -1; background: color-mix(in srgb, var(--red) 14%, transparent); } .vp-recap .tot b { font-size: 20px; }
.vp-card { display: grid; gap: 10px; padding: 14px; margin-bottom: 12px; border-radius: 16px; background: var(--card, #fff); border: 1.5px solid var(--line, rgba(0,0,0,.12)); }
.vp-ch { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .vp-ch b { font-size: 16px; }
.vp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .vp-grid .w2 { grid-column: 1 / -1; } .vp-grid small { display: block; color: var(--muted, #777); font-size: 12px; } .vp-grid b { font-size: 14.5px; overflow-wrap: anywhere; }
.vp-ip { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(120,120,120,.14); } .vp-ip div { flex: 1; min-width: 0; } .vp-ip small { display: block; color: var(--muted, #777); font-size: 12px; } .vp-ip code { font-size: 14.5px; font-weight: 700; overflow-wrap: anywhere; }
.vp-amt { text-align: center; padding: 8px 0; } .vp-amt small { display: block; color: var(--muted, #777); } .vp-amt b { font-size: 30px; }
.vp-res { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 22px 14px; border-radius: 18px; background: rgba(120,120,120,.12); } .vp-res > .i { width: 44px; height: 44px; } .vp-res b { font-size: 19px; } .vp-res span, .vp-res small { color: var(--muted, #777); font-size: 14px; line-height: 1.45; } .vp-res .btn { margin-top: 6px; }
.vp-res.good > .i { color: #17803d; } .vp-res.bad > .i { color: #c0392b; } .vp-res.warn > .i { color: #9a6b00; }
.vp-wal { text-align: center; padding: 18px; border-radius: 18px; background: color-mix(in srgb, var(--red) 12%, transparent); margin-bottom: 8px; } .vp-wal small { display: block; color: var(--muted, #777); } .vp-wal b { font-size: 32px; }
.vp-led, .vp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line, rgba(0,0,0,.1)); color: inherit; text-decoration: none; }
.vp-led span, .vp-row span { display: grid; gap: 2px; flex: 1; min-width: 0; font-size: 14px; overflow-wrap: anywhere; } .vp-led small { color: var(--muted, #777); font-size: 12px; } .vp-led .up { color: #17803d; } .vp-led .dn { color: #c0392b; }
.vp-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; } .vp-stat div { padding: 10px 12px; border-radius: 12px; background: rgba(120,120,120,.12); } .vp-stat small { display: block; color: var(--muted, #777); font-size: 12px; } .vp-stat b { font-size: 14.5px; }
.vp-it { margin: 0; font-size: 13.5px; padding-left: 8px; border-left: 3px solid #17803d; } .vp-it.warn { border-color: #d99a1c; } .vp-it.bad { border-color: #c0392b; }
.vp-card figure { margin: 0; } .vp-card figure img { width: 100%; max-height: 280px; object-fit: contain; border-radius: 10px; background: rgba(120,120,120,.12); }
.vp-nav .btn.primary { flex: 1; }
.vp-nav .btn { min-height: 50px; }
#wq { flex-wrap: wrap; } .vp-row .pill { flex: none; } .vp-row b { flex: none; }

/* ===== v175: beranda 2 tombol + tampilan Beli VPS lebih rapi (semua tema, warna ikut --red) ===== */
.cta2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; margin-top: 14px; }
.cta2 .cta { margin-top: 0; min-width: 0; white-space: nowrap; gap: 8px; }
.cta2 .cta-vps { background: var(--card, #fff); color: var(--text, #222); border: 2px solid var(--red); box-shadow: none; font-weight: 800; }
.cta2 .cta-vps .i { color: var(--red); }
@media (max-width: 340px) { .cta2 { grid-template-columns: 1fr; } }

.vp-hero { margin: 0 0 12px; padding: 14px; border-radius: 18px; color: #fff; display: grid; gap: 12px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--red) 70%, #000) 0%, color-mix(in srgb, var(--red) 38%, #0b1020) 100%); box-shadow: 0 8px 22px color-mix(in srgb, var(--red) 28%, transparent); }
.vp-hero::after { content: ''; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.1); pointer-events: none; }
.vp-hl { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.vp-hl b { display: block; font-size: 17px; line-height: 1.25; color: #fff; } .vp-hl small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.86); }
.vp-hi { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.18); } .vp-hi .i { width: 26px; height: 26px; color: #fff; }
.vp-hs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; z-index: 1; }
.vp-hs span { padding: 8px 6px; border-radius: 12px; background: rgba(0,0,0,.24); text-align: center; min-width: 0; }
.vp-hs small { display: block; font-size: 11px; color: rgba(255,255,255,.78); } .vp-hs b { display: block; font-size: 13.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vp-ic { flex: none !important; display: grid !important; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--red) 16%, transparent); }
.vp-ic .i { width: 22px; height: 22px; color: var(--red); }
.vp-gc, .vp-sc { min-height: 68px; border-radius: 16px; transition: transform .12s, box-shadow .12s; } .vp-gc:active, .vp-sc:active { transform: scale(.985); }
.vp-gc em, .vp-sc em { font-size: 16.5px; }
.vp-bd { text-decoration: none; display: inline-block; vertical-align: 2px; margin-left: 4px; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 800; background: var(--red); color: #fff; }
.vp-meter { display: block; height: 6px; margin-top: 5px; border-radius: 99px; background: rgba(120,120,120,.2); overflow: hidden; }
.vp-meter s { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, color-mix(in srgb, var(--red) 70%, #fff), var(--red)); }
.vp-o.on .vp-ic { background: var(--red); } .vp-o.on .vp-ic .i { color: #fff; }
.vp-top .vp-bal { background: color-mix(in srgb, var(--red) 8%, var(--card, #fff)); }
.vp-gc b, .vp-sc b { white-space: nowrap; }

/* ===== v176: halaman Promosi (owner) + daftar akun ===== */
.pm-pre { margin: 0; padding: 12px 14px; border-radius: 14px; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 13.5px; line-height: 1.5; background: color-mix(in srgb, var(--red) 7%, var(--card, #fff)); border: 1.5px dashed var(--line, rgba(0,0,0,.2)); color: inherit; max-height: 320px; overflow: auto; }
.pm-t .btns { margin-top: 2px; } .pm-t .btns .btn { flex: 1; }
#rgf { display: grid; gap: 10px; margin-top: 6px; }
.pm-t .btns { display: flex; gap: 8px; }

/* ---------- kartu login VPS (blockquote) ---------- */
.vp-bq { margin: 0; padding: 0; display: grid; gap: 8px; position: relative; border-radius: 16px; overflow: hidden; background: color-mix(in srgb, var(--red) 7%, var(--card, #fff)); border: 1.5px solid color-mix(in srgb, var(--red) 35%, transparent); }
.vp-bq::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--red), color-mix(in srgb, var(--red) 40%, #0b1020)); }
.vp-bq > * { margin-left: 5px; }
.vq-h { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: color-mix(in srgb, var(--red) 16%, transparent); margin-left: 5px; font-size: 12.5px; letter-spacing: .06em; }
.vq-h i { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.22); animation: vqp 1.6s infinite; }
@keyframes vqp { 50% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } }
.vq-r { display: flex; align-items: center; gap: 8px; padding: 2px 10px 2px 12px; }
.vq-r span { flex: none; width: 74px; font-size: 12px; color: var(--muted, #777); }
.vq-r code { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 700; overflow-wrap: anywhere; user-select: all; }
.vq-na { font-weight: 500 !important; color: var(--muted, #777); font-size: 13px !important; }
.vq-cmd { margin: 2px 12px 0 17px; padding: 9px 12px; border-radius: 10px; background: #0b1020; } .vq-cmd small { display: block; font-size: 11px; color: rgba(255,255,255,.6); } .vq-cmd code { color: #7ee787; font-size: 13.5px; font-weight: 700; overflow-wrap: anywhere; user-select: all; }
.vp-bq .btns { padding: 0 12px; } .vp-bq .muted-s { padding: 0 12px 12px; margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .vq-h i { animation: none; } }
.vp-bq .vq-r .icon-btn { flex: none; width: 34px; height: 34px; min-width: 0; padding: 0; display: grid; place-items: center; border-radius: 10px; border-width: 1px; box-shadow: none; background: color-mix(in srgb, var(--red) 10%, var(--card, #fff)); }
.vp-bq .vq-r .icon-btn .i { width: 17px; height: 17px; }
.vq-r code { font-size: 13.5px; letter-spacing: .01em; }
.vp-bq .btns { display: grid; grid-template-columns: 1fr; gap: 8px; }
.vp-bq .btns .btn { width: 100%; justify-content: center; }
.vp-bq .vq-r .icon-btn { width: 36px !important; height: 36px !important; border-radius: 11px !important; border: 1.5px solid color-mix(in srgb, var(--red) 40%, transparent) !important; box-shadow: none !important; background: color-mix(in srgb, var(--red) 10%, var(--card, #fff)) !important; color: var(--red); }
.vp-bq .vq-r .icon-btn:active { transform: scale(.92); }

/* ---------- pratinjau promosi blockquote (owner) ---------- */
.pm-bq { margin: 0 0 8px; padding: 9px 12px 9px 14px; display: grid; gap: 3px; border-radius: 4px 12px 12px 4px; border-left: 4px solid var(--red); background: color-mix(in srgb, var(--red) 8%, var(--card, #fff)); font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; }
.pm-bq b { font-size: 13.5px; }
.pm-bq span { display: block; }

/* ===== v183: pusat menu (cari, favorit, terakhir dibuka) ===== */
.msearch { position: relative; display: flex; align-items: center; margin: 14px 0 4px; }
.msearch input { width: 100%; box-sizing: border-box; min-height: 46px; padding: 0 44px 0 42px; border-radius: 14px; border: 1.5px solid var(--line, rgba(120,120,120,.35)); background: var(--card, #fff); color: inherit; font: inherit; font-size: 15px; }
.msearch input:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
.msearch .ms-ic { position: absolute; left: 13px; display: grid; pointer-events: none; opacity: .65; } .msearch .ms-ic .i { width: 19px; height: 19px; }
.msearch .ms-x { position: absolute; right: 4px; width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; color: inherit; border-radius: 12px; cursor: pointer; } .msearch .ms-x .i { width: 18px; height: 18px; }
.msearch input::-webkit-search-cancel-button { display: none; }
.mtile { position: relative; }
.mfav { position: absolute; top: 4px; right: 4px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--muted, #8a8a8a); cursor: pointer; z-index: 3; -webkit-tap-highlight-color: transparent; }
.mfav .i { width: 17px; height: 17px; fill: transparent; transition: transform .12s, fill .12s; }
.mfav.on { color: #e0a100; } .mfav.on .i { fill: currentColor; }
.mfav:active .i { transform: scale(.8); } .mfav:focus-visible { outline: 2px solid var(--red); }
.mrec { display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px 6px; scrollbar-width: none; } .mrec::-webkit-scrollbar { display: none; }
.mrchip { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px 0 11px; border-radius: 99px; text-decoration: none; color: inherit; font-size: 13.5px; font-weight: 700; border: 1.5px solid color-mix(in srgb, var(--ac, var(--red)) 45%, transparent); background: color-mix(in srgb, var(--ac, var(--red)) 10%, var(--card, #fff)); }
.mrchip .i { width: 17px; height: 17px; color: var(--ac, var(--red)); }
.mempty { display: flex; align-items: center; gap: 8px; padding: 14px 4px; } .mempty[hidden], .mtile[hidden] { display: none !important; }

/* ===== v184: satu warna aksen per tema, tanpa dekorasi template ===== */
/* ikon kartu Menu tidak lagi pelangi: semuanya memakai warna aksen tema (warna status tetap hanya untuk status) */
.mtile, .mcard, .mrchip { --ac: var(--red) !important; }
.mtile::after, .mcard .mc-glow { display: none !important; }
.vp-hero { background: color-mix(in srgb, var(--red) 78%, #000) !important; box-shadow: none !important; }
.vp-hero::after { display: none !important; }

/* v185: tiap tema punya asisten sendiri (aksesori di kepala; topi musiman tetap menang). Bajak Laut tetap kerangka. */
body.dark:not(.bajak) .lbtop:not([data-hat]) .lbhat { display: block; width: 8.2em; height: 8.4em; top: -7.2em; transform: translateX(-50%); }
body.dark:not(.bajak) .lbtop:not([data-hat]) .lbhat::before { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20100%2070%27%20preserveAspectRatio%3D%27xMidYMax%20meet%27%3E%3Cpath%20d%3D%27M47%2068V24h6v44z%27%20fill%3D%27%23cfd6e0%27%2F%3E%3Ccircle%20cx%3D%2750%27%20cy%3D%2715%27%20r%3D%2711%27%20fill%3D%27%237fd1ff%27%2F%3E%3Ccircle%20cx%3D%2746%27%20cy%3D%2711%27%20r%3D%273.5%27%20fill%3D%27%23fff%27%20opacity%3D%27.85%27%2F%3E%3Crect%20x%3D%2730%27%20y%3D%2760%27%20width%3D%2740%27%20height%3D%278%27%20rx%3D%274%27%20fill%3D%27%23aab4c3%27%2F%3E%3C%2Fsvg%3E") center bottom / 100% 100% no-repeat; clip-path: none; }
body.dark:not(.bajak) .lbtop:not([data-hat]) .lbhat::after { display: none; }
body.comic.gold .lbtop:not([data-hat]) .lbhat { display: block; width: 9.8em; height: 6.2em; top: -4.9em; transform: translateX(-50%); }
body.comic.gold .lbtop:not([data-hat]) .lbhat::before { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20100%2070%27%20preserveAspectRatio%3D%27xMidYMax%20meet%27%3E%3Cpath%20d%3D%27M10%2064V22l22%2020%2018-34%2018%2034%2022-20v42z%27%20fill%3D%27%23f2c14e%27%2F%3E%3Crect%20x%3D%2710%27%20y%3D%2752%27%20width%3D%2780%27%20height%3D%2712%27%20fill%3D%27%23d99a1f%27%2F%3E%3Ccircle%20cx%3D%2710%27%20cy%3D%2720%27%20r%3D%275%27%20fill%3D%27%23e8202f%27%2F%3E%3Ccircle%20cx%3D%2750%27%20cy%3D%277%27%20r%3D%275.5%27%20fill%3D%27%23fff%27%2F%3E%3Ccircle%20cx%3D%2790%27%20cy%3D%2720%27%20r%3D%275%27%20fill%3D%27%23e8202f%27%2F%3E%3Ccircle%20cx%3D%2730%27%20cy%3D%2758%27%20r%3D%273%27%20fill%3D%27%23fff%27%2F%3E%3Ccircle%20cx%3D%2750%27%20cy%3D%2758%27%20r%3D%273%27%20fill%3D%27%23e8202f%27%2F%3E%3Ccircle%20cx%3D%2770%27%20cy%3D%2758%27%20r%3D%273%27%20fill%3D%27%23fff%27%2F%3E%3C%2Fsvg%3E") center bottom / 100% 100% no-repeat; clip-path: none; }
body.comic.gold .lbtop:not([data-hat]) .lbhat::after { display: none; }
body.comic:not(.gold) .lbtop:not([data-hat]) .lbhat { display: block; width: 9.6em; height: 6.8em; top: -5.6em; transform: translateX(-50%); }
body.comic:not(.gold) .lbtop:not([data-hat]) .lbhat::before { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20100%2070%27%20preserveAspectRatio%3D%27xMidYMax%20meet%27%3E%3Cpath%20d%3D%27M10%2068C10%2034%2028%2026%2050%2026s40%208%2040%2042z%27%20fill%3D%27%23e8202f%27%2F%3E%3Crect%20x%3D%2710%27%20y%3D%2756%27%20width%3D%2780%27%20height%3D%2712%27%20fill%3D%27%23ffd84d%27%2F%3E%3Cpath%20d%3D%27M47%2026V14h6v12z%27%20fill%3D%27%23222%27%2F%3E%3Cellipse%20cx%3D%2730%27%20cy%3D%2712%27%20rx%3D%2720%27%20ry%3D%275%27%20fill%3D%27%233b82f6%27%2F%3E%3Cellipse%20cx%3D%2770%27%20cy%3D%2712%27%20rx%3D%2720%27%20ry%3D%275%27%20fill%3D%27%23ffd84d%27%2F%3E%3C%2Fsvg%3E") center bottom / 100% 100% no-repeat; clip-path: none; }
body.comic:not(.gold) .lbtop:not([data-hat]) .lbhat::after { display: none; }
body:not(.dark):not(.comic):not(.bajak) .lbtop:not([data-hat]) .lbhat { display: block; width: 8.6em; height: 6.8em; top: -5.6em; transform: translateX(-50%); }
body:not(.dark):not(.comic):not(.bajak) .lbtop:not([data-hat]) .lbhat::before { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20100%2070%27%20preserveAspectRatio%3D%27xMidYMax%20meet%27%3E%3Cpath%20d%3D%27M48%2068c0-18%202-30%202-40h4c0%2010-2%2022-2%2040z%27%20fill%3D%27%233f7d45%27%2F%3E%3Cpath%20d%3D%27M52%2038C30%2040%2018%2026%2018%2010c22%200%2036%2010%2034%2028z%27%20fill%3D%27%235fa05a%27%2F%3E%3Cpath%20d%3D%27M52%2030C70%2032%2084%2022%2086%206%2066%206%2052%2014%2052%2030z%27%20fill%3D%27%2379b974%27%2F%3E%3Cpath%20d%3D%27M52%2038c-10-6-20-14-26-26%27%20stroke%3D%27%233f7d45%27%20stroke-width%3D%272.5%27%20fill%3D%27none%27%2F%3E%3C%2Fsvg%3E") center bottom / 100% 100% no-repeat; clip-path: none; }
body:not(.dark):not(.comic):not(.bajak) .lbtop:not([data-hat]) .lbhat::after { display: none; }
/* v185: asisten tampil utuh (tanpa lingkaran) supaya aksesori terlihat; Bajak Laut punya aturan sendiri di bajak.css */
body:not(.bajak) .botfab { width: 74px; height: 74px; border: 0; border-radius: 0; background: none; box-shadow: none !important; overflow: visible; animation: none; right: 8px; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .28)); }
body:not(.bajak) .botfab .lbtop.mini { --hw: 62px; position: absolute; left: 50%; top: 16px; margin: 0; transform: translateX(-50%); }
body:not(.bajak) .botfab .lbtop.mini .lbbob { padding-top: 0; }
/* v185b: karakter SVG asisten per tema */
.chr { display: block; width: 100%; height: 100%; overflow: visible; transform-origin: 50% 100%; animation: chrBob 3.4s ease-in-out infinite; }
.chr .ce { transform-box: fill-box; transform-origin: center; animation: chrBlink 5s infinite; }
@keyframes chrBob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-3px) rotate(1.5deg); } }
@keyframes chrBlink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
@media (prefers-reduced-motion: reduce) { .chr, .chr .ce { animation: none; } }
body:not(.bajak) .botfab { width: 62px; height: 86px; }
body .botfab svg.chr { width: 100%; height: 100%; }
.asx-av { flex: none; width: 44px; height: 60px; display: block; } .asx-av .chr { animation: none; }
#vpw .banner { margin: 12px 0 10px; } #vpw .banner + .btn { margin: 0 0 6px; }
/* v188: gambar struk VPS */
.vp-strimg { display: block; width: 100%; max-width: 360px; margin: 8px auto 0; border-radius: 14px; box-shadow: 0 6px 22px rgba(0, 0, 0, .35); }
/* v189b: checklist hasil baca bukti */
.vp-scan { list-style: none; margin: 10px 0 4px; padding: 0; text-align: left; width: 100%; }
.vp-scan li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 2px; border-top: 1px solid rgba(128, 128, 128, .22); }
.vp-scan li:first-child { border-top: 0; }
.vp-scan .vs-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vp-scan .vs-t b { font-size: 15px; font-weight: 700; }
.vp-scan .vs-t small { font-size: 13px; font-weight: 500; opacity: .8; line-height: 1.35; overflow-wrap: anywhere; }
.vp-scan .vs-i svg { width: 22px; height: 22px; }
.vp-scan li.ok .vs-i { color: #2ea66a; } .vp-scan li.warn .vs-i { color: #d9a441; } .vp-scan li.bad .vs-i { color: #e5484d; }
.vp-scan:not(.done) li { font-size: 15px; font-weight: 600; align-items: center; }
.vp-scan .spin { flex: none; width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; opacity: .7; animation: vsSpin .8s linear infinite; }
@keyframes vsSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vp-scan .spin { animation: none; } }
/* v191: panduan masuk VPS */
.vq-guide { margin-top: 10px; border-top: 1px dashed rgba(128, 128, 128, .35); padding-top: 10px; }
.vq-guide summary { cursor: pointer; font-weight: 700; display: flex; gap: 8px; align-items: center; min-height: 44px; }
.vq-guide ol { margin: 6px 0 8px 20px; padding: 0; display: grid; gap: 8px; line-height: 1.5; }
.vq-guide code { background: rgba(128, 128, 128, .18); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }

/* ---- v193: AI Agent (Hermes + 9router) ---- */
.agchat { padding: 12px; }
.agtop { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.agfold { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(128, 128, 128, .1); min-width: 0; }
.agfold svg { width: 15px; height: 15px; flex: none; }
.agfold small { color: var(--muted); }
.agfold input { border: 0; background: transparent; color: inherit; font: 600 13px var(--mono); width: 110px; min-height: 32px; outline: none; }
.agfold:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.agmodel { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agmodel svg { width: 14px; height: 14px; flex: none; }
.agwrap { position: relative; }
.agmsgs { height: min(60dvh, 560px); min-height: 220px; overflow: auto; display: flex; flex-direction: column; gap: 12px; padding: 4px 2px 8px; scroll-behavior: smooth; overscroll-behavior: contain; }
.agm { display: flex; gap: 8px; max-width: 94%; }
.agm.u { align-self: flex-end; flex-direction: column; align-items: flex-end; }
.agm.e { flex-direction: column; align-items: flex-start; }
.agav { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--blue); color: #fff; }
.agav svg { width: 17px; height: 17px; }
.agcol { min-width: 0; display: flex; flex-direction: column; }
.agb { padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; word-break: break-word; border: 1px solid var(--line); background: rgba(128, 128, 128, .1); }
.agm.u .agb { background: var(--blue); border-color: transparent; color: #fff; border-bottom-right-radius: 5px; white-space: pre-wrap; }
.agm.a .agb { border-top-left-radius: 5px; }
.agm.e .agb { display: flex; gap: 8px; align-items: flex-start; border-color: var(--red-line); color: #ff7385; }
.agm.e .agb svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.agm small { color: var(--muted); font-size: 11px; margin: 3px 6px 0; }
.agmd p { margin: 0 0 8px; } .agmd p:last-child, .agmd ul:last-child, .agmd ol:last-child { margin-bottom: 0; }
.agmd ul, .agmd ol { margin: 0 0 8px; padding-left: 20px; } .agmd li { margin: 2px 0; }
.agmd .agh { font-weight: 800; margin: 6px 0 4px; }
.agmd code { font: 12.5px var(--mono); background: rgba(128, 128, 128, .22); padding: 1px 6px; border-radius: 6px; }
.agmd a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.agcode { margin: 8px 0; border-radius: 12px; overflow: hidden; background: #15161d; color: #d6f5dc; border: 1px solid rgba(128, 128, 128, .3); }
.agch { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 4px 12px; background: rgba(255, 255, 255, .07); font: 11px var(--mono); color: #aab; }
.agch button, .agmeta button { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: inherit; font: 600 12px inherit; cursor: pointer; }
.agch button:hover, .agmeta button:hover { background: rgba(128, 128, 128, .2); }
.agch svg, .agmeta svg { width: 14px; height: 14px; }
.agcode pre { margin: 0; padding: 10px 12px; overflow: auto; max-height: 340px; }
.agcode code { background: none; padding: 0; color: inherit; font: 12.5px/1.5 var(--mono); white-space: pre; }
.agmeta { display: flex; align-items: center; gap: 2px; } .agmeta button { color: var(--muted); }
.agretry { margin: 6px 0 0; min-height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--red-line); background: transparent; color: inherit; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.agtyp { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; }
.agtyp i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: agdot 1.2s infinite ease-in-out; }
.agtyp i:nth-child(2) { animation-delay: .15s; } .agtyp i:nth-child(3) { animation-delay: .3s; }
.agtyp span { margin-left: 6px; }
@keyframes agdot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.agempty { margin: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; }
.agempty > svg { width: 38px; height: 38px; color: var(--blue); }
.agempty small { color: var(--muted); }
.agideas { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 8px; }
.agideas button { min-height: 44px; padding: 8px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(128, 128, 128, .1); color: inherit; font: 600 13.5px inherit; text-align: left; cursor: pointer; }
.agideas button:hover { border-color: var(--blue); }
.agdown { position: absolute; right: 6px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); cursor: pointer; }
.agdown[hidden] { display: none; }
.agcomp { display: flex; gap: 8px; align-items: flex-end; margin-top: 8px; padding: 6px; border-radius: 20px; border: 1px solid var(--line); background: rgba(128, 128, 128, .08); }
.agcomp:focus-within { border-color: var(--blue); }
.agcomp textarea { flex: 1; min-height: 40px; max-height: 160px; border: 0; background: transparent; color: inherit; font: inherit; font-size: 15px; resize: none; padding: 9px 8px; outline: none; }
.agsend { width: 44px; height: 44px; border-radius: 50%; border: 0; flex: none; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; }
.agsend:disabled { opacity: .45; cursor: not-allowed; }
.agfoot { display: block; margin: 6px 4px 0; font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .agtyp i { animation: none; opacity: .7; } .agmsgs { scroll-behavior: auto; } }

/* ---- v195: pasang di VPS luar + opsi otomatis ---- */
.vq-ack { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 6px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.vq-ack input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--blue); }
.grid2c { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .grid2c .field { min-width: 0; }

/* ---- v196: halaman chat penuh + lampiran ---- */
.agfull { display: flex; flex-direction: column; height: calc(100dvh - 150px); min-height: 440px; margin-top: 8px; }
.agfull .agwrap { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.agfull .agmsgs { flex: 1; height: auto; max-height: none; min-height: 0; }
.agacts { display: flex; gap: 6px; }
.agattach { width: 44px; height: 44px; border-radius: 50%; border: 0; flex: none; background: rgba(128, 128, 128, .2); color: inherit; display: grid; place-items: center; cursor: pointer; }
.agattach svg { width: 20px; height: 20px; }
.agpend { display: flex; gap: 8px; overflow-x: auto; padding: 8px 2px 2px; }
.agpend[hidden] { display: none; }
.agchip { display: inline-flex; align-items: center; gap: 8px; flex: none; max-width: 230px; padding: 6px 8px; border-radius: 14px; border: 1px solid var(--line); background: rgba(128, 128, 128, .12); }
.agchip.err { border-color: var(--red-line); }
.agchip img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; }
.agchip > svg { width: 22px; height: 22px; flex: none; }
.agcn { display: flex; flex-direction: column; min-width: 0; } .agcn b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .agcn small { font-size: 11px; color: var(--muted); }
.agchip button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; flex: none; } .agchip button svg { width: 16px; height: 16px; }
.agfiles { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.agfile { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 10px; background: rgba(0, 0, 0, .22); font-size: 12px; max-width: 100%; }
.agfile svg { width: 15px; height: 15px; flex: none; } .agfile b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; } .agfile small { opacity: .75; margin: 0; }

/* ---- v197: alat MCP ---- */
.agmrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; border-top: 1px solid var(--line); }
.agmrow:first-of-type { border-top: 0; }
.agmrow > div { min-width: 0; } .agmrow b { display: block; font-size: 14px; } .agmrow small { color: var(--muted); font-size: 12px; line-height: 1.4; display: block; }
.agsw { position: relative; width: 52px; height: 32px; flex: none; border-radius: 999px; border: 1px solid var(--line); background: rgba(128, 128, 128, .25); cursor: pointer; padding: 0; transition: background .18s; }
.agsw i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .18s; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.agsw.on { background: var(--blue); border-color: transparent; } .agsw.on i { transform: translateX(20px); }
.agsw:disabled { opacity: .55; cursor: wait; }
.agsw:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .agsw, .agsw i { transition: none; } }

/* v200: form atur harga VPS (owner) */
#vpr .vpr-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,120px);gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line,rgba(127,127,127,.2))}
#vpr .vpr-row>span{display:flex;flex-direction:column;gap:2px;min-width:0}
#vpr .vpr-row small,#vpr .vpr-off{font-size:12px;opacity:.7}
#vpr .vpr-off{display:flex;align-items:center;gap:6px}
#vpr .vpr-row .field{margin:0;min-width:0}
#vpr .vpr-row input[type=text],#vpr .vpr-row input:not([type]),#vpr .vpr-row input[inputmode]{width:100%;min-width:0;text-align:right}
#vpr .vpr-off input{width:auto}
#vpr .btn{margin-top:12px}

/* v202: alur beli VPS lebih hidup */
.vq-head { margin: 2px 0 12px; } .vq-head small { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.vq-head h2 { margin: 2px 0 4px; font-size: 22px; line-height: 1.2; } .vq-head p { margin: 0; font-size: 13.5px; color: var(--muted, #777); line-height: 1.45; }
.vp-st { display: none; }
.vq-mid { display: grid; gap: 4px; min-width: 0; flex: 1; } .vq-mid b { font-size: 16px; } .vq-mid small { color: var(--muted, #777); font-size: 12.5px; }
.vq-pr { display: grid; justify-items: end; gap: 2px; flex: none; text-align: right; } .vq-pr em { font-style: normal; font-weight: 800; font-size: 17px; color: var(--red); } .vq-pr small { font-size: 11.5px; color: var(--muted, #777); max-width: 110px; }
.vq-g, .vq-s { min-height: 84px; padding: 14px; gap: 12px; align-items: center; position: relative; overflow: hidden; }
.vq-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--red) 12%, var(--card, #fff)); color: var(--red); } .vq-ico .i { width: 22px; height: 22px; }
.vq-g.on .vq-ico { background: var(--red); color: #fff; }
.vq-g.hot { border-color: color-mix(in srgb, var(--red) 55%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--red) 10%, var(--card, #fff)), var(--card, #fff) 60%); }
.vq-chips { display: flex; flex-wrap: wrap; gap: 5px; } .vq-chips i { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: rgba(120,120,120,.16); }
.vq-ram { flex: none; width: 62px; height: 62px; border-radius: 16px; display: grid; place-content: center; text-align: center; background: linear-gradient(160deg, color-mix(in srgb, var(--red) 85%, #fff), var(--red)); color: #fff; box-shadow: 0 6px 14px -6px var(--red); }
.vq-ram b { font-size: 24px; line-height: 1; } .vq-ram small { font-size: 10px; color: #fff; opacity: .9; font-weight: 700; }
.vq-use { font-size: 12.5px; color: var(--muted, #777); } .vq-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; } .vq-bars small { font-size: 10.5px; color: var(--muted, #777); } .vq-bars .vp-meter { margin-top: 2px; }
.vq-s .vp-reco, .vq-g .vp-bd { margin-left: 6px; }
.vq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vq-r, .vq-ver { min-height: 70px; padding: 12px; flex-direction: row; } .vq-r .vq-mid b { font-size: 15px; overflow-wrap: anywhere; }
.vq-cc { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: .02em; color: #fff; background: var(--c, var(--red)); }
.vq-ver { align-items: center; justify-content: space-between; }
@media (max-width: 340px) { .vq-grid { grid-template-columns: 1fr; } }
.vp-o { transition: transform .12s ease, box-shadow .18s ease, border-color .18s ease; } .vp-o:active { transform: scale(.985); }
.vp-recap .tot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; } .vp-recap .tot b { font-size: 22px; color: var(--red); }
.vp-body > * { animation: vqIn .28s ease both; } .vp-body > *:nth-child(2) { animation-delay: .04s; } .vp-body > *:nth-child(3) { animation-delay: .08s; } .vp-body > *:nth-child(4) { animation-delay: .12s; } .vp-body > *:nth-child(n+5) { animation-delay: .16s; }
@keyframes vqIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vp-body > * { animation: none; } .vp-o { transition: none; } }

/* v202b: lawan aturan .vp-o span (flex:1, grid) untuk elemen dalam kartu baru */
.vp-o .vq-ico, .vp-o .vq-ram, .vp-o .vq-cc { flex: none; }
.vp-o .vq-ico { width: 44px; height: 44px; display: grid; } .vp-o .vq-ram { width: 62px; height: 62px; display: grid; } .vp-o .vq-cc { width: 40px; height: 40px; display: grid; }
.vp-o .vq-chips { display: flex; flex-wrap: wrap; gap: 5px; flex: none; } .vp-o .vq-pr { flex: none; display: grid; } .vp-o .vq-bars { display: grid; flex: none; }
.vp-o .vq-chips i { display: inline-block; white-space: nowrap; }
.vq-g .vq-mid > b, .vq-s .vq-mid > b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; white-space: normal; } .vq-g .vp-bd, .vq-s .vp-reco, .vq-s .vp-bd { margin: 0; }
.vq-ver .vp-bd { margin: 0; flex: none; }

/* v202c: serasi dengan tema Komik 3D (garis tebal + bayangan keras) */
body.comic .vp-body { gap: 13px; }
body.comic .vp-o { background: var(--paper, #fff); border: var(--bw, 2px) solid var(--ink, #16224f); border-radius: 18px; box-shadow: var(--hs-sm, 0 3px 0 #16224f); transition: transform .1s, box-shadow .1s, background .15s; }
body.comic .vp-o:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink, #16224f); }
body.comic .vp-o.on { background: #fff6cc; border-color: var(--ink, #16224f); box-shadow: 0 5px 0 var(--ink, #16224f); transform: translateY(-2px); }
body.comic .vq-g.hot:not(.on) { background: linear-gradient(135deg, #fff2b8, var(--paper, #fff) 62%); }
body.comic .vq-ico { background: var(--pop, #ffd23a); color: var(--ink, #16224f); border: 2px solid var(--ink, #16224f); box-shadow: 0 3px 0 var(--ink, #16224f); }
body.comic .vq-g.on .vq-ico { background: var(--red); color: #fff; }
body.comic .vq-ram { border: 2px solid var(--ink, #16224f); box-shadow: 0 4px 0 var(--ink, #16224f); }
body.comic .vq-cc { border: 2px solid var(--ink, #16224f); box-shadow: 0 3px 0 var(--ink, #16224f); }
body.comic .vq-chips i { background: var(--paper2, #eef4ff); border: 1.5px solid var(--ink, #16224f); color: var(--ink, #16224f); }
body.comic .vp-bd { background: var(--pop, #ffd23a); color: var(--ink, #16224f); border: 2px solid var(--ink, #16224f); }
body.comic .vq-pr em { color: var(--red); }
body.comic .vq-head small { color: var(--ink, #16224f); background: var(--pop, #ffd23a); border: 2px solid var(--ink, #16224f); border-radius: 99px; padding: 2px 10px; display: inline-block; }
body.comic .vq-head h2 { color: var(--ink, #16224f); }
body.comic .vp-steps i { height: 8px; border: 1.5px solid var(--ink, #16224f); background: #fff; opacity: 1; } body.comic .vp-steps i.done { background: var(--pop, #ffd23a); } body.comic .vp-steps i.now { background: var(--red); }
body.comic .vp-sum span { background: #fff; border: 1.5px solid var(--ink, #16224f); }
body.comic .vq-bars .vp-meter { border: 1.5px solid var(--ink, #16224f); height: 8px; background: #fff; }
/* v202d: kartu region/OS ditumpuk agar nama tidak terpotong; teks chip selalu terbaca */
.vp-o .vq-cc, .vp-o .vq-ram, .vp-o .vq-ram b, .vp-o .vq-ram small { color: #fff !important; opacity: 1; }
.vq-r { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 96px; }
.vq-r .vq-mid { width: 100%; } .vq-r .vq-mid b { font-size: 15px; overflow-wrap: normal; word-break: normal; }
.vq-ver { flex-direction: row; }
body.comic .vp-o .vq-mid > b { color: var(--ink, #16224f); }
