:root {
  --bg: #070807;
  --panel: #11150f;
  --panel-2: #171d14;
  --text: #f2f6f8;
  --muted: #a9afa5;
  --line: rgba(255, 255, 255, 0.1);
  --teal: #c9ff4a;
  --amber: #ffb02e;
  --blue: #6fe8ff;
  --red: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(201, 255, 74, 0.16), transparent 28%),
    radial-gradient(circle at 82% 28%, rgba(255, 176, 46, 0.12), transparent 24%),
    linear-gradient(180deg, #0d100b 0%, var(--bg) 42%, #0a0c08 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    radial-gradient(circle at 12px 18px, rgba(255, 176, 46, 0.16) 0 3px, transparent 4px),
    radial-gradient(circle at 42px 44px, rgba(201, 255, 74, 0.1) 0 2px, transparent 4px);
  background-size: 74px 62px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85), transparent 70%);
  opacity: 0.72;
  animation: spotsDrift 18s linear infinite;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(115deg, transparent 0 45%, rgba(201, 255, 74, 0.08) 48%, transparent 52% 100%);
  transform: translateX(-35%);
  animation: sweep 8s ease-in-out infinite;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 7, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(201, 255, 74, 0.42);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(201, 255, 74, 0.2), rgba(255, 176, 46, 0.14));
  font-size: 18px;
  box-shadow: 0 0 26px rgba(201, 255, 74, 0.14);
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a:hover,
.ghost-link:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.ghost-link {
  color: var(--muted);
}

.primary-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 700;
}

.primary-link {
  padding: 0 16px;
  background: var(--teal);
  color: #111703;
}

button {
  font-family: inherit;
}

input,
textarea,
select {
  font: inherit;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 52px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 84px 40px 52px;
  align-items: center;
  min-height: calc(100vh - 72px);
  overflow: hidden;
}

.motion-layer {
  position: absolute;
  inset: 0 20px;
  pointer-events: none;
  overflow: hidden;
}

.streak {
  position: absolute;
  width: 28vw;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(201, 255, 74, 0.8), rgba(255, 176, 46, 0.48), transparent);
  filter: blur(0.2px);
  transform: skewX(-18deg);
  animation: streakRun 4.8s ease-in-out infinite;
}

.s1 {
  top: 22%;
  left: -24%;
}

.s2 {
  top: 48%;
  left: -32%;
  animation-delay: 1.4s;
}

.s3 {
  top: 74%;
  left: -28%;
  animation-delay: 2.7s;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  text-shadow: 0 0 34px rgba(201, 255, 74, 0.08);
}

.hero-title span {
  display: block;
}

.hero-lede {
  max-width: 660px;
  color: #c6d0d7;
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.button {
  padding: 0 20px;
}

.button.primary {
  background: var(--teal);
  color: #111703;
  box-shadow: 0 12px 34px rgba(201, 255, 74, 0.16);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 0;
}

.hero-metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.07), transparent),
    rgba(255, 255, 255, 0.04);
}

.hero-metrics dt {
  font-size: 26px;
  font-weight: 800;
  color: #fbffe9;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 29, 20, 0.98), rgba(9, 11, 8, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: panelFloat 5.5s ease-in-out infinite;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.panel-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #49513f;
}

.panel-bar strong {
  margin-left: 8px;
  font-weight: 650;
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.stat-card,
.route-card,
.chart-card,
.provider-card,
.module-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.045), transparent 48%),
    rgba(255, 255, 255, 0.045);
}

.stat-card,
.route-card,
.chart-card,
.provider-card {
  padding: 18px;
}

.stat-card span,
.route-head span,
.chart-head span {
  color: var(--muted);
  font-size: 13px;
}

.stat-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 28px;
}

.stat-card em {
  color: var(--teal);
  font-style: normal;
  font-size: 13px;
}

.stat-card .steady {
  color: var(--blue);
}

.route-card,
.chart-card {
  grid-column: span 2;
}

.route-head,
.chart-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.route-flow {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  align-items: center;
  gap: 8px;
}

.route-flow span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(201, 255, 74, 0.26);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.08);
  color: #f5ffd3;
  font-size: 13px;
}

.route-flow i {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--amber), transparent);
  background-size: 200% 100%;
  animation: routePulse 2s linear infinite;
}

.bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 148px;
  padding-top: 12px;
}

.bars span {
  flex: 1;
  min-width: 18px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--teal), rgba(255, 176, 46, 0.46), rgba(111, 232, 255, 0.22));
  transform-origin: bottom;
  animation: barPulse 2.6s ease-in-out infinite;
}

.bars span:nth-child(2n) {
  animation-delay: 0.24s;
}

.bars span:nth-child(3n) {
  animation-delay: 0.48s;
}

.provider-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.provider-card div,
.status-board div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dbe5ea;
  font-size: 14px;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot.ok {
  background: var(--teal);
  box-shadow: 0 0 16px rgba(201, 255, 74, 0.62);
}

.dot.warn {
  background: var(--amber);
  box-shadow: 0 0 16px rgba(244, 185, 91, 0.45);
}

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 72px 40px;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  padding: 22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 176, 46, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.035);
}

.feature strong {
  display: block;
  margin-bottom: 8px;
}

.feature span,
.section-heading p,
.module-grid p,
.steps p,
.status-copy p {
  color: var(--muted);
  line-height: 1.72;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2,
.status-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--muted);
  font-weight: 700;
}

td {
  color: #e5edf1;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(201, 255, 74, 0.12);
  color: #ecffad;
  font-size: 12px;
}

.quick-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 22px;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.steps article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.14);
  color: var(--teal);
  font-weight: 800;
}

.steps h3,
.module-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.quick-code-column {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.key-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.035);
}

.key-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.key-card-head span,
.key-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.key-card-head strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.mini-link,
.key-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(201, 255, 74, 0.28);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.1);
  color: #ecffad;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.mini-link {
  padding: 0 12px;
}

.key-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.72);
}

.key-row code {
  overflow: hidden;
  color: #d8f7ef;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.key-row button {
  padding: 0 10px;
  cursor: pointer;
}

.copy-toast {
  min-height: 20px;
  color: #ecffad;
  font-size: 12px;
}

.auth-page {
  min-height: 100vh;
}

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

.auth-brand {
  position: fixed;
  top: 24px;
  left: 24px;
}

.auth-card {
  width: min(520px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.08), transparent 62%),
    rgba(17, 21, 15, 0.94);
}

.auth-card h1 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.12;
}

.auth-card p,
.account-muted {
  color: #c6d0d7;
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.auth-form label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.82);
  color: var(--text);
  padding: 0 14px;
}

.auth-form input::placeholder {
  color: #98a49e;
}

.auth-code-row {
  display: grid;
  grid-template-columns: minmax(170px, auto) 1fr;
  gap: 10px;
  align-items: center;
}

.code-preview {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px dashed rgba(201, 255, 74, 0.28);
  border-radius: 8px;
  color: #ecffad;
  font-size: 13px;
}

.text-button {
  width: fit-content;
  min-height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  text-align: left;
}

.text-button:hover {
  color: var(--text);
}

.form-status {
  min-height: 20px;
  color: #ecffad;
  font-size: 13px;
}

.auth-note {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(201, 255, 74, 0.18);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.07);
}

.auth-note span {
  color: var(--muted);
  line-height: 1.6;
}

.account-header {
  position: sticky;
}

.account-email {
  max-width: 220px;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 52px 40px 80px;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.account-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
}

.account-hero p {
  max-width: 720px;
  color: #c6d0d7;
  line-height: 1.75;
}

.account-balance-card,
.account-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.06), transparent 58%),
    rgba(255, 255, 255, 0.035);
}

.account-balance-card {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
}

.account-balance-card span,
.panel-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.account-balance-card strong {
  font-size: 42px;
}

.account-balance-card em {
  color: #ecffad;
  font-style: normal;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
  margin-bottom: 30px;
}

.account-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.account-metric-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.06), transparent 60%),
    rgba(255, 255, 255, 0.035);
}

.account-metric-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.account-metric-grid strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 28px;
}

.account-metric-grid em {
  color: #ecffad;
  font-size: 12px;
  font-style: normal;
}

.account-panel {
  padding: 22px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

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

.account-key {
  display: block;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.8);
  color: #d8f7ef;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-key-row {
  margin-bottom: 14px;
}

.account-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-checklist li,
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.58);
}

.account-checklist span,
.order-row span {
  color: var(--muted);
  font-size: 13px;
}

.account-buy {
  padding-inline: 0;
}

.account-plan {
  display: grid;
  gap: 10px;
}

.account-plan .button {
  margin-top: 6px;
}

.account-orders {
  display: grid;
  gap: 10px;
}

.usage-bars,
.route-list {
  display: grid;
  gap: 12px;
}

.usage-bar-row,
.route-list-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.58);
}

.usage-bar-row span,
.route-list-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.usage-bar-row i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.usage-bar-row b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.usage-bar-row em,
.route-list-row em {
  color: #ecffad;
  font-style: normal;
  text-align: right;
}

.route-list-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.route-list-row em {
  min-width: 54px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  text-align: center;
}

.route-list-row em.ok {
  background: rgba(201, 255, 74, 0.12);
}

.route-list-row em.warn {
  background: rgba(255, 176, 46, 0.14);
  color: #ffd896;
}

.order-row em {
  color: #ecffad;
  font-style: normal;
  text-align: right;
}

.code-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #070a0d;
}

.code-tabs {
  display: flex;
  gap: 1px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

.code-tabs button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: default;
}

.code-tabs [data-copy-snippet] {
  margin-left: auto;
  border: 1px solid rgba(201, 255, 74, 0.24);
  background: rgba(201, 255, 74, 0.08);
  color: #ecffad;
  cursor: pointer;
}

.code-tabs .active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  color: #d8f7ef;
  font-size: 13px;
  line-height: 1.72;
}

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

.module-grid article,
.plan-card,
.flow-board div,
.profit-grid article {
  padding: 20px;
}

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

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

.launch-grid article {
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.05), transparent 50%),
    rgba(255, 255, 255, 0.04);
}

.launch-tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(201, 255, 74, 0.13);
  color: #ecffad;
  font-size: 12px;
  font-weight: 760;
}

.launch-tag.need {
  background: rgba(255, 176, 46, 0.14);
  color: #ffd896;
}

.launch-tag.guard {
  background: rgba(111, 232, 255, 0.12);
  color: #c5f7ff;
}

.launch-grid h3 {
  margin: 18px 0 12px;
  font-size: 22px;
}

.launch-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.launch-grid li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--teal);
  transform: translateY(-50%);
}

.plan-card,
.flow-board div,
.profit-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.06), transparent 48%),
    rgba(255, 255, 255, 0.04);
}

.plan-card span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 176, 46, 0.14);
  color: #ffd896;
  font-size: 12px;
  font-weight: 700;
}

.plan-card h3 {
  margin: 18px 0 10px;
}

.plan-card strong,
.profit-grid strong {
  display: block;
  color: #fbffe9;
  font-size: 34px;
  line-height: 1;
}

.plan-card p {
  margin: 14px 0 8px;
  color: var(--text);
  font-weight: 700;
}

.plan-card em,
.profit-grid em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.console-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  max-width: 1680px;
  margin: 34px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #101110;
}

.console-sidebar {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: calc(100vh - 72px);
  min-height: 720px;
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0b0a;
}

.console-brand {
  margin-bottom: 8px;
}

.side-block {
  display: grid;
  gap: 8px;
}

.side-block > span {
  color: #6f746c;
  font-size: 13px;
}

.side-block a,
.sidebar-collapse {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  color: #f2f2ee;
  font-size: 17px;
  font-weight: 750;
}

.side-block a.active {
  background: var(--amber);
  color: #17100a;
}

.sidebar-collapse {
  justify-content: center;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #303134;
  color: #b8bbb5;
  font: inherit;
}

.console-main {
  min-width: 0;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 176, 46, 0.03), transparent 32%),
    #141514;
}

.console-topline,
.panel-heading,
.console-tools,
.date-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.console-topline h2 {
  margin: 0;
  font-size: 34px;
}

.console-tools button,
.date-filter button,
.console-tabs button,
.route-box button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #2b2c2a;
  color: #f2f2ee;
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
}

.console-view {
  display: none;
}

.console-view.active {
  display: block;
}

.view-heading {
  max-width: 820px;
  margin-top: 26px;
}

.view-heading h3 {
  margin-bottom: 8px;
  color: #f7f7f3;
  font-size: 28px;
}

.view-heading p {
  color: #c4c4bd;
  line-height: 1.7;
}

.market-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.market-toolbar button,
.console-primary-action {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #2b2c2a;
  color: #f2f2ee;
  padding: 0 14px;
  font: inherit;
  font-weight: 750;
}

.market-toolbar button.active,
.console-primary-action {
  border-color: transparent;
  background: var(--amber);
  color: #17100a;
}

.market-grid,
.affiliate-console-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.market-card,
.console-card,
.console-list-row,
.empty-console-state {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: #2b2c2a;
  padding: 20px;
}

.market-card {
  display: grid;
  gap: 12px;
}

.market-card h3,
.console-card h3 {
  margin-bottom: 0;
  color: #f7f7f3;
}

.market-card p,
.console-card p,
.empty-console-state {
  color: #c4c4bd;
  line-height: 1.65;
}

.market-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.market-meta span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 176, 46, 0.12);
  color: #ffd896;
  font-size: 12px;
  font-weight: 750;
}

.market-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.market-price div {
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.market-price span,
.console-card span {
  display: block;
  margin-bottom: 6px;
  color: #a9aaa2;
  font-size: 13px;
}

.market-price strong,
.console-card strong {
  color: #f7f7f3;
  font-size: 24px;
}

.token-layout,
.wallet-console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.console-card code {
  display: block;
  margin: 14px 0;
  padding: 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: #dfffb5;
  overflow-x: auto;
}

.console-list,
.console-list-panel {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.console-list li,
.console-list-row {
  color: #d9d9d3;
  line-height: 1.6;
}

.console-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.console-list-row strong,
.console-list-row span {
  display: block;
}

.console-list-row span {
  margin-top: 4px;
  color: #a9aaa2;
}

.console-list-row em {
  color: var(--amber);
  font-style: normal;
  font-weight: 750;
}

.qr-mini-card div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.qr-mini-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 26px;
}

.dashboard-stats article,
.usage-panel,
.api-info-panel article {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: #2b2c2a;
}

.dashboard-stats article {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  min-height: 260px;
  padding: 32px;
}

.metric-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-size: 28px;
  font-weight: 850;
}

.metric-icon.mint {
  background: #8de5cf;
}

.metric-icon.violet {
  background: #8584ff;
}

.metric-icon.orange {
  background: #ffb05f;
}

.metric-icon.coral {
  background: #ff8588;
}

.dashboard-stats h3,
.usage-panel h3,
.api-info-panel h3 {
  margin-bottom: 8px;
  color: #f7f7f3;
  font-size: 22px;
}

.dashboard-stats p,
.usage-panel p,
.api-info-panel p {
  color: #c4c4bd;
  line-height: 1.65;
}

.dashboard-stats dl {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  margin: 12px 0 0;
}

.dashboard-stats dl div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.58);
}

.dashboard-stats dt {
  color: #d7d7d1;
  font-size: 16px;
  font-weight: 650;
}

.dashboard-stats dd {
  margin: 0;
  color: #f7f7f3;
  font-size: 28px;
  font-weight: 820;
}

.dashboard-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  margin-top: 26px;
}

.usage-panel,
.api-info-panel article {
  padding: 28px;
}

.date-filter {
  justify-content: flex-end;
}

.date-filter span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 8px;
  background: #3b3c39;
  color: #9d9d96;
}

.date-filter button.active,
.console-tabs button.active,
.route-box button:first-child {
  border-color: transparent;
  background: var(--amber);
  color: #17100a;
}

.console-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 650px;
  margin: 28px 0 24px;
  padding: 8px;
  border-radius: 12px;
  background: #383936;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 24px;
  min-height: 280px;
  padding: 28px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.chart-bar {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 10px;
  min-width: 72px;
  flex: 1;
  color: #c7c7c0;
  font-size: 12px;
}

.chart-bar span {
  display: block;
  width: 100%;
  min-height: 8px;
  border-radius: 6px 6px 0 0;
  background: #79a5f5;
}

.chart-bar em {
  color: #a9aaa2;
  font-style: normal;
  text-align: center;
}

.api-info-panel {
  display: grid;
  gap: 26px;
}

.route-box {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: #30312e;
}

.route-box span {
  color: #f5f5ee;
  font-weight: 750;
}

.route-box em {
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 176, 46, 0.14);
  color: var(--amber);
  font-style: normal;
  font-size: 12px;
}

.route-box strong {
  color: var(--amber);
  font-size: 20px;
  line-height: 1.35;
  word-break: break-all;
}

.route-box p {
  margin: 0;
  color: #6ff0a2;
  font-weight: 700;
}

.route-box div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.api-info-panel ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.api-info-panel li {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  color: #d9d9d3;
  line-height: 1.55;
}

.flow-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.flow-board span {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 800;
}

.flow-board strong,
.profit-grid span {
  display: block;
  margin-bottom: 8px;
}

.flow-board p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.profit-grid span {
  color: var(--muted);
  font-size: 13px;
}

.profit-grid strong {
  margin-bottom: 10px;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}

.wallet-card,
.key-card,
.call-card,
.ledger-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.055), transparent 52%),
    rgba(255, 255, 255, 0.04);
  padding: 20px;
}

.wallet-head,
.key-head,
.ledger-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.ledger-head {
  align-items: center;
}

.ledger-head h3 {
  margin: 0;
}

.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.wallet-head span,
.key-head span,
.form-grid span,
.ledger-stats span,
.lab-controls span,
.lab-metrics span,
.lab-hero-metric span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.lab-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 14px;
}

.lab-controls,
.lab-results {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.055), transparent 52%),
    rgba(255, 255, 255, 0.04);
  padding: 20px;
}

.lab-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lab-controls label:first-child {
  grid-column: span 2;
}

.lab-controls input,
.lab-controls select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}

.lab-results {
  display: grid;
  gap: 14px;
}

.lab-hero-metric {
  position: relative;
  min-height: 142px;
  padding: 22px;
  border: 1px solid rgba(201, 255, 74, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 176, 46, 0.18), transparent 30%),
    rgba(201, 255, 74, 0.07);
  overflow: hidden;
}

.lab-hero-metric::after {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 170px;
  height: 90px;
  content: "";
  border: 1px solid rgba(201, 255, 74, 0.18);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.lab-hero-metric strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 10px 0;
  color: #fbffe9;
  font-size: 44px;
  line-height: 1;
}

.lab-hero-metric em {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(201, 255, 74, 0.13);
  color: #ecffad;
  font-style: normal;
  font-weight: 760;
}

.lab-hero-metric em.is-risky {
  background: rgba(255, 176, 46, 0.14);
  color: #ffe0a6;
}

.lab-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.lab-metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.lab-metrics strong {
  color: #fbffe9;
  font-size: 24px;
  line-height: 1.15;
}

.lab-advice {
  padding: 14px;
  border: 1px solid rgba(201, 255, 74, 0.14);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.06);
  color: #e9f7c4;
  line-height: 1.7;
}

.wallet-head strong {
  color: #fbffe9;
  font-size: 42px;
  line-height: 1;
}

.key-head strong {
  color: #fbffe9;
  font-size: 24px;
}

.small-button,
.topup-row button {
  min-height: 36px;
  border: 1px solid rgba(201, 255, 74, 0.24);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.1);
  color: #f2ffd2;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.small-button {
  padding: 0 12px;
}

.small-button.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.topup-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.wallet-note,
.call-result,
.risk-banner {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(201, 255, 74, 0.14);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.06);
  color: #e9f7c4;
  line-height: 1.6;
}

.topup-orders {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.topup-orders p,
.topup-order {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.topup-order {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
}

.topup-order strong,
.topup-order span,
.topup-order small {
  display: block;
}

.topup-order span {
  grid-column: 1 / 2;
  color: var(--muted);
  line-height: 1.55;
}

.topup-order small {
  grid-column: 1 / 2;
  color: #dce8b7;
  font-size: 12px;
  line-height: 1.55;
}

.topup-order button {
  grid-row: 1 / span 3;
  grid-column: 2 / 3;
  min-height: 34px;
  border: 1px solid rgba(201, 255, 74, 0.26);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.12);
  color: #f2ffd2;
  font: inherit;
  font-weight: 760;
}

.topup-order.confirmed {
  border-color: rgba(201, 255, 74, 0.2);
  background: rgba(201, 255, 74, 0.055);
}

.key-card code {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: #dfffb5;
  overflow-x: auto;
}

.key-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.call-card,
.ledger-card {
  grid-column: span 2;
}

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

.form-grid input,
.form-grid select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}

.full-button {
  width: 100%;
  margin-top: 16px;
  border: 0;
  cursor: pointer;
}

.call-result.is-risky,
.risk-banner.is-risky {
  border-color: rgba(255, 176, 46, 0.32);
  background: rgba(255, 176, 46, 0.1);
  color: #ffe0a6;
}

.ledger-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ledger-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.ledger-stats strong {
  color: #fbffe9;
  font-size: 26px;
}

.ledger-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.ledger-list div,
.ledger-list p {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.ledger-list strong,
.ledger-list span {
  display: block;
}

.ledger-list span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.55;
}

.ops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ops-summary {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ops-summary div,
.ops-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.055), transparent 52%),
    rgba(255, 255, 255, 0.04);
}

.ops-summary div {
  padding: 18px;
}

.ops-summary span,
.ops-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.ops-summary strong {
  display: block;
  color: #fbffe9;
  font-size: 30px;
  line-height: 1.1;
}

.ops-summary em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

.ops-panel {
  padding: 20px;
}

.ops-head {
  margin-bottom: 14px;
}

.ops-head strong {
  display: block;
  color: #fbffe9;
  font-size: 18px;
}

.ops-list {
  display: grid;
  gap: 8px;
}

.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.qr-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.qr-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
}

.qr-grid figcaption {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.ops-list p,
.ops-row {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.ops-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.ops-row strong,
.ops-row span {
  display: block;
}

.ops-row span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.55;
}

.ops-row button {
  min-height: 34px;
  border: 1px solid rgba(201, 255, 74, 0.26);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.12);
  color: #f2ffd2;
  font: inherit;
  font-weight: 760;
}

.ops-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.ops-row.pending {
  border-color: rgba(255, 176, 46, 0.24);
  background: rgba(255, 176, 46, 0.07);
}

.ops-row.confirmed {
  border-color: rgba(201, 255, 74, 0.18);
}

.price-admin-grid,
.rule-grid,
.channel-grid,
.payment-grid,
.affiliate-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 14px;
}

.price-form,
.price-watch,
.rule-form,
.channel-form,
.payment-form,
.affiliate-form,
.affiliate-results {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.055), transparent 52%),
    rgba(255, 255, 255, 0.04);
  padding: 20px;
}

.affiliate-results {
  display: grid;
  gap: 14px;
}

.affiliate-hero {
  min-height: 132px;
}

.form-grid.compact {
  grid-template-columns: repeat(3, 1fr);
}

.wide-field {
  grid-column: span 3;
}

.form-grid textarea {
  width: 100%;
  min-height: 94px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  line-height: 1.55;
}

.price-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.price-actions .button {
  border: 0;
  cursor: pointer;
}

.price-preview {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(201, 255, 74, 0.14);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.06);
  color: #e9f7c4;
  line-height: 1.6;
}

.price-preview.is-risky {
  border-color: rgba(255, 176, 46, 0.32);
  background: rgba(255, 176, 46, 0.1);
  color: #ffe0a6;
}

.export-preview {
  display: block;
  max-height: 260px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
  white-space: pre-wrap;
}

.export-preview:empty {
  display: none;
}

.status {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.status-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.status-board div {
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.status-board strong {
  margin-left: auto;
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1360px) {
  .console-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .console-main {
    padding: 28px;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .market-grid,
  .affiliate-console-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-stats article {
    min-height: 230px;
    padding: 24px;
  }

  .dashboard-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .api-info-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 20px;
  }

  .top-nav {
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-actions {
    display: none;
  }

  .hero,
  .quick-grid,
  .status,
  .account-hero,
  .account-grid,
  .simulator-grid,
  .console-shell,
  .dashboard-body,
  .price-admin-grid,
  .rule-grid,
  .channel-grid,
  .payment-grid,
  .affiliate-grid,
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .console-sidebar {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    padding: 18px 20px;
  }

  .side-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-block > span {
    grid-column: 1 / -1;
  }

  .sidebar-collapse {
    display: none;
  }

  .console-main {
    padding: 24px 20px;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-heading,
  .console-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .date-filter {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 0;
    padding: 56px 20px 34px;
  }

  .section {
    padding: 54px 20px;
  }

  .strip,
  .module-grid,
  .launch-grid,
  .plan-grid,
  .flow-board,
  .profit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel {
    width: 100%;
  }

  .call-card,
  .ledger-card {
    grid-column: span 1;
  }

  .form-grid,
  .form-grid.compact,
  .ledger-stats,
  .ops-summary,
  .lab-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .wide-field {
    grid-column: span 2;
  }

  .ops-grid {
    grid-template-columns: 1fr;
  }

  .ops-summary {
    grid-column: span 1;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 15px;
  }

  .top-nav {
    gap: 16px;
    font-size: 13px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.06;
  }

  .hero-metrics,
  .strip,
  .module-grid,
  .launch-grid,
  .plan-grid,
  .flow-board,
  .profit-grid,
  .dashboard-stats,
  .status-board,
  .provider-card {
    grid-template-columns: 1fr;
  }

  .console-shell {
    margin-top: 16px;
  }

  .console-sidebar {
    gap: 14px;
  }

  .side-block {
    grid-template-columns: 1fr;
  }

  .side-block a {
    min-height: 38px;
    font-size: 15px;
  }

  .dashboard-stats article {
    grid-template-columns: 56px 1fr;
    min-height: 0;
    padding: 18px;
  }

  .metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 22px;
  }

  .dashboard-stats dd {
    font-size: 24px;
  }

  .date-filter span {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .date-filter button {
    flex: 1;
    min-width: 0;
  }

  .bar-chart {
    gap: 10px;
    min-height: 220px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-inline: 4px;
  }

  .chart-bar {
    min-width: 52px;
  }

  .usage-panel,
  .api-info-panel article,
  .route-box {
    min-width: 0;
  }

  .console-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .route-card,
  .chart-card,
  .provider-card {
    grid-column: span 1;
  }

  .route-flow {
    grid-template-columns: 1fr;
  }

  .route-flow i {
    width: 1px;
    height: 18px;
    justify-self: center;
    background: linear-gradient(180deg, transparent, var(--teal), var(--amber), transparent);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .account-shell {
    padding: 34px 20px 60px;
  }

  .account-metric-grid {
    grid-template-columns: 1fr;
  }

  .auth-brand {
    position: static;
    justify-self: start;
    margin-bottom: 24px;
  }

  .auth-shell {
    align-content: start;
    place-items: stretch;
  }

  .key-card-head,
  .key-row,
  .auth-code-row,
  .usage-bar-row {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .key-card-head {
    display: grid;
  }

  .mini-link,
  .auth-code-row .button,
  .key-row button,
  .panel-title,
  .account-checklist li,
  .order-row {
    width: 100%;
  }

  .panel-title,
  .account-checklist li,
  .order-row {
    align-items: stretch;
    flex-direction: column;
  }

  .order-row em {
    text-align: left;
  }

  .code-tabs {
    flex-wrap: wrap;
  }

  .code-tabs [data-copy-snippet] {
    margin-left: 0;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 20px;
  }

  .topup-row,
  .form-grid,
  .form-grid.compact,
  .ledger-stats,
  .ops-summary,
  .lab-controls,
  .lab-metrics,
  .market-grid,
  .token-layout,
  .wallet-console-grid,
  .affiliate-console-grid,
  .api-info-panel,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .console-list-row {
    grid-template-columns: 1fr;
  }

  .wide-field {
    grid-column: span 1;
  }

  .lab-controls label:first-child {
    grid-column: span 1;
  }

  .lab-hero-metric strong {
    font-size: 34px;
  }

  .wallet-head,
  .key-head,
  .ledger-head,
  .topup-order {
    grid-template-columns: 1fr;
  }

  .topup-order span,
  .topup-order small,
  .topup-order button,
  .ops-row button,
  .ops-row em {
    grid-column: auto;
    grid-row: auto;
  }

  .ops-row {
    grid-template-columns: 1fr;
  }

  .wallet-actions {
    justify-content: stretch;
  }

  .wallet-actions .small-button {
    flex: 1;
  }
}

@keyframes spotsDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 148px 62px, -74px 124px;
  }
}

@keyframes sweep {
  0%,
  100% {
    transform: translateX(-45%);
    opacity: 0;
  }

  45%,
  55% {
    opacity: 1;
  }

  70% {
    transform: translateX(45%);
    opacity: 0;
  }
}

@keyframes streakRun {
  0% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }

  20% {
    opacity: 0.85;
  }

  70% {
    opacity: 0.35;
  }

  100% {
    transform: translateX(140vw) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes panelFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes routePulse {
  from {
    background-position: 0 0;
  }

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

@keyframes barPulse {
  0%,
  100% {
    transform: scaleY(0.92);
    filter: saturate(0.9);
  }

  50% {
    transform: scaleY(1.04);
    filter: saturate(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
