:root {
  --bg: #05070e;
  --bg-2: #080c17;
  --panel: rgba(18, 24, 40, 0.72);
  --panel-solid: #101626;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --txt: #eaf0fb;
  --muted: #8b97b0;
  --muted-2: #64708a;
  --gold: #f2c879;
  --gold-2: #d9a54a;
  --violet: #7b5cff;
  --cyan: #37d7c9;
  --green: #2ee6a8;
  --red: #ff6b81;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", "Consolas", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(123, 92, 255, 0.28), transparent 60%),
    radial-gradient(900px 500px at 92% 0%, rgba(242, 200, 121, 0.12), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(55, 215, 201, 0.08), transparent 60%),
    var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: rgba(242, 200, 121, 0.3);
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---------------- nav ---------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(5, 7, 14, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), #b87c2a 55%, #7b5cff);
  display: grid;
  place-items: center;
  color: #10131c;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(242, 200, 121, 0.32);
}

.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted-2);
  font-weight: 600;
  line-height: 1.2;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--txt);
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-gold {
  background: linear-gradient(135deg, #f8d592, var(--gold-2));
  color: #191207;
  box-shadow: 0 12px 30px rgba(217, 165, 74, 0.28);
}

.btn-gold:hover {
  box-shadow: 0 16px 38px rgba(217, 165, 74, 0.42);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--txt);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: #0a0f1b;
  border-color: var(--line-strong);
  color: var(--txt);
}

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

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  padding: 76px 0 40px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 60% at 50% 20%, #000 20%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(242, 200, 121, 0.35);
  background: rgba(242, 200, 121, 0.08);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

h1 {
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.18;
  margin: 20px 0 16px;
  letter-spacing: -0.5px;
  font-weight: 800;
}

h1 .hl {
  background: linear-gradient(100deg, #ffe3a8, var(--gold) 45%, #c89546);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 520px;
  margin: 0 0 28px;
}

.lead b {
  color: var(--txt);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted-2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
  max-width: 560px;
}

.stat {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  padding: 14px 16px;
}

.stat .v {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
}

.stat .k {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 2px;
}

/* ---------------- bonus card ---------------- */

.bonus-card {
  position: relative;
  border: 1px solid rgba(242, 200, 121, 0.28);
  border-radius: 22px;
  padding: 26px;
  background: linear-gradient(160deg, rgba(242, 200, 121, 0.13), rgba(123, 92, 255, 0.1) 45%, rgba(10, 14, 26, 0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bonus-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -110px;
  top: -120px;
  background: radial-gradient(circle, rgba(242, 200, 121, 0.35), transparent 65%);
  pointer-events: none;
}

.bonus-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.bonus-card .sub {
  color: var(--muted);
  font-size: 12.5px;
  margin-bottom: 20px;
}

.big-rate {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 6px 0 18px;
}

.big-rate .n {
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(100deg, #fff2d0, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.big-rate .u {
  color: var(--gold);
  font-weight: 700;
}

.big-rate .t {
  color: var(--muted);
  font-size: 12.5px;
  margin-left: 6px;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.mini-table th {
  text-align: left;
  font-weight: 600;
  color: var(--muted-2);
  font-size: 11.5px;
  letter-spacing: 0.4px;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
}

.mini-table td {
  padding: 10px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--txt);
}

.mini-table tr:last-child td {
  border-bottom: 0;
}

.mini-table .rate {
  color: var(--gold);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mini-table .muted {
  color: var(--muted);
}

/* ---------------- sections ---------------- */

.section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.3px;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tier {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tier:hover {
  border-color: rgba(242, 200, 121, 0.4);
  transform: translateY(-3px);
}

.tier.hot {
  border-color: rgba(242, 200, 121, 0.45);
  background: linear-gradient(170deg, rgba(242, 200, 121, 0.12), rgba(18, 24, 40, 0.75));
}

.tier .tag {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted-2);
  text-transform: uppercase;
  font-weight: 700;
}

.tier .amount {
  font-size: 19px;
  font-weight: 700;
  margin: 8px 0 2px;
}

.tier .gift {
  font-size: 30px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.6px;
  margin: 10px 0 2px;
}

.tier .gift small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-left: 2px;
}

.tier .desc {
  font-size: 12.5px;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.step .num {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--gold);
  background: rgba(242, 200, 121, 0.12);
  border: 1px solid rgba(242, 200, 121, 0.3);
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.rules {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.rule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.rule-list li {
  display: flex;
  gap: 12px;
  font-size: 13.8px;
  color: var(--muted);
}

.rule-list li b {
  color: var(--txt);
}

.rule-list .idx {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 12px;
  padding-top: 3px;
}

.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 8px 22px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "＋";
  color: var(--gold);
  margin-right: 10px;
  font-weight: 400;
}

.faq details[open] summary::before {
  content: "－";
}

.faq p {
  margin: 10px 0 2px 26px;
  color: var(--muted);
  font-size: 13.5px;
}

.cta-band {
  border-radius: 24px;
  border: 1px solid rgba(242, 200, 121, 0.3);
  background: linear-gradient(120deg, rgba(242, 200, 121, 0.16), rgba(123, 92, 255, 0.16) 60%, rgba(16, 22, 38, 0.9));
  padding: 38px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding: 28px 0 46px;
  color: var(--muted-2);
  font-size: 12.5px;
}

.foot-in {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------------- forms / panels ---------------- */

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.panel h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.panel .hint {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 20px;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.input {
  width: 100%;
  background: rgba(3, 6, 12, 0.65);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--txt);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-variant-numeric: tabular-nums;
}

.input:focus {
  border-color: rgba(242, 200, 121, 0.6);
  box-shadow: 0 0 0 3px rgba(242, 200, 121, 0.12);
}

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

.tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: rgba(3, 6, 12, 0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 20px;
}

.tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 9px 10px;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13.5px;
}

.tabs button.on {
  background: rgba(242, 200, 121, 0.14);
  color: var(--gold);
}

.msg {
  display: none;
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 13px;
  margin-bottom: 14px;
  border: 1px solid transparent;
  word-break: break-all;
}

.msg.show {
  display: block;
}

.msg.err {
  background: rgba(255, 107, 129, 0.1);
  border-color: rgba(255, 107, 129, 0.35);
  color: #ffb3bf;
}

.msg.ok {
  background: rgba(46, 230, 168, 0.1);
  border-color: rgba(46, 230, 168, 0.3);
  color: #9bf3d4;
}

/* ---------------- deposit page ---------------- */

.page-head {
  padding: 36px 0 10px;
}

.crumb {
  font-size: 12.5px;
  color: var(--muted-2);
}

.crumb a:hover {
  color: var(--txt);
}

.crumb span {
  margin: 0 8px;
  opacity: 0.5;
}

.page-head h1 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 10px 0 6px;
}

.page-head p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
  align-items: start;
  padding: 24px 0 20px;
}

.side-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
}

.side-card h3 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.side-card + .side-card {
  margin-top: 16px;
}

.address-box {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(3, 6, 12, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 9px 10px 9px 13px;
}

.address-box code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.chip {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--txt);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: all 0.15s ease;
}

.chip:hover {
  border-color: rgba(242, 200, 121, 0.5);
}

.chip.on {
  background: rgba(242, 200, 121, 0.16);
  border-color: rgba(242, 200, 121, 0.7);
  color: var(--gold);
  font-weight: 700;
}

.calc {
  border: 1px dashed rgba(242, 200, 121, 0.35);
  background: rgba(242, 200, 121, 0.05);
  border-radius: 14px;
  padding: 16px;
  margin: 18px 0;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0;
}

.calc-row b {
  color: var(--txt);
  font-variant-numeric: tabular-nums;
}

.calc-row.total {
  border-top: 1px solid rgba(242, 200, 121, 0.22);
  margin-top: 8px;
  padding-top: 10px;
  font-size: 14px;
}

.calc-row.total b {
  color: var(--gold);
  font-size: 19px;
  font-weight: 800;
}

.calc .big-bonus {
  color: var(--gold);
  font-weight: 800;
}

.order-card {
  border: 1px solid rgba(46, 230, 168, 0.35);
  background: linear-gradient(160deg, rgba(46, 230, 168, 0.08), rgba(18, 24, 40, 0.85));
  border-radius: 16px;
  padding: 18px;
  margin-top: 18px;
}

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

.order-head .no {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}

.kv {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 6px 10px;
  font-size: 13px;
}

.kv .k {
  color: var(--muted-2);
}

.kv .v {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  white-space: nowrap;
}

.badge.pending {
  color: #ffd88a;
  border-color: rgba(255, 216, 138, 0.35);
  background: rgba(255, 216, 138, 0.1);
}

.badge.paid {
  color: #8ff0cf;
  border-color: rgba(46, 230, 168, 0.35);
  background: rgba(46, 230, 168, 0.1);
}

.badge.rejected {
  color: #ffadb9;
  border-color: rgba(255, 107, 129, 0.35);
  background: rgba(255, 107, 129, 0.1);
}

.recent {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 16px;
}

.recent h3 {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 600;
}

.recent-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}

.recent-item:last-child {
  border-bottom: 0;
}

.recent-item .l {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
}

.me-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.me-card .cid {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  background: rgba(242, 200, 121, 0.1);
  border: 1px solid rgba(242, 200, 121, 0.3);
  border-radius: 7px;
  padding: 2px 8px;
}

.me-nums {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.me-nums div {
  font-size: 11.5px;
  color: var(--muted-2);
}

.me-nums b {
  display: block;
  font-size: 16px;
  color: var(--txt);
  font-variant-numeric: tabular-nums;
}

/* ---------------- admin ---------------- */

body.admin {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(123, 92, 255, 0.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(55, 215, 201, 0.08), transparent 60%),
    #05070e;
}

.admin-shell {
  padding: 24px 0 60px;
}

.admin-top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.admin-top h1 {
  font-size: 21px;
  margin: 0;
}

.admin-top .sp {
  flex: 1;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.kpi {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  padding: 16px 18px;
}

.kpi .k {
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: 0.3px;
}

.kpi .v {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

.kpi .v.gold {
  color: var(--gold);
}

.kpi .v.green {
  color: var(--green);
}

.kpi .s {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 2px;
}

.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.card-head h2 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
}

.card-head .sp {
  flex: 1;
}

.search {
  background: rgba(3, 6, 12, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--txt);
  padding: 8px 12px;
  font-size: 12.5px;
  outline: none;
  min-width: 210px;
}

.search:focus {
  border-color: rgba(242, 200, 121, 0.55);
}

.table-wrap {
  overflow-x: auto;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  min-width: 780px;
}

table.data th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--muted-2);
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.015);
}

table.data td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
  white-space: nowrap;
}

table.data tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

table.data tbody tr:last-child td {
  border-bottom: 0;
}

table.data .cid {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
}

table.data .mono {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

table.data .num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

table.data .num.gold {
  color: var(--gold);
}

table.data .num.green {
  color: var(--green);
}

table.data .nick {
  color: var(--txt);
  font-weight: 600;
}

.empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.login-box {
  width: min(400px, 100%);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.login-box .brand {
  margin-bottom: 22px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  background: #101a2b;
  border: 1px solid var(--line-strong);
  color: var(--txt);
  padding: 10px 18px;
  border-radius: 11px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 90;
  box-shadow: var(--shadow);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hide {
  display: none !important;
}

.footnote {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 12px;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .hero-grid,
  .rules,
  .two-col {
    grid-template-columns: 1fr;
  }
  .tiers {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 46px;
  }
}

@media (max-width: 560px) {
  .tiers {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .nav-in {
    gap: 12px;
  }
  .nav-right .pill {
    display: none;
  }
  .cta-band {
    padding: 26px;
  }
  .panel {
    padding: 20px;
  }
}
