:root {
  --bg: #070710;
  --panel: #10101e;
  --white: #f7f5ff;
  --muted: #a3a0b9;
  --purple: #a73bff;
  --pink: #df55ff;
  --line: #2a2840;
  --ok: #69eab0;
  --warn: #f5c15c;
  --bad: #ff6b8a;
  --grad: linear-gradient(110deg, #8434fc, #da48df);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 12px;
  --rs: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Hind Siliguri", sans-serif;
  font-weight: 600;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, b, .num { font-family: "Space Grotesk", sans-serif; }
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.orb-one { width: 390px; height: 390px; background: #7a20e5; top: 80px; left: -170px; }
.orb-two { width: 360px; height: 360px; background: #3053cb; top: 0; right: -190px; }

.brand {
  font: 700 22px "Space Grotesk", sans-serif;
  letter-spacing: -1.4px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-mark { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark.center { justify-content: center; width: 100%; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 18px #9a33ff55, 0 0 0 1px #d688ff80;
}
.brand-logo.lg { width: 64px; height: 64px; }
.brand-text { display: inline-flex; align-items: baseline; letter-spacing: -1.6px; font-weight: 700; }
.brand-text b { color: #b94cff; font-weight: 700; }
.brand-text span { font-size: 11px; color: #e9b3ff; letter-spacing: 1.4px; margin-left: 4px; font-weight: 700; }
.brand-lg { font-size: 28px; margin-bottom: 18px; display: flex; justify-content: center; }

.glass {
  background: rgba(16, 16, 30, 0.72);
  border: 1px solid #2b2941;
  border-radius: var(--r);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px #0006;
}

.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; position: relative; z-index: 1; }
.sidebar {
  padding: 20px 15px;
  border-right: 1px solid #252339;
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar nav { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s var(--ease);
}
.sidebar nav a i { width: 18px; text-align: center; color: #bd59fb; }
.sidebar nav a:hover, .sidebar nav a.active {
  background: #151421;
  color: #fff;
  border: 1px solid #2b2941;
}
.side-balance { padding: 12px 14px; margin-top: 18px; }
.side-balance small { color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.side-balance b { display: block; font-size: 20px; margin-top: 2px; }

.main { min-width: 0; overflow-x: hidden; }
.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid #252339;
  position: sticky;
  top: 0;
  background: rgba(7, 7, 16, 0.78);
  backdrop-filter: blur(14px);
  z-index: 5;
}
.topbar h1 { font-size: 18px; margin: 0; letter-spacing: -0.6px; flex: 1; min-width: 0; }
.top-user { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); display: grid; place-items: center;
  font: 700 14px "Space Grotesk";
}
.menu-btn {
  display: none;
  background: none;
  border: 0px solid var(--line);
  color: #fff;
  width: 35px; height: 35px;
  border-radius: 10px;
}
.content { padding: 22px; padding-bottom: 92px; }

.grid { display: grid; gap: 14px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.stat {
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.stat i {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  background: #1a1230; color: #d18aff; font-size: 16px;
}
.stat small { color: var(--muted); font-size: 12px; }
.stat b { display: block; font-size: 20px; letter-spacing: -0.5px; }

.card { padding: 18px; }
.card h2, .card h3 { margin: 0 0 12px; font-size: 16px; letter-spacing: -0.4px; }
.muted { color: var(--muted); }
.lead { color: var(--muted); line-height: 1.7; }

.btn {
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  background: var(--grad);
  color: #fff;
  cursor: pointer;
  font: 600 14px "Hind Siliguri", sans-serif;
  transition: 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: #151421;
  border: 1px solid #39334c;
  color: #fff;
}
.btn-bad { background: linear-gradient(110deg, #8a2044, #df5578); }
.btn-ok { background: linear-gradient(110deg, #1c7a55, #3ed9a0); }
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 8px; }
.w-full { width: 100%; }

.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: #d4cede; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: #151421;
  border: 1px solid #39334c;
  border-radius: 10px;
  color: #fff;
  padding: 11px 13px;
  outline: 0;
  font-size: 15px;
  transition: 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: #a73bff; }
.field textarea { min-height: 90px; resize: vertical; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #45345c;
  background: #121120e8;
  border-radius: 9px;
  font: 500 12px "Space Grotesk", sans-serif;
  color: #dfd8eb;
}
.pill.ok { color: var(--ok); border-color: #1e4d3c; }
.pill.warn { color: var(--warn); }
.pill.bad { color: var(--bad); }

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  border: 1px solid;
}
.alert.ok { background: #0e2a22; border-color: #1e4d3c; color: var(--ok); }
.alert.bad { background: #2a1018; border-color: #5c2436; color: #ff9ab0; }

.table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
}
.table-wrap table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table-wrap th, .table-wrap td { white-space: nowrap; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #252339; }
th { color: #918da3; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; }
td .row-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.plan {
  padding: 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: 0.3s var(--ease);
}
.plan:hover { transform: translateY(-3px); border-color: #5e397e; }
.plan .icon {
  width: 100px; height: 100px; border-radius: 20px;
  background: radial-gradient(circle at 30% 20%, #3b1d68, #1a1230 70%);
  color: #e9b3ff;
  display: grid; place-items: center; overflow: hidden;
  margin: 8px auto 4px;
  box-shadow: 0 0 24px #9a33ff44, 0 0 0 1px #d688ff55;
  animation: planPulse 3.2s var(--ease) infinite;
}
.plan .icon img { width: 100%; height: 100%; object-fit: cover; }
.plan h3, .plan .price { text-align: center; }
@keyframes planPulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 18px #9a33ff33, 0 0 0 1px #d688ff40; }
  50% { transform: translateY(-3px) scale(1.04); box-shadow: 0 0 32px #df55ff55, 0 0 0 1px #e9b3ff80; }
}
.plan .price { font-size: 28px; letter-spacing: -1px; margin: 4px 0 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.price-old { font-size: 15px; color: #8a869c; text-decoration: line-through; font-weight: 600; letter-spacing: 0; }
.price-now { font-size: 28px; letter-spacing: -1px; }
.plan ul { margin: 8px 0 12px; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.plan ul li { padding: 5px 0; display: flex; gap: 8px; }
.plan ul li i { color: #bd59fb; width: 14px; }
.badge {
  position: absolute;
  top: 14px; right: 14px;
  font: 600 11px "Space Grotesk";
  color: #e9b3ff;
  background: #1a1230;
  border: 1px solid #45345c;
  padding: 4px 8px;
  border-radius: 99px;
}

.task {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.task .t-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #1a1230; color: #d18aff;
  display: grid; place-items: center;
}
.task .t-body { flex: 1; min-width: 0; }
.task .t-body b { display: block; font-size: 14px; }
.task .t-body small { color: var(--muted); }

.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.pay-opt {
  padding: 12px 8px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #2b2941;
  background: #121120;
  cursor: pointer;
  font: 700 13px "Space Grotesk";
  transition: 0.3s var(--ease);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.pay-opt img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.pay-opt input { display: none; }
.pay-opt.on, .pay-opt:has(input:checked) {
  border-color: #a73bff;
  background: #1a1230;
  color: #e9b3ff;
}

.hero-home { max-width: 680px; margin: 28px auto 0; text-align: center; }
.hero-home h1 {
  font-size: clamp(36px, 7vw, 58px);
  line-height: 1.13;
  letter-spacing: -2px;
  margin: 0 0 12px;
  font-weight: 700;
}
.hero-home h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #f3d9ff, #b641ff 55%, #7a8aff);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}
.eyebrow {
  font: 600 12px "Space Grotesk", sans-serif;
  letter-spacing: 1.8px;
  color: #d18aff;
  margin: 0 0 15px;
}
.countdown, .kpi {
  display: flex; gap: 10px; justify-content: center; margin: 22px 0;
}
.kpi div, .mini-box {
  padding: 9px 14px 7px;
  background: #11101f;
  border: 1px solid #2a2840;
  border-radius: 10px;
  text-align: center;
}
.kpi b { display: block; font-size: 18px; }
.kpi small { color: #9994ad; font-size: 11px; }

.public-wrap { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 22px 18px 0; }
.nav-public { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.auth-wrap {
  position: relative; z-index: 1;
  max-width: 420px; margin: 48px auto 20px; padding: 0 18px;
}
.auth-card { padding: 22px; }
.auth-foot { text-align: center; color: #726e84; font-size: 12px; padding: 18px; position: relative; z-index: 1; }
.switch { text-align: center; margin-top: 14px; color: var(--muted); font-size: 13px; }
.switch a { color: #d18aff; font-weight: 600; }

.toast {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 50; padding: 10px 16px; border-radius: 10px;
  background: #121120; border: 1px solid #45345c;
  font-size: 13px; box-shadow: 0 8px 24px #0008;
}
.toast.ok { border-color: #1e4d3c; color: var(--ok); }
.toast.bad { border-color: #5c2436; color: #ff9ab0; }

.progress {
  height: 6px; background: #1a1a2c; border-radius: 99px; overflow: hidden; margin-top: 6px;
}
.progress span { display: block; height: 100%; background: var(--grad); border-radius: 99px; }

.ref-box {
  display: flex; gap: 8px; align-items: center;
  background: #151421; border: 1px solid #39334c; border-radius: 10px; padding: 8px;
}
.ref-box code { flex: 1; font: 600 14px "Space Grotesk"; letter-spacing: 1px; }

.mobile-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(10, 10, 20, 0.92);
  border-top: 1px solid #252339;
  backdrop-filter: blur(16px);
  padding: 8px 10px 12px;
  z-index: 20;
  justify-content: space-around;
}
.mobile-nav a {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center; color: var(--muted);
}
.mobile-nav a.active { background: #1a1230; color: #e9b3ff; }

.task-modal {
  position: fixed; inset: 0; background: #070710ee;
  display: none; place-items: center; z-index: 40; padding: 18px;
}
.task-modal.show { display: grid; }
.task-modal .box { max-width: 420px; width: 100%; padding: 20px; text-align: center; }
.timer { font: 700 42px "Space Grotesk"; letter-spacing: -2px; margin: 8px 0; }

.form-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; }
.form-inline .field { margin: 0; flex: 1; min-width: 120px; }

.empty { text-align: center; color: var(--muted); padding: 28px 10px; font-weight: 600; }

.ico { width: 20px; height: 20px; object-fit: contain; display: inline-block; vertical-align: middle; }
.ico-lg { width: 40px; height: 40px; }
.ico-xs { width: 14px; height: 14px; }
.avatar-img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 1px #45345c, 0 0 12px #9a33ff33;
}
.avatar-img.lg { width: 72px; height: 72px; }
.avatar-link { display: inline-flex; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.photo-edit { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.hero-logo-wrap { display: grid; place-items: center; margin-bottom: 10px; margin-top: -20px;}
.hero-logo {
  width: 200px; height: 200px; object-fit: cover;
}
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.home-feats { max-width: 1000px; margin: 36px auto 0; padding: 0; }
.feat { text-align: left; }
.feat h3 { font-weight: 700; margin-top: 10px; }
.feat-fa {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  background: #1a1230; color: #d18aff; font-size: 16px;
}
.pay-row {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 28px auto 10px; flex-wrap: wrap;
}
.pay-row img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.bold-label { font-weight: 700; letter-spacing: 1px; font-size: 12px; }
.pay-row-card { padding: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pay-id { display: flex; align-items: center; gap: 10px; }
.pay-id img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.pay-cell { display: flex; align-items: center; gap: 6px; }
.pay-cell img { width: 20px; height: 20px; border-radius: 4px; }
.menu-btn img { width: 35px; height: 35px; }
.mobile-nav a img { width: 22px; height: 22px; }
.card h2, .card h3, .topbar h1, .stat b, .plan h3 { font-weight: 700; }
label { font-weight: 700; }

@media (max-width: 900px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; left: -260px; top: 0; bottom: 0; width: 240px;
    z-index: 30; transition: 0.3s var(--ease); height: auto;
  }
  .sidebar.open { left: 0; }
  .menu-btn { display: grid; place-items: center; }
  .mobile-nav { display: flex; }
  .g-2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .g-4 { grid-template-columns: 1fr 1fr; }
  .content { padding: 14px; padding-bottom: 92px; }
  .pay-grid { grid-template-columns: 1fr; }
  .top-user span { display: none; }
}

.notice-bar {
  position: relative; z-index: 8;
  height: 32px; overflow: hidden;
  background: #120c22;
  border-bottom: 1px solid #2b2941;
  display: flex; align-items: center;
  width: 100%;
}
.public-wrap .notice-bar {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.notice-track {
  display: inline-flex; white-space: nowrap;
  animation: ticker 18s linear infinite;
  color: #e9b3ff; font-size: 13px; font-weight: 600;
}
.notice-track span { padding: 0 48px; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.nav-ico, .stat-ico, .feat-ico {
  width: 20px; height: 20px; object-fit: contain;
}
.stat-ico, .feat-ico {
  width: 42px; height: 42px; padding: 8px;
  border-radius: 10px; background: #1a1230;
}
.sidebar nav a .nav-ico { width: 18px; height: 18px; }
.ico-btn { min-width: 38px; padding-left: 10px; padding-right: 10px; }
.ico-btn .ico { width: 16px; height: 16px; }

.plan-bal-card { transition: 0.3s var(--ease); }
.plan-bal-card.on { border-color: #a73bff; box-shadow: 0 0 0 1px #a73bff66; }
.plan-bal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.plan-mini-ico { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.plan-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.plan-mini-logo {
  width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 0 1px #45345c, 0 0 12px #9a33ff33;
}
.plan-mini-body { flex: 1; min-width: 0; }
.plan-mini-body b { display: block; font-size: 15px; }
.plan-mini-body small { color: var(--muted); font-size: 12px; }
.plan-mini-bal { font: 700 16px "Space Grotesk", sans-serif; letter-spacing: -0.4px; }
.wd-card { transition: 0.3s var(--ease); display: block; }
.wd-card.on { border-color: #a73bff; box-shadow: 0 0 0 1px #a73bff66; }
.wd-card .price { font-size: 24px; margin: 4px 0 8px; }
.wd-meta { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 12px; }
.wd-meta li { padding: 3px 0; border-top: 1px solid #252339; }
.wd-ref .plan-mini-ico { width: 36px; height: 36px; padding: 6px; background: #1a1230; border-radius: 10px; }
.user-hero { display: flex; gap: 16px; align-items: center; padding: 18px; }
.user-hero-meta { min-width: 0; }
.section-title { margin: 18px 0 10px; font-size: 15px; letter-spacing: -0.3px; }

.task-detail { text-align: center; max-width: 560px; margin: 0 auto; }
.task-detail-icon { width: 64px; height: 64px; margin: 12px auto; display: grid; place-items: center; background: #1a1230; border-radius: 16px; }
.task-detail-icon .ico { width: 32px; height: 32px; }
.task-meta { text-align: left; margin: 16px 0; }
.task-meta h3 { margin: 12px 0 4px; font-size: 13px; color: #d18aff; }
.task-meta p { margin: 0; color: var(--muted); font-size: 14px; }

.confirm-modal {
  position: fixed; inset: 0; background: #070710ee;
  display: none; place-items: center; z-index: 60; padding: 18px;
}
.confirm-modal.show { display: grid; }
.confirm-modal .box { max-width: 360px; width: 100%; padding: 20px; text-align: center; }
.confirm-actions { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }

.sidebar nav a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar { display: auto; flex-direction: column; overflow: hidden; }
.sidebar nav { flex: 1; overflow-x: auto; overflow-y: auto; }
.side-credit {
  margin-top: 20px; padding-top: 5px; border-top: 1px solid #252339; text-align: center;
}
.credit-name {
  display: inline-block; font: 700 15px "Space Grotesk", sans-serif;
  background: linear-gradient(90deg, #f3d9ff, #b641ff, #7a8aff, #df55ff, #f3d9ff);
  background-size: 220% auto; color: transparent; background-clip: text; -webkit-background-clip: text;
  animation: creditShift 4s linear infinite;
}
@keyframes creditShift { to { background-position: 220% center; } }
.credit-socials { display: flex; justify-content: center; gap: 5px; margin-top: 0px; }
.credit-socials a {
  width: 25px; height: 25px; border-radius: 8px; display: grid; place-items: center;
  background: #151421; border: 1px solid #39334c; color: #e9b3ff; font-size: 15px;
}
.credit-socials a:hover { border-color: #a73bff; }

.user-more { position: relative; }
.user-more summary { list-style: none; cursor: pointer; }
.user-more summary::-webkit-details-marker { display: none; }
.user-more-box { position: absolute; right: 0; top: 40px; z-index: 8; min-width: 220px; padding: 12px; }

.landing-hero { padding: 24px 0 8px; }
.landing-steps { max-width: 1100px; margin: 42px auto 0; }
.landing-steps h2 { text-align: center; margin: 0 0 16px; letter-spacing: -0.8px; }

.activate-wrap { margin: 14px 0 4px; }
.activate-btn { font-size: 15px; padding: 13px 16px; }

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 78px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #11101f;
  }
.wa-float img { width: 50px; height: 50px; object-fit: contain; }
.wa-float:hover {
  transform: scale(1) !important;
  box-shadow: none !important;
  transition: none !important;
}
@media (min-width: 901px) {
  .wa-float { bottom: 22px; }
}

.uc-back { font-size: 13px; color: var(--muted); }
.uc-hero {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}
.uc-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #a73bff33;
  filter: blur(20px);
  pointer-events: none;
}
.uc-hero .avatar-img.lg { width: 78px; height: 78px; }
.uc-hero-meta { min-width: 0; flex: 1; position: relative; z-index: 1; }
.uc-hero-meta h2 { margin: 0; font-size: 22px; letter-spacing: -0.6px; }
.uc-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.uc-section { margin-top: 14px; }
.uc-form { margin-bottom: 12px; }
.uc-form:last-child { margin-bottom: 0; }
.uc-inline { display: flex; gap: 8px; align-items: end; }
.uc-inline .field { flex: 1; margin: 0; }
.uc-inline .btn { flex-shrink: 0; }
.uc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.uc-search { padding: 16px; margin-bottom: 12px; }
.uc-user-cell { display: flex; align-items: center; gap: 10px; }
.uc-user-cell .avatar-img { width: 34px; height: 34px; }
.uc-list-meta { color: var(--muted); font-size: 12px; }

.as-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  position: sticky;
  top: 8px;
  z-index: 8;
  padding: 8px;
  background: rgba(10, 10, 20, 0.88);
  border: 1px solid #2b2941;
  border-radius: var(--rs);
  backdrop-filter: blur(16px);
}
.as-nav a {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--muted);
  background: #161528;
  border: 1px solid #2b2941;
}
.as-nav a:hover { color: #fff; border-color: #a73bff88; }
.as-form { display: grid; gap: 14px; padding-bottom: 72px; }
.as-card { padding: 18px; scroll-margin-top: 64px; }
.as-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2b2941;
}
.as-head h3 { margin: 0; font-size: 17px; }
.as-head p { margin: 2px 0 0; font-size: 12px; }
.as-ico { width: 28px; height: 28px; }
.as-sub {
  margin: 14px 0 8px;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: #d18aff;
  text-transform: uppercase;
}
.as-save {
  position: sticky;
  bottom: 12px;
  z-index: 9;
}
.as-save .btn { box-shadow: 0 10px 28px #000a; }
@media (max-width: 900px) {
  .as-nav { top: 0; }
  .as-save { bottom: 72px; }
}

.pf-info { position: relative; overflow: hidden; }
.pf-info::after {
  content: "";
  position: absolute;
  right: -50px; top: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: #a73bff33;
  filter: blur(22px);
  pointer-events: none;
}
.pf-info-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px; position: relative; z-index: 1;
}
.pf-info-head h3 { margin: 0; }
.pf-info-head p { margin: 2px 0 0; font-size: 12px; }
.pf-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  position: relative;
  z-index: 1;
}
.pf-info-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: #151421;
  border: 1px solid #2b2941;
}
.pf-info-item .ico { width: 22px; height: 22px; flex-shrink: 0; }
.pf-info-item small { display: block; color: var(--muted); font-size: 11px; }
.pf-info-item b { display: block; font-size: 14px; letter-spacing: -0.3px; word-break: break-word; }
.pf-c1 { border-color: #a73bff66; }
.pf-c2 { border-color: #7a8aff66; }
.pf-c3 { border-color: #69eab066; }
.pf-c4 { border-color: #df55ff66; }
.pf-c5 { border-color: #f5c15c66; }
.pf-c6 { border-color: #da48df66; }
.pf-c7 { border-color: #3ed9a066; }
.pf-c8 { border-color: #8434fc66; }

.rank-page { display: grid; gap: 10px; }
.rank-hero {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
}
.rank-hero h3 { margin: 0; font-size: 15px; }
.rank-hero p { margin: 2px 0 0; font-size: 12px; }
.rank-hero-ico { width: 26px; height: 26px; }
.rank-champ {
  text-align: center;
  padding: 14px 12px 12px;
  position: relative;
  overflow: hidden;
  border-color: #f5c15c88;
  box-shadow: 0 10px 32px #f5c15c22, 0 8px 24px #0006;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
.rank-champ::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, #f5c15c22, transparent 62%);
  pointer-events: none;
}
.rank-champ b, .rank-side b {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  position: relative;
  z-index: 1;
  word-break: break-word;
}
.rank-champ small, .rank-side small {
  color: var(--muted);
  font-size: 12px;
  position: relative;
  z-index: 1;
}
.rank-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rank-side {
  text-align: center;
  padding: 12px 10px 10px;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.rank-side.silver { border-color: #c5c9d688; }
.rank-side.bronze { border-color: #d08a5488; }
.rank-crown {
  font-size: 20px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.rank-crown.gold { color: #f5c15c; filter: drop-shadow(0 0 10px #f5c15c88); }
.rank-crown.silver { color: #c5c9d6; }
.rank-crown.bronze { color: #d08a54; }
.rank-badge {
  display: inline-block;
  margin-top: 8px;
  font: 700 13px "Space Grotesk", sans-serif;
  letter-spacing: 1.2px;
  position: relative;
  z-index: 1;
}
.rank-badge.gold { color: #f5c15c; }
.rank-badge.silver { color: #c5c9d6; }
.rank-badge.bronze { color: #d08a54; }
.rank-frame {
  width: 86px; height: 86px; margin: 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  padding: 3px;
  position: relative;
  z-index: 1;
}
.rank-champ .rank-frame { width: 108px; height: 108px; }
.rank-frame .avatar-img {
  width: 78px; height: 78px; box-shadow: none;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}
.rank-champ .rank-frame .avatar-img { width: 100px; height: 100px; }
.rank-frame.gold {
  background: linear-gradient(135deg, #ffe08a, #c9922a, #ffe08a);
  box-shadow: 0 0 22px #f5c15c66;
}
.rank-frame.silver {
  background: linear-gradient(135deg, #f2f4f8, #8e95a5, #f2f4f8);
  box-shadow: 0 0 16px #c5c9d644;
}
.rank-frame.bronze {
  background: linear-gradient(135deg, #e8b48a, #8a4b22, #e8b48a);
  box-shadow: 0 0 16px #d08a5444;
}
.rank-table-card { padding: 4px 10px 8px; }
.rank-table { min-width: 100%; width: 100%; }
.rank-table th, .rank-table td { white-space: nowrap; }
.rank-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rank-user b { font-size: 14px; }
.rank-user .avatar-img { width: 36px; height: 36px; flex-shrink: 0; }
.rank-num {
  font: 700 14px "Space Grotesk", sans-serif;
  color: #d18aff;
}
.rank-count {
  font: 700 16px "Space Grotesk", sans-serif;
  color: #e9b3ff;
}
@media (max-width: 900px) {
  .pf-info-grid { grid-template-columns: 1fr; }
  .rank-duo { grid-template-columns: 1fr 1fr; }
}