:root {
  color-scheme: dark;
  --bg: #09070f;
  --panel: #121019;
  --panel2: #191421;
  --line: #2d243a;
  --text: #f5f0ff;
  --muted: #9d94aa;
  --violet: #a855f7;
  --violet2: #7c3aed;
  --green: #50e3a4;
  --red: #ff6b81;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.55 Inter,
    Segoe UI,
    Arial,
    sans-serif;
  overflow-x: hidden;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
}
.ambient-one {
  width: 500px;
  height: 500px;
  background: #8b5cf6;
  top: -220px;
  left: -140px;
}
.ambient-two {
  width: 600px;
  height: 600px;
  background: #5b21b6;
  right: -320px;
  top: 30%;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(9, 7, 15, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, #c084fc, #6d28d9);
  font-weight: 900;
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.35);
}
.brand b {
  display: block;
  font-size: 15px;
}
.brand small {
  display: block;
  letter-spacing: 0.28em;
  color: #bda9d5;
  font-size: 9px;
}
.compact .brand-mark {
  width: 34px;
  height: 34px;
}
.topbar nav {
  display: flex;
  gap: 25px;
  color: var(--muted);
  margin-right: auto;
}
.topbar nav a:hover,
.topbar nav a.active {
  color: #fff;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 16px;
  color: #fff;
  background: #17131e;
  cursor: pointer;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: #624b7d;
}
.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--violet), var(--violet2));
  box-shadow: 0 8px 26px rgba(124, 58, 237, 0.28);
}
.btn.ghost {
  background: transparent;
}
.btn.danger {
  border-color: #613141;
  color: #ff9aad;
}
.btn.small {
  padding: 7px 11px;
  font-size: 13px;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.hero {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 640px;
  padding: 110px 24px 70px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #3a2b4d;
  border-radius: 99px;
  padding: 6px 11px;
  color: #cdbde0;
  background: rgba(168, 85, 247, 0.08);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.eyebrow:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
h1 {
  font-size: clamp(46px, 6.5vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 22px 0;
}
.gradient {
  background: linear-gradient(110deg, #fff 10%, #d8b4fe 55%, #8b5cf6);
  -webkit-background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.hero-card {
  position: relative;
  min-height: 430px;
  border: 1px solid #31263f;
  border-radius: 32px;
  background: linear-gradient(
    145deg,
    rgba(28, 20, 38, 0.92),
    rgba(11, 9, 16, 0.92)
  );
  box-shadow: var(--shadow);
  padding: 28px;
  overflow: hidden;
}
.hero-card:before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    circle at 70% 5%,
    rgba(168, 85, 247, 0.28),
    transparent 42%
  );
  pointer-events: none;
}
.bot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 76px;
}
.metric {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.metric b {
  display: block;
  font-size: 28px;
}
.metric span {
  color: var(--muted);
  font-size: 12px;
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.status-pill {
  color: var(--green);
  font-size: 13px;
}
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-head {
  max-width: 660px;
  margin-bottom: 34px;
}
.section h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.04em;
  margin: 10px 0;
}
.section-head p,
.muted {
  color: var(--muted);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature,
.panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(24, 20, 32, 0.88),
    rgba(14, 12, 19, 0.9)
  );
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.16);
}
.feature {
  padding: 24px;
}
.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #251832;
  color: #d8b4fe;
  font-size: 19px;
}
.feature h3 {
  margin: 16px 0 7px;
}
.feature p {
  margin: 0;
  color: var(--muted);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.price-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #100d16;
  transition: 0.25s;
}
.price-card:hover {
  transform: translateY(-5px);
  border-color: #6d4b91;
}
.price-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.price-card-body {
  padding: 18px;
}
.price-card h3 {
  margin: 0 0 4px;
}
.price {
  font-size: 26px;
  font-weight: 800;
  margin: 15px 0;
}
.price-card .btn {
  width: 100%;
}
.layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 90px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 22px;
}
.sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 14px;
}
.side-user {
  padding: 12px 10px 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.uid {
  font-size: 12px;
  color: #c4b5d4;
}
.side-link {
  display: flex;
  width: 100%;
  padding: 11px 12px;
  margin: 3px 0;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.side-link:hover,
.side-link.active {
  background: #21172c;
  color: #fff;
}
.content {
  min-width: 0;
}
.page-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.page-title h1 {
  font-size: 38px;
  margin: 0;
  letter-spacing: -0.04em;
}
.panel {
  padding: 22px;
  margin-bottom: 16px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stat {
  padding: 21px;
}
.stat small {
  color: var(--muted);
}
.stat strong {
  display: block;
  font-size: 23px;
  margin-top: 7px;
}
.subscription {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sub-state {
  display: flex;
  align-items: center;
  gap: 13px;
}
.sub-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #251738;
  font-size: 22px;
}
.form-grid {
  display: grid;
  gap: 14px;
}
.form-grid.two {
  grid-template-columns: 1fr 1fr;
}
.field label {
  display: block;
  color: #c7bdcf;
  font-size: 13px;
  margin-bottom: 6px;
}
.field input,
.field select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0d0b12;
  color: #fff;
  outline: none;
}
.field input:focus,
.field select:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}
.auth-wrap {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  padding: 50px 20px;
}
.auth-card {
  width: min(440px, 100%);
  padding: 30px;
}
.auth-card h1 {
  font-size: 34px;
  margin: 12px 0 7px;
}
.auth-card .btn.primary {
  width: 100%;
  margin-top: 5px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  color: #bda7d5;
  font-size: 13px;
}
.notice {
  padding: 13px;
  border-radius: 11px;
  background: #21172c;
  color: #d7c4ec;
  margin-bottom: 15px;
}
.notice.error {
  background: #2b161d;
  color: #ff9aad;
}
.table-wrap {
  overflow: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.table th,
.table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.badge {
  display: inline-flex;
  border-radius: 99px;
  padding: 4px 8px;
  font-size: 11px;
  background: #292131;
  color: #d5c8e3;
}
.badge.fulfilled,
.badge.active {
  background: #123226;
  color: #76e5b4;
}
.badge.pending {
  background: #362d17;
  color: #f3ce6b;
}
.badge.cancelled,
.badge.expired {
  background: #321720;
  color: #ff91a4;
}
.empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
}
.admin-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 16px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}
.modal {
  width: min(500px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 24px;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.modal-head h3 {
  margin: 0;
}
.close {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 25px;
  cursor: pointer;
}
.payment-options {
  display: grid;
  gap: 10px;
}
.pay-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #0e0c13;
  color: #fff;
  cursor: pointer;
  text-align: left;
}
.pay-option:hover {
  border-color: #8254ae;
}
.pay-option b {
  display: block;
}
.pay-option small {
  color: var(--muted);
}
#toast-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: grid;
  gap: 8px;
}
.toast {
  padding: 12px 16px;
  border: 1px solid #47335f;
  border-radius: 11px;
  background: #181020;
  box-shadow: var(--shadow);
}
footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 42px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
}
footer .brand {
  margin-right: auto;
  color: #fff;
}
.footer-links {
  display: flex;
  gap: 18px;
}
.legal {
  max-width: 850px;
  margin: 0 auto;
  padding: 70px 24px;
}
.legal h1 {
  font-size: 44px;
}
.legal h2 {
  margin-top: 32px;
}
.legal p,
.legal li {
  color: #b1a8bd;
}
@media (max-width: 900px) {
  .topbar nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }
  .hero-card {
    min-height: 350px;
  }
  .feature-grid,
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    display: flex;
    overflow: auto;
  }
  .side-user {
    display: none;
  }
  .side-link {
    min-width: max-content;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .topbar {
    height: 66px;
    padding: 0 16px;
  }
  .brand b {
    font-size: 13px;
  }
  .topbar .btn.ghost {
    display: none;
  }
  .hero {
    padding: 55px 18px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .feature-grid,
  .price-grid,
  .stats,
  .form-grid.two {
    grid-template-columns: 1fr;
  }
  .section,
  .layout {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-card {
    min-height: 320px;
    padding: 20px;
  }
  .bot-grid {
    margin-top: 55px;
  }
  .page-title {
    align-items: start;
    flex-direction: column;
  }
  .subscription {
    align-items: flex-start;
    flex-direction: column;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-links {
    flex-wrap: wrap;
  }
}
.log-box {
  min-height: 280px;
  max-height: 440px;
  overflow: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #08070b;
  color: #d8d0e1;
  font:
    12px/1.6 Consolas,
    monospace;
  white-space: pre-wrap;
}
.eyebrow:before {
  display: none !important;
}
.status-pill {
  color: #bda9d5 !important;
}
.key-input {
  font-family: Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.keys-output {
  width: 100%;
  min-height: 260px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #08070b;
  color: #efe7f8;
  font:
    13px/1.7 Consolas,
    monospace;
}
.badge.redeemed {
  background: #21182d;
  color: #c8afe4;
}
.badge.revoked {
  background: #321720;
  color: #ff91a4;
}
.config-textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0d0b12;
  color: #fff;
  font:
    13px/1.5 Consolas,
    monospace;
}
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.search-grid {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}
.search-item {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #100d16;
  color: #ddd;
  text-align: left;
}
.integration-help {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #0e0b14;
  color: var(--muted);
}
.integration-help h4 {
  margin: 0 0 8px;
  color: var(--text);
}
.integration-help ol {
  margin: 0;
  padding-left: 22px;
}
.integration-help code {
  color: #d8b4fe;
  overflow-wrap: anywhere;
}
.integration-help a {
  color: #c084fc;
  text-decoration: underline;
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  margin: 0 7px 0 0;
  border: 1px solid #51405f !important;
  border-radius: 7px !important;
  background: #0c0911 !important;
  display: inline-grid;
  place-content: center;
  vertical-align: -5px;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
input[type="checkbox"]:before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  opacity: 0;
  transition:
    transform 0.16s ease,
    opacity 0.16s ease;
}
input[type="checkbox"]:checked {
  border-color: #a855f7 !important;
  background: linear-gradient(145deg, #c084fc, #7c3aed) !important;
  box-shadow:
    0 0 0 3px rgba(168, 85, 247, 0.15),
    0 7px 18px rgba(124, 58, 237, 0.22);
}
input[type="checkbox"]:checked:before {
  transform: rotate(-45deg) scale(1);
  opacity: 1;
}
input[type="checkbox"]:hover {
  border-color: #a56bd3 !important;
  transform: translateY(-1px);
}
input[type="checkbox"]:focus-visible {
  outline: 2px solid #d8b4fe;
  outline-offset: 3px;
}
.btn,
.pay-option,
.search-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn {
  border-radius: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  background: linear-gradient(145deg, #1d1725, #131019);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 8px 24px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}
.btn:after,
.pay-option:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.09) 48%,
    transparent 76%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.btn:hover:after,
.pay-option:hover:after {
  transform: translateX(120%);
}
.btn:hover {
  transform: translateY(-2px);
  border-color: #755493;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 30px rgba(0, 0, 0, 0.25);
}
.btn:active {
  transform: translateY(0) scale(0.97);
}
.btn:focus-visible,
.pay-option:focus-visible,
.search-item:focus-visible {
  outline: 2px solid #c084fc;
  outline-offset: 3px;
}
.btn.primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 12px 34px rgba(124, 58, 237, 0.38);
}
.btn.danger {
  background: linear-gradient(145deg, #29161e, #171015);
}
.panel,
.feature,
.price-card,
.metric {
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}
.panel:hover,
.feature:hover,
.metric:hover {
  border-color: #49375b;
}
.feature:hover,
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}
.auth-card,
.hero > * {
  animation: page-rise 0.42s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.content > * {
  animation: page-rise 0.38s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.content > *:nth-child(2) {
  animation-delay: 0.035s;
}
.content > *:nth-child(3) {
  animation-delay: 0.07s;
}
.content > *:nth-child(4) {
  animation-delay: 0.105s;
}
.modal {
  animation: modal-in 0.22s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}
.modal-backdrop {
  animation: fade-in 0.18s ease both;
}
.toast {
  animation: toast-in 0.26s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}
@keyframes page-rise {
  from {
    opacity: 0;
    transform: translateY(13px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
.auth-card {
  width: min(520px, 100%);
}
.check-row,
.field label:has(> input[type="checkbox"]) {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
  margin: 0;
  color: var(--muted);
  cursor: pointer;
}
.check-row input[type="checkbox"],
.field label:has(> input[type="checkbox"]) input[type="checkbox"] {
  flex: 0 0 20px;
  margin: 1px 0 0 !important;
  align-self: flex-start;
}
.check-row span {
  min-width: 0;
}
.compact-check {
  align-items: center !important;
  color: #c7bdcf;
}
.compact-check input[type="checkbox"] {
  align-self: center !important;
  margin-top: 0 !important;
}
.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 8px;
}
.human-check {
  padding: 6px;
  border: 1px solid #3b2b4d;
  border-radius: 16px;
  background: linear-gradient(145deg, #110d18, #0b0910);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.human-check.verified {
  border-color: #8453b1;
  box-shadow:
    0 0 0 3px rgba(168, 85, 247, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.human-confirm {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.human-confirm:disabled {
  cursor: wait;
  opacity: 0.75;
}
.human-confirm b,
.human-confirm small {
  display: block;
}
.human-confirm small {
  margin-top: 2px;
  color: var(--muted);
}
.human-box {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid #73558e;
  border-radius: 7px;
  color: #f3e8ff;
  font-weight: 800;
  background: #130e1b;
}
.human-check.verified .human-box {
  border-color: #a855f7;
  background: #6d28d9;
}
.human-box.loading {
  border-color: #a855f7;
  border-top-color: transparent;
  border-radius: 50%;
  animation: human-spin 0.65s linear infinite;
}
.human-state {
  font-size: 12px;
  color: #c7a5e8;
  text-align: right;
}
@keyframes human-spin {
  to {
    transform: rotate(360deg);
  }
}
.advanced-settings {
  display: grid;
  gap: 10px;
}
.config-section {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d0a12;
  overflow: hidden;
}
.config-section summary {
  padding: 15px 17px;
  color: #e9dcf7;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.config-section summary::-webkit-details-marker {
  display: none;
}
.config-section summary:after {
  content: "+";
  float: right;
  color: #aa78d5;
  font-size: 20px;
}
.config-section[open] summary:after {
  content: "−";
}
.config-section[open] summary {
  border-bottom: 1px solid var(--line);
}
.config-section > .form-grid {
  padding: 16px;
}
.config-toggle {
  padding: 8px 0;
}
.config-toggle span b,
.config-toggle span small {
  display: block;
}
.config-toggle span small {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 400;
}
.runtime-alert {
  padding: 11px 14px;
  border: 1px solid #3c3048;
  border-radius: 12px;
  background: #100c16;
  color: #bfb2c9;
}
.runtime-alert.warning {
  border-color: #765b28;
  background: #1c160b;
  color: #f0ce83;
}
.runtime-alert.danger {
  border-color: #743342;
  background: #201016;
  color: #f1a2b5;
}
.content > .page-title .actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}
.performance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.performance-grid .metric b {
  font-size: 22px;
}
.performance-grid .metric span {
  display: block;
}
.status-components {
  display: grid;
  gap: 12px;
  max-width: 760px;
}
.status-component {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}
.status-component b,
.status-component small {
  display: block;
}
.status-component small {
  color: var(--muted);
  margin-top: 3px;
}
@media (max-width: 700px) {
  .performance-grid {
    grid-template-columns: 1fr;
  }
}
.cycle-map-list {
  display: grid;
  gap: 14px;
}
.cycle-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0d0a12;
}
.cycle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.cycle-head span {
  color: var(--muted);
  font-size: 12px;
}
.cycle-steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cycle-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #716879;
  font-size: 11px;
  text-align: center;
}
.cycle-step:not(:last-child):after {
  content: "";
  position: absolute;
  top: 13px;
  left: 62%;
  width: 76%;
  height: 2px;
  background: #30273a;
}
.cycle-step i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #3a3044;
  background: #15111b;
  font-style: normal;
}
.cycle-step.done,
.cycle-step.current {
  color: #eadcf8;
}
.cycle-step.done i {
  background: #392052;
  border-color: #8a52b6;
}
.cycle-step.done:after {
  background: #75449e;
}
.cycle-step.current i {
  border-color: #c084fc;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.14);
}
.cycle-step.error i {
  border-color: #ff6b81;
  background: #35151e;
  color: #ff9aad;
}
.profit-panel.profit-warning {
  border-color: #713141;
}
.profit-bars {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.profit-row {
  display: grid;
  grid-template-columns: 140px 1fr 90px;
  align-items: center;
  gap: 12px;
}
.profit-row b {
  text-align: right;
}
.profit-track {
  height: 8px;
  border-radius: 99px;
  background: #282130;
  overflow: hidden;
}
.profit-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #c084fc);
}
.profit-row.anomaly {
  color: #ff9aad;
}
.profit-row.anomaly .profit-track i {
  background: #ff6b81;
}
@media (max-width: 700px) {
  .cycle-steps {
    overflow: auto;
    grid-template-columns: repeat(7, 74px);
    padding-bottom: 5px;
  }
  .cycle-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .profit-row {
    grid-template-columns: 90px 1fr 70px;
  }
}
@media (max-width: 420px) {
  .human-confirm {
    grid-template-columns: 28px 1fr;
  }
  .human-state {
    grid-column: 2;
    text-align: left;
  }
}
.recipient-manager {
  grid-column: 1/-1;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #49375b;
  border-radius: 18px;
  background: linear-gradient(145deg, #120d19, #0b0910);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.recipient-manager[hidden] {
  display: none;
}
.recipient-manager-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.recipient-manager-head h4 {
  margin: 0 0 3px;
  font-size: 17px;
}
.recipient-list {
  display: grid;
  gap: 10px;
}
.recipient-card {
  display: grid;
  grid-template-columns: 36px 112px 112px minmax(160px, 1fr) minmax(
      160px,
      1fr
    ) 36px;
  align-items: end;
  gap: 12px;
  padding: 13px;
  border: 1px solid #33283e;
  border-radius: 15px;
  background: #0d0a12;
  animation: page-rise 0.2s ease both;
}
.proxy-rule-card {
  grid-template-columns: 36px 112px 112px minmax(240px, 1fr) 36px;
}
.schedule-hint {
  margin: 0;
  line-height: 1.5;
}
.recipient-number {
  align-self: center;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(145deg, #7c3aed, #a855f7);
  color: #fff;
  font-weight: 800;
}
.recipient-remove {
  align-self: center;
  width: 34px;
  padding: 7px;
}
.recipient-distribution {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #cbb9da;
}
@media (max-width: 900px) {
  .recipient-manager-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .recipient-card {
    grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr) 34px;
  }
  .recipient-card .field:nth-of-type(n + 3) {
    grid-column: 2 / 4;
  }
  .recipient-remove {
    grid-column: 4;
    grid-row: 1;
  }
  .recipient-number {
    grid-row: 1;
  }
  .proxy-rule-card .proxy-rule-value {
    grid-column: 2 / 4;
  }
}
.admin-audit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.admin-audit-head h3 {
  margin: 0;
}
.admin-audit-open {
  border-color: #49375b;
}
