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

:root {
  --bg: #090b10;
  --bg2: #0f1219;
  --bg3: #141820;
  --card: #101420;
  --border: #1c2438;
  --gold: #c89b3c;
  --gold2: #f0c060;
  --blue: #3d8bff;
  --purple: #7b4fff;
  --text: #e4e8f0;
  --muted: #4a5672;
  --danger: #ff3355;
  --green: #00c896;
  --orange: #ff8c00;
  --b2: #232c42;
  --pix: #32bcad;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px
}

::-webkit-scrollbar-track {
  background: var(--bg)
}

::-webkit-scrollbar-thumb {
  background: var(--b2);
  border-radius: 2px
}

/* LOGIN SCREEN (CLOUD STORE AESTHETIC) */
#lockScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg) url('https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?q=80&w=2070&auto=format&fit=crop') center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#lockScreen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 20, 0.85) 0%, rgba(4, 8, 20, 0.95) 100%);
  pointer-events: none;
}

#lockScreen>div {
  position: relative;
  z-index: 1;
}

.lock-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  letter-spacing: 6px;
  text-align: center;
  color: var(--blue);
  text-shadow: 0 0 20px rgba(61, 139, 255, 0.4);
}

.lock-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  background: rgba(8, 12, 25, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(61, 139, 255, 0.2);
  border-radius: 12px;
  padding: 30px 24px;
  margin-top: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.lock-card .inp {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(61, 139, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  padding: 14px;
}

.lock-card .inp:focus {
  border-color: var(--blue);
  box-shadow: 0 0 15px rgba(61, 139, 255, 0.15);
}

.lock-card .inp-label {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 1.5px;
}

.lock-card .btn-blue {
  background: rgba(10, 15, 60, 0.9);
  border: 1px solid rgba(61, 139, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 13px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.lock-card .btn-blue:hover {
  background: rgba(14, 25, 100, 1);
  border-color: rgba(61, 139, 255, 0.5);
  box-shadow: 0 0 20px rgba(61, 139, 255, 0.2);
}

.hidden {
  display: none !important;
}

.mono {
  font-family: 'JetBrains Mono', 'Courier New', monospace
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: none;
  transition: all .15s;
  white-space: nowrap;
  line-height: 1.3
}

.btn-blue {
  background: var(--blue);
  color: #fff
}

.btn-blue:hover {
  background: #2d7aee;
  transform: translateY(-1px)
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--b2)
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue)
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0a0800
}

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

.btn-danger {
  background: rgba(255, 51, 85, .12);
  color: var(--danger);
  border: 1px solid rgba(255, 51, 85, .3)
}

.btn-danger:hover {
  background: rgba(255, 51, 85, .2)
}

.btn-green {
  background: var(--green);
  color: #002a1e
}

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

.btn-pix {
  background: var(--pix);
  color: #fff
}

.btn-pix:hover {
  background: #28a898;
  transform: translateY(-1px)
}

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

.btn-xs {
  padding: 5px 9px;
  font-size: 11px;
  border-radius: 5px
}

.btn-full {
  width: 100%
}

.btn:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none !important
}

/* INPUTS */
.inp {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box
}

.inp:focus {
  border-color: var(--blue)
}

.inp::placeholder {
  color: var(--muted)
}

.inp.ok {
  border-color: var(--green)
}

.inp.err {
  border-color: var(--danger)
}

textarea.inp {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7
}

.inp-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
  font-family: 'JetBrains Mono', monospace
}

.form-g {
  margin-bottom: 14px
}

.hint {
  font-size: 12px;
  margin-top: 5px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--muted)
}

.hint.g {
  color: var(--green)
}

.hint.r {
  color: var(--danger)
}

/* TOP NAV */
#topNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: 52px;
  background: rgba(9, 11, 16, .98);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 4px
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  margin-right: 6px;
  flex-shrink: 0
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .15s;
  color: var(--muted);
  background: transparent;
  font-family: 'Syne', sans-serif;
  white-space: nowrap
}

.nav-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .05)
}

.nav-btn.active {
  background: rgba(61, 139, 255, .12);
  color: var(--blue);
  border: 1px solid rgba(61, 139, 255, .25)
}

.nav-sep {
  flex: 1
}

.nav-balance {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600
}

.nav-balance:hover {
  border-color: var(--blue)
}

.nav-balance .plus {
  color: var(--blue);
  font-weight: 800;
  font-size: 14px
}

.nav-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0
}

.nav-av:hover {
  border-color: var(--blue)
}

.av-wrap {
  position: relative
}

.av-menu {
  position: absolute;
  top: calc(100%+8px);
  right: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 185px;
  overflow: hidden;
  display: none;
  z-index: 400;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .7)
}

.av-wrap.open .av-menu {
  display: block
}

.av-mi {
  padding: 10px 14px;
  font-size: 12px;
  cursor: pointer;
  transition: background .15s;
  display: flex;
  align-items: center;
  gap: 8px
}

.av-mi:hover {
  background: rgba(255, 255, 255, .04)
}

.av-sep {
  height: 1px;
  background: var(--border)
}

.av-mi.danger {
  color: var(--danger)
}

/* SEC BAR */
#secBar {
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 200;
  height: 40px;
  background: rgba(9, 11, 16, .98);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  overflow: hidden
}

.dt-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gold2);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  white-space: nowrap
}

.dt-user {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--muted);
  white-space: nowrap
}

.bar-sep {
  flex: 1
}

.cashback-txt {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap
}

.cashback-txt b {
  color: var(--green)
}

/* MAIN */
.main {
  padding: 108px 14px 80px;
  max-width: 1280px;
  margin: 0 auto
}

/* STORE */
/* ─── STORE ─── */
.store-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap
}

.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  width: fit-content
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: 'Syne', sans-serif;
  transition: all .15s;
  white-space: nowrap
}

.tab-btn.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(61, 139, 255, .4)
}

.tab-hint {
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
  align-self: center
}

/* Filter bar */
.fbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap
}

.fsearch {
  flex: 1;
  min-width: 200px;
  max-width: 460px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px
}

.fsearch input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  width: 100%
}

.fsearch input::placeholder {
  color: var(--muted)
}

/* Dropdown filters */
.fdrop {
  position: relative;
  display: inline-block
}

.fdrop-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s
}

.fdrop-btn:hover,
.fdrop-btn.open {
  border-color: var(--blue);
  color: var(--blue)
}

.fdrop-btn .caret {
  font-size: 9px;
  color: var(--muted);
  margin-left: 2px
}

.fdrop-menu {
  position: absolute;
  top: calc(100%+4px);
  left: 0;
  min-width: 240px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 500;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .7);
  display: none
}

.fdrop-menu.open {
  display: block
}

.fdrop-item {
  padding: 9px 16px;
  font-size: 12px;
  cursor: pointer;
  transition: background .12s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace
}

.fdrop-item:hover {
  background: rgba(61, 139, 255, .08)
}

.fdrop-item.active {
  background: rgba(61, 139, 255, .12);
  color: var(--blue)
}

.fdrop-item .check {
  width: 14px;
  color: var(--blue);
  font-size: 12px;
  flex-shrink: 0
}

.fdrop-sep {
  height: 1px;
  background: var(--border);
  margin: 4px 0
}

.fclear-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  transition: all .15s;
  flex-shrink: 0
}

.fclear-btn:hover {
  border-color: var(--danger);
  color: var(--danger)
}

/* ─── CREDIT CARD GRID ─── */
.cgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
  contain: layout
}

.cc-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
  will-change: transform
}

.cc-skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite linear;
  border-radius: 4px;
}

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

  100% {
    background-position: -200% 0;
  }
}

.cc-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .6);
  border-color: rgba(255, 255, 255, .12)
}

/* Card face */
.cc-face {
  position: relative;
  padding: 16px 20px;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  cursor: pointer
}

.cc-face::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 55%;
  height: 200%;
  background: rgba(255, 255, 255, .06);
  transform: rotate(22deg);
  pointer-events: none
}

.cc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 4px
}

.cc-bank {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .9);
  text-transform: uppercase;
  letter-spacing: .5px;
  max-width: 55%;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5)
}

.cc-new {
  background: rgba(255, 255, 255, .2);
  color: #fff;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  margin-left: 5px;
  backdrop-filter: blur(4px);
  white-space: nowrap
}

/* Brand logos */
.cc-brand {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 54px
}

.brand-visa {
  font-family: serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4)
}

.brand-mc {
  display: flex;
  position: relative;
  width: 40px;
  height: 24px
}

.brand-mc .mc1 {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eb001b;
  opacity: .9
}

.brand-mc .mc2 {
  position: absolute;
  left: 14px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f79e1b;
  opacity: .9
}

.brand-amex {
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, .2);
  padding: 3px 8px;
  border-radius: 4px
}

.brand-elo {
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px
}

.brand-other {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .7)
}

/* Level badge */
.cc-level {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .8px;
  margin-bottom: 6px;
  backdrop-filter: blur(4px);
  text-transform: uppercase
}

/* Chip */
.cc-chip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px
}

.cc-chip {
  width: 30px;
  height: 22px;
  background: linear-gradient(135deg, #e8c840, #c8a010);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0
}

.cc-chip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, .3)
}

.cc-chip::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, .3)
}

.cc-type {
  font-size: 10px;
  color: rgba(255, 255, 255, .6);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase
}

/* Card number */
.cc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4)
}

/* Footer of card face */
.cc-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between
}

.cc-dados {
  display: flex;
  align-items: center;
  gap: 5px
}

.dados-badge {
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .9);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  backdrop-filter: blur(4px)
}

.cc-cpf {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, .55);
  margin-left: 4px
}

.cc-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
  letter-spacing: 1px
}

/* Buy button */
.cc-buy {
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, .06);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .8);
  font-size: 12px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
  letter-spacing: .5px
}

.cc-buy:hover:not(:disabled) {
  background: rgba(61, 139, 255, .3);
  color: #fff
}

.cc-buy:disabled {
  color: rgba(255, 255, 255, .25);
  cursor: not-allowed
}

/* OOS overlay */
.cc-oos {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  letter-spacing: 2px
}

/* ─── CARD GRADIENTS by brand+level ─── */
.cg-visa-gold {
  background: linear-gradient(135deg, #f5a623 0%, #e8870a 45%, #d97000 100%)
}

.cg-visa-classic {
  background: linear-gradient(135deg, #2c5fd4 0%, #1a3fa8 50%, #2856d0 100%)
}

.cg-visa-platinum {
  background: linear-gradient(135deg, #8090a8 0%, #b0bcd0 40%, #98a8c0 100%)
}

.cg-visa-black {
  background: linear-gradient(135deg, #1a1a2a 0%, #2a2a3a 50%, #0a0a18 100%)
}

.cg-visa-infinite {
  background: linear-gradient(135deg, #0a0a18 0%, #1a0a28 50%, #0a0820 100%)
}

.cg-visa-business {
  background: linear-gradient(135deg, #1a3fa8 0%, #2c5fd4 50%, #1a50d0 100%)
}

.cg-visa-signature {
  background: linear-gradient(135deg, #1a2a3a 0%, #2a3a5a 50%, #1a2a4a 100%)
}

.cg-mc-gold {
  background: linear-gradient(135deg, #f08020 0%, #e06010 50%, #c85000 100%)
}

.cg-mc-platinum {
  background: linear-gradient(135deg, #707888 0%, #a8b0c0 40%, #888898 100%)
}

.cg-mc-black {
  background: linear-gradient(135deg, #1a1820 0%, #28282a 50%, #101018 100%)
}

.cg-mc-classic {
  background: linear-gradient(135deg, #1a3090 0%, #2844b8 50%, #1a3898 100%)
}

.cg-default {
  background: linear-gradient(135deg, #1a2040 0%, #2a3060 50%, #141830 100%)
}

/* Level badge colors */
.lv-gold {
  background: rgba(200, 140, 0, .35);
  color: #ffd060;
  border: 1px solid rgba(200, 140, 0, .5)
}

.lv-classic {
  background: rgba(60, 100, 220, .35);
  color: #80b0ff;
  border: 1px solid rgba(60, 100, 220, .5)
}

.lv-platinum {
  background: rgba(150, 170, 200, .25);
  color: #d0ddf0;
  border: 1px solid rgba(150, 170, 200, .4)
}

.lv-black {
  background: rgba(255, 255, 255, .1);
  color: #e0e0e0;
  border: 1px solid rgba(255, 255, 255, .2)
}

.lv-infinite {
  background: rgba(120, 60, 220, .3);
  color: #c0a0ff;
  border: 1px solid rgba(120, 60, 220, .5)
}

.lv-business,
.lv-businesscard,
.lv-empresarial {
  background: rgba(0, 120, 200, .3);
  color: #80d0ff;
  border: 1px solid rgba(0, 120, 200, .5)
}

.lv-signature {
  background: rgba(180, 140, 60, .3);
  color: #f0d080;
  border: 1px solid rgba(180, 140, 60, .5)
}

.lv-standard {
  background: rgba(80, 100, 120, .3);
  color: #a0b8d0;
  border: 1px solid rgba(80, 100, 120, .5)
}

.lv-debit {
  background: rgba(0, 180, 100, .25);
  color: #80ffb0;
  border: 1px solid rgba(0, 180, 100, .4)
}

.lv-corporate,
.lv-corporativo {
  background: rgba(60, 0, 180, .3);
  color: #b080ff;
  border: 1px solid rgba(60, 0, 180, .5)
}

.lv-prepago,
.lv-prepaid {
  background: rgba(200, 80, 0, .3);
  color: #ffa060;
  border: 1px solid rgba(200, 80, 0, .5)
}

.lv-default {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .15)
}

/* ─── MEUS CARTÕES ─── */
.my-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 16px
}

/* ── Card wrapper ── */
.my-card-wrap {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .2s
}

.my-card-wrap:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5)
}

/* ── Card face ── */
.my-card-face {
  position: relative;
  padding: 24px 26px 20px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  overflow: hidden
}

.my-card-face::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .07) 0%, transparent 55%);
  pointer-events: none
}

.my-card-face::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 45%;
  height: 200%;
  background: rgba(255, 255, 255, .04);
  transform: rotate(20deg);
  pointer-events: none
}

/* top row */
.my-cface-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2px
}

.my-cface-bank {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, .7);
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  max-width: 200px;
  line-height: 1.3
}

/* chip row */
.my-cface-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  margin-top: 14px
}

/* card number */
.my-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 4px;
  flex: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  padding-bottom: 16px
}

/* bottom */
.my-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto
}

.my-card-holder {
  font-size: 8px;
  color: rgba(255, 255, 255, .45);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: 'JetBrains Mono', monospace
}

.my-card-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.my-card-cpf {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, .5);
  margin-top: 2px;
  letter-spacing: .3px
}

.my-exp-block {
  text-align: right;
  flex-shrink: 0
}

.my-exp-lbl {
  font-size: 8px;
  color: rgba(255, 255, 255, .4);
  letter-spacing: .8px;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 4px;
  text-transform: uppercase
}

.my-exp-row {
  display: flex;
  gap: 18px;
  justify-content: flex-end
}

.my-exp-col {
  text-align: center
}

.my-exp-val,
.my-cvv-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: #fff;
  font-weight: 800;
  display: block;
  line-height: 1
}

.my-exp-sub {
  font-size: 7px;
  color: rgba(255, 255, 255, .35);
  font-family: 'JetBrains Mono', monospace;
  text-align: center;
  margin-top: 3px;
  letter-spacing: .8px
}

/* ── Action bar (Note · Pipe · Tudo · delete) ── */
.my-actions-bar {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  gap: 8px;
  flex-wrap: wrap
}

.my-time-price {
  display: flex;
  flex-direction: column;
  gap: 1px
}

.my-time-tag {
  font-size: 11px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace
}

.my-btn-grp {
  display: flex;
  gap: 5px
}

.my-act-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--muted);
  transition: all .14s;
  white-space: nowrap
}

.my-act-btn:hover {
  border-color: var(--blue);
  color: var(--blue)
}

.my-act-btn.act-tudo {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff
}

.my-act-btn.act-tudo:hover {
  filter: brightness(1.15)
}

.my-act-btn.act-del {
  border-color: rgba(255, 51, 85, .25);
  color: rgba(255, 51, 85, .55);
  background: transparent;
  padding: 5px 9px
}

.my-act-btn.act-del:hover {
  background: rgba(255, 51, 85, .1);
  border-color: var(--danger);
  color: var(--danger)
}

/* ── Status row ── */
.my-status-row {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  gap: 10px
}

.my-row-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0
}

.my-row-dot.blue {
  background: var(--blue)
}

.my-row-dot.gold {
  background: var(--gold2)
}

.my-row-lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  min-width: 54px
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 200, 100, .1);
  border: 1px solid rgba(0, 200, 100, .25);
  color: #00c864;
  border-radius: 20px;
  padding: 3px 11px;
  font-size: 10px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace
}

.live-dot {
  width: 5px;
  height: 5px;
  background: #00c864;
  border-radius: 50%;
  animation: pulse .9s infinite
}

.completo-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 180, 255, .1);
  border: 1px solid rgba(0, 180, 255, .25);
  color: var(--blue);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .3px
}

.verificar-btn {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 7px;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
  cursor: pointer;
  transition: all .14s
}

.verificar-btn:hover {
  border-color: var(--blue);
  color: var(--blue)
}

/* ── Titular row (colapsável) ── */
.my-titular-row {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  cursor: pointer;
  gap: 10px;
  user-select: none;
  transition: background .14s
}

.my-titular-row:hover {
  background: rgba(255, 255, 255, .02)
}

.my-cpf-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text);
  font-weight: 700;
  margin-left: auto
}

.my-expand-arrow {
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .2s
}

.my-expand-arrow.open {
  transform: rotate(180deg)
}

/* ── Titular expanded panel ── */
.my-titular-panel {
  display: none;
  border-top: 1px solid var(--border)
}

.my-titular-panel.open {
  display: block
}

.my-titular-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .04)
}

.my-titular-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted)
}

.my-titular-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0
}

.my-titular-key {
  font-size: 9px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .8px
}

.my-titular-val {
  font-size: 12px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  overflow-wrap: break-word
}

.my-copy-titular-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, .03);
  border: none;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  cursor: pointer;
  transition: all .14s
}

.my-copy-titular-btn:hover {
  background: rgba(61, 139, 255, .08);
  color: var(--blue)
}

/* ── Search ── */
.my-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 16px;
  margin-bottom: 20px;
  transition: border-color .15s
}

.my-search:focus-within {
  border-color: rgba(61, 139, 255, .35)
}

.my-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  width: 100%
}

.my-search input::placeholder {
  color: var(--muted)
}

/* ── Misc ── */
.my-info-bar,
.my-dados-strip,
.my-meta,
.my-meta-price,
.full-badge,
.my-info-label,
.my-cpf-val,
.my-dados-item,
.my-dados-label,
.my-dados-val,
.my-actions,
.my-row-icon,
.my-row-label {
  display: none
}

@media(max-width:768px) {
  .cgrid {
    grid-template-columns: 1fr
  }

  .my-grid {
    grid-template-columns: 1fr
  }

  .fdrop-menu {
    min-width: 200px
  }
}

/* PROGRESS */
#stImportProgress {
  margin-bottom: 10px
}

/* PERMISSIONS */
.perm-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .15s;
  user-select: none
}

.perm-on {
  background: rgba(0, 200, 100, .12);
  border-color: rgba(0, 200, 100, .35);
  color: #00c864
}

.perm-off {
  background: rgba(255, 255, 255, .04);
  border-color: var(--border);
  color: var(--muted)
}

/* MODALS */
.mo {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(8px);
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  padding: 14px
}

.mo.open {
  opacity: 1;
  pointer-events: all
}

.mc {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 420px;
  transform: translateY(12px) scale(.97);
  transition: all .2s;
  position: relative;
  max-height: 92vh;
  overflow-y: auto
}

.mo.open .mc {
  transform: none
}

.mc-lg {
  max-width: 640px
}

.mclose {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1
}

.mclose:hover {
  color: var(--text)
}

.mc-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 19px;
  letter-spacing: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px
}

.mc-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px
}

.mc-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.6
}

.divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0
}

.divider span {
  font-size: 11px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border)
}

.drow {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px
}

.drow .k {
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace
}

.drow .v {
  font-weight: 600
}

/* TERMS */
.terms-scroll {
  max-height: 180px;
  overflow-y: auto;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted)
}

.terms-scroll h4 {
  color: var(--text);
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700
}

.terms-scroll p {
  margin-bottom: 7px
}

/* STATUS BADGES */
.sbadge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace
}

.sb-ok {
  background: rgba(0, 200, 150, .12);
  color: var(--green);
  border: 1px solid rgba(0, 200, 150, .3)
}

.sb-sold {
  background: rgba(61, 139, 255, .12);
  color: var(--blue);
  border: 1px solid rgba(61, 139, 255, .3)
}

.sb-empty {
  background: rgba(255, 51, 85, .12);
  color: var(--danger);
  border: 1px solid rgba(255, 51, 85, .3)
}

.sb-warn {
  background: rgba(255, 140, 0, .12);
  color: var(--orange);
  border: 1px solid rgba(255, 140, 0, .3)
}

/* ADMIN */
.admin-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: 52px;
  background: rgba(9, 11, 16, .98);
  border-bottom: 1px solid rgba(255, 51, 85, .2);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px
}

.admin-sidebar {
  position: fixed;
  top: 52px;
  left: 0;
  bottom: 0;
  width: 195px;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  z-index: 100
}

.admin-content {
  margin-left: 195px;
  padding: 72px 20px 40px;
  min-height: 100vh
}

.aside-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: 'Syne', sans-serif;
  width: 100%;
  text-align: left;
  transition: all .15s;
  text-decoration: none;
}

.aside-btn:hover {
  background: rgba(255, 255, 255, .04);
  color: var(--text)
}

.aside-btn.active {
  background: rgba(61, 139, 255, .1);
  color: var(--blue)
}

.admin-section {
  display: none
}

.admin-section.active {
  display: block
}

.a-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 4px
}

.a-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.5
}

.a-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 14px
}

.a-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 10px;
  margin-bottom: 18px
}

.a-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 16px
}

.a-stat .n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  line-height: 1;
  color: var(--gold2)
}

.a-stat .l {
  font-size: 11px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: .8px
}

/* Profile / detail row */
.drow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.drow .k {
  font-size: 12px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}

.drow .v {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
}

.a-stat .delta {
  font-size: 11px;
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace
}

.a-table {
  width: 100%;
  border-collapse: collapse
}

.a-table th {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-family: 'JetBrains Mono', monospace;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  background: rgba(255, 255, 255, .02)
}

.a-table td {
  padding: 10px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle
}

.a-table tr:last-child td {
  border-bottom: none
}

.a-table tr:hover td {
  background: rgba(255, 255, 255, .015)
}

/* REVENUE CHART */
.rev-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  margin-bottom: 8px;
  padding: 0 4px
}

.rev-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 28px
}

.rev-bar {
  width: 100%;
  background: rgba(61, 139, 255, .15);
  border-radius: 4px 4px 0 0;
  border: 1px solid rgba(61, 139, 255, .3);
  transition: all .3s;
  cursor: pointer;
  position: relative;
  min-height: 4px
}

.rev-bar:hover {
  background: rgba(61, 139, 255, .35)
}

.rev-bar-val {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--blue);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s
}

.rev-bar:hover .rev-bar-val {
  opacity: 1
}

.rev-bar-label {
  font-size: 9px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  text-align: center
}

/* PIX */
.pix-qr-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px auto;
  width: fit-content
}

.pix-copypaste {
  background: var(--bg3);
  border: 1px solid var(--pix);
  border-radius: 8px;
  padding: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  word-break: break-all;
  color: var(--pix);
  margin-bottom: 12px;
  cursor: pointer;
  transition: background .15s
}

.pix-copypaste:hover {
  background: rgba(50, 188, 173, .08)
}

.pix-timer {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px
}

.pix-timer b {
  color: var(--orange);
  font-size: 18px
}

.pix-status-checking {
  text-align: center;
  padding: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--blue)
}

.pix-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1s infinite
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .4;
    transform: scale(.8)
  }
}

/* PURCHASE CARDS */
.ph-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 8px
}

.ph-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 6px
}

.ph-title {
  font-size: 13px;
  font-weight: 700
}

.ph-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted)
}

.ph-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--gold2)
}

.ph-cred {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px
}

.cred-row {
  display: flex;
  align-items: flex-start;
  padding: 7px 12px;
  border-bottom: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  gap: 8px
}

.cred-row:last-child {
  border-bottom: none
}

.cred-key {
  color: var(--muted);
  min-width: 110px;
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: .5px;
  padding-top: 1px
}

.cred-val {
  color: var(--green);
  font-weight: 600;
  word-break: break-all;
  flex: 1
}

.cred-val.card-num {
  color: var(--gold2);
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 700
}

.cred-val.highlight {
  color: var(--blue)
}

.cred-sep {
  background: rgba(255, 255, 255, .03);
  border-bottom: 1px solid var(--border);
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px
}

/* LOCK */
#lockScreen {
  position: fixed;
  inset: 0;
  background: #090b10;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  padding: 14px;
  overflow-y: auto
}

.lock-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  letter-spacing: 6px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center
}

.lock-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  width: 100%;
  max-width: 400px
}

/* LOGIN LOADING */
.login-loading {
  text-align: center;
  padding: 24px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--blue)
}

.spin {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(61, 139, 255, .2);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin-bottom: 10px
}

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

/* MOBILE */
#mobileNav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(9, 11, 16, .98);
  border-top: 1px solid var(--border);
  padding: 6px 0;
  padding-bottom: env(safe-area-inset-bottom)
}

.mnav-items {
  display: flex;
  justify-content: space-around
}

.mnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 5px 10px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 600;
  border-radius: 8px
}

.mnav-btn.active {
  color: var(--blue)
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 20px;
  right: 14px;
  background: var(--bg2);
  border: 1px solid rgba(61, 139, 255, .35);
  border-radius: 9px;
  padding: 12px 18px;
  font-size: 13px;
  z-index: 1000;
  transform: translateX(280px);
  opacity: 0;
  transition: all .3s;
  max-width: 300px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5)
}

.toast.show {
  transform: translateX(0);
  opacity: 1
}

.toast.tg {
  border-color: rgba(0, 200, 150, .4)
}

.toast.tr {
  border-color: rgba(255, 51, 85, .4)
}

.toast.tp {
  border-color: rgba(50, 188, 173, .5)
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px
}

.empty-state .ei {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: .4
}

/* PAGE */
.page {
  display: none
}

.page.active {
  display: block
}

/* RESPONSIVE */
@media(max-width:768px) {
  #mobileNav {
    display: block
  }

  .main {
    padding: 110px 12px 90px
  }

  .pgrid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px
  }

  .pc-img {
    height: 100px
  }

  .pc-emoji {
    font-size: 40px
  }

  .admin-sidebar {
    display: none
  }

  .admin-content {
    margin-left: 0;
    padding: 72px 12px 40px
  }

  #topNav .nav-btn span {
    display: none
  }

  .a-stat-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .mc {
    padding: 20px
  }

  .rev-chart {
    height: 80px
  }

  .cc-face {
    padding: 14px 16px;
    height: auto;
    aspect-ratio: 16/9
  }

  .cc-num {
    font-size: 13px;
    letter-spacing: 2px
  }

  .cc-bank {
    font-size: 11px
  }

  .cc-price {
    font-size: 17px
  }

  .cc-level {
    font-size: 9px
  }

  .brand-visa {
    font-size: 19px
  }

  .fbar {
    gap: 6px
  }

  .fsearch {
    min-width: 0;
    flex: 1
  }

  .fdrop-btn {
    font-size: 12px;
    padding: 8px 10px
  }

  .cgrid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 8px
  }

  .lock-logo {
    font-size: 38px
  }

  .lock-card {
    padding: 22px
  }

  .mc-title {
    font-size: 16px
  }

  .mc-brand {
    font-size: 17px
  }

  .a-title {
    font-size: 24px
  }

  .inp {
    font-size: 15px;
    padding: 12px 14px
  }

  /* bigger on mobile for touch */
  .btn {
    font-size: 13px;
    padding: 11px 16px
  }

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

  .toast {
    bottom: 80px;
    right: 10px;
    left: 10px;
    max-width: none;
    font-size: 13px
  }

  .a-table td {
    font-size: 12px;
    padding: 8px
  }

  .drow {
    font-size: 13px
  }

  .hint {
    font-size: 12px
  }

  .tabs {
    gap: 4px
  }

  .tab-btn {
    font-size: 12px;
    padding: 6px 12px
  }

  .tab-hint {
    font-size: 11px
  }

  .ph-title {
    font-size: 14px
  }

  .cred-key {
    min-width: 90px;
    font-size: 11px
  }

  .cred-val {
    font-size: 12px
  }
}

@media(max-width:480px) {
  .cgrid {
    grid-template-columns: 1fr
  }

  .pgrid {
    grid-template-columns: 1fr 1fr
  }

  .fbar {
    flex-wrap: wrap
  }

  .fsearch {
    min-width: calc(100% - 110px);
    flex: 1
  }

  .mc {
    max-height: 95vh
  }

  body {
    font-size: 14px
  }
}

@media(max-width:360px) {
  .cgrid {
    grid-template-columns: 1fr
  }

  .cc-face {
    height: auto;
    aspect-ratio: 16/9
  }

  .cc-num {
    font-size: 12px;
    letter-spacing: 1px
  }
}

/* AVATAR */
.av0 {
  background: #7b4fff
}

.av1 {
  background: #0bc4ff
}

.av2 {
  background: #c89b3c
}

.av3 {
  background: #ff4466
}

.av4 {
  background: #00c896
}

.av5 {
  background: #ff9040
}

.av6 {
  background: #3d8bff
}

.av7 {
  background: #ff60a0
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.fade-in {
  animation: fadeUp .2s ease both
}

/* EDIT INLINE */
.editable {
  cursor: pointer;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 1px
}

.editable:hover {
  color: var(--blue);
  border-color: var(--blue)
}

/* CHK Toggle */
.chk-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--border);
  position: relative;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, .05)
}

.chk-toggle.on {
  background: var(--green)
}

.chk-toggle-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .4)
}

.chk-toggle.on .chk-toggle-dot {
  transform: translateX(20px)
}

/* CHK Stock Badge */
.chk-badge-live {
  background: rgba(0, 200, 100, .15);
  color: var(--green);
  border: 1px solid rgba(0, 200, 100, .3);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700
}

.chk-badge-die {
  background: rgba(255, 51, 85, .12);
  color: var(--danger);
  border: 1px solid rgba(255, 51, 85, .3);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700
}

.chk-badge-pend {
  background: rgba(61, 139, 255, .12);
  color: var(--blue);
  border: 1px solid rgba(61, 139, 255, .25);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700
}

/* CHK checking overlay in import */
.chk-progress-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-top: 14px
}

.chk-progress-bar-track {
  background: var(--bg3);
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
  margin: 8px 0
}

.chk-progress-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green), #00e8b0);
  transition: width .3s;
  box-shadow: 0 0 8px rgba(0, 200, 100, .5)
}