:root {
  --bg: #f7fbff;
  --panel: rgba(255, 255, 255, 0.8);
  --panel-solid: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(148, 163, 184, 0.22);
  --brand: #0f766e;
  --brand-2: #2563eb;
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.12);
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --teal-soft: rgba(15, 118, 110, 0.14);
  --blue-soft: rgba(37, 99, 235, 0.14);
  --warning: #f59e0b;
  --success: #059669;
  --danger: #dc2626;
  --home-panel: rgba(255, 255, 255, 0.7);
  --home-line: rgba(168, 190, 220, 0.16);
  --home-glow: 0 30px 90px rgba(116, 172, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(126, 179, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(118, 221, 205, 0.08), transparent 22%),
    linear-gradient(180deg, #fcfeff 0%, #f4f9ff 50%, #eff6ff 100%);
  overflow-x: hidden;
}

body[data-page="home"],
body[data-page="docs"],
body[data-page="login"],
body[data-page="register"] {
  background:
    radial-gradient(circle at 10% 6%, rgba(138, 186, 255, 0.18), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(108, 225, 206, 0.12), transparent 22%),
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.94), rgba(245, 250, 255, 0.82) 34%, transparent 70%),
    linear-gradient(180deg, #feffff 0%, #f7fbff 34%, #f2f8ff 68%, #edf5ff 100%);
}

body[data-page="home"] {
  background:
    radial-gradient(circle at 50% 18%, rgba(44, 82, 255, 0.92), rgba(19, 40, 137, 0.98) 38%, rgba(4, 6, 28, 1) 72%),
    linear-gradient(180deg, #080816 0%, #080816 100%);
  color: #f5f7ff;
}

body[data-page="home"] .site-shell,
body[data-page="home"] .section-title h2,
body[data-page="home"] .feature-card h3,
body[data-page="home"] .pricing-card h3,
body[data-page="home"] .doc-card h3,
body[data-page="home"] .price strong,
body[data-page="home"] .proof-pill strong,
body[data-page="home"] .board-cell strong {
  color: #f8faff;
}

body[data-page="home"] .subdued,
body[data-page="home"] .feature-card p,
body[data-page="home"] .pricing-card p,
body[data-page="home"] .doc-card p,
body[data-page="home"] .footer-bar,
body[data-page="home"] .hero-copy p,
body[data-page="home"] .module-list li,
body[data-page="home"] .proof-pill span,
body[data-page="home"] .board-cell span {
  color: rgba(235, 240, 255, 0.74);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.announcement-bar {
  position: relative;
  z-index: 3;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(235, 240, 255, 0.86);
  background: rgba(18, 22, 43, 0.92);
}

.announcement-bar a {
  color: #ffffff;
  font-weight: 600;
}

.site-nav,
.glass-card,
.pricing-card,
.doc-card,
.hero-panel,
.auth-card,
.console-card,
.table-panel,
.filter-bar,
.page-header {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.site-nav {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 999px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(129, 158, 205, 0.12);
}

body[data-page="home"] .site-nav {
  background: rgba(12, 12, 18, 0.045);
  border-color: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  backdrop-filter: blur(5px) saturate(104%);
  -webkit-backdrop-filter: blur(5px) saturate(104%);
}

body[data-page="home"] .brand-mark,
body[data-page="home"] .nav-links a,
body[data-page="home"] .nav-cta {
  color: #ffffff;
}

body[data-page="home"] .nav-links {
  color: rgba(235, 240, 255, 0.8);
}

body[data-page="home"] .nav-links a:hover,
body[data-page="home"] .nav-links a:focus-visible {
  color: #ffffff;
}

body[data-page="home"] .nav-cta {
  background: transparent;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.025);
}

.brand-mark {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: rgba(15, 23, 42, 0.58);
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 600;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 52%, #52a8ff 100%);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(29, 78, 216, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(180, 198, 224, 0.28);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-3px);
}

.hero {
  margin-top: 42px;
  padding: 36px 38px 42px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: stretch;
  min-height: 720px;
}

body[data-page="home"] .hero {
  min-height: calc(100vh - 86px);
  margin-top: 8px;
  padding: 48px 24px 120px;
  grid-template-columns: 1fr;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 24px 80px rgba(0, 0, 0, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.008)),
    rgba(10, 10, 18, 0.025);
  border-radius: 46px;
  backdrop-filter: blur(6px) saturate(105%);
  -webkit-backdrop-filter: blur(6px) saturate(105%);
  overflow: hidden;
}

body[data-page="home"] .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.03), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.018), transparent 22%);
  opacity: 0.45;
}

.hero-copy {
  padding: 34px 8px 28px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body[data-page="home"] .hero-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 0;
  z-index: 4;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body[data-page="home"] .eyebrow {
  background: rgba(10, 10, 18, 0.08);
  border-color: rgba(255, 255, 255, 0.06);
  color: rgba(238, 243, 255, 0.9);
  margin-left: auto;
  margin-right: auto;
}

.hero-kicker {
  margin-top: 18px;
  color: rgba(15, 23, 42, 0.58);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.auth-brand h1 {
  margin: 24px 0 20px;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

body[data-page="home"] .hero-copy h1 {
  font-size: clamp(176px, 19vw, 360px);
  line-height: 0.96;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-copy p,
.auth-brand p,
.feature-card p,
.pricing-card p,
.doc-card p,
.footer-bar,
.subdued,
.module-list li,
.table-row,
.page-header p,
.status-note,
.inline-note {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

body[data-page="home"] .hero-actions {
  justify-content: center;
}

body[data-page="home"] .button-primary {
  background: rgba(10, 10, 18, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body[data-page="home"] .button-secondary {
  background: rgba(10, 10, 18, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.hero-toggle-row {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-toggle {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 18, 0.08);
  color: rgba(240, 244, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.04);
}

.hero-toggle-active {
  background: rgba(89, 112, 255, 0.78);
  color: #ffffff;
}

.hero-command-bar {
  width: min(760px, 100%);
  margin: 28px auto 0;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  border-radius: 999px;
  background: rgba(26, 26, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

.hero-command-input,
.hero-command-side,
.hero-command-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.hero-command-input {
  padding: 0 20px;
  justify-content: start;
  color: rgba(236, 241, 255, 0.38);
  background: rgba(255, 255, 255, 0.01);
}

.hero-command-side {
  padding: 0 16px;
  color: rgba(236, 241, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}

.hero-command-button {
  padding: 0 24px;
  background: linear-gradient(135deg, #4c63ff 0%, #6677ff 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}

.hero-tag-row {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 18, 0.08);
  color: rgba(236, 241, 255, 0.94);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.26);
}

.hero-proofbar {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-floating-note {
  margin-top: 20px;
  color: rgba(15, 23, 42, 0.48);
  font-size: 14px;
  letter-spacing: 0.05em;
}

.proof-pill {
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 34px rgba(131, 158, 201, 0.1);
  backdrop-filter: blur(16px);
}

.proof-pill strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.proof-pill span {
  color: rgba(15, 23, 42, 0.62);
  font-size: 13px;
}

.hero-panel {
  border-radius: var(--radius-xl);
  padding: 24px;
  display: grid;
  gap: 22px;
  align-content: start;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.9), rgba(240, 247, 255, 0.72)),
    radial-gradient(circle at top right, rgba(123, 173, 255, 0.2), transparent 28%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--home-glow);
}

body[data-page="home"] .hero-panel {
  display: none;
}

.hero-orbit {
  position: relative;
  min-height: 330px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(120, 170, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(247,251,255,0.72));
  border: 1px solid rgba(255, 255, 255, 0.68);
}

.orbit-ring {
  position: absolute;
  inset: 50%;
  border-radius: 999px;
  border: 1px solid rgba(99, 126, 174, 0.16);
  transform: translate(-50%, -50%);
}

.orbit-ring-1 {
  width: 210px;
  height: 210px;
}

.orbit-ring-2 {
  width: 290px;
  height: 290px;
}

.orbit-ring-3 {
  width: 360px;
  height: 360px;
}

.orbit-core {
  position: absolute;
  inset: 50%;
  width: 170px;
  height: 170px;
  transform: translate(-50%, -50%);
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(255,255,255,0.98), rgba(232, 242, 255, 0.9));
  border: 1px solid rgba(255,255,255,0.86);
  box-shadow: 0 28px 48px rgba(124, 151, 192, 0.14);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
}

.orbit-core span {
  color: rgba(15, 23, 42, 0.56);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.orbit-core strong {
  font-size: 28px;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.orbit-node {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 30px rgba(129, 156, 198, 0.12);
  font-size: 13px;
  font-weight: 600;
}

.orbit-node-a {
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-node-b {
  right: 26px;
  top: 124px;
}

.orbit-node-c {
  left: 42px;
  bottom: 78px;
}

.orbit-node-d {
  right: 56px;
  bottom: 30px;
}

.hero-panel-copy {
  display: grid;
  gap: 18px;
}

body[data-page="home"] .section-title {
  align-items: center;
  margin-bottom: 24px;
}

body[data-page="home"] .section-title p {
  max-width: 420px;
  font-size: 15px;
}

body[data-page="home"] .section-title h2 {
  max-width: 740px;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 0.98;
}

.status-pill,
.metric-chip,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mini-card,
.route-card,
.status-board,
.auth-note,
.stat-card,
.module-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(181, 198, 223, 0.18);
}

.mini-card,
.route-card,
.status-board,
.auth-note,
.module-card {
  padding: 18px;
}

.mini-card strong,
.route-card strong,
.module-card strong,
.stat-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.status-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.board-cell {
  padding: 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,250,255,0.82));
  border: 1px solid rgba(184, 201, 225, 0.14);
}

.board-cell span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.board-cell strong {
  font-size: 22px;
}

.section-block {
  margin-top: 88px;
}

body[data-page="home"] .section-block {
  margin-top: 0;
  padding: 84px 0 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

body[data-page="home"] .section-title {
  padding: 0 12px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
}

.section-grid,
.pricing-grid,
.docs-grid {
  display: grid;
  gap: 20px;
}

.section-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.docs-grid {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card,
.pricing-card,
.doc-card {
  border-radius: 34px;
  padding: 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}

body[data-page="home"] .feature-card,
body[data-page="home"] .pricing-card,
body[data-page="home"] .doc-card {
  background: rgba(12, 12, 18, 0.06);
  border-color: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  backdrop-filter: blur(6px) saturate(104%);
  -webkit-backdrop-filter: blur(6px) saturate(104%);
}

.feature-card::before,
.pricing-card::before,
.doc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.24), transparent 36%);
  pointer-events: none;
}

.feature-card:hover,
.pricing-card:hover,
.doc-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(124, 152, 199, 0.14);
  border-color: rgba(120, 170, 255, 0.2);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(15,118,110,0.16), rgba(37,99,235,0.2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

body[data-page="home"] .feature-icon {
  background: rgba(12, 12, 18, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.04);
}

.feature-card h3,
.pricing-card h3,
.doc-card h3,
.page-header h1,
.auth-card h2,
.module-card h3 {
  margin: 18px 0 10px;
  letter-spacing: -0.03em;
}

.pricing-card-highlight {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(233, 243, 255, 0.94));
  border-color: rgba(126, 179, 255, 0.24);
  box-shadow: 0 30px 76px rgba(126, 179, 255, 0.14);
}

body[data-page="home"] .pricing-card-highlight {
  background: rgba(12, 12, 18, 0.06);
  border-color: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0;
}

.price strong {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.pricing-badge {
  margin-top: 18px;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="home"] .pricing-badge {
  background: rgba(12, 12, 18, 0.06);
  color: #dfe6ff;
  border: 1px solid rgba(255,255,255,0.03);
}

body[data-page="home"] .tag {
  background: rgba(6, 6, 10, 0.92);
  border-color: rgba(255,255,255,0.08);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

body[data-page="home"] .metric-chip {
  background: rgba(12, 12, 18, 0.06);
  border-color: rgba(255,255,255,0.06);
  color: #ffffff;
  box-shadow: none;
}

body[data-page="home"] .feature-card h3,
body[data-page="home"] .pricing-card h3,
body[data-page="home"] .doc-card h3 {
  font-size: 28px;
  line-height: 1.05;
}

body[data-page="home"] .feature-card p,
body[data-page="home"] .pricing-card p,
body[data-page="home"] .doc-card p {
  font-size: 15px;
}

body[data-page="home"] .doc-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.module-list,
.plain-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.plain-list {
  color: var(--muted);
}

.footer-bar {
  margin: 72px auto 34px;
  padding: 26px 4px 42px;
  text-align: center;
}

.auth-shell {
  min-height: 100vh;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.auth-brand {
  padding: 12px 18px 12px 8px;
}

.auth-highlights {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.auth-card {
  border-radius: var(--radius-xl);
  padding: 38px 34px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 60px rgba(129, 156, 198, 0.1);
}

body[data-page="login"] .auth-card,
body[data-page="register"] .auth-card {
  border-radius: 36px;
  backdrop-filter: blur(18px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245,249,255,0.82));
  box-shadow: 0 28px 80px rgba(128, 156, 199, 0.12);
}

body[data-page="login"] .auth-brand h1,
body[data-page="register"] .auth-brand h1 {
  max-width: 720px;
  font-size: clamp(44px, 5.8vw, 82px);
}

body[data-page="login"] .auth-note,
body[data-page="register"] .auth-note {
  background: rgba(255,255,255,0.58);
  border-color: rgba(255,255,255,0.74);
  box-shadow: 0 16px 34px rgba(113,138,181,0.08);
}

.auth-card h2 {
  margin-top: 0;
  font-size: 30px;
}

.field-label {
  display: block;
  margin: 14px 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.input-field {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.remember-row,
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.auth-submit {
  width: 100%;
  margin-top: 18px;
}

.auth-form {
  display: grid;
}

.inline-field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.inline-action {
  min-width: 132px;
  min-height: 54px;
}

.form-feedback {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 14px;
  line-height: 1.6;
}

.form-feedback-success {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.form-feedback-error {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.console-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  background:
    radial-gradient(circle at top left, rgba(127, 175, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #fbfdff 0%, #f1f7ff 100%);
}

.console-sidebar {
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92));
  color: #dbeafe;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.sidebar-brand {
  display: grid;
  gap: 10px;
}

.sidebar-brand .brand-mark {
  font-size: 20px;
}

.sidebar-copy {
  color: rgba(219, 234, 254, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.sidebar-nav {
  display: grid;
  gap: 10px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  color: rgba(219, 234, 254, 0.78);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateX(2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.sidebar-foot {
  margin-top: auto;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.console-main {
  padding: 22px;
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 14px 32px rgba(128, 156, 198, 0.07);
}

.topbar-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 13px;
  color: var(--muted);
}

.console-content {
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.stat-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 13px;
}

.stat-card strong {
  font-size: 32px;
  letter-spacing: -0.04em;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
}

.stack-grid {
  display: grid;
  gap: 18px;
}

.console-card,
.module-card,
.page-header,
.filter-bar,
.table-panel {
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 14px 32px rgba(128, 156, 198, 0.07);
}

.console-card,
.module-card,
.page-header,
.filter-bar {
  padding: 22px;
}

.activity-row,
.notice-row,
.route-row,
.table-row,
.table-head {
  display: grid;
  gap: 16px;
}

.activity-row,
.notice-row,
.route-row {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.activity-row:first-of-type,
.notice-row:first-of-type,
.route-row:first-of-type {
  border-top: 0;
}

.route-health {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.health-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 8px rgba(5, 150, 105, 0.12);
}

.page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.page-header h1 {
  margin: 0 0 10px;
  font-size: 38px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr auto;
  gap: 12px;
  align-items: center;
}

.filter-chip,
.status-tag,
.table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.86);
}

.status-live {
  color: var(--success);
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.22);
}

.status-paused {
  color: var(--warning);
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}

.status-error {
  color: var(--danger);
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.2);
}

.table-panel {
  overflow: hidden;
}

.table-head,
.table-row {
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr 1fr 1fr 0.9fr;
  align-items: center;
}

.usage-head,
.usage-row {
  grid-template-columns: 1.15fr 1fr 0.7fr 0.9fr 0.7fr 0.7fr 0.9fr;
}

.table-head {
  padding: 18px 20px;
  background: rgba(15, 23, 42, 0.035);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.table-row {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.row-main strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.table-action {
  cursor: default;
}

.muted-caption {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.console-footer-note {
  padding: 14px 2px 8px;
  color: var(--muted);
  font-size: 13px;
}

.billing-summary-grid,
.recharge-grid,
.profile-grid,
.docs-topic-list {
  display: grid;
  gap: 14px;
}

.billing-summary-grid {
  grid-template-columns: repeat(3, 1fr);
}

.billing-tile,
.recharge-card,
.plan-card-mini {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.billing-tile,
.recharge-card {
  padding: 18px;
}

.billing-tile span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.billing-tile strong {
  display: block;
  font-size: 28px;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

.billing-order-row {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.6fr 0.6fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.billing-order-row:first-of-type {
  border-top: 0;
}

.plan-card-mini {
  padding: 20px;
}

.plan-card-mini h4 {
  margin: 16px 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.recharge-grid {
  grid-template-columns: 1fr;
}

.recharge-card strong {
  display: block;
  margin-bottom: 8px;
}

.referral-link-bar {
  grid-template-columns: 1.6fr 0.8fr 0.7fr 0.7fr;
}

.profile-grid {
  grid-template-columns: repeat(2, 1fr);
}

.profile-field {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.profile-field span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.profile-field strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.profile-stack {
  display: grid;
  gap: 14px;
}

.docs-page-grid {
  margin-top: 22px;
}

body[data-page="docs"] .section-block {
  margin-top: 44px;
}

body[data-page="docs"] .site-nav {
  margin-bottom: 12px;
}

body[data-page="docs"] .module-card {
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 20px 46px rgba(112, 138, 184, 0.1);
}

body[data-page="docs"] .section-title h2 {
  max-width: 780px;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.95;
}

body[data-page="docs"] .section-title p {
  max-width: 460px;
}

.docs-code {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.92);
  color: #dbeafe;
  font-size: 14px;
  overflow: auto;
}

.docs-topic-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

body[data-page="home"] .status-pill,
body[data-page="home"] .metric-chip,
body[data-page="home"] .tag,
body[data-page="docs"] .metric-chip,
body[data-page="login"] .tag,
body[data-page="register"] .tag {
  background: rgba(255,255,255,0.72);
  border-color: rgba(255,255,255,0.78);
}

body[data-page="home"] .tag {
  background: rgba(12, 12, 18, 0.06);
  border-color: rgba(255,255,255,0.04);
}

.doc-arrow {
  position: absolute;
  right: 26px;
  bottom: 22px;
  color: rgba(37, 99, 235, 0.42);
  font-size: 28px;
  font-weight: 300;
}

body[data-page="home"] .doc-arrow {
  color: rgba(255, 255, 255, 0.42);
}

body[data-page="home"] .site-nav,
body[data-page="home"] .hero,
body[data-page="home"] .feature-card,
body[data-page="home"] .pricing-card,
body[data-page="home"] .doc-card {
  border-color: rgba(255, 255, 255, 0.03);
}

.home-aurora,
.home-gridlines {
  pointer-events: none;
  position: fixed;
  inset: auto;
  z-index: 0;
}

.home-aurora {
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.72;
}

.home-aurora-left {
  top: 72px;
  left: -120px;
  background: radial-gradient(circle, rgba(126, 179, 255, 0.18), rgba(126, 179, 255, 0.02) 68%, transparent 72%);
}

.home-aurora-right {
  top: 180px;
  right: -110px;
  background: radial-gradient(circle, rgba(109, 225, 206, 0.14), rgba(109, 225, 206, 0.02) 66%, transparent 72%);
}

.home-gridlines {
  inset: 0;
  background-image:
    linear-gradient(rgba(178, 194, 216, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(178, 194, 216, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0));
}

.home-stage-glow,
.home-stage-noise,
.home-silhouette,
.home-bottom-fade {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.home-stage-glow {
  z-index: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(62, 98, 255, 1), rgba(30, 54, 185, 0.98) 36%, rgba(5, 8, 31, 0.98) 72%);
}

.home-stage-noise {
  z-index: 0;
  opacity: 0.16;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18), transparent 18%),
    radial-gradient(circle at 80% 22%, rgba(255,255,255,0.12), transparent 20%);
  mix-blend-mode: screen;
}

.home-silhouette {
  z-index: 1;
  background: #020205;
}

.home-silhouette-left {
  width: 320px;
  height: 760px;
  inset: auto auto 0 26%;
  clip-path: polygon(48% 0, 66% 3%, 76% 10%, 82% 18%, 80% 26%, 85% 34%, 89% 50%, 90% 67%, 86% 87%, 79% 100%, 31% 100%, 28% 76%, 27% 56%, 29% 40%, 35% 27%, 41% 17%, 45% 8%);
  opacity: 0.98;
}

.home-silhouette-right {
  width: 520px;
  height: 900px;
  inset: auto 14% 0 auto;
  clip-path: polygon(42% 0, 56% 0, 66% 6%, 72% 14%, 74% 22%, 71% 29%, 69% 36%, 72% 45%, 82% 52%, 92% 63%, 100% 100%, 15% 100%, 18% 76%, 16% 58%, 18% 48%, 24% 39%, 34% 33%, 36% 26%, 34% 18%, 36% 8%);
  opacity: 0.98;
}

.home-bottom-fade {
  z-index: 1;
  top: auto;
  height: 180px;
  background: linear-gradient(180deg, rgba(8, 8, 22, 0), rgba(8, 8, 22, 0.92));
}

body[data-page="home"] .home-gridlines {
  opacity: 0.12;
}

body[data-page="home"] .footer-bar {
  color: rgba(233, 239, 255, 0.62);
}

.providers-stage {
  margin-top: 28px;
  padding: 54px 54px 60px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px) saturate(104%);
  -webkit-backdrop-filter: blur(6px) saturate(104%);
}

.providers-stage h2 {
  margin: 0 0 38px;
  text-align: center;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.12;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #7c94ac;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 26px 18px;
  align-items: center;
  justify-items: center;
}

.provider-logo {
  width: 92px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #161b25;
}

.provider-logo span {
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}

.provider-logo-stripe::before {
  content: "";
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    repeating-linear-gradient(165deg, #171b24 0 5px, transparent 5px 10px);
}

.provider-logo-openai span {
  font-size: 52px;
  font-weight: 400;
}

.provider-logo-xai span {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.provider-logo-dot::before {
  content: "";
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #4a67ff 2px, transparent 3px);
  background-size: 14px 14px;
}

.provider-logo-peak::before {
  content: "";
  width: 64px;
  height: 54px;
  clip-path: polygon(0 100%, 18% 30%, 34% 100%, 48% 8%, 62% 100%, 78% 38%, 100% 100%);
  background: linear-gradient(180deg, #2a6dff, #24d5d1);
}

.provider-logo-palette::before {
  content: "";
  width: 62px;
  height: 54px;
  background:
    radial-gradient(circle at 22% 70%, #ff7a57 0 9px, transparent 10px),
    radial-gradient(circle at 54% 70%, #d597f3 0 10px, transparent 11px),
    radial-gradient(circle at 78% 72%, #cb92e9 0 10px, transparent 11px),
    radial-gradient(ellipse at 50% 24%, #3c6458 0 22px, transparent 23px);
}

.provider-logo-burst::before {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, #df784f 0 10deg, transparent 10deg 30deg, #df784f 30deg 40deg, transparent 40deg 60deg, #df784f 60deg 70deg, transparent 70deg 90deg, #df784f 90deg 100deg, transparent 100deg 120deg, #df784f 120deg 130deg, transparent 130deg 150deg, #df784f 150deg 160deg, transparent 160deg 180deg, #df784f 180deg 190deg, transparent 190deg 210deg, #df784f 210deg 220deg, transparent 220deg 240deg, #df784f 240deg 250deg, transparent 250deg 270deg, #df784f 270deg 280deg, transparent 280deg 300deg, #df784f 300deg 310deg, transparent 310deg 330deg, #df784f 330deg 340deg, transparent 340deg 360deg);
}

.provider-logo-star::before {
  content: "";
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, #6b8fff 0%, #4f78ff 48%, transparent 49%);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}

.provider-logo-wave::before {
  content: "";
  width: 58px;
  height: 46px;
  background: #161b25;
  clip-path: polygon(0 65%, 22% 42%, 34% 16%, 50% 8%, 66% 24%, 78% 48%, 100% 40%, 100% 72%, 78% 72%, 66% 96%, 50% 100%, 34% 84%, 22% 58%, 0 65%);
}

.provider-logo-signal::before {
  content: "";
  width: 54px;
  height: 54px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 18px, #ff4b6d 18px 21px, transparent 21px),
    linear-gradient(90deg, transparent 0 18px, #ff4b6d 18px 22px, transparent 22px 32px, #ff4b6d 32px 36px, transparent 36px);
}

.provider-logo-cube::before {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2d8fff, #1f56c6);
  clip-path: polygon(50% 0, 92% 22%, 92% 78%, 50% 100%, 8% 78%, 8% 22%);
}

.provider-logo-flame::before {
  content: "";
  width: 50px;
  height: 58px;
  background:
    radial-gradient(circle at 35% 66%, #41b8ff 0 18px, transparent 19px),
    radial-gradient(circle at 60% 24%, #ff3d20 0 12px, transparent 13px);
  border-radius: 50% 50% 50% 50% / 66% 66% 34% 34%;
  transform: rotate(-18deg);
}

.provider-logo-orbit::before {
  content: "";
  width: 60px;
  height: 40px;
  border: 7px solid #2d59eb;
  border-radius: 50%;
}

.provider-logo-whale::before {
  content: "";
  width: 58px;
  height: 36px;
  background: #4c67f4;
  border-radius: 60% 52% 50% 58%;
  clip-path: polygon(0 58%, 10% 42%, 30% 24%, 58% 18%, 78% 30%, 88% 12%, 100% 26%, 92% 44%, 100% 66%, 78% 80%, 58% 82%, 38% 74%, 24% 88%, 14% 74%, 0 58%);
}

.provider-logo-knot::before {
  content: "";
  width: 54px;
  height: 54px;
  background: #6262d6;
  clip-path: polygon(50% 0, 64% 22%, 88% 22%, 76% 42%, 88% 64%, 64% 64%, 50% 88%, 36% 64%, 12% 64%, 24% 42%, 12% 22%, 36% 22%);
}

.provider-logo-sail::before {
  content: "";
  width: 58px;
  height: 54px;
  background: #151922;
  clip-path: polygon(50% 6%, 60% 66%, 92% 74%, 84% 78%, 18% 78%, 34% 66%, 50% 6%);
}

.provider-logo-ring::before {
  content: "";
  width: 54px;
  height: 54px;
  border: 7px solid #1f232d;
  border-radius: 50%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 0 42%);
}

.provider-logo-shift::before {
  content: "";
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #316dff, #cf38a4);
  clip-path: polygon(12% 84%, 12% 24%, 38% 24%, 54% 44%, 68% 44%, 68% 70%, 44% 70%, 28% 50%, 28% 84%);
}

.provider-logo-swirl::before {
  content: "";
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 64% 34%, #a3dfff 0 16px, transparent 17px),
    conic-gradient(from 180deg, #0158ea, #34d6ff, #5d9eff, #0158ea);
}

.provider-logo-comet::before {
  content: "";
  width: 58px;
  height: 46px;
  background: linear-gradient(135deg, #7f36ff, #ff5f8f 64%, #ffa65b);
  clip-path: polygon(0 54%, 58% 8%, 76% 28%, 100% 26%, 80% 42%, 58% 82%);
}

.provider-logo-count span {
  font-size: 28px;
  color: #1a1f2a;
}

@media (max-width: 1100px) {
  .hero,
  .content-grid,
  .filter-bar,
  .stats-grid,
  .section-grid,
  .pricing-grid,
  .docs-grid,
  .billing-summary-grid,
  .profile-grid,
  .referral-link-bar,
  .hero-proofbar {
    grid-template-columns: 1fr;
  }

  .console-shell {
    grid-template-columns: 1fr;
  }

  .table-head,
  .table-row,
  .activity-row,
  .notice-row,
  .route-row,
  .billing-order-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .site-nav,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 24px;
    min-height: unset;
  }

  .nav-links {
    display: none;
  }

  .auth-shell {
    padding: 32px 0;
  }

  .status-board {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    min-height: 280px;
  }

  .home-silhouette-left {
    left: 12%;
    width: 220px;
    height: 560px;
  }

  .home-silhouette-right {
    right: 2%;
    width: 320px;
    height: 680px;
  }

  body[data-page="home"] .hero-copy h1 {
    font-size: clamp(108px, 19vw, 180px);
  }

  .hero-command-bar {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .hero-command-input,
  .hero-command-side,
  .hero-command-button {
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  .site-shell,
  .auth-shell {
    width: min(100% - 24px, 1200px);
  }

  .hero-copy h1,
  .auth-brand h1 {
    font-size: 36px;
  }

  .page-header {
    align-items: start;
    flex-direction: column;
  }

  .orbit-ring-2,
  .orbit-ring-3,
  .orbit-node-d {
    display: none;
  }

  .announcement-bar {
    flex-direction: column;
    text-align: center;
  }

  .home-silhouette-left,
  .home-silhouette-right {
    opacity: 0.72;
  }
}

/* docs / login / register unified with homepage dark glass style */
body[data-page="docs"],
body[data-page="login"],
body[data-page="register"] {
  background:
    radial-gradient(circle at 50% 18%, rgba(44, 82, 255, 0.72), rgba(19, 40, 137, 0.88) 38%, rgba(4, 6, 28, 1) 76%),
    linear-gradient(180deg, #080816 0%, #080816 100%);
  color: #f5f7ff;
}

body[data-page="docs"] .site-nav {
  background: rgba(12, 12, 18, 0.045);
  border-color: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  backdrop-filter: blur(5px) saturate(104%);
  -webkit-backdrop-filter: blur(5px) saturate(104%);
}

body[data-page="docs"] .brand-mark,
body[data-page="docs"] .nav-links a,
body[data-page="docs"] .nav-cta,
body[data-page="login"] .brand-mark,
body[data-page="register"] .brand-mark {
  color: #ffffff;
}

body[data-page="docs"] .nav-links {
  color: rgba(235, 240, 255, 0.8);
}

body[data-page="docs"] .nav-links a:hover,
body[data-page="docs"] .nav-links a:focus-visible {
  color: #ffffff;
}

body[data-page="docs"] .nav-cta,
body[data-page="docs"] .button-primary,
body[data-page="login"] .button-primary,
body[data-page="register"] .button-primary {
  background: rgba(12, 12, 18, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body[data-page="docs"] .button-secondary {
  background: rgba(12, 12, 18, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

body[data-page="login"] .auth-card,
body[data-page="register"] .auth-card,
body[data-page="login"] .auth-note,
body[data-page="register"] .auth-note,
body[data-page="docs"] .module-card {
  background: rgba(12, 12, 18, 0.06);
  border-color: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  backdrop-filter: blur(6px) saturate(104%);
  -webkit-backdrop-filter: blur(6px) saturate(104%);
}

body[data-page="login"] .auth-brand {
  max-width: 580px;
}

body[data-page="login"] .auth-brand .status-pill {
  margin-top: 28px;
}

body[data-page="login"] .auth-note-compact {
  margin-top: 28px;
  max-width: 460px;
}

body[data-page="login"] .auth-card {
  align-self: center;
}

body[data-page="login"] .input-field,
body[data-page="register"] .input-field {
  background: rgba(12, 12, 18, 0.06);
  border-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  box-shadow: none;
}

body[data-page="docs"] .metric-chip,
body[data-page="login"] .tag,
body[data-page="register"] .tag {
  background: rgba(6, 6, 10, 0.92);
  border-color: rgba(255,255,255,0.08);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

body[data-page="login"] .status-pill {
  background: rgba(12, 12, 18, 0.06);
  border-color: rgba(255,255,255,0.06);
  color: #ffffff;
  box-shadow: none;
}

body[data-page="login"] .inline-action,
body[data-page="register"] .inline-action {
  background: rgba(12, 12, 18, 0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #ffffff;
  box-shadow: none;
}

body[data-page="home"] .docs-grid .metric-chip {
  background: rgba(12, 12, 18, 0.06) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body[data-page="docs"] .section-title h2,
body[data-page="docs"] .module-card h3,
body[data-page="docs"] .module-card strong,
body[data-page="login"] .auth-brand h1,
body[data-page="register"] .auth-brand h1,
body[data-page="login"] .auth-card h2,
body[data-page="register"] .auth-card h2,
body[data-page="login"] .field-label,
body[data-page="register"] .field-label {
  color: #f8faff;
}

body[data-page="docs"] .section-title p,
body[data-page="docs"] .module-card p,
body[data-page="docs"] .module-card li,
body[data-page="docs"] .module-card span,
body[data-page="docs"] .footer-bar,
body[data-page="docs"] .subdued,
body[data-page="login"] .auth-brand p,
body[data-page="register"] .auth-brand p,
body[data-page="login"] .remember-row,
body[data-page="register"] .remember-row,
body[data-page="login"] .auth-links,
body[data-page="register"] .auth-links,
body[data-page="login"] .subdued,
body[data-page="register"] .subdued {
  color: rgba(235, 240, 255, 0.78);
}

body[data-page="login"] .form-feedback,
body[data-page="register"] .form-feedback {
  border-color: rgba(255,255,255,0.08);
}

body[data-page="login"] .form-feedback-success,
body[data-page="register"] .form-feedback-success {
  background: rgba(16, 185, 129, 0.18);
  color: #d1fae5;
}

body[data-page="login"] .form-feedback-error,
body[data-page="register"] .form-feedback-error {
  background: rgba(239, 68, 68, 0.18);
  color: #fee2e2;
}

body[data-page="docs"] .site-shell {
  position: relative;
  z-index: 2;
}

body[data-page="docs"] .section-block {
  padding-top: 36px;
}

body[data-page="docs"] .section-title {
  align-items: start;
  margin-bottom: 26px;
}

body[data-page="docs"] .section-title h2 {
  max-width: 900px;
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: 0.94;
}

body[data-page="docs"] .section-title p {
  max-width: 440px;
}

body[data-page="docs"] .docs-page-grid {
  margin-top: 26px;
}

body[data-page="docs"] .module-card {
  border-radius: 34px;
}

body[data-page="docs"] .docs-code {
  background: rgba(6, 6, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

body[data-page="docs"] .docs-topic-item {
  background: rgba(12, 12, 18, 0.06);
  border-color: rgba(255, 255, 255, 0.05);
  color: #f3f6ff;
  box-shadow: none;
}

body[data-page="docs"] .plain-list li {
  color: rgba(235, 240, 255, 0.78);
}

body[data-page="docs"] .eyebrow {
  background: rgba(10, 10, 18, 0.08);
  border-color: rgba(255, 255, 255, 0.06);
  color: rgba(238, 243, 255, 0.9);
}

/* all non-home app pages: align with homepage dark glass language */
body[data-page="dashboard"],
body[data-page="keys"],
body[data-page="usage"],
body[data-page="billing"],
body[data-page="referrals"],
body[data-page="profile"] {
  background:
    radial-gradient(circle at 50% 18%, rgba(44, 82, 255, 0.72), rgba(19, 40, 137, 0.88) 38%, rgba(4, 6, 28, 1) 76%),
    linear-gradient(180deg, #080816 0%, #080816 100%);
  color: #f5f7ff;
}

body[data-page="dashboard"] .console-shell,
body[data-page="keys"] .console-shell,
body[data-page="usage"] .console-shell,
body[data-page="billing"] .console-shell,
body[data-page="referrals"] .console-shell,
body[data-page="profile"] .console-shell {
  background: transparent;
}

body[data-page="dashboard"] .console-sidebar,
body[data-page="keys"] .console-sidebar,
body[data-page="usage"] .console-sidebar,
body[data-page="billing"] .console-sidebar,
body[data-page="referrals"] .console-sidebar,
body[data-page="profile"] .console-sidebar {
  background: linear-gradient(180deg, rgba(12, 12, 18, 0.5), rgba(12, 12, 18, 0.42));
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

body[data-page="dashboard"] .console-topbar,
body[data-page="keys"] .console-topbar,
body[data-page="usage"] .console-topbar,
body[data-page="billing"] .console-topbar,
body[data-page="referrals"] .console-topbar,
body[data-page="profile"] .console-topbar,
body[data-page="dashboard"] .console-card,
body[data-page="dashboard"] .module-card,
body[data-page="dashboard"] .page-header,
body[data-page="dashboard"] .filter-bar,
body[data-page="dashboard"] .table-panel,
body[data-page="keys"] .console-card,
body[data-page="keys"] .module-card,
body[data-page="keys"] .page-header,
body[data-page="keys"] .filter-bar,
body[data-page="keys"] .table-panel,
body[data-page="usage"] .console-card,
body[data-page="usage"] .module-card,
body[data-page="usage"] .page-header,
body[data-page="usage"] .filter-bar,
body[data-page="usage"] .table-panel,
body[data-page="billing"] .console-card,
body[data-page="billing"] .module-card,
body[data-page="billing"] .page-header,
body[data-page="billing"] .filter-bar,
body[data-page="billing"] .table-panel,
body[data-page="referrals"] .console-card,
body[data-page="referrals"] .module-card,
body[data-page="referrals"] .page-header,
body[data-page="referrals"] .filter-bar,
body[data-page="referrals"] .table-panel,
body[data-page="profile"] .console-card,
body[data-page="profile"] .module-card,
body[data-page="profile"] .page-header,
body[data-page="profile"] .filter-bar,
body[data-page="profile"] .table-panel {
  background: rgba(12, 12, 18, 0.06);
  border-color: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  backdrop-filter: blur(6px) saturate(104%);
  -webkit-backdrop-filter: blur(6px) saturate(104%);
}

body[data-page="dashboard"] .topbar-pill,
body[data-page="keys"] .topbar-pill,
body[data-page="usage"] .topbar-pill,
body[data-page="billing"] .topbar-pill,
body[data-page="referrals"] .topbar-pill,
body[data-page="profile"] .topbar-pill,
body[data-page="dashboard"] .filter-chip,
body[data-page="dashboard"] .table-action,
body[data-page="keys"] .filter-chip,
body[data-page="keys"] .table-action,
body[data-page="usage"] .filter-chip,
body[data-page="usage"] .table-action,
body[data-page="billing"] .filter-chip,
body[data-page="billing"] .table-action,
body[data-page="referrals"] .filter-chip,
body[data-page="referrals"] .table-action,
body[data-page="profile"] .filter-chip,
body[data-page="profile"] .table-action {
  background: rgba(6, 6, 10, 0.92);
  border-color: rgba(255,255,255,0.08);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

body[data-page="dashboard"] .input-field,
body[data-page="keys"] .input-field,
body[data-page="usage"] .input-field,
body[data-page="billing"] .input-field,
body[data-page="referrals"] .input-field,
body[data-page="profile"] .input-field {
  background: rgba(12, 12, 18, 0.06);
  border-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  box-shadow: none;
}

body[data-page="dashboard"] .table-head,
body[data-page="keys"] .table-head,
body[data-page="usage"] .table-head,
body[data-page="billing"] .table-head,
body[data-page="referrals"] .table-head,
body[data-page="profile"] .table-head {
  background: rgba(12, 12, 18, 0.06);
  color: rgba(235, 240, 255, 0.78);
}

body[data-page="dashboard"] .page-header h1,
body[data-page="dashboard"] .module-card h3,
body[data-page="dashboard"] .console-card strong,
body[data-page="dashboard"] .module-card strong,
body[data-page="keys"] .page-header h1,
body[data-page="keys"] .module-card h3,
body[data-page="keys"] .console-card strong,
body[data-page="keys"] .module-card strong,
body[data-page="usage"] .page-header h1,
body[data-page="usage"] .module-card h3,
body[data-page="usage"] .console-card strong,
body[data-page="usage"] .module-card strong,
body[data-page="billing"] .page-header h1,
body[data-page="billing"] .module-card h3,
body[data-page="billing"] .console-card strong,
body[data-page="billing"] .module-card strong,
body[data-page="referrals"] .page-header h1,
body[data-page="referrals"] .module-card h3,
body[data-page="referrals"] .console-card strong,
body[data-page="referrals"] .module-card strong,
body[data-page="profile"] .page-header h1,
body[data-page="profile"] .module-card h3,
body[data-page="profile"] .console-card strong,
body[data-page="profile"] .module-card strong,
body[data-page="dashboard"] .field-label,
body[data-page="keys"] .field-label,
body[data-page="usage"] .field-label,
body[data-page="billing"] .field-label,
body[data-page="referrals"] .field-label,
body[data-page="profile"] .field-label {
  color: #f8faff;
}

body[data-page="dashboard"] .page-header p,
body[data-page="dashboard"] .module-card p,
body[data-page="dashboard"] .module-card li,
body[data-page="dashboard"] .module-card span,
body[data-page="dashboard"] .muted-caption,
body[data-page="dashboard"] .console-footer-note,
body[data-page="keys"] .page-header p,
body[data-page="keys"] .module-card p,
body[data-page="keys"] .module-card li,
body[data-page="keys"] .module-card span,
body[data-page="keys"] .muted-caption,
body[data-page="keys"] .console-footer-note,
body[data-page="usage"] .page-header p,
body[data-page="usage"] .module-card p,
body[data-page="usage"] .module-card li,
body[data-page="usage"] .module-card span,
body[data-page="usage"] .muted-caption,
body[data-page="usage"] .console-footer-note,
body[data-page="billing"] .page-header p,
body[data-page="billing"] .module-card p,
body[data-page="billing"] .module-card li,
body[data-page="billing"] .module-card span,
body[data-page="billing"] .muted-caption,
body[data-page="billing"] .console-footer-note,
body[data-page="referrals"] .page-header p,
body[data-page="referrals"] .module-card p,
body[data-page="referrals"] .module-card li,
body[data-page="referrals"] .module-card span,
body[data-page="referrals"] .muted-caption,
body[data-page="referrals"] .console-footer-note,
body[data-page="profile"] .page-header p,
body[data-page="profile"] .module-card p,
body[data-page="profile"] .module-card li,
body[data-page="profile"] .module-card span,
body[data-page="profile"] .muted-caption,
body[data-page="profile"] .console-footer-note,
body[data-page="dashboard"] .topbar-pill,
body[data-page="keys"] .topbar-pill,
body[data-page="usage"] .topbar-pill,
body[data-page="billing"] .topbar-pill,
body[data-page="referrals"] .topbar-pill,
body[data-page="profile"] .topbar-pill {
  color: rgba(235, 240, 255, 0.78);
}

/* dashboard-only opacity override */
body[data-page="dashboard"] .console-topbar,
body[data-page="dashboard"] .console-card,
body[data-page="dashboard"] .module-card,
body[data-page="dashboard"] .page-header,
body[data-page="dashboard"] .filter-bar,
body[data-page="dashboard"] .table-panel {
  background: rgba(12, 12, 18, 0.2);
}

body[data-page="dashboard"] .eyebrow {
  background: rgba(12, 12, 18, 0.2);
  border-color: rgba(255,255,255,0.08);
  color: #ffffff;
}

/* all backend subpages: raise glass opacity to 20% */
body[data-page="keys"] .console-topbar,
body[data-page="keys"] .console-card,
body[data-page="keys"] .module-card,
body[data-page="keys"] .page-header,
body[data-page="keys"] .filter-bar,
body[data-page="keys"] .table-panel,
body[data-page="usage"] .console-topbar,
body[data-page="usage"] .console-card,
body[data-page="usage"] .module-card,
body[data-page="usage"] .page-header,
body[data-page="usage"] .filter-bar,
body[data-page="usage"] .table-panel,
body[data-page="billing"] .console-topbar,
body[data-page="billing"] .console-card,
body[data-page="billing"] .module-card,
body[data-page="billing"] .page-header,
body[data-page="billing"] .filter-bar,
body[data-page="billing"] .table-panel,
body[data-page="referrals"] .console-topbar,
body[data-page="referrals"] .console-card,
body[data-page="referrals"] .module-card,
body[data-page="referrals"] .page-header,
body[data-page="referrals"] .filter-bar,
body[data-page="referrals"] .table-panel,
body[data-page="profile"] .console-topbar,
body[data-page="profile"] .console-card,
body[data-page="profile"] .module-card,
body[data-page="profile"] .page-header,
body[data-page="profile"] .filter-bar,
body[data-page="profile"] .table-panel {
  background: rgba(12, 12, 18, 0.2);
}

body[data-page="keys"] .eyebrow,
body[data-page="usage"] .eyebrow,
body[data-page="billing"] .eyebrow,
body[data-page="referrals"] .eyebrow,
body[data-page="profile"] .eyebrow,
body[data-page="recharge"] .eyebrow,
body[data-page="invoices"] .eyebrow,
body[data-page="settlements"] .eyebrow,
body[data-page="team"] .eyebrow {
  background: rgba(12, 12, 18, 0.2);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

body[data-page="profile"] .profile-field {
  background: rgba(12, 12, 18, 0.2);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="profile"] .profile-field span,
body[data-page="profile"] .profile-field strong {
  color: #ffffff;
}

body[data-page="usage"] .button-secondary {
  background: rgba(12, 12, 18, 0.2);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="usage"] .table-row .row-main strong,
body[data-page="usage"] .table-row > div:nth-child(2),
body[data-page="usage"] .table-row > div:nth-child(4),
body[data-page="usage"] .table-row > div:nth-child(5),
body[data-page="usage"] .table-row > div:nth-child(6),
body[data-page="usage"] .table-row > div:nth-child(7) {
  color: #ffffff;
}

body[data-page="usage"] .stat-card span {
  color: #ffffff;
}

body[data-page="billing"] .billing-tile,
body[data-page="billing"] .plan-card-mini,
body[data-page="billing"] .recharge-card {
  background: rgba(12, 12, 18, 0.2);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="billing"] .button-secondary,
body[data-page="billing"] .plan-card-mini .tag {
  background: rgba(12, 12, 18, 0.2);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="keys"] .table-row .row-main strong,
body[data-page="keys"] .table-row > div:nth-child(3),
body[data-page="keys"] .table-row > div:nth-child(4),
body[data-page="keys"] .table-row > div:nth-child(5),
body[data-page="keys"] .table-row > div:nth-child(6) {
  color: #ffffff;
}

body[data-page="dashboard"] .stat-card span {
  color: #ffffff;
}

body[data-page="referrals"] .button-secondary {
  background: rgba(12, 12, 18, 0.2);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="profile"] .button-secondary {
  background: rgba(12, 12, 18, 0.2);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* official-like console alignment */
.console-shell-official {
  grid-template-columns: 160px 1fr;
}

.sidebar-nav-grouped {
  gap: 18px;
}

.sidebar-group {
  display: grid;
  gap: 8px;
}

.sidebar-group-title {
  font-size: 12px;
  color: rgba(219, 234, 254, 0.56);
}

.console-shell-official .sidebar-link {
  justify-content: flex-start;
  padding: 10px 12px;
}

.console-topbar-site {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0 0 10px;
}

.site-top-links {
  display: flex;
  gap: 24px;
  font-weight: 600;
}

.site-top-links .is-active {
  color: var(--brand-2);
}

.official-greeting h1 {
  margin: 0;
  font-size: 26px;
}

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

.official-stat-card,
.official-page-card,
.official-panel,
.wallet-summary-card,
.profile-hero-card {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(128, 156, 198, 0.07);
}

.official-stat-card {
  padding: 18px 18px 16px;
  position: relative;
}

.official-stat-head,
.official-panel-head strong,
.wallet-card-head strong {
  font-size: 14px;
  font-weight: 700;
}

.official-stat-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.official-stat-list span,
.wallet-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.official-stat-list strong,
.wallet-stats strong {
  font-size: 30px;
  letter-spacing: -0.03em;
}

.mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.mini-action.is-primary {
  color: #2563eb;
}

.mini-action.is-danger {
  color: #dc2626;
}

.official-stat-card .mini-action {
  position: absolute;
  right: 16px;
  top: 46px;
}

.official-dashboard-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.55fr;
  gap: 16px;
}

.official-panel {
  min-height: 260px;
  overflow: hidden;
}

.official-panel-chart {
  min-height: 380px;
}

.official-panel-empty {
  display: flex;
  flex-direction: column;
}

.official-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.official-tabs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.official-chart-empty,
.empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.empty-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.empty-subtitle {
  color: var(--muted);
  margin-bottom: 24px;
}

.chart-line-set {
  width: 100%;
  height: 180px;
  background: linear-gradient(rgba(148,163,184,0.16) 1px, transparent 1px);
  background-size: 100% 28px;
}

.chart-empty-legend {
  margin-top: 18px;
  color: #f59e0b;
  font-size: 12px;
}

.official-page-card {
  padding: 18px;
}

.official-page-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.official-page-card-head h1 {
  margin: 0;
  font-size: 22px;
}

.official-toolbar,
.official-log-filters {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.toolbar-actions,
.toolbar-filters,
.filter-row-2,
.official-stat-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.toolbar-filters .input-field,
.filter-row-2 .input-field {
  flex: 1 1 180px;
}

.official-table-panel {
  box-shadow: none;
}

.official-token-head {
  grid-template-columns: 40px 0.6fr 0.7fr 1fr 0.8fr 1.3fr 0.8fr 0.8fr 1fr 1fr 0.8fr 1fr;
}

.official-usage-head {
  grid-template-columns: 1fr 0.9fr 0.7fr 0.7fr 1fr 0.8fr 0.8fr 0.8fr 0.8fr 0.8fr 0.7fr;
}

.official-empty-row {
  padding: 42px 0;
}

.wallet-two-column,
.profile-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.wallet-summary-card,
.profile-hero-card {
  padding: 16px;
}

.wallet-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.wallet-card-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.wallet-gradient-panel {
  border-radius: 18px;
  padding: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #2457e8, #1f46b8 55%, #4b7cff);
}

.wallet-gradient-panel-green {
  background: linear-gradient(135deg, #0e6f6a, #135b58 55%, #1d8e89);
}

.wallet-gradient-title {
  font-weight: 700;
  margin-bottom: 14px;
}

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

.wallet-note {
  margin-top: 10px;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 13px;
}

.info-note {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

.warn-note {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.invite-link-row {
  display: flex;
  gap: 10px;
  margin: 12px 0;
}

.compact-card {
  padding: 16px;
}

.profile-hero-main,
.profile-balance-row,
.profile-meta-row,
.profile-inline-stats,
.binding-item,
.preference-row,
.radio-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #ffbe55, #f59e0b);
}

.profile-hero-main h1 {
  margin: 0 0 6px;
  font-size: 24px;
}

.profile-meta-row {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
}

.profile-hero-card {
  background: linear-gradient(135deg, rgba(5,68,84,0.96), rgba(8,82,88,0.9));
  color: #ffffff;
}

.profile-balance-row {
  justify-content: space-between;
  margin-top: 18px;
}

.profile-balance-block strong {
  display: block;
  font-size: 26px;
  margin-top: 6px;
}

.profile-inline-stats {
  color: rgba(255,255,255,0.88);
  font-size: 13px;
}

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

.binding-item {
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.14);
  background: rgba(255,255,255,0.58);
}

.settings-form-stack {
  display: grid;
  gap: 14px;
}

@media (max-width: 1180px) {
  .official-stat-grid,
  .wallet-two-column,
  .profile-main-grid,
  .official-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .official-token-head,
  .official-usage-head {
    grid-template-columns: 1fr;
  }

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