/* ===== Danzz Store - tema neo-brutalist (brick gelap, caution tape, kartu krem) ===== */
:root {
  --ink: #0b0b0e;
  --ink-2: #16151b;
  --cream: #efe9dc;
  --cream-2: #e6dfcf;
  --paper: #f6f1e5;
  --yellow: #ffe23a;
  --yellow-2: #ffd400;
  --pink: #ff4f87;
  --pink-2: #ff6b9a;
  --cyan: #17b8ff;
  --mint: #43c6a3;
  --green: #0f9d74;
  --red: #e0432f;
  --brick: #2b2d34;
  --muted: #6f6a5f;
  --light: #d9d9de;
  --font-head: 'Anton', 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Courier Prime', 'Courier New', ui-monospace, monospace;
  --shadow: 4px 4px 0 var(--ink);
  --nav-h: 62px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  background-color: var(--brick);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88'%3E%3Cg fill='rgba(0,0,0,0.42)'%3E%3Crect y='0' width='88' height='3'/%3E%3Crect y='44' width='88' height='3'/%3E%3Crect x='0' y='0' width='3' height='44'/%3E%3Crect x='44' y='44' width='3' height='44'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.018)'%3E%3Crect x='3' y='3' width='41' height='41'/%3E%3Crect x='47' y='3' width='41' height='41'/%3E%3Crect x='47' y='47' width='41' height='41'/%3E%3Crect x='3' y='47' width='41' height='41'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(520px 420px at -5% 14%, rgba(222, 62, 124, .38), transparent 70%),
    radial-gradient(520px 520px at 108% 30%, rgba(23, 168, 200, .36), transparent 70%),
    radial-gradient(700px 500px at 50% 120%, rgba(0, 0, 0, .35), transparent 70%);
}
body.page-light {
  background: linear-gradient(120deg, #f8c8e0 0%, #f1ecf4 38%, #d4effa 70%, #b9e8fa 100%) fixed;
}
body.page-light::before { display: none; }
a { color: inherit; }
img { max-width: 100%; }
button, input, select { font-family: inherit; font-size: inherit; }

.wrap { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: 0 18px; }
.wrap.wide { max-width: 980px; }

/* ===== Caution tape + header ===== */
.tape-strip {
  height: 14px;
  background: repeating-linear-gradient(135deg, var(--yellow-2) 0 14px, #121212 14px 28px);
  border-bottom: 2px solid #000;
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink-2);
  border-bottom: 3px solid var(--yellow-2);
}
.site-header .tape-strip { display: block; }
.header-row {
  max-width: 980px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 8px 16px; min-height: 52px;
}
.logo {
  font-family: var(--font-head);
  font-size: 30px; line-height: 1; letter-spacing: .5px;
  text-decoration: none; text-transform: uppercase;
  display: inline-flex; align-items: baseline; white-space: nowrap;
  transform: rotate(-2deg) skewX(-3deg);
}
.logo .a {
  color: var(--yellow);
  -webkit-text-stroke: 1.5px #000; paint-order: stroke fill;
  text-shadow: 2px 3px 0 var(--pink);
}
.logo .b {
  color: #fff;
  -webkit-text-stroke: 1.5px #000; paint-order: stroke fill;
  text-shadow: 2px 3px 0 #000;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.user-chip { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; font-size: 14px; max-width: 46vw; }
.user-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip svg { width: 18px; height: 18px; flex: none; }
.logout-btn {
  width: 40px; height: 32px; display: grid; place-items: center;
  background: var(--pink); color: #fff; border: 2px solid #000; border-radius: 7px;
  box-shadow: 2px 2px 0 #000; cursor: pointer; padding: 0;
  transition: transform .08s, box-shadow .08s;
}
.logout-btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 #000; }
.logout-btn svg { width: 17px; height: 17px; }

/* ===== Tombol ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  font-weight: 700; font-size: 15px; text-decoration: none; text-align: center;
  color: var(--ink); background: #fff;
  border: 2.5px solid var(--ink); border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
  transition: transform .09s ease, box-shadow .09s ease, filter .15s;
  user-select: none;
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn-yellow { background: var(--yellow); }
.btn-white { background: #fff; }
.btn-pink { background: var(--pink); color: #fff; }
.btn-mint { background: var(--mint); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: 13px; box-shadow: 2px 2px 0 var(--ink); }
.btn-sm:active { transform: translate(2px, 2px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.is-loading::after {
  content: ''; width: 15px; height: 15px; border: 2.5px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: spin .7s linear infinite;
}
.btn-danger { background: var(--red); color: #fff; }

/* ===== Form ===== */
.field { margin-bottom: 16px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field label a { font-size: 13px; color: #c0175b; font-weight: 700; text-decoration: none; }
.input, .select {
  width: 100%; min-height: 46px; padding: 10px 14px;
  background: #fff; color: var(--ink);
  border: 2.5px solid var(--ink); border-radius: 8px; box-shadow: 3px 3px 0 var(--ink);
  outline: none; transition: box-shadow .12s, transform .12s;
}
.input::placeholder { color: #8d8a94; }
.input:focus, .select:focus { box-shadow: 3px 3px 0 var(--pink); transform: translate(-1px, -1px); }
.select {
  appearance: none; -webkit-appearance: none; background-color: var(--cream-2);
  border-width: 1.5px; box-shadow: none; padding-right: 36px; font-weight: 500;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.select:focus { box-shadow: 0 0 0 2px var(--pink); transform: none; }
.pw { position: relative; }
.pw .input { padding-right: 46px; }
.pw .eye {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: #333; border-radius: 6px;
}
.pw .eye svg { width: 19px; height: 19px; }
.hint-err { color: var(--red); font-size: 13px; font-weight: 500; margin-top: 8px; min-height: 18px; }
.form-msg { margin: 0 0 14px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 8px; font-size: 14px; font-weight: 500; display: none; }
.form-msg.show { display: block; animation: pop .25s ease; }
.form-msg.err { background: #ffd9d2; }
.form-msg.ok { background: #cdf5e4; }

/* ===== Kartu ===== */
.card {
  position: relative;
  background: var(--cream);
  border: 3px solid var(--ink); border-radius: 8px; box-shadow: var(--shadow);
  padding: 16px;
}
.card + .card, .stack > * + * { margin-top: 18px; }
.tape {
  position: absolute; width: 68px; height: 18px; left: 50%; top: -11px; transform: translateX(-50%) rotate(-1.5deg);
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2); pointer-events: none;
}
.tape.y { background: var(--yellow-2); border-color: #c9a600; left: auto; right: 14px; transform: rotate(2deg); width: 72px; height: 20px; }
.tape.l { left: 24px; transform: rotate(-4deg); }
.tape.r { left: auto; right: 24px; transform: rotate(4deg); }

/* ===== Loader & animasi ===== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { 0% { background-position: -200px 0; } 100% { background-position: calc(200px + 100%) 0; } }
@keyframes drip {
  0% { transform: scaleY(.15); }
  55% { transform: scaleY(1); }
  100% { transform: scaleY(.15); }
}
@keyframes blink { 50% { opacity: .35; } }

#pageLoader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: rgba(24, 25, 30, .94);
  transition: opacity .28s ease, visibility .28s;
}
#pageLoader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-box { display: grid; justify-items: center; gap: 14px; }
.spinner {
  width: 46px; height: 46px; border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, .2); border-top-color: var(--yellow); border-right-color: var(--pink);
  animation: spin .8s linear infinite;
}
.loader-text { font-family: var(--font-head); color: #fff; letter-spacing: 2px; font-size: 18px; text-transform: uppercase; opacity: .9; }

.anim-in > * { animation: fadeUp .45s ease both; }
.anim-in > *:nth-child(2) { animation-delay: .06s; }
.anim-in > *:nth-child(3) { animation-delay: .12s; }
.anim-in > *:nth-child(4) { animation-delay: .18s; }
.anim-in > *:nth-child(5) { animation-delay: .24s; }
.anim-in > *:nth-child(6) { animation-delay: .3s; }
body.leaving main { opacity: 0; transform: translateY(8px); transition: opacity .14s, transform .14s; }

.skeleton { color: transparent !important; border-radius: 6px; background: linear-gradient(90deg, rgba(0,0,0,.08) 25%, rgba(0,0,0,.16) 37%, rgba(0,0,0,.08) 63%); background-size: 200px 100%; animation: shimmer 1.1s infinite linear; user-select: none; }

/* cat menetes */
.drips { position: absolute; top: 0; left: 0; right: 0; height: 120px; pointer-events: none; z-index: 1; overflow: hidden; }
.drip { position: absolute; top: 0; width: 8px; transform-origin: top; animation: drip 5s ease-in-out infinite; }
.drip::after { content: ''; position: absolute; left: -3px; bottom: -6px; width: 14px; height: 14px; border-radius: 50%; background: inherit; }
.drip.p { background: var(--pink); } .drip.c { background: var(--cyan); } .drip.y { background: var(--yellow); }

/* ===== Landing ===== */
.btn-header { min-height: 36px; padding: 6px 16px; font-size: 14px; box-shadow: 2px 2px 0 #000; border-width: 2px; }
.hero { position: relative; padding: 56px 0 30px; text-align: center; }
.hero-badge {
  width: 62px; height: 62px; margin: 0 auto 16px; display: block; background: #fff;
  border: 3px solid #000; border-radius: 12px; box-shadow: 3px 3px 0 var(--pink); transform: rotate(-4deg); object-fit: cover;
}
.hero h1 {
  font-family: var(--font-head); font-weight: 400; text-transform: uppercase;
  font-size: clamp(38px, 11vw, 62px); line-height: .98; letter-spacing: .5px; margin: 0 0 18px; color: #fff;
  -webkit-text-stroke: 2px #000; paint-order: stroke fill;
  text-shadow: 3px 3px 0 #000, 5px 6px 0 var(--pink);
}
.hero p { color: #e4e4ea; font-weight: 600; font-size: 16px; margin: 0 auto 26px; max-width: 460px; }
.hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 480px; margin: 0 auto; }
.hero-cta .btn { min-height: 52px; box-shadow: 4px 4px 0 #000; font-size: 16px; }

.section-title { display: flex; align-items: center; justify-content: space-between; color: #fff; font-weight: 500; font-size: 18px; margin: 34px 0 14px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; font-size: 13px; font-weight: 600;
  background: #d9f6ea; color: #0d7a5a; border-radius: 999px;
}
.live-pill i { width: 10px; height: 10px; border-radius: 50%; background: #17b978; box-shadow: 0 0 0 0 rgba(23,185,120,.6); animation: livepulse 1.6s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 7px rgba(23,185,120,0); } 100% { box-shadow: 0 0 0 0 rgba(23,185,120,0); } }

.stat-card { display: block; padding: 14px 16px; }
.stat-card .row { display: flex; align-items: center; gap: 10px; color: #6a6659; font-size: 14px; font-weight: 500; }
.stat-card .ico { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; flex: none; }
.stat-card .ico svg { width: 17px; height: 17px; }
.ico.g { background: #cdf3e3; color: #0f9d74; } .ico.v { background: #e5defa; color: #6b4fd6; } .ico.b { background: #d4ecfb; color: #1585c9; }
.stat-card .val { font-size: 25px; font-weight: 600; margin-top: 10px; }

.chart-card { padding: 16px; }
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px; }
.chart-head .sub { font-size: 13px; color: #5f5b52; }
.chart-head .big { font-size: 24px; font-weight: 600; margin-top: 4px; white-space: nowrap; }
.chart-head > div:first-child { min-width: 0; flex: 1 1 170px; }
.seg { flex: none; display: inline-flex; background: #ddd5c3; border: 1.5px solid #cfc6b1; border-radius: 8px; padding: 2px; }
.seg button { border: 0; background: transparent; padding: 7px 10px; border-radius: 6px; font-weight: 600; font-size: 12.5px; color: #6b665a; cursor: pointer; }
.seg button.on { background: var(--cream); color: #000; box-shadow: 1.5px 1.5px 0 #000; border: 1.5px solid #000; }
.chart-svg { width: 100%; height: 190px; display: block; margin-top: 8px; overflow: visible; }
.chart-svg text { font-family: var(--font-body); font-size: 11px; fill: #7b7a8a; }
.chart-meta { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 8px; border-top: 1.5px solid #d6cdb9; padding-top: 14px; margin-top: 10px; font-size: 12.5px; color: #6a6659; }
.chart-meta b { display: block; color: #000; font-size: 14px; font-weight: 600; margin-top: 3px; }
.chart-meta .ok { color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.chart-meta .ok svg { width: 15px; height: 15px; }
.updated { font-size: 12.5px; color: #6a6659; margin: 12px 0; }
.recent-title { font-weight: 600; margin: 14px 0 8px; border-top: 1.5px solid #d6cdb9; padding-top: 14px; }
.recent-list { list-style: none; margin: 0; padding: 0; }
.recent-list li { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14px; }
.recent-list li svg { width: 15px; height: 15px; color: var(--green); flex: none; }
.recent-list li .t { margin-left: auto; color: #77746b; }
.empty-note { color: #77746b; font-size: 14px; padding: 6px 0; }

.why-title, .faq-title { text-align: center; color: #fff; font-weight: 500; font-size: 17px; margin: 38px 0 16px; }
.feature { padding: 16px; display: block; }
.feature .fi { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; margin-bottom: 10px; }
.feature .fi svg { width: 17px; height: 17px; }
.fi.o { background: #fde9c8; color: #e08a00; } .fi.bl { background: #d6e8fb; color: #1b74d4; } .fi.gr { background: #d1f2e2; color: #0f9d74; } .fi.pu { background: #e6dcfa; color: #7a4fe0; }
.feature h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.feature p { margin: 0; color: #5d594f; font-size: 14px; }
.faq details.card { padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 15px 16px; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-head); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 16px 15px; color: #5d594f; font-size: 14px; }
.cta-banner {
  margin: 38px 0 0; padding: 22px 18px 24px; text-align: center;
  background: var(--yellow); border: 3px solid #000; border-radius: 8px; box-shadow: 5px 5px 0 var(--pink); transform: rotate(-.6deg);
}
.cta-banner h2 { font-family: var(--font-head); font-weight: 400; font-size: 32px; margin: 0 0 8px; text-transform: uppercase; line-height: 1.05; }
.cta-banner p { margin: 0 0 16px; font-weight: 600; font-size: 14px; }
.cta-banner .btn { background: var(--pink); color: #fff; box-shadow: 3px 3px 0 #000; }

.site-footer { position: relative; z-index: 1; margin-top: 44px; background: #14141a; border-top: 3px solid var(--yellow-2); color: #e5e5ea; padding: 34px 0 26px; }
.site-footer .logo { font-size: 28px; }
.site-footer p.about { color: #bdbdc7; font-size: 14px; max-width: 520px; margin: 14px 0 22px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.footer-cols h4 { font-family: var(--font-head); font-weight: 400; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 10px; font-size: 16px; color: #fff; }
.footer-cols a { display: block; color: var(--cyan); text-decoration: none; font-size: 14px; padding: 3px 0; font-weight: 500; }
.footer-cols a:hover { text-decoration: underline; }
.footer-help { margin-top: 22px; }
.footer-help h4 { font-family: var(--font-head); font-weight: 400; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 10px; font-size: 16px; color: #fff; }
.footer-help a { color: var(--cyan); text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.footer-help svg { width: 16px; height: 16px; }
.copy { text-align: center; color: #8d8d99; font-size: 13px; border-top: 1px solid #2a2a33; margin-top: 26px; padding-top: 18px; }

/* ===== Auth ===== */
.auth-page { position: relative; z-index: 1; min-height: calc(100vh - 14px); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 70px 18px 36px; }
.auth-logo { margin-bottom: -6px; position: relative; z-index: 3; }
.auth-logo .logo { font-size: 48px; }
.paper {
  position: relative; width: 100%; max-width: 440px; background: var(--cream);
  border: 3px solid #000; border-radius: 4px; box-shadow: 7px 7px 0 #000; padding: 26px 22px 22px; transform: rotate(-.4deg);
  animation: fadeUp .5s ease both;
}
.paper h1 { font-family: var(--font-head); font-weight: 400; font-size: 44px; margin: 0; line-height: 1; text-transform: uppercase; }
.paper .sub { color: #5e5a50; font-size: 15px; margin: 4px 0 22px; font-weight: 500; }
.auth-links { text-align: center; margin-top: 16px; font-size: 14px; font-weight: 500; }
.auth-links a { color: #c0175b; font-weight: 700; text-decoration: none; }
.auth-below { text-align: center; margin-top: 26px; font-size: 14px; font-weight: 600; position: relative; z-index: 2; color: #fff; }
.auth-below a { color: var(--cyan); font-weight: 700; }
.auth-below .back { display: inline-block; margin-bottom: 12px; text-decoration: none; }
.auth-below u { text-underline-offset: 2px; }

.reg-card {
  width: 100%; max-width: 440px; background: var(--cream); border: 3px solid #000; border-radius: 6px; box-shadow: 7px 7px 0 #000; padding: 34px 22px 26px; animation: fadeUp .5s ease both;
}
.reg-card .rlogo { width: 54px; height: 54px; display: block; margin: 0 auto 8px; border-radius: 10px; object-fit: cover; }
.reg-card h1 { font-family: var(--font-body); font-weight: 500; font-size: 20px; text-align: center; margin: 0 0 26px; }
.reg-card .btn { box-shadow: 4px 4px 0 #000; min-height: 50px; }
.reg-below { text-align: center; margin-top: 30px; font-size: 14px; font-weight: 500; }
.reg-below a { color: #0aa6e6; text-decoration: none; font-weight: 600; display: inline-block; margin: 6px 0; }
.page-light .auth-links a { color: #c0175b; }

/* ===== Aplikasi (dashboard) ===== */
.app-main { position: relative; z-index: 1; padding: 20px 18px calc(var(--nav-h) + 36px); }
.app-main.wrap { max-width: 640px; }
.page-title { display: flex; align-items: center; gap: 14px; margin: 6px 0 20px; position: relative; z-index: 2; }
.page-title .ti {
  width: 50px; height: 50px; flex: none; display: grid; place-items: center; background: var(--yellow);
  border: 3px solid #000; border-radius: 10px; box-shadow: 3px 3px 0 var(--pink); transform: rotate(-4deg);
}
.page-title .ti svg { width: 24px; height: 24px; }
.page-title h1 {
  font-family: var(--font-head); font-weight: 400; margin: 0; font-size: 36px; line-height: 1; text-transform: uppercase; color: #fff; letter-spacing: .5px;
  -webkit-text-stroke: 1.5px #000; paint-order: stroke fill; text-shadow: 2px 3px 0 var(--cyan);
}
.page-title p { margin: 4px 0 0; color: #cfcfd8; font-size: 14px; font-weight: 500; }
.page-title .grow { flex: 1; min-width: 0; }
.page-title .btn { min-height: 40px; padding: 8px 16px; }

.hero-sum { position: relative; z-index: 2; }
.hero-sum .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.email-pill { background: #fff; border: 2.5px solid #000; border-radius: 8px; box-shadow: 3px 3px 0 #000; padding: 7px 10px; font-weight: 600; font-size: 13px; max-width: 56%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transform: rotate(1deg); }
.hero-sum h1 {
  font-family: var(--font-head); font-weight: 400; margin: 0; font-size: 46px; line-height: 1; text-transform: uppercase; color: #fff;
  -webkit-text-stroke: 1.5px #000; paint-order: stroke fill; text-shadow: 3px 3px 0 var(--cyan);
}
.label-tape { display: inline-block; margin: 20px 0 6px; background: var(--yellow); border: 2px solid #000; padding: 6px 14px; font-weight: 700; font-size: 15px; transform: rotate(-3deg); box-shadow: 2px 2px 0 #000; }
.balance { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-head); color: #fff; position: relative; margin-bottom: 36px; }
.balance .cur { font-size: 30px; -webkit-text-stroke: 1.5px #000; paint-order: stroke fill; text-shadow: 2px 2px 0 var(--pink); }
.balance .num { font-size: 76px; line-height: 1; -webkit-text-stroke: 2px #000; paint-order: stroke fill; text-shadow: 4px 4px 0 var(--pink); }
.balance .bdrip { position: absolute; background: var(--pink); width: 9px; border-radius: 0 0 6px 6px; transform-origin: top; animation: drip 4s ease-in-out infinite; }
.two-btn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 26px; }
.two-btn .btn { min-height: 54px; box-shadow: 4px 4px 0 #000; font-size: 16px; }
.notes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.note { position: relative; border: 3px solid #000; box-shadow: 3px 3px 0 #000; padding: 16px 10px 10px; min-height: 78px; font-weight: 700; font-size: 12.5px; }
.note.y { background: var(--yellow); transform: rotate(-1.2deg); }
.note.c { background: var(--cyan); transform: rotate(1deg); }
.note.w { background: #fff; transform: rotate(-.6deg); }
.note .tape { top: -10px; width: 52px; height: 14px; }
.note .v { display: flex; align-items: baseline; gap: 3px; margin-top: 8px; font-family: var(--font-head); font-weight: 400; font-size: 26px; line-height: 1; letter-spacing: .3px; word-break: break-all; }
.note .v small { font-family: var(--font-body); font-size: 11px; font-weight: 700; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.card-head h2 { font-family: var(--font-head); font-weight: 400; font-size: 24px; margin: 0; text-transform: uppercase; letter-spacing: .3px; }
.card-head a { color: #d81b60; font-weight: 700; font-size: 14px; text-decoration: none; }
.panel { border: 2.5px solid #000; border-radius: 6px; background: var(--paper); padding: 12px; box-shadow: 2px 2px 0 rgba(0,0,0,.25); }

.trx-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 2px; border-top: 1.5px dashed #cdc4af; }
.trx-row:first-child { border-top: 0; }
.trx-row .id { font-weight: 700; font-size: 14px; text-decoration: none; }
.trx-row .dt { color: #7a766b; font-size: 12px; margin-top: 2px; }
.trx-row .r { text-align: right; }
.trx-row .amt { font-weight: 700; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 11.5px; font-weight: 700; border: 1.5px solid #000; text-transform: capitalize; }
.badge.paid, .badge.success { background: #b9f0d8; }
.badge.pending { background: #ffe9a8; }
.badge.cancelled, .badge.cancel, .badge.failed, .badge.expired { background: #ffc9c0; }

/* filter + tabel */
.filter-card { padding: 14px; margin-bottom: 18px; }
.filter-card .input { margin-bottom: 12px; }
.tbl-card { background: rgba(12, 12, 18, .55); border: 2px solid rgba(255,255,255,.3); border-radius: 4px; overflow: hidden; backdrop-filter: blur(1px); }
.tbl { width: 100%; border-collapse: collapse; color: #fff; font-size: 14px; }
.tbl th {
  background: var(--cream); color: #000; font-family: var(--font-head); font-weight: 400; letter-spacing: 1px; text-transform: uppercase;
  text-align: left; font-size: 13.5px; padding: 13px 8px; border-bottom: 3px solid #000; white-space: nowrap;
}
.tbl td { padding: 12px 8px; border-top: 1px solid rgba(255,255,255,.12); vertical-align: middle; font-size: 13px; white-space: nowrap; }
.tbl td.dt { line-height: 1.25; color: #d8d8e0; }
.tbl th:first-child, .tbl td:first-child { padding-left: 12px; }
.tbl a { color: var(--cyan); font-weight: 600; }
.tbl .st { text-transform: lowercase; color: #cfcfd6; }
.tbl .st.paid { color: #6df0b8; } .tbl .st.pending { color: #ffd85c; }
.tbl-empty { text-align: center; color: #aab; padding: 44px 12px !important; }
.tbl-scroll { overflow-x: auto; }
.help-line { text-align: center; color: #fff; font-weight: 700; margin: 46px 0 8px; position: relative; z-index: 2; }
.help-line a { color: var(--cyan); text-decoration: none; }

.wallet-card { padding: 0; overflow: hidden; margin-bottom: 18px; }
.wallet-card .head { background: var(--pink-2); border-bottom: 3px solid #000; padding: 12px 16px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.wallet-card .head svg { width: 18px; height: 18px; }
.wallet-card .body { padding: 16px; }
.wallet-card .amt { font-size: 28px; font-weight: 600; margin-bottom: 14px; }
.wallet-card .two-btn { margin: 0; }
.wallet-card .btn { min-height: 46px; font-size: 14px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); }
.modal.open { display: flex; }
.modal-box { width: 100%; max-width: 420px; max-height: 90vh; overflow: auto; background: var(--cream); border: 2.5px solid #000; border-radius: 6px; box-shadow: 6px 6px 0 #000; animation: pop .22s ease; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #cfc6b1; font-weight: 600; }
.modal-head button { background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; padding: 2px 6px; }
.modal-body { padding: 18px; }
.modal-body .lbl { font-size: 14px; margin-bottom: 8px; display: block; }

/* toast */
#toasts { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + 18px); z-index: 500; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { pointer-events: auto; background: var(--ink); color: #fff; border: 2px solid #000; border-left: 6px solid var(--yellow); border-radius: 6px; padding: 10px 14px; font-weight: 600; font-size: 14px; max-width: 420px; box-shadow: 3px 3px 0 rgba(0,0,0,.5); animation: fadeUp .25s ease; }
.toast.err { border-left-color: var(--pink); } .toast.ok { border-left-color: var(--mint); }

/* bottom nav */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--nav-h);
  background: var(--ink-2); border-top: 3px solid var(--yellow-2);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 0 max(6px, calc((100vw - 640px) / 2));
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #c8c8d2; text-decoration: none; font-size: 11.5px; white-space: nowrap; font-weight: 600; height: 100%; position: relative; transition: color .15s; }
.bottom-nav a svg { width: 21px; height: 21px; }
.bottom-nav a.on { color: #000; }
.bottom-nav a.on::before {
  content: ''; position: absolute; inset: -12px 1px 5px; background: var(--yellow); border: 2px solid #000; border-radius: 8px; box-shadow: 3px 3px 0 var(--pink); transform: rotate(-2deg); z-index: 0; animation: pop .25s ease;
}
.bottom-nav a.on > * { position: relative; z-index: 1; }
.bottom-nav a.on { padding-top: 0; }

/* profil */
.profile-hero { display: flex; align-items: center; gap: 14px; background: linear-gradient(120deg, #ff5c8a 0%, #c44ee0 55%, #8a45f6 100%); border: 3px solid #000; border-radius: 8px; box-shadow: var(--shadow); padding: 18px 16px; color: #fff; margin-bottom: 22px; }
.avatar { width: 68px; height: 68px; flex: none; display: grid; place-items: center; background: #fff7fb; color: #2b7de0; border: 3px solid #000; border-radius: 10px; box-shadow: 3px 3px 0 #000; font-size: 28px; font-weight: 700; }
.profile-hero .nm { font-weight: 700; font-size: 17px; }
.profile-hero .em { font-size: 13.5px; opacity: .9; word-break: break-all; }
.role-pill { margin-left: auto; background: rgba(255,255,255,.28); border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.info-card { padding: 0; overflow: hidden; margin-bottom: 20px; }
.info-card .ih { background: var(--cream-2); padding: 13px 16px; font-weight: 700; display: flex; align-items: center; gap: 9px; border-bottom: 1.5px solid #cfc6b1; }
.info-card .ih svg { width: 18px; height: 18px; }
.info-card .ih.key { background: #fdf7e2; color: #b45a00; }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 14px 16px; border-top: 1.5px solid #d8d0bd; font-size: 14.5px; }
.kv:first-of-type { border-top: 0; }
.kv span:first-child { color: #6a6659; flex: none; }
.kv span:last-child { font-weight: 600; text-align: right; word-break: break-all; }
.keybox { display: flex; align-items: center; gap: 8px; margin: 16px; background: var(--cream-2); border: 1.5px solid #cfc6b1; border-radius: 8px; padding: 8px 8px 8px 14px; }
.keybox code { font-family: var(--font-mono); font-size: 15px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.keybox button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 7px; cursor: pointer; background: transparent; color: #444; }
.keybox button.on { background: #fff; box-shadow: 0 0 0 1px #ccc; }
.keybox button svg { width: 18px; height: 18px; }
.key-note { margin: 0 16px 16px; font-size: 12.5px; color: #6a6659; }
.btn-row { display: grid; gap: 14px; margin-top: 4px; }

/* qr / pay */
.pay-card { text-align: center; }
.pay-card .qr { background: #fff; border: 3px solid #000; border-radius: 10px; padding: 10px; display: inline-block; box-shadow: 3px 3px 0 #000; margin: 6px 0 14px; }
.pay-card .qr img { width: 250px; max-width: 100%; display: block; }
.pay-big { font-family: var(--font-head); font-size: 40px; margin: 4px 0; letter-spacing: .5px; }
.pay-rows { text-align: left; margin: 14px 0; }
.pay-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 2px solid #000; border-radius: 999px; font-weight: 700; font-size: 13.5px; }
.pay-status.pending { background: #ffe9a8; } .pay-status.paid { background: #b9f0d8; } .pay-status.cancelled { background: #ffc9c0; }
.pay-status.pending i { width: 9px; height: 9px; border-radius: 50%; background: #d99200; animation: blink 1s infinite; }
.countdown { font-family: var(--font-mono); font-weight: 700; font-size: 18px; }

/* docs */
.tabs-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 8px; scrollbar-width: none; position: relative; z-index: 2; }
.tabs-scroll::-webkit-scrollbar { display: none; }
.pill-tab { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 7px; background: var(--cream); border: 2px solid #000; border-radius: 999px; font-weight: 600; font-size: 13.5px; text-decoration: none; cursor: pointer; box-shadow: 2px 2px 0 #000; }
.pill-tab b { width: 22px; height: 22px; display: grid; place-items: center; background: var(--yellow); border-radius: 50%; font-size: 12px; border: 1.5px solid #000; }
.pill-tab.on { background: var(--yellow); }
.doc-card { margin-top: 20px; scroll-margin-top: 80px; }
.doc-card h2 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin: 0 0 12px; font-weight: 700; }
.doc-card h2 b { width: 28px; height: 28px; display: grid; place-items: center; background: #fff2b3; border-radius: 6px; font-size: 13px; }
.doc-card p { margin: 8px 0; font-size: 14.5px; }
.doc-card ul { padding-left: 20px; margin: 8px 0; font-size: 14.5px; }
.doc-card li { margin: 5px 0; }
.doc-card code.i { font-family: var(--font-mono); background: #f6f0e2; padding: 1px 6px; border-radius: 4px; border: 1px solid #ddd3bb; overflow-wrap: break-word; word-break: normal; font-size: 13px; font-weight: 700; }
.m-get, .m-post { color: #d81b60; font-weight: 700; }
.pname { color: #d81b60; font-family: var(--font-mono); font-weight: 700; }
.doc-card h4 { margin: 16px 0 8px; font-size: 14.5px; font-weight: 600; }
.code-box { border: 3px solid #000; border-radius: 6px; background: var(--cream); overflow: hidden; box-shadow: 3px 3px 0 #000; margin: 8px 0 4px; position: relative; }
.code-tabs { display: flex; background: #f6f1e5; border-bottom: 1.5px solid #cfc6b1; overflow-x: auto; scrollbar-width: none; padding-right: 52px; border-right: 6px solid var(--yellow-2); }
.code-tabs button { flex: none; padding: 11px 14px; border: 0; background: transparent; font-weight: 600; font-size: 13px; cursor: pointer; color: #555; display: inline-flex; gap: 6px; align-items: center; }
.code-tabs button.on { background: var(--cream); color: #000; box-shadow: inset 0 -3px 0 #000; }
.code-pre { margin: 0; padding: 16px 14px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.55; overflow-x: auto; white-space: pre; color: #1d1b17; background: var(--cream); }
.copy-btn { position: absolute; right: 16px; top: 9px; width: 30px; height: 30px; display: grid; place-items: center; background: rgba(255,255,255,.7); border: 1px solid #cfc6b1; border-radius: 6px; cursor: pointer; z-index: 2; }
.copy-btn svg { width: 16px; height: 16px; }
.notes-box { background: #fff8de; border: 1.5px dashed #cdb35a; border-radius: 6px; padding: 8px 14px; margin-top: 10px; }

/* admin */
.adm-grid { display: grid; gap: 14px; }
.adm-form { display: flex; gap: 10px; flex-wrap: wrap; }
.adm-form .input { flex: 1; min-width: 150px; }
.sw { display: flex; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; }
.sw input { width: 22px; height: 22px; accent-color: #000; }
.small-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.small-tbl th, .small-tbl td { text-align: left; padding: 9px 8px; border-bottom: 1px solid #d6cdb9; }
.small-tbl th { font-family: var(--font-head); font-weight: 400; letter-spacing: .6px; text-transform: uppercase; }

.err-page { text-align: center; padding: 90px 0 40px; position: relative; z-index: 2; }
.err-page h1 { font-family: var(--font-head); font-weight: 400; font-size: 110px; margin: 0; line-height: 1; color: #fff; -webkit-text-stroke: 2px #000; paint-order: stroke fill; text-shadow: 5px 5px 0 var(--pink); }
.err-page p { color: #ddd; font-weight: 600; margin: 10px 0 24px; }
.legal h2 { font-size: 16px; margin: 18px 0 6px; }
.legal p, .legal li { font-size: 14.5px; }

@media (min-width: 720px) {
  .hero { padding-top: 84px; }
  .features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .features-grid .feature + .feature { margin-top: 0; }
  .wrap { max-width: 640px; }
}
@media (max-width: 420px) {
  .chart-meta { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .tbl td { font-size: 12px; padding: 12px 6px; } .tbl th { font-size: 12.5px; padding: 12px 6px; letter-spacing: .6px; }
  .tbl a { text-decoration: none; }
}
@media (max-width: 380px) {
  .notes { gap: 8px; } .note { font-size: 11.5px; padding-inline: 8px; } .note .v { font-size: 22px; }
  .balance .num { font-size: 62px; } .hero-sum h1 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
