* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  font-weight: 400 !important;
}

:root {
  --pri: #f8fafcb0;
  --pri2: #ffffffa4;
  --pri3: #e2e8f0;
  --ok: #10b981;
  --ok-dim: rgba(16, 185, 129, .12);
  --err: #f43f5e;
  --err-dim: rgba(244, 63, 94, .12);
  --wrn: #f59e0b;
  --wrn-dim: rgba(245, 158, 11, .12);
  --info: #38bdf8;
  --glass-bg: rgb(27, 27, 27);
  --glass-bg2: rgba(0, 0, 0, 0.466);
  --glass-border: rgba(255, 255, 255, .05);
  --glass-border2: rgba(255, 255, 255, .03);
  --glass-shine: rgba(255, 255, 255, .08);
  --surface: rgb(15, 15, 15);
  --surface2: rgb(22, 22, 22);
  --surface3: rgb(28, 28, 28);
  --tx: #ffffff;
  --tx2: rgba(248, 250, 252, .5);
  --tx3: rgba(248, 250, 252, .2);
  --btn-pri: rgba(255, 255, 255, 0.03);
  --btn-pri-hov: rgba(255, 255, 255, 0.06);
  --glow-pri: rgba(0, 0, 0, 0.4);
  --glow-ok: rgba(16, 185, 129, .15);
  --glow-err: rgba(244, 63, 94, .15);
  --inp-bg: rgba(0, 0, 0, .6);
  --mono: 'JetBrains Mono', monospace;
  --ui: 'Plus Jakarta Sans', sans-serif;
  --hd: 'Plus Jakarta Sans', sans-serif;
  --r-xl: 20px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 9px;
  --r-xs: 7px;
  --r-pill: 100px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --selection-bg: rgba(255, 255, 255, 0.15);
  --selection-tx: #ffffff;
  --grid-color: rgba(51, 51, 51, 0.384);
}

[data-theme="light"] {
  --pri: #6366f1;
  --pri2: #818cf8;
  --pri3: #4338ca;
  --glass-bg: #ffffff8a;
  --glass-bg2: #f8f9fa70;
  --glass-border: #e9ecef;
  --glass-border2: #dee2e6;
  --glass-shine: #ffffff;
  --surface: rgb(255, 255, 255);
  --surface2: rgb(248, 249, 250);
  --surface3: #ffffff;
  --tx: #000000;
  --tx2: #374151;
  --tx3: #6b7280;
  --btn-pri: #f8f9fa;
  --btn-pri-hov: #e9ecef;
  --glow-pri: rgb(255, 255, 255);
  --ok: #10b981;
  --ok-dim: rgba(16, 185, 129, 0.08);
  --err: #f43f5e;
  --err-dim: rgba(244, 63, 94, 0.08);
  --wrn: #f59e0b;
  --wrn-dim: rgba(245, 158, 11, 0.08);
  --inp-bg: #f8f9fa;
  --selection-bg: rgba(255, 255, 255, 0.473);
  --selection-tx: #ffffff;
  --grid-color: rgb(0, 0, 0, 0.08);
}

html {
  font-size: 20px;
}

html,
body {
  height: 100%;
  overflow: hidden
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-tx);
}

body {
  font-family: var(--ui);
  color: var(--tx);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .35s
}

/* ── BACKGROUND ── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden
}

.bg-base {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 10%, #000000 0%, #010103 60%, #000000 100%)
}

[data-theme="light"] .bg-base {
  background: radial-gradient(ellipse 80% 60% at 20% 10%, #ffffff3d 0%, #a0a0a0 60%, #ffffff 100%)
}

.bg-mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25% 35%, rgba(99, 102, 241, .07) 0%, transparent 50%), radial-gradient(circle at 75% 65%, rgba(139, 92, 246, .05) 0%, transparent 45%), radial-gradient(circle at 50% 90%, rgba(244, 63, 94, .04) 0%, transparent 40%)
}

[data-theme="light"] .bg-mesh {
  background-image: radial-gradient(circle at 25% 35%, rgba(99, 102, 241, .09) 0%, transparent 50%), radial-gradient(circle at 75% 65%, rgba(139, 92, 246, .07) 0%, transparent 45%)
}

.bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.8;
  z-index: 1;
  animation: driftDots 40s linear infinite;
}

[data-theme="light"] .bg-dots {
  background-image: radial-gradient(rgba(0, 0, 0, 0.6) 1px, transparent 1px);
}

@keyframes driftDots {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none
}

.orb-1 {
  width: 480px;
  height: 480px;
  top: -15%;
  right: -12%;
  background: radial-gradient(circle, rgba(99, 102, 241, .18), transparent 70%);
  animation: orbA 6s ease-in-out infinite
}

.orb-2 {
  width: 400px;
  height: 400px;
  bottom: -18%;
  left: -10%;
  background: radial-gradient(circle, rgba(236, 72, 153, .1), transparent 70%);
  animation: orbB 8s ease-in-out infinite
}

.orb-3 {
  width: 300px;
  height: 300px;
  top: 35%;
  left: 40%;
  background: radial-gradient(circle, rgba(245, 158, 11, .07), transparent 70%);
  animation: orbC 22s ease-in-out infinite
}

[data-theme="light"] .orb {
  opacity: .55
}

@keyframes orbA {
  0%, 100% { transform: translate(0, 0); }
  40% { transform: translate(180px, -220px); }
  70% { transform: translate(-120px, 180px); }
}

@keyframes orbB {
  0%, 100% { transform: translate(0, 0); }
  35% { transform: translate(-200px, 250px); }
  65% { transform: translate(150px, -200px); }
}

@keyframes orbC {
  0%, 100% { transform: translate(-50%, -50%) }
  50% { transform: translate(-50%, -50%) scale(1.3) }
}

.sweep-line {
  position: absolute;
  left: -80%;
  height: 1px;
  width: 65%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, .35), rgba(139, 92, 246, .2), transparent);
  animation: sweep 14s var(--ease) infinite
}

.sweep-line:nth-child(1) {
  top: 22%;
  animation-delay: 0s
}

.sweep-line:nth-child(2) {
  top: 55%;
  background: linear-gradient(90deg, transparent, rgba(244, 63, 94, .25), rgba(251, 113, 133, .15), transparent);
  animation-delay: -5s;
  animation-duration: 18s
}

.sweep-line:nth-child(3) {
  top: 78%;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, .2), transparent);
  animation-delay: -10s;
  animation-duration: 16s
}

@keyframes sweep {
  0% {
    left: -80%;
    opacity: 0
  }

  15% {
    opacity: 1
  }

  85% {
    opacity: .6
  }

  100% {
    left: 110%;
    opacity: 0
  }
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 30%, rgba(0, 0, 0, .8) 100%);
  pointer-events: none
}

[data-theme="light"] .bg-vignette {
  background: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 30%, rgba(0, 0, 0, .03) 100%)
}

.goto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.goto-card {
  background: var(--surface2);
  border: 1px solid var(--glass-border2);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  transition: all .2s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.goto-card:hover {
  background: var(--btn-pri-hov);
  border-color: var(--glass-border);
  transform: translateY(-2px);
}

.goto-card.c1 .goto-icon { color: var(--pri); }
.goto-card.c2 .goto-icon { color: var(--ok); }
.goto-card.c3 .goto-icon { color: var(--info); }

.goto-label {
  font-size: .32rem;
  font-weight: 500;
  color: var(--tx2);
}

.user-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.user-item {
  background: var(--surface);
  border: 1px solid var(--glass-border2);
  border-radius: 12px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: all .2s var(--ease);
}

.user-item.top-1 { border-color: #fbbf24; box-shadow: 0 0 12px rgba(251, 191, 36, 0.2); }
.user-item.top-2 { border-color: #94a3b8; box-shadow: 0 0 12px rgba(148, 163, 184, 0.2); }
.user-item.top-3 { border-color: #b45309; box-shadow: 0 0 12px rgba(180, 83, 9, 0.2); }

.user-item.top-1::after,
.user-item.top-2::after,
.user-item.top-3::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  animation: sweepCard 3s infinite;
  pointer-events: none;
}

[data-theme="light"] .user-item.top-1::after,
[data-theme="light"] .user-item.top-2::after,
[data-theme="light"] .user-item.top-3::after {
  background: linear-gradient(125deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.crown-icon {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px currentColor);
}

.top-1 .crown-icon { color: #fbbf24; }
.top-2 .crown-icon { color: #94a3b8; }
.top-3 .crown-icon { color: #b45309; }

@keyframes sweepCard {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

.user-rank {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .24rem;
  font-weight: 900;
  color: white;
  flex-shrink: 0;
}

.rank-1 {
  background: linear-gradient(135deg, #fbbf24, #d97706);
}

.rank-2 {
  background: linear-gradient(135deg, #94a3b8, #475569);
}

.rank-3 {
  background: linear-gradient(135deg, #b45309, #78350f);
}

.rank-n {
  background: var(--surface3);
  color: var(--tx3);
}

.user-pic {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
}

.user-pic svg {
  width: 16px;
  height: 16px;
  color: white;
}

.pic-1 {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.pic-2 {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.pic-3 {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.3);
}

.user-info {
  flex: 1;
}

.user-name {
  font-size: .38rem;
  font-weight: 700;
  font-family: var(--hd);
}

.user-plan {
  font-size: .26rem;
  color: var(--tx3);
  font-weight: 500;
}

.user-charged-tag {
  font-size: .26rem;
  font-weight: 700;
  background: var(--surface3);
  padding: 4px 10px;
  border-radius: 7px;
  border: 1px solid var(--glass-border2);
  color: var(--tx3);
}

.user-charged-tag span {
  color: var(--ok);
  font-family: var(--mono);
  font-weight: 800;
  margin-left: 3px;
}

/* ── CARD ── */
.card-w {
  z-index: 1;
  position: relative;
  width: min(430px, calc(100vw - 12px));
  height: min(97vh, 898px);
  margin: auto;
}

.splash-anim {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: rgb(15, 15, 15);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  animation: splashFade 1.4s cubic-bezier(.4, 0, .2, 1) forwards;
}

[data-theme="light"] .splash-anim {
  background: #ffffff;
}

[data-theme="light"] .splash-text {
  color: #1a1d23;
}

.splash-text {
  font-family: var(--ui);
  font-weight: 800;
  font-size: 2.2rem;
  color: #ffffff;
  letter-spacing: -1px;
  white-space: nowrap;
  animation: splashFlash 1.4s cubic-bezier(.19, 1, .22, 1) forwards;
}

@keyframes splashFlash {
  0% {
    transform: translateX(-180%) skewX(-15deg);
    opacity: 0;
    filter: blur(15px);
  }

  60% {
    transform: translateX(0) skewX(0);
    opacity: 1;
    filter: blur(0);
  }

  75% {
    transform: translateX(0) skewX(0);
    opacity: 1;
    filter: blur(0);
  }

  100% {
    transform: translateX(250%) skewX(15deg);
    opacity: 0;
    filter: blur(15px);
  }
}

@keyframes splashFade {
  0%, 85% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

.card {
  width: min(430px, calc(100vw - 12px));
  height: min(97vh, 898px);
  border-radius: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(52px) saturate(1.4);
  -webkit-backdrop-filter: blur(52px) saturate(1.4);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgb(12, 12, 12), 0 0 0 .5px rgba(255, 255, 255, .04) inset, 0 1px 0 rgba(255, 255, 255, .06) inset;
  transition: background .4s, border-color .4s;
}

.card>* {
  position: relative;
  z-index: 1;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--glass-shine);
  border-radius: 0 0 100% 100%;
  pointer-events: none;
  z-index: 10
}

.card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background: conic-gradient(from 220deg at 50% 0%, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: .6;
  animation: borderSpin 10s linear infinite
}

.cbody {
  flex: 1;
  padding: 12px 14px 14px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  animation: driftDots 60s linear infinite;
}

[data-theme="light"] .cbody {
  background-image: radial-gradient(rgba(0, 0, 0, 0.4) 1px, transparent 1px);
}

.orb-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: floatOrb 5s infinite ease-in-out;
}

.orb-1 {
  width: 350px;
  height: 350px;
  background: var(--pri);
  top: -100px;
  left: -100px;
  animation-duration: 6s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--pri2);
  bottom: -50px;
  right: -100px;
  animation-delay: -3s;
  animation-duration: 7s;
}

.orb-3 {
  width: 280px;
  height: 280px;
  background: var(--info);
  top: 20%;
  left: 30%;
  animation-delay: -6s;
  animation-duration: 5s;
}

@keyframes floatOrb {
  0% { transform: translate(-10%, -10%) scale(1); }
  33% { transform: translate(25%, 35%) scale(1.2); }
  66% { transform: translate(-5%, 45%) scale(0.9); }
  100% { transform: translate(-10%, -10%) scale(1); }
}

@keyframes borderSpin {
  from { transform: rotate(0deg) }
  to { transform: rotate(360deg) }
}

/* ── THEME TOGGLE ── */
.thm-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  background: var(--surface2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .35s var(--ease);
  color: var(--tx2);
  flex-shrink: 0;
  margin-left: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.thm-btn:hover {
  background: var(--btn-pri-hov);
  color: var(--pri2);
  border-color: rgba(99, 102, 241, .3);
  transform: rotate(20deg) scale(1.12);
  box-shadow: 0 0 18px -4px var(--glow-pri)
}

.thm-btn:active {
  transform: scale(.92)
}

.thm-btn svg {
  width: 15px;
  height: 15px;
  transition: all .4s var(--ease-spring)
}

/* ── HEADER ── */
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 16px 5px;
  padding-right: 10px;
  flex-shrink: 0
}

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--glass-border);
  background: rgba(10, 10, 20, .6);
  box-shadow: 0 0 16px -2px var(--glow-pri)
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.brand-name {
  font-family: var(--hd);
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: -.3px
}

.brand-name b {
  background: linear-gradient(135deg, var(--pri2), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.brand-version {
  margin-left: 2px;
  font-size: .38rem;
  font-weight: 700;
  letter-spacing: .8px;
  color: var(--tx3);
  text-transform: uppercase
}

.status-cluster {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--glass-border2);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1) }
  50% { opacity: .35; transform: scale(.55) }
}

.status-txt {
  font-size: .34rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--ok)
}

/* ── TABS ── */
.tabs {
  display: flex;
  gap: 2px;
  padding: 6px 12px 10px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--glass-border2);
}

.tab {
  flex: 1;
  padding: 8px 4px 7px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--tx2);
  font-family: var(--ui);
  font-weight: 700;
  font-size: .42rem;
  cursor: pointer;
  transition: all .22s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  letter-spacing: .3px;
  text-transform: uppercase
}

.tab svg {
  width: 14px;
  height: 14px;
  transition: all .22s;
  opacity: .6
}

.tab:hover {
  background: var(--surface);
  color: var(--tx)
}

.tab:hover svg {
  opacity: .9
}

.tab.on {
  background: var(--btn-pri);
  color: var(--pri2);
  border-color: rgba(255, 255, 255, .15)
}

[data-theme="light"] .tab.on {
  background: #1a1d23;
  color: #ffffff;
  border-color: transparent;
}

.tab.on svg {
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, .5))
}

.tab.on::after {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pri), var(--pri2));
  box-shadow: 0 0 8px var(--pri);
  margin-top: 2px
}

[data-theme="light"] .tab.on::after {
  display: none;
}

.vw {
  display: none;
  animation: fadeUp .22s var(--ease)
}

.vw.on {
  display: block
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px) }
  to { opacity: 1; transform: none }
}

.cfoot {
  text-align: center;
  padding: 10px;
  font-weight: 700;
  font-size: .32rem;
  color: var(--tx3);
  border-top: 1px solid var(--glass-border2);
  flex-shrink: 0;
  letter-spacing: 3px;
  text-transform: uppercase
}

/* ── GLASS BOXES ── */
.gbox,
.stat-card,
.gw-card,
.plan-card,
.ps,
.ls {
  border-radius: var(--r-lg);
  background: var(--surface) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--glass-border2);
  position: relative;
  overflow: hidden;
  transition: border-color .22s, box-shadow .22s
}

.gbox:hover {
  border-color: var(--glass-border);
  box-shadow: 0 6px 28px -8px var(--glow-pri)
}

.gbox::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--glass-shine) 50%, transparent 90%);
  opacity: .5;
  border-radius: var(--r-lg) var(--r-lg) 0 0
}

/* ── OVERVIEW ── */
.hero-box {
  padding: 16px 15px;
  margin-bottom: 8px
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--btn-pri);
  color: var(--pri2);
  font-size: .36rem;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  border: 1px solid rgba(99, 102, 241, .15);
  margin-bottom: 8px
}

.hero-tag svg {
  width: 9px;
  height: 9px
}

.hero-box h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.25;
  letter-spacing: -.3px
}

.hero-box h2 b {
  background: linear-gradient(135deg, var(--pri2), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hero-box p {
  font-size: .5rem;
  color: var(--tx2);
  line-height: 1.6;
  font-weight: 500
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.stat-card {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--glass-border2);
  padding: 14px 8px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all .25s var(--ease);
  cursor: default;
}

.stat-card:hover {
  border-color: var(--glass-border);
  box-shadow: 0 12px 32px -8px var(--glow-pri);
}

.stat-card.s1 { border-left: none; }
.stat-card.s2 { border-left: none; }
.stat-card.s3 { border-left: none; }

.stat-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 7px;
  background: var(--surface2)
}

.stat-icon svg {
  width: 14px;
  height: 14px
}

.stat-card.s1 .stat-icon {
  background: rgba(99, 102, 241, .12)
}

.stat-card.s1 .stat-icon svg {
  color: var(--pri2)
}

.stat-card.s2 .stat-icon {
  background: var(--ok-dim)
}

.stat-card.s2 .stat-icon svg {
  color: var(--ok)
}

.stat-card.s3 .stat-icon {
  background: var(--wrn-dim)
}

.stat-card.s3 .stat-icon svg {
  color: var(--wrn)
}

.stat-val {
  font-family: var(--ui);
  font-size: .82rem;
  line-height: 1;
}

.stat-lbl {
  font-size: .32rem;
  color: var(--tx2);
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-top: 4px;
}

.goto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.goto-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 4px;
  border-radius: var(--r-md);
  background: var(--surface2);
  border: 1px solid var(--glass-border2);
  cursor: pointer;
  transition: all .2s var(--ease);
  gap: 8px;
}

.goto-card:hover {
  background: var(--surface3);
  border-color: var(--glass-border);
}

.goto-card.c1:hover { border-color: var(--pri); }
.goto-card.c2:hover { border-color: var(--wrn); }
.goto-card.c3:hover { border-color: var(--ok); }

.goto-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
}

.goto-card.c1 .goto-icon { color: var(--pri); background: var(--pri-dim); }
.goto-card.c2 .goto-icon { color: var(--wrn); background: var(--wrn-dim); }
.goto-card.c3 .goto-icon { color: var(--ok); background: var(--ok-dim); }

.goto-icon svg { width: 16px; height: 16px; }

.goto-label {
  font-size: .34rem;
  font-weight: 700;
  color: var(--tx2);
}

.qa-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--glass-border2);
  cursor: pointer;
  transition: all .22s var(--ease);
  position: relative;
  overflow: hidden
}

.qa-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--pri);
  opacity: 0;
  transform: scaleY(.4);
  transition: all .22s var(--ease)
}

.qa-item:hover::before {
  opacity: 1;
  transform: scaleY(1)
}

.qa-item:hover {
  background: var(--surface2);
  border-color: var(--glass-border);
  transform: translateX(3px);
  box-shadow: 0 4px 20px -6px var(--glow-pri)
}

.qa-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--surface2);
  border: 1px solid var(--glass-border2);
  transition: all .22s var(--ease)
}

.qa-icon svg {
  width: 16px;
  height: 16px;
  color: var(--tx2);
  transition: all .22s
}

.qa-item:hover .qa-icon {
  background: var(--btn-pri);
  border-color: rgba(99, 102, 241, .2)
}

.qa-item:hover .qa-icon svg {
  color: var(--pri2)
}

.qa-label {
  font-weight: 700;
  font-size: .6rem;
  color: var(--tx);
  flex: 1
}

.qa-arrow {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-6px);
  transition: all .22s var(--ease)
}

.qa-arrow svg {
  width: 12px;
  height: 12px;
  color: var(--pri2)
}

.qa-item:hover .qa-arrow {
  opacity: 1;
  transform: translateX(0)
}

/* ── CHECKER ── */
.section-label {
  font-size: .38rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--tx3);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px
}

[data-theme="light"] .section-label {
  background: #f8f9fa;
  padding: 8px 10px;
  border-radius: 8px;
  color: #495057;
  border: 1px solid #e9ecef;
  font-size: 0.36rem;
  margin-bottom: 8px;
}

.section-label svg {
  width: 10px;
  height: 10px;
  color: var(--tx3)
}

.gw-selector { margin-bottom: 10px }
.gw-cards { display: flex; gap: 6px; margin-bottom: 6px }

.gw-slider-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.gw-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--glass-border2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--tx);
  transition: all .2s var(--ease);
  flex-shrink: 0;
}

.gw-nav-btn:hover {
  background: var(--btn-pri-hov);
  border-color: var(--glass-border);
  transform: scale(1.05);
}

.gw-viewport {
  flex: 1;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--glass-border2);
  border-radius: 14px;
  position: relative;
  height: 48px;
}

.gw-track {
  display: flex;
  height: 100%;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.gw-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-sizing: border-box;
}

.gw-slide-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gw-logo {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gw-name {
  font-size: .44rem;
  font-weight: 700;
}

.gw-price-badge {
  font-size: .3rem;
  padding: 2px 8px;
  background: var(--surface3);
  border-radius: 6px;
  color: var(--tx3);
}

#v-chk { padding-top: 10px; }
#v-plans, #v-prof { margin-top: -16px; }

[data-theme="light"] .brand-name { color: #000000 !important; }
[data-theme="light"] .brand-name b {
  background: none !important;
  -webkit-text-fill-color: #000000 !important;
  color: #000000 !important;
}

.gw-card.active {
  background: var(--glass-bg2);
  border-width: 1.5px;
}

.gw-card.active.stripe-gw {
  border-color: #635bff;
  background: rgba(99, 91, 255, .08);
  box-shadow: 0 0 10px -6px rgba(99, 91, 255, .3)
}

.gw-card.active.shopify-gw {
  border-color: #96bf48;
  background: rgba(150, 191, 72, .07);
  box-shadow: 0 0 22px -6px rgba(150, 191, 72, .25)
}

.gw-card.active.razorpay-gw {
  border-color: #0066ff;
  background: rgba(0, 102, 255, .07);
  box-shadow: 0 0 22px -6px rgba(0, 102, 255, .25)
}

.gw-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0 auto 5px;
}

.gw-logo svg {
  height: 24px;
  width: 24px;
  border-radius: 5px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.gw-name {
  font-size: 0.42rem;
  font-weight: 800;
  letter-spacing: .4px;
  color: var(--tx2);
  text-transform: uppercase;
}

.gw-card.active .gw-name { color: var(--tx); }

.stripe-gw .gw-name { color: #8b85ff }
.shopify-gw .gw-name { color: #96bf48 }
.razorpay-gw .gw-name { color: #4d94ff }

.gw-price-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: .32rem;
  font-weight: 700;
  margin-top: 3px
}

.stripe-gw .gw-price-badge {
  background: rgba(99, 91, 255, .12);
  color: #8b85ff;
  border: 1px solid rgba(99, 91, 255, .2)
}

.shopify-gw .gw-price-badge {
  background: rgba(150, 191, 72, .1);
  color: #96bf48;
  border: 1px solid rgba(150, 191, 72, .18)
}

.razorpay-gw .gw-price-badge {
  background: rgba(0, 102, 255, .1);
  color: #4d94ff;
  border: 1px solid rgba(0, 102, 255, .18)
}

.card-input-wrap { margin-bottom: 8px }
.input-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px
}

.input-format {
  font-family: var(--mono);
  font-size: .35rem;
  color: var(--tx3);
  background: var(--surface);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-border2)
}

.card-count {
  font-family: var(--mono);
  font-size: .36rem;
  color: var(--tx3);
  font-weight: 600;
  transition: color .2s
}

.card-count.has { color: var(--pri2) }

.cta {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border2);
  background: var(--inp-bg);
  color: var(--tx);
  font-family: var(--mono);
  font-size: .5rem;
  line-height: 1.9;
  resize: none;
  min-height: 72px;
  outline: none;
  transition: all .22s var(--ease)
}

.cta:focus {
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .07), 0 0 24px -6px var(--glow-pri)
}

.cta::placeholder { color: var(--tx3); font-size: .44rem }
.cta:disabled { opacity: .18; pointer-events: none }

.btn-row { display: flex; gap: 7px; margin-bottom: 9px }

.btn-go {
  flex: 1;
  padding: 11px 12px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 800;
  font-size: .62rem;
  letter-spacing: .3px;
  background: linear-gradient(135deg, var(--pri), var(--pri3));
  color: #000;
  box-shadow: 0 4px 22px -5px rgba(255, 255, 255, .25);
  transition: all .25s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden
}

[data-theme="light"] .btn-go {
  background: #1a1d23;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .btn-go:hover {
  background: #000000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-go::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .1), transparent);
  opacity: 0;
  transition: opacity .25s
}

.btn-go:hover::before { opacity: 1 }

.btn-go:hover {
  box-shadow: 0 6px 30px -4px rgba(255, 255, 255, .35);
  transform: translateY(-1px)
}

.btn-go:active { transform: scale(.97) }

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

.btn-go.running {
  background: linear-gradient(135deg, var(--err), #be123c);
  box-shadow: 0 4px 22px -5px rgba(244, 63, 94, .4)
}

.btn-go svg { width: 14px; height: 14px; transition: transform .3s }
.btn-go.running svg { animation: spin .9s linear infinite }

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

.btn-clr {
  padding: 11px 15px;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border2);
  background: var(--surface);
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 700;
  font-size: .56rem;
  color: var(--tx2);
  transition: all .2s var(--ease);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px
}

.btn-clr svg { width: 12px; height: 12px }

.btn-clr:hover {
  background: var(--err-dim);
  border-color: rgba(244, 63, 94, .2);
  color: var(--err)
}

.btn-clr:active { transform: scale(.95) }
.btn-clr:disabled { opacity: .2; pointer-events: none }

/* ── CHECKER STAT CARDS ── */
.lstats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.ls {
  background: var(--surface);
  border: 1px solid var(--glass-border2);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 3px solid transparent;
  transition: all .2s var(--ease);
  cursor: pointer;
}

.ls:hover {
  background: var(--surface2);
  border-color: var(--glass-border);
  transform: translateY(-2px);
}

.ls.on {
  background: var(--btn-pri-hov);
  border-color: var(--pri);
  box-shadow: 0 4px 15px -5px var(--glow-pri);
}

.ls.lc1 { border-left-color: var(--pri); }
.ls.lc2 { border-left-color: var(--ok); }
.ls.lc3 { border-left-color: var(--wrn); }
.ls.lc4 { border-left-color: var(--err); }

.ls-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ls.lc1 .ls-icon { background: var(--pri-dim); color: var(--pri); }
.ls.lc2 .ls-icon { background: var(--ok-dim); color: var(--ok); }
.ls.lc3 .ls-icon { background: var(--wrn-dim); color: var(--wrn); }
.ls.lc4 .ls-icon { background: var(--err-dim); color: var(--err); }

.ls-icon svg { width: 12px; height: 12px; }

.ls-n {
  font-size: .4rem;
  font-weight: 500;
  margin-left: auto;
}

.ls-l {
  font-size: .24rem;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.filter-row { display: flex; gap: 4px; margin-bottom: 6px }

.fp {
  flex: 1;
  padding: 7px 4px;
  border-radius: var(--r-sm);
  border: 1px solid var(--glass-border2);
  background: var(--surface);
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 700;
  font-size: .38rem;
  color: var(--tx2);
  transition: all .18s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px
}

.fp:hover {
  border-color: var(--glass-border);
  background: var(--surface2)
}

.fp.on {
  background: var(--btn-pri);
  color: var(--pri2);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 0 14px -4px var(--glow-pri)
}

.fp .fc {
  font-family: var(--ui);
  font-size: .38rem;
  color: var(--tx);
  margin-left: auto;
}

.fd {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0
}

.fd.ok { background: var(--ok); box-shadow: 0 0 5px var(--ok) }
.fd.gd { background: var(--wrn); box-shadow: 0 0 5px var(--wrn) }
.fd.er { background: var(--err) }

.fp-export {
  flex: .4;
  color: var(--pri2)
}

.fp-export:hover { background: var(--btn-pri) }

.log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px
}

.log-title {
  font-weight: 800;
  font-size: .46rem;
  display: flex;
  align-items: center;
  gap: 5px
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 7px var(--ok);
  animation: pulse 1.6s ease-in-out infinite
}

.log-count {
  font-size: .33rem;
  color: var(--tx3);
  font-family: var(--mono)
}

.log-box {
  border-radius: var(--r-md);
  background: var(--inp-bg);
  border: 1px solid var(--glass-border2);
  max-height: 215px;
  overflow-y: auto
}

.log-empty {
  padding: 24px 10px;
  text-align: center;
  color: var(--tx3);
  font-size: .46rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px
}

.log-empty svg { width: 22px; height: 22px; opacity: .25 }

.log-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--glass-border2);
  animation: slideIn .15s var(--ease);
  cursor: pointer;
  transition: background .12s;
  position: relative
}

.log-row:hover { background: var(--surface) }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-4px) }
  to { opacity: 1; transform: none }
}

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

.log-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px
}

.log-dot.live { background: var(--ok); box-shadow: 0 0 7px var(--ok) }
.log-dot.charged { background: var(--wrn); box-shadow: 0 0 7px var(--wrn) }
.log-dot.dead { background: var(--err) }

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

.log-masked {
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 1.3
}

.log-full {
  font-family: var(--mono);
  font-size: .38rem;
  color: var(--tx2);
  line-height: 1.6;
  word-break: break-all;
  margin-top: 1px
}

.log-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0
}

.log-status {
  font-size: .32rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 3px
}

.log-status.live { color: var(--ok) }
.log-status.charged { color: var(--wrn) }
.log-status.dead { color: var(--err) }

.log-status-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex-shrink: 0
}

.log-status.live .log-status-dot { background: var(--ok) }
.log-status.charged .log-status-dot { background: var(--wrn) }
.log-status.dead .log-status-dot { background: var(--err) }

.log-gw {
  font-size: .26rem;
  color: var(--tx3);
  font-family: var(--mono)
}

.copy-hint {
  position: absolute;
  right: 8px;
  top: 7px;
  font-size: .26rem;
  color: var(--pri2);
  opacity: 0;
  transition: opacity .15s;
  font-family: var(--mono);
  letter-spacing: .5px;
  pointer-events: none;
  text-transform: uppercase
}

.log-row:hover .copy-hint { opacity: .65 }

/* ── PLANS ── */
.plans-hero { text-align: center; padding: 14px 8px 10px }

.plans-hero h2 {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.3px;
  margin-bottom: 3px
}

.plans-hero h2 b {
  background: linear-gradient(135deg, var(--wrn), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.plans-hero p {
  font-size: .46rem;
  color: var(--tx2);
  font-weight: 500;
  line-height: 1.5
}

.plan-list { display: flex; flex-direction: column; gap: 7px }

.plan-card {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--glass-border2);
  padding: 15px 14px;
  position: relative;
  overflow: hidden;
  transition: all .25s var(--ease)
}

.plan-card:hover {
  border-color: var(--glass-border);
  box-shadow: 0 8px 30px -8px var(--glow-pri)
}

.plan-card.featured {
  border-color: rgba(245, 158, 11, .2);
  background: rgba(245, 158, 11, .025)
}

.plan-card.featured:hover {
  box-shadow: 0 8px 30px -8px rgba(245, 158, 11, .2)
}

.plan-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  opacity: 0.8;
}

.plan-card.basic::before { background: linear-gradient(90deg, var(--pri), transparent 70%) }
.plan-card.featured::before { background: linear-gradient(90deg, transparent, var(--wrn), transparent) }
.plan-card.root::before { background: linear-gradient(90deg, var(--ok), #34d399, transparent 70%) }

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

.plan-name {
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: -.2px
}

.plan-card.featured .plan-name { color: var(--wrn) }

.plan-badge {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-size: .32rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase
}

.plan-badge.active-badge {
  background: var(--ok-dim);
  color: var(--ok);
  border: 1px solid rgba(16, 185, 129, .15)
}

.plan-badge.hot-badge {
  background: var(--wrn-dim);
  color: var(--wrn);
  border: 1px solid rgba(245, 158, 11, .15)
}

.plan-badge.basic-badge {
  background: var(--surface2);
  color: var(--tx2);
  border: 1px solid var(--glass-border2)
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 10px
}

.plan-amt {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 700
}

.plan-card.featured .plan-amt { color: var(--wrn) }

.plan-per {
  font-size: .38rem;
  color: var(--tx3);
  font-weight: 500
}

.plan-feats { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px }

.plan-feat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .46rem;
  color: var(--tx2);
  font-weight: 500
}

.feat-icon {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.feat-icon.yes { background: var(--ok-dim) }
.feat-icon.yes svg { width: 9px; height: 9px; color: var(--ok) }

.feat-icon.no { background: var(--err-dim) }
.feat-icon.no svg { width: 9px; height: 9px; color: var(--err) }

.plan-btn {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: var(--ui);
  font-weight: 800;
  font-size: .52rem;
  cursor: pointer;
  transition: all .22s var(--ease)
}

.plan-btn.btn-basic {
  background: var(--btn-pri);
  color: var(--pri2);
  border-color: rgba(255, 255, 255, .15)
}

.plan-btn.btn-basic:hover {
  background: var(--btn-pri-hov);
  border-color: rgba(255, 255, 255, .25);
  box-shadow: 0 4px 18px -5px var(--glow-pri)
}

.plan-btn.btn-elite {
  background: var(--wrn-dim);
  color: var(--wrn);
  border-color: rgba(245, 158, 11, .15)
}

.plan-btn.btn-elite:hover {
  background: rgba(245, 158, 11, .15);
  border-color: rgba(245, 158, 11, .25);
  box-shadow: 0 4px 18px -5px rgba(245, 158, 11, .2)
}

.plan-btn.btn-owned {
  background: var(--ok-dim);
  color: var(--ok);
  border-color: rgba(16, 185, 129, .12);
  cursor: default;
  opacity: .5
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--glass-border2);
  margin-top: 8px;
  cursor: pointer;
  transition: all .22s var(--ease)
}

.contact-row:hover {
  background: var(--btn-pri);
  border-color: rgba(99, 102, 241, .18);
  box-shadow: 0 4px 18px -6px var(--glow-pri)
}

.contact-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--r-xs);
  background: var(--btn-pri);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.contact-icon svg {
  width: 14px;
  height: 14px;
  color: var(--pri2)
}

.contact-txt {
  font-size: .5rem;
  font-weight: 700;
  color: var(--pri2)
}

/* ── PROFILE ── */
.profile-hero { text-align: center; padding: 14px 8px 12px }

.avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 10px
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--pri), #a78bfa, var(--err), var(--wrn), var(--ok), var(--pri));
  animation: spinRing 5s linear infinite
}

.avatar-ring::before {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--glass-bg);
  border-radius: 50%
}

@keyframes spinRing { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }

.avatar-img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 2px solid var(--glass-bg);
  transition: transform .3s var(--ease-spring)
}

.avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.avatar-wrap:hover .avatar-img { transform: scale(1.06) }

.avatar-online {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ok);
  border: 2.5px solid var(--glass-bg);
  z-index: 2;
  animation: onlinePulse 2.2s infinite
}

@keyframes onlinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .4) }
  60% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0) }
}

.profile-name {
  font-size: .96rem;
  font-weight: 800;
  letter-spacing: -.2px
}

.profile-uid {
  font-family: var(--mono);
  font-size: .38rem;
  color: var(--tx2);
  margin-top: 3px;
  font-weight: 500
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, rgba(99, 102, 241, .12), rgba(168, 85, 247, .08));
  color: var(--pri2);
  font-size: .36rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(99, 102, 241, .2);
  box-shadow: 0 0 18px -6px var(--glow-pri)
}

.profile-badge svg { width: 10px; height: 10px }

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 8px
}

.ps {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--glass-border2);
  padding: 12px 10px;
  overflow: hidden;
  transition: all .25s var(--ease);
  position: relative
}

.ps:hover {
  border-color: var(--glass-border);
  box-shadow: 0 6px 22px -6px var(--glow-pri)
}

.ps::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 40%;
  border-radius: 0 3px 3px 0;
}

.ps.p1::before { background: var(--ok) }
.ps.p2::before { background: var(--err) }
.ps.p3::before { background: var(--pri) }
.ps.p4::before { background: var(--wrn) }

.ps-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--r-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px
}

.ps.p1 .ps-icon { background: var(--ok-dim) }
.ps.p1 .ps-icon svg { width: 12px; height: 12px; color: var(--ok) }

.ps.p2 .ps-icon { background: var(--err-dim) }
.ps.p2 .ps-icon svg { width: 12px; height: 12px; color: var(--err) }

.ps.p3 .ps-icon { background: var(--btn-pri) }
.ps.p3 .ps-icon svg { width: 12px; height: 12px; color: var(--pri2) }

.ps.p4 .ps-icon { background: var(--wrn-dim) }
.ps.p4 .ps-icon svg { width: 12px; height: 12px; color: var(--wrn) }

.ps-val {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 700
}

.ps-lbl {
  font-size: .3rem;
  color: var(--tx2);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 700;
  margin-top: 3px
}

.access-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--glass-border2);
  margin-bottom: 7px;
  transition: all .25s var(--ease)
}

.access-row:hover {
  border-color: var(--glass-border);
  box-shadow: 0 4px 16px -5px var(--glow-pri)
}

.access-info .at { font-size: .58rem; font-weight: 800 }
.access-info .as { font-size: .36rem; color: var(--tx2); margin-top: 2px; font-weight: 500 }

.access-tag {
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-weight: 900;
  font-size: .44rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: var(--btn-pri);
  color: var(--pri2);
  border: 1px solid rgba(99, 102, 241, .18);
  box-shadow: 0 0 14px -4px var(--glow-pri)
}

.sub-box {
  padding: 13px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--glass-border2);
  transition: all .25s var(--ease)
}

.sub-box:hover { border-color: var(--glass-border) }

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

.sub-title { font-weight: 800; font-size: .56rem }

.sub-active {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: .32rem;
  font-weight: 800;
  background: var(--ok-dim);
  color: var(--ok);
  border: 1px solid rgba(16, 185, 129, .15);
  display: flex;
  align-items: center;
  gap: 4px
}

.sub-active::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
  animation: pulse 2s infinite
}

.sub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px }

.sub-item {
  padding: 9px;
  border-radius: var(--r-sm);
  background: var(--glass-bg2);
  border: 1px solid var(--glass-border2)
}

.sub-item-label {
  font-size: .28rem;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 700
}

.sub-item-val {
  font-size: .5rem;
  font-weight: 700;
  margin-top: 2px;
  font-family: var(--mono)
}

.sub-item-val.highlight { color: var(--pri2) }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  z-index: 300;
  padding: 9px 18px;
  border-radius: var(--r-md);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  color: var(--tx);
  font-size: .5rem;
  font-weight: 700;
  font-family: var(--ui);
  box-shadow: 0 8px 34px rgba(0, 0, 0, .5), 0 0 0 .5px rgba(255, 255, 255, .05) inset;
  transition: transform .32s var(--ease-spring);
  pointer-events: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px
}

.toast.show { transform: translateX(-50%) translateY(0) }

.toast-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-pri);
  flex-shrink: 0
}

.toast-icon svg { width: 10px; height: 10px; color: var(--pri2) }

::-webkit-scrollbar { width: 2px }
::-webkit-scrollbar-track { background: transparent }
::-webkit-scrollbar-thumb { background: rgba(99, 102, 241, .15); border-radius: 2px }

.prog-wrap { margin: 10px 0 12px; display: none; }
.prog-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-size: .32rem;
  font-weight: 800;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: .8px;
}
.prog-bar {
  height: 2px;
  background: var(--glass-border2);
  border-radius: 2px;
  overflow: hidden;
}
.prog-fill {
  height: 100%;
  width: 0%;
  background: #1a1d23;
  transition: width .3s var(--ease);
}
[data-theme="dark"] .prog-fill { background: var(--tx); }
