/* COKOPET store: dark & elegant. Near-black surfaces, champagne-gold accents, Cinzel display + Manrope body. */
:root {
  --bg: #0b0b0e;
  --panel: #141419;
  --panel-2: #1b1b22;
  --panel-3: #22222b;
  --line: #2a2a34;
  --line-2: #3b3b48;
  --ink: #f3efe6;
  --muted: #a09b91;
  --faint: #6f6b64;
  --gold: #d8b36a;
  --gold-2: #f1d99f;
  --gold-dk: #8c6c33;
  --rose: #e8a3b2;
  --red: #e5534b;
  --green: #4cc38a;
  --edge: #07070a;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sign: var(--display);
  --r: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-weight: 600; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: rgba(216, 179, 106, .35); }

/* soft gold light from the top, fine vignette */
.glow { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 420px at 50% -120px, rgba(216, 179, 106, .16), transparent 70%),
    radial-gradient(700px 500px at 100% 100%, rgba(232, 163, 178, .05), transparent 70%),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .55) 100%); }

.wrap { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding-block: 34px 70px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; gap: 22px; }

.demo { background: var(--gold); color: var(--edge); font-weight: 800; text-align: center; padding: 10px 14px; border-radius: 10px; line-height: 1.4; }
.demo a { color: var(--edge); }

/* header */
header { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.eyebrow { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .38em; text-transform: uppercase; color: var(--gold); }
h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 10vw, 4.6rem); line-height: 1; letter-spacing: .14em; padding-left: .14em;
  background: linear-gradient(180deg, var(--gold-2) 10%, var(--gold) 55%, var(--gold-dk) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 24px rgba(216, 179, 106, .22)); }
h1.h-admin { font-size: clamp(2rem, 8vw, 3rem); }
.sub { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tag { font-size: .78rem; font-weight: 700; letter-spacing: .06em; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(20, 20, 25, .7); color: var(--muted); }
.tag b { color: var(--ink); font-weight: 800; }
.tag.ready { border-color: rgba(216, 179, 106, .55); color: var(--gold-2); }
.tag.ready b { color: var(--gold-2); }
.tag.sold-tag { border-color: rgba(232, 163, 178, .45); color: var(--rose); }
.tag.sold-tag b { color: var(--rose); }
.soldbar { width: min(340px, 80%); height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.soldbar-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--gold-dk), var(--gold-2)); transition: width .8s ease; }
.how { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: .88rem; }
.how li { display: flex; align-items: center; gap: 8px; }
.how b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--gold-dk); color: var(--gold); font-size: .72rem; font-weight: 800; }

/* game tabs */
.gametabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gtab { font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--r); background: var(--panel); color: var(--ink); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.gtab:hover { border-color: var(--line-2); }
.gtab .gt-name { font-family: var(--display); font-weight: 700; font-size: clamp(.78rem, 2.6vw, 1rem); letter-spacing: .04em; line-height: 1.25; }
.gtab .gt-n { font-size: .8rem; color: var(--muted); }
.gtab.on { border-color: var(--gold); background: linear-gradient(160deg, rgba(216, 179, 106, .12), var(--panel) 60%); }
.gtab.on .gt-n { color: var(--gold); }

/* my lock bar */
.mine { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; background: var(--panel-2); border: 1px solid var(--gold); border-radius: var(--r); padding: 12px 16px; font-weight: 700; }
.mine .t { color: var(--gold-2); font-variant-numeric: tabular-nums; font-weight: 800; }

/* stock groups + cards */
.groups { display: flex; flex-direction: column; gap: 30px; }
.ghead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 16px; }
.gname { font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 3.6vw, 1.4rem); color: var(--gold-2); letter-spacing: .06em; }
.gcount { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.loading { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }
.card { position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 15px 14px; display: flex; flex-direction: column; gap: 11px; min-width: 0; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-2); }
.top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.no { font-size: .78rem; font-weight: 700; color: var(--faint); letter-spacing: .08em; }
.lbl { font-size: .64rem; font-weight: 700; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.lbl.gold { color: var(--gold); } .lbl.rose { color: var(--rose); }
.income { display: flex; flex-direction: column; gap: 3px; }
.big { font-family: var(--display); font-weight: 700; font-size: 2.05rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { background: rgba(0, 0, 0, .28); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stat .v { font-weight: 800; font-size: 1rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat.speed .v { color: var(--rose); }
.extra { display: flex; flex-direction: column; gap: 3px; border-left: 2px solid var(--gold-dk); padding: 2px 0 2px 10px; font-size: .86rem; color: var(--ink); line-height: 1.4; overflow-wrap: anywhere; }
.extra .lbl { color: var(--gold); }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.price .rp { font-weight: 800; font-size: 1.15rem; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.price .rp.none { color: var(--muted); font-size: .85rem; }
.card.best { border-color: rgba(216, 179, 106, .7); box-shadow: 0 0 0 1px rgba(216, 179, 106, .25), 0 18px 40px -18px rgba(216, 179, 106, .35); }
.card.best .big { color: var(--gold-2); }
.crown { position: absolute; top: -11px; left: 14px; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--gold); color: var(--edge); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.card.locked { border-color: rgba(232, 163, 178, .6); }
.lockinfo { text-align: center; font-weight: 700; color: var(--rose); font-size: .86rem; font-variant-numeric: tabular-nums; }
.card.sold { opacity: .5; }
.stamp { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.stamp span { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: .2em; color: var(--rose); border: 2px solid var(--rose); padding: 4px 16px 4px 20px; transform: rotate(-12deg); background: rgba(11, 11, 14, .75); border-radius: 6px; }

.soldgroup .ghead { align-items: center; }
.sold-name { color: var(--muted); }
.soldtoggle { font: inherit; font-weight: 700; font-size: .84rem; color: var(--ink); background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.soldtoggle:hover { border-color: var(--gold); }

.notes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.note { font-size: .95rem; font-weight: 700; padding: 12px 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--gold-dk); color: var(--gold-2); text-align: center; line-height: 1.45; }

/* buttons */
.act { font: 800 .92rem var(--body); letter-spacing: .02em; border: 0; border-radius: 11px; padding: 11px 12px; cursor: pointer; background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1a1408; transition: filter .15s, transform .15s; }
.act:hover { filter: brightness(1.06); }
.act:active { transform: translateY(1px); }
.act:disabled { cursor: not-allowed; background: var(--panel-3); color: var(--faint); }
.btn { font: 700 .88rem var(--body); border-radius: 11px; padding: 10px 14px; cursor: pointer; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink); text-decoration: none; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: border-color .15s, background .15s; }
.btn:hover { border-color: var(--gold-dk); }
.btn.primary { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1a1408; border-color: var(--gold); }
.btn.ok { background: var(--green); color: #06140d; border-color: var(--green); }
.btn.no { background: transparent; color: var(--red); border-color: rgba(229, 83, 75, .6); }
.btn.wide { width: 100%; padding: 14px; font-size: .95rem; }
.btn:disabled { opacity: .5; cursor: wait; }
.link { background: none; border: 0; color: var(--muted); font: 700 .84rem var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px; }
.link:hover { color: var(--gold-2); }
.act:focus-visible, .btn:focus-visible, .x:focus-visible, .link:focus-visible, .gtab:focus-visible, .method:focus-visible, .tab:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 10; background: rgba(5, 5, 7, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; justify-items: center; overflow-y: auto; padding-block: 16px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.box { position: relative; width: min(460px, 100%); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 13px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); }
.box > * { min-width: 0; }
.box h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: .06em; padding-right: 40px; color: var(--gold-2); }
.box p, .box li { margin: 0; color: var(--muted); line-height: 1.55; }
.box ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.box b { color: var(--ink); }
.center { text-align: center; }
.small { font-size: .86rem; }
.x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel-3); color: var(--ink); font: 800 .95rem var(--body); cursor: pointer; }
.field { display: flex; flex-direction: column; gap: 7px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; background: var(--edge); color: var(--ink); border: 1px solid var(--line-2); border-radius: 11px; padding: 11px 12px; font: 700 1rem var(--body); }
.field textarea { min-height: 220px; font: 13px/1.55 ui-monospace, Menlo, Consolas, monospace; resize: vertical; }
.err { color: var(--red); font-weight: 700; margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.row.left { justify-content: flex-start; }
.row .btn { flex: 1 1 140px; }
.row.left .btn { flex: 0 1 auto; }
.gamechip { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* "jangan lupa isi username" – kotak berkedip merah */
.field.must { border: 2px solid var(--red); border-radius: 14px; padding: 12px; background: rgba(229, 83, 75, .07); animation: must 1.1s ease-in-out infinite; }
.field.must label { color: #ff8a83; font-weight: 800; }
.field.must input { border-color: rgba(229, 83, 75, .7); }
.must-hint { font-size: .78rem; font-weight: 600; color: var(--muted); }
@keyframes must { 0%, 100% { border-color: var(--red); box-shadow: 0 0 0 0 rgba(229, 83, 75, .0), 0 0 18px rgba(229, 83, 75, .45); } 50% { border-color: rgba(229, 83, 75, .25); box-shadow: 0 0 0 0 rgba(229, 83, 75, 0); } }
.field.must.shake { animation: shake .45s ease, must 1.1s ease-in-out infinite; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* bayar */
.timer { text-align: center; font-family: var(--display); font-weight: 700; font-size: 2.5rem; color: var(--gold-2); font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: .06em; }
.timer.low { color: var(--red); }
.amount { text-align: center; background: var(--edge); border: 1px solid var(--gold-dk); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.amount .rp { font-family: var(--display); font-weight: 700; font-size: 1.9rem; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.method { font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 18px 10px 16px; border-radius: 16px; background: var(--panel-3); border: 1px solid var(--line-2); color: var(--ink); transition: border-color .2s, transform .2s, background .2s; }
.method:hover { border-color: var(--gold); background: linear-gradient(180deg, rgba(216, 179, 106, .1), var(--panel-3)); transform: translateY(-2px); }
.m-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-2); background: rgba(216, 179, 106, .1); border: 1px solid rgba(216, 179, 106, .3); }
.m-name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; }
.m-sub { font-size: .74rem; color: var(--muted); line-height: 1.35; }
.back { align-self: flex-start; padding-left: 0; }
.paycard { background: var(--edge); border: 1px solid var(--line-2); border-radius: 18px; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.paycard h3 { margin: 0; text-align: center; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; color: var(--ink); }
.paycard .sub2 { text-align: center; font-size: .88rem; }
.steps { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink) !important; font-size: .93rem; }
.steps li > span { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--gold-dk); color: var(--gold); font-size: .75rem; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
.steps li > div { flex: 1; min-width: 0; }
.steps .msg { margin-top: 8px; }
/* bingkai QRIS: hanya kode QR, di kartu putih dengan bingkai emas */
.qr-frame { position: relative; margin: 2px auto 6px; width: min(300px, 100%); padding: 16px; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px rgba(216, 179, 106, .5), 0 0 0 7px var(--panel-3), 0 0 0 8px rgba(216, 179, 106, .35), 0 24px 50px -20px rgba(216, 179, 106, .35); display: grid; place-items: center; }
.qr-frame::before, .qr-frame::after { content: ""; position: absolute; width: 26px; height: 26px; border: 3px solid var(--gold); }
.qr-frame::before { top: -14px; left: -14px; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.qr-frame::after { bottom: -14px; right: -14px; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
.qr-img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.qr-img.photo { image-rendering: auto; }
.qr-name { margin-top: 10px; font-family: var(--display); font-weight: 800; font-size: .8rem; letter-spacing: .32em; color: #1b1b22; }
.qr-frame.small { width: 150px; padding: 10px; margin: 8px; }
.qr-frame.small .hint { color: #666; text-align: center; font-size: .78rem; }
.qris { background: #fff; border-radius: 14px; padding: 10px; display: grid; place-items: center; }
.qris.dyn { flex-direction: column; gap: 6px; padding: 14px; }
.qcap { color: #333; font-weight: 700; font-size: .8rem; text-align: center; }
.msg { display: flex; gap: 8px; }
.msg input { flex: 1; min-width: 0; background: var(--panel-2); color: var(--ink); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px; font: 700 .88rem var(--body); }
.result { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.result .ic { font-size: 2.6rem; line-height: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; }
.result .ic.ok { color: var(--green); border: 1px solid rgba(76, 195, 138, .5); background: rgba(76, 195, 138, .08); }
.result .ic.no { color: var(--red); border: 1px solid rgba(229, 83, 75, .5); background: rgba(229, 83, 75, .08); }
.warn { background: rgba(216, 179, 106, .08); border: 1px solid var(--gold-dk); border-radius: 12px; padding: 11px 13px; color: var(--ink); line-height: 1.5; }
.hint { margin: 0; color: var(--muted); font-size: .86rem; font-weight: 600; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--edge); font-weight: 800; padding: 10px 18px; border-radius: 999px; max-width: calc(100% - 32px); text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.empty { text-align: center; padding: 20px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--muted); }

/* testimoni form */
.testi-form { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; text-align: left; grid-column: 1 / -1; }
.testi-form label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.testi-form textarea { width: 100%; resize: vertical; min-height: 70px; background: var(--edge); color: var(--ink); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px; font: 600 .92rem/1.45 var(--body); }

/* testimoni di toko: geser di HP, melayang di kiri-kanan di layar lebar */
.testi-strip { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.testi-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.testi-strip:hover .testi-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tbub { margin: 0; width: 260px; flex: none; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.tbub blockquote { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.tbub figcaption { font-size: .74rem; font-weight: 700; color: var(--gold); letter-spacing: .04em; }
.testi-side { display: none; }
@media (min-width: 1480px) {
  .testi-strip { display: none; }
  .testi-side { display: block; position: fixed; top: 0; bottom: 0; width: calc((100vw - 1100px) / 2 - 40px); max-width: 300px; z-index: 0; overflow: hidden; pointer-events: none;
    mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); }
  .testi-side.left { left: 24px; } .testi-side.right { right: 24px; }
  .testi-side .float { position: absolute; left: 0; right: 0; top: 100%; animation: floatUp 28s linear infinite; }
  .testi-side .tbub { width: 100%; opacity: .92; }
  .testi-side.right .float { animation-name: floatUp2; }
}
@keyframes floatUp { from { transform: translateY(0); } to { transform: translateY(calc(-100vh - 100%)); } }
@keyframes floatUp2 { 0% { transform: translateY(0) translateX(0); } 50% { transform: translateY(calc(-50vh - 50%)) translateX(-8px); } 100% { transform: translateY(calc(-100vh - 100%)) translateX(0); } }

/* pesanan saya */
.orders { background: var(--panel); border: 1px solid rgba(76, 195, 138, .5); border-radius: var(--r); padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; }
.obar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; color: var(--muted); }
.obar b { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--green); letter-spacing: .04em; }
.orders:has(.obar.mini) { background: transparent; border: 0; padding: 0; }
.obar.mini { justify-content: center; }
.obtns { display: flex; gap: 8px; flex-wrap: wrap; }
.olist { display: flex; flex-direction: column; gap: 8px; max-height: 55vh; overflow-y: auto; }
.orow { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 8px; align-items: center; background: var(--panel-3); border-radius: 12px; padding: 10px; }
.orow b { font-family: var(--display); font-weight: 700; font-size: 1rem; }
.orow .ometa { grid-column: 2 / 4; color: var(--muted); font-size: .84rem; }
.orow input { grid-column: 1 / 3; min-width: 0; background: var(--edge); color: var(--ink); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px; font: 700 .88rem var(--body); }
.orow .btn { padding: 8px 12px; font-size: .8rem; }
#allCreds { width: 100%; min-height: 80px; background: var(--edge); color: var(--ink); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px; font: 13px/1.5 ui-monospace, monospace; }

/* ---------- admin ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.panel h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: .06em; color: var(--gold-2); }
.panel h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .06em; color: var(--ink); }
.panel p { margin: 0; color: var(--muted); line-height: 1.55; }
details.fold { padding: 0; gap: 0; }
details.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: 18px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); transition: transform .2s; flex: none; margin-right: 4px; }
details.fold[open] > summary::before { transform: rotate(45deg); }
details.fold > summary:hover { background: rgba(255, 255, 255, .02); }
.fold-body { display: flex; flex-direction: column; gap: 12px; padding: 0 18px 18px; }
.badge { font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--red); color: #fff; }
.badge.soft { background: var(--panel-3); color: var(--muted); border: 1px solid var(--line-2); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { font: 700 .86rem var(--body); cursor: pointer; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); }
.tab span { color: var(--faint); margin-left: 4px; }
.tab.on { border-color: var(--gold); color: var(--gold-2); background: rgba(216, 179, 106, .08); }
.tab.on span { color: var(--gold); }
.sgroups { display: flex; flex-direction: column; gap: 10px; }
details.sg { border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); overflow: hidden; }
details.sg > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 12px 14px; }
details.sg > summary::-webkit-details-marker { display: none; }
details.sg > summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .2s; flex: none; }
details.sg[open] > summary::before { transform: rotate(45deg); }
.sg-t { font-family: var(--display); font-weight: 700; letter-spacing: .05em; color: var(--ink); }
.sg-m { font-size: .8rem; color: var(--muted); }
details.sg .tbl { border-top: 1px solid var(--line); }
.subpanel { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--panel-2); }
.qris-admin { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.qris-side { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.file { cursor: pointer; }
.pending { display: flex; flex-direction: column; gap: 10px; }
.pend { display: grid; grid-template-columns: auto 1fr auto; gap: 10px 14px; align-items: center; background: var(--panel-2); border: 1px solid rgba(232, 163, 178, .6); border-radius: 14px; padding: 14px; }
.pend.expired { border-color: var(--line); opacity: .75; }
.pend .no { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.pend .who { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pend .who b { font-size: 1.05rem; overflow-wrap: anywhere; }
.pend .who span { color: var(--muted); font-size: .88rem; }
.pend .tm { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--rose); font-variant-numeric: tabular-nums; }
.pend .acts { grid-column: 1 / -1; display: flex; gap: 8px; }
.pend .acts .btn { flex: 1; }
.tbl { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-weight: 600; font-variant-numeric: tabular-nums; font-size: .9rem; }
th, td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
tr:last-child > td { border-bottom: 0; }
th { color: var(--faint); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
td .btn { padding: 6px 11px; font-size: .78rem; border-radius: 9px; }
td.wrapcell { white-space: normal; min-width: 220px; }
.acts-row { display: flex; gap: 6px; flex-wrap: wrap; }
.xnote { margin-top: 4px; font-size: .78rem; color: var(--muted); white-space: normal; max-width: 340px; }
.xnote .link { font-size: .76rem; padding: 0; }
.st { font-weight: 800; font-size: .74rem; letter-spacing: .08em; }
.st.ready { color: var(--green); } .st.locked { color: var(--rose); } .st.sold { color: var(--faint); }
.vault-ok { color: var(--green); font-weight: 700; font-size: .8rem; }
.vault-no { color: var(--red); font-weight: 700; font-size: .8rem; }
.vedit td { background: var(--panel-3); }
.vedit .inl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vedit input { background: var(--edge); color: var(--ink); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px; font: 700 .88rem var(--body); width: 160px; }
.prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pinput { background: var(--edge); color: var(--ink); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px; font: 700 .9rem var(--body); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.check input { accent-color: var(--gold); width: 18px; height: 18px; }
.login { max-width: 380px; margin: 40px auto 0; width: 100%; }
.tt { color: var(--gold-2); font-weight: 800; text-decoration: none; }
.tt:hover { text-decoration: underline; }
.tlist { display: flex; flex-direction: column; gap: 10px; }
.titem { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.titem.pending { border-color: rgba(232, 163, 178, .6); }
.titem.rejected { opacity: .6; }
.titem blockquote { margin: 0; color: var(--ink); line-height: 1.5; overflow-wrap: anywhere; }
.tmeta { font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tmeta b { color: var(--ink); }

@media (max-width: 440px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 13px 11px 11px; gap: 9px; }
  .big { font-size: 1.55rem; }
  .stat { padding: 6px 8px; }
  .stat .v { font-size: .88rem; }
  .price { flex-direction: column; gap: 2px; }
  .act { font-size: .84rem; padding: 10px 8px; }
  .crown { left: 10px; font-size: .56rem; padding: 3px 8px; }
  .how { font-size: .82rem; gap: 6px 14px; }
  .methods { grid-template-columns: 1fr 1fr; }
  .box { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .testi-track, .testi-side .float { animation: none; }
  .testi-strip { overflow-x: auto; }
  .field.must, .field.must.shake { animation: none; box-shadow: 0 0 14px rgba(229, 83, 75, .45); }
  .soldbar-fill { transition: none; }
}
