:root {
  --bg: #04070d;
  --bg-soft: rgba(9, 17, 28, 0.88);
  --panel: rgba(11, 20, 32, 0.82);
  --panel-strong: rgba(6, 12, 20, 0.96);
  --card: linear-gradient(180deg, rgba(14, 24, 37, 0.94), rgba(5, 10, 18, 0.98));
  --line: rgba(116, 166, 215, 0.16);
  --line-strong: rgba(109, 203, 255, 0.34);
  --ink: #f3f8ff;
  --muted: #8d9eb3;
  --accent: #79d9ff;
  --accent-strong: #0f8cff;
  --accent-warm: #5ee9ff;
  --success: #79f2c2;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  --shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.3);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(18, 139, 255, 0.22), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(89, 244, 255, 0.14), transparent 22%),
    radial-gradient(circle at 50% 40%, rgba(13, 55, 105, 0.12), transparent 34%),
    linear-gradient(180deg, #04070d 0%, #07111d 42%, #03060b 100%);
}

.page-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: rgba(10, 7, 22, 0.22);
  background-image:
    linear-gradient(rgba(225, 216, 255, 0.12) 1.2px, transparent 1.2px),
    linear-gradient(90deg, rgba(225, 216, 255, 0.12) 1.2px, transparent 1.2px),
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 100% 96px, 96px 100%, 100% 18px, 18px 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.34) 18%, rgba(0, 0, 0, 0.8));
}

.canvas-aurora,
.canvas-wordmark {
  position: absolute;
  pointer-events: none;
}

.canvas-aurora {
  filter: blur(18px);
  mix-blend-mode: screen;
  opacity: 0.58;
}

.aurora-one {
  top: -12%;
  left: -10%;
  width: 54vw;
  height: 54vw;
  min-width: 520px;
  min-height: 520px;
  background:
    radial-gradient(circle, rgba(57, 180, 255, 0.28) 0%, rgba(57, 180, 255, 0.08) 34%, transparent 66%);
  animation: auroraFloatOne 22s ease-in-out infinite;
}

.aurora-two {
  top: 18%;
  right: -8%;
  width: 46vw;
  height: 46vw;
  min-width: 460px;
  min-height: 460px;
  background:
    radial-gradient(circle, rgba(102, 239, 255, 0.2) 0%, rgba(102, 239, 255, 0.05) 32%, transparent 68%);
  animation: auroraFloatTwo 26s ease-in-out infinite;
}

.canvas-wordmark {
  top: 47%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  width: min(82vw, 1180px);
  height: auto;
  opacity: 0.18;
  animation: wordmarkDrift 24s ease-in-out infinite;
}

.canvas-wordmark text {
  font-family: "Sora", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 248px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.wordmark-base {
  fill: url(#payletBase);
  opacity: 0.95;
}

.wordmark-shine {
  opacity: 0.82;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.025) 48%, transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 20%);
  mix-blend-mode: screen;
  animation: sheenDrift 14s linear infinite;
}

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

[hidden] {
  display: none !important;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100px, 100px 100%;
  mask-image: radial-gradient(circle at center, black 38%, transparent 88%);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 1280px);
  margin: 0 auto;
  padding-bottom: 64px;
}

body[data-page="profile"] .site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-bottom: 0;
}

.topbar {
  position: sticky;
  top: 6px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding: 8px 14px;
  background:
    linear-gradient(180deg, rgba(10, 18, 29, 0.9), rgba(6, 12, 21, 0.8));
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  justify-self: start;
  padding-left: 0;
  white-space: nowrap;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 88px;
  min-width: 88px;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  display: block;
  width: 55px;
  max-width: 100%;
  filter: drop-shadow(0 8px 24px rgba(12, 139, 255, 0.18));
  margin: 0;
}

.brand-lockup small {
  color: var(--muted);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-left: 2px;
  opacity: 0.8;
}

@media (min-width: 761px) {
  .brand-lockup small {
    display: none;
  }
}

.nav {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 18px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.nav a {
  position: relative;
  padding: 2px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.nav a.active {
  color: #eaf7ff;
  font-weight: 700;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.lang-button {
  min-width: 42px;
  min-height: 26px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

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

.lang-button.active {
  background: linear-gradient(135deg, rgba(102, 229, 255, 0.92), rgba(21, 128, 255, 0.96));
  color: #04101b;
}

.button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  border: 0;
  overflow: hidden;
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #03111c;
  background: linear-gradient(135deg, #67f0ff, #1790ff 58%, #0c6dff 100%);
  background-clip: padding-box;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 36px rgba(23, 144, 255, 0.28);
}

.button-secondary,
.button-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.topbar-login {
  min-width: 84px;
  max-width: 220px;
  padding: 0 18px;
  color: #0a1020;
  border-color: rgba(255, 255, 255, 0.96);
  background: linear-gradient(180deg, #ffffff, #eef3f9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 24px rgba(0, 0, 0, 0.2);
}

.topbar-login:hover {
  color: #050811;
  border-color: rgba(255, 255, 255, 1);
  background: linear-gradient(180deg, #ffffff, #f7faff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 14px 28px rgba(0, 0, 0, 0.24);
}

.topbar-login span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 7, 14, 0.72);
  backdrop-filter: blur(14px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(100%, 420px);
  max-height: min(calc(100vh - 48px), 760px);
  overflow-y: auto;
  padding: 30px 28px 26px;
  border: 1px solid rgba(176, 153, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(155, 135, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(16, 12, 31, 0.98), rgba(8, 5, 18, 0.98));
  box-shadow: 0 28px 80px rgba(4, 1, 12, 0.5);
  text-align: center;
}

.modal-card h3 {
  margin-top: 6px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.modal-card p:last-of-type {
  margin: 12px 0 0;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.modal-action {
  margin-top: 22px;
  width: 100%;
}

.login-card {
  width: min(100%, 430px);
  text-align: left;
}

.login-card h3 {
  margin-bottom: 8px;
}

.login-card p:last-of-type {
  margin-top: 0;
}

.auth-tabs,
.auth-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auth-tabs {
  margin-top: 20px;
}

.auth-tab,
.auth-mode-button {
  min-height: 42px;
  border: 1px solid rgba(112, 185, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.auth-tab.active,
.auth-mode-button.active {
  background: linear-gradient(135deg, rgba(103, 240, 255, 0.92), rgba(23, 144, 255, 0.96));
  border-color: transparent;
  color: #04101b;
}

.auth-panel {
  margin-top: 18px;
}

.login-card.is-profile-mode > .eyebrow,
.login-card.is-profile-mode > h3,
.login-card.is-profile-mode > p[data-i18n="login.text"] {
  display: none;
}

.login-card.is-profile-mode .auth-panel {
  margin-top: 0;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field span,
.auth-profile-title {
  color: #dff7ff;
  font-size: 0.88rem;
  font-weight: 700;
}

.auth-field input,
.auth-field select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(112, 185, 255, 0.16);
  border-radius: 14px;
  background: rgba(5, 15, 24, 0.78);
  color: var(--ink);
  font: inherit;
}

.auth-field input:focus,
.auth-field select:focus {
  outline: none;
  border-color: rgba(121, 217, 255, 0.64);
  box-shadow: 0 0 0 3px rgba(121, 217, 255, 0.12);
}

.auth-submit,
.auth-logout {
  width: 100%;
}

.login-options {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.login-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(192, 174, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(18, 12, 37, 0.82);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.login-option:hover {
  transform: translateY(-2px);
  border-color: rgba(206, 188, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(26, 17, 52, 0.92);
  box-shadow: 0 14px 30px rgba(39, 20, 101, 0.28);
}

.login-option:disabled,
.auth-submit:disabled,
.auth-logout:disabled {
  cursor: wait;
  opacity: 0.72;
}

.login-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.login-option-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.fox-icon {
  color: #f99a42;
}

.connect-icon {
  color: #bca8ff;
}

.okx-icon {
  color: #f4f7ff;
}

.login-option-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.login-option-copy strong {
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
}

.login-option-copy small,
.login-note {
  color: rgba(223, 216, 242, 0.72);
  font-size: 0.88rem;
}

.login-note {
  margin-top: 18px;
}

.auth-feedback {
  min-height: 22px;
  margin: 16px 0 0;
  color: rgba(223, 216, 242, 0.72);
  font-size: 0.88rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.auth-feedback.is-error {
  color: #ffb4b4;
}

.auth-feedback.is-success {
  color: #9cf4c5;
}

.profile-operation-card {
  width: min(100%, 760px);
  text-align: left;
}

.profile-operation-card h3 {
  margin-bottom: 8px;
}

.profile-operation-card p:last-of-type {
  margin-top: 0;
}

.profile-operation-form {
  margin-top: 18px;
}

.profile-deposit-assist {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(121, 217, 255, 0.12);
  border-radius: 22px;
  background: rgba(6, 16, 28, 0.72);
}

.profile-deposit-qr-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.profile-deposit-qr {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  background: #fff;
  object-fit: cover;
}

.profile-deposit-address {
  display: grid;
  gap: 8px;
}

.profile-deposit-address span {
  color: var(--muted);
  font-size: 0.82rem;
}

.profile-deposit-address code {
  color: #f2eaff;
  font-family: "Sora", sans-serif;
  font-size: 0.84rem;
  word-break: break-all;
}

.profile-deposit-guide {
  display: grid;
  gap: 14px;
  align-content: start;
}

.profile-network-status {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(121, 217, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.profile-network-status.is-ready {
  border-color: rgba(121, 242, 194, 0.22);
  background: rgba(27, 78, 58, 0.28);
  color: #b8ffd8;
}

.profile-network-status.is-warning {
  border-color: rgba(255, 196, 110, 0.22);
  background: rgba(88, 59, 18, 0.28);
  color: #ffd9a0;
}

.profile-inline-button {
  width: fit-content;
  min-height: 36px;
  padding-inline: 14px;
}

.profile-operation-note {
  margin: 0;
  color: rgba(223, 216, 242, 0.72);
  font-size: 0.84rem;
  line-height: 1.7;
}

.profile-operation-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.profile-operation-actions .button {
  min-width: 136px;
}

.profile-operation-feedback {
  margin-top: 18px;
}

.profile-operation-info {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.profile-operation-confirm,
.profile-operation-progress {
  margin-top: 18px;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(121, 217, 255, 0.12);
  border-radius: 20px;
  background: rgba(6, 16, 28, 0.72);
}

.profile-operation-detail-list {
  display: grid;
  gap: 12px;
}

.profile-operation-detail-list div {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(121, 217, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.profile-operation-detail-list span {
  color: var(--muted);
  font-size: 0.8rem;
}

.profile-operation-detail-list strong,
.profile-operation-detail-list code {
  color: var(--ink);
  font-size: 0.92rem;
}

.profile-operation-detail-list code {
  word-break: break-all;
}

.profile-operation-form [readonly] {
  color: rgba(223, 216, 242, 0.8);
  cursor: default;
}

.auth-profile-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(112, 185, 255, 0.16);
  border-radius: 18px;
  background: rgba(5, 15, 24, 0.78);
}

.auth-profile-card strong {
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
}

.auth-profile-card span {
  color: rgba(223, 216, 242, 0.72);
  font-size: 0.9rem;
}

.profile-topbar {
  grid-template-columns: minmax(0, 1fr) auto;
}

.profile-topbar .brand-lockup {
  width: auto;
  min-width: 0;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}

.profile-topbar .brand-wording {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.profile-main {
  --profile-section-gap: 24px;
  --profile-stack-gap: 16px;
  padding-top: var(--profile-section-gap);
  min-height: 0;
}

body[data-page="profile"].profile-is-empty .profile-main {
  min-height: calc(100vh - 96px);
  display: grid;
  align-items: center;
}

body[data-page="profile"].profile-is-empty .site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

body[data-page="profile"].profile-is-empty .page-noise {
  opacity: 0.06;
}

body[data-page="profile"].profile-is-empty .canvas-wordmark {
  opacity: 0.08;
}

.profile-empty,
.profile-dashboard,
.profile-actions {
  width: 100%;
  margin: 0 auto;
}

.profile-empty {
  min-height: auto;
  display: grid;
  align-items: center;
  padding: 0 0 28px;
}

.profile-empty-card,
.profile-summary,
.profile-panel,
.profile-actions {
  border: 1px solid rgba(191, 173, 255, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(155, 135, 255, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(18, 12, 37, 0.9), rgba(8, 10, 20, 0.96));
  box-shadow: var(--shadow-soft);
}

.profile-empty-card {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 32px 30px;
}

.profile-empty-card h2 {
  max-width: 9ch;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.02;
}

.profile-empty-card p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.7;
}

body[data-page="profile"].profile-is-empty .site-footer {
  display: none;
}

.profile-dashboard {
  display: grid;
  gap: var(--profile-section-gap);
  padding-top: 0;
}

.profile-workspace {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: var(--profile-section-gap);
  align-items: start;
}

.profile-content-shell,
.profile-settings-layout,
.profile-wallet-panel,
#logs-panel,
#settings-panel,
#deploy-panel {
  display: grid;
  gap: var(--profile-stack-gap);
}

.profile-content-shell {
  min-width: 0;
  align-self: start;
}

.profile-rail {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 0;
  align-self: start;
  margin-top: 0;
  padding-top: 0;
}

.profile-inline-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(191, 173, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #ece3ff;
  font-size: 0.82rem;
}

.profile-tabs {
  display: flex;
  flex-direction: column;
  gap: var(--profile-stack-gap);
  margin: 0;
  padding: 0;
}

.profile-tab-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 0;
  text-align: left;
  min-width: 0;
}

.profile-tab-copy strong {
  font-size: 0.92rem;
  white-space: nowrap;
}

.profile-tab-status {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 20px;
  padding: 0 7px;
  border: 1px solid rgba(191, 173, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #aeb5ca;
  font-family: "Sora", sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.profile-tab-status.is-verified {
  border-color: rgba(102, 232, 173, 0.34);
  background: rgba(102, 232, 173, 0.12);
  color: #78f2bd;
}

.profile-tab-status.is-unverified {
  border-color: rgba(191, 173, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  color: #aeb5ca;
}

.profile-tab {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 0 16px 0 18px;
  border: 1px solid rgba(191, 173, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at left top, rgba(142, 99, 255, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(18, 19, 46, 0.9), rgba(11, 13, 30, 0.88));
  color: #f0eaff;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-tab::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.profile-tab:hover {
  transform: translateX(2px);
  border-color: rgba(191, 173, 255, 0.26);
}

.profile-tab-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(191, 173, 255, 0.1);
  color: #d8c8ff;
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.profile-tab.active {
  border-color: rgba(191, 173, 255, 0.28);
  background:
    radial-gradient(circle at left center, rgba(111, 188, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(28, 27, 67, 0.98), rgba(14, 16, 38, 0.94));
  box-shadow: 0 18px 34px rgba(12, 11, 42, 0.32);
}

.profile-tab.active::before {
  background: linear-gradient(180deg, #9c7dff, #4cb8ff);
  box-shadow: 0 0 18px rgba(132, 153, 255, 0.42);
}

.profile-tab.active .profile-tab-index {
  background: linear-gradient(135deg, rgba(165, 128, 255, 0.92), rgba(76, 184, 255, 0.94));
  color: #120f25;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.profile-panel {
  padding: 18px;
  min-width: 0;
}
.profile-table-card {
  border: 1px solid rgba(121, 217, 255, 0.12);
  border-radius: 24px;
  background: rgba(5, 15, 24, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.profile-account-center-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 6px;
  width: min(360px, 100%);
  padding: 5px;
  border: 1px solid rgba(191, 173, 255, 0.16);
  border-radius: 14px;
  background: rgba(7, 12, 26, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.profile-account-center-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #bfb6dd;
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.profile-account-center-tabs button:hover {
  color: #f7f3ff;
  background: rgba(121, 217, 255, 0.08);
}

.profile-account-center-tabs button.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(91, 178, 255, 0.82), rgba(127, 94, 255, 0.82));
  box-shadow: 0 10px 24px rgba(74, 118, 255, 0.22);
}

.profile-forum-tabs {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: min(620px, 100%);
  margin-top: 16px;
  padding: 5px;
  border: 1px solid rgba(191, 173, 255, 0.16);
  border-radius: 14px;
  background: rgba(7, 12, 26, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.profile-forum-tabs button,
.profile-forum-usage-filters button {
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #bfb6dd;
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.profile-forum-tabs button:hover,
.profile-forum-usage-filters button:hover {
  color: #f7f3ff;
  background: rgba(121, 217, 255, 0.08);
}

.profile-forum-tabs button.active,
.profile-forum-usage-filters button.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(91, 178, 255, 0.82), rgba(127, 94, 255, 0.82));
  box-shadow: 0 10px 24px rgba(74, 118, 255, 0.22);
}

.profile-account-section {
  display: grid;
  gap: 22px;
}

.profile-account-section[hidden] {
  display: none;
}

.profile-forum-section {
  display: grid;
  gap: 16px;
}

.profile-forum-section[hidden] {
  display: none;
}

.profile-account-credit-head {
  margin: 2px 0 0;
}

.profile-credit-description {
  max-width: 760px;
  margin: 0;
  padding: 0;
  color: #cfc7e8;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.7;
  text-align: left;
}

.profile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 4px;
}

.profile-account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 14px;
}

.profile-account-primary,
.profile-account-vault {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(121, 217, 255, 0.14);
  border-radius: 22px;
  background: rgba(6, 16, 28, 0.78);
}

.profile-account-primary strong,
.profile-account-vault code {
  font-family: "Sora", sans-serif;
}

.profile-account-primary strong {
  font-size: 1.35rem;
  line-height: 1.35;
}

.profile-account-primary span,
.profile-account-primary small,
.profile-account-vault span,
.profile-account-vault small {
  color: var(--muted);
  font-size: 0.84rem;
}

.profile-account-vault code {
  word-break: break-all;
}

.profile-settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 14px;
}

.profile-claim-panel-note {
  margin-top: 10px;
  max-width: 56rem;
  line-height: 1.75;
}

.profile-claim-stack {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.profile-claim-card {
  min-width: 0;
}

.profile-claim-status-card {
  padding: 18px;
  border: 1px solid rgba(121, 217, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at left top, rgba(121, 217, 255, 0.08), transparent 42%),
    rgba(6, 16, 28, 0.66);
}

.profile-claim-status-card .profile-table-head {
  padding: 0 0 12px;
  border-bottom: none;
}

.profile-claim-status-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: start;
}

.profile-claim-status-main {
  display: grid;
  gap: 12px;
  max-width: 620px;
}

.profile-claim-status-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.36rem, 2vw, 1.72rem);
  line-height: 1.14;
}

.profile-claim-status-text {
  margin: 0;
}

.profile-claim-status-highlight {
  margin: 0;
  color: #ece3ff;
  font-size: 0.95rem;
  line-height: 1.7;
}

.profile-claim-agent-card {
  display: grid;
  gap: 18px;
  width: 100%;
  min-height: 0;
  padding: 24px;
  max-width: 460px;
  justify-self: end;
  border: 1px solid rgba(121, 217, 255, 0.1);
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 0%, rgba(124, 92, 255, 0.16), transparent 36%),
    rgba(15, 23, 42, 0.64);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.profile-claim-capability-block {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.profile-claim-capability-label {
  color: #ece3ff;
  font-family: "Sora", sans-serif;
  font-size: 0.96rem;
}

.profile-claim-capability-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-claim-capability-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.7;
}

.profile-claim-capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(121, 242, 194, 0.24);
  background: rgba(27, 78, 58, 0.28);
  box-shadow: inset 0 0 0 4px rgba(121, 242, 194, 0.9);
}

.profile-claim-agent-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.045);
  min-width: 0;
  align-items: center;
}

.profile-claim-agent-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #8b5cf6, #60a5fa);
  color: #0f1228;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  flex: 0 0 auto;
}

.profile-claim-agent-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.profile-claim-agent-copy span,
.profile-claim-agent-copy small {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.profile-claim-agent-name {
  min-width: 0;
  max-width: 260px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.profile-claim-status-actions {
  margin-top: 18px;
}

.profile-claim-link-button {
  padding-inline: 0;
  border-color: transparent;
  background: transparent;
  color: rgba(223, 216, 242, 0.72);
  box-shadow: none;
}

.profile-claim-link-button:hover {
  border-color: transparent;
  background: transparent;
  color: #f0eaff;
}

.profile-claim-agent-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-claim-time-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.9rem;
  line-height: 1;
  white-space: nowrap;
}

.profile-claim-route {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(226, 232, 240, 0.72);
  font-weight: 700;
  line-height: 1.5;
}

.profile-claim-form {
  padding: 18px;
  gap: 14px;
}

.profile-claim-actions {
  margin-top: 4px;
  flex-wrap: wrap;
}

.profile-claim-actions .button[hidden] {
  display: none;
}

.profile-claim-code-note,
.profile-claim-feedback {
  margin-top: 0;
}

.profile-claim-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 18px;
}

.profile-claim-info-item code,
.profile-claim-credential-block code,
.profile-claim-form input {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.profile-claim-credential-card {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.profile-claim-credential-block {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(121, 217, 255, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at left top, rgba(155, 135, 255, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.02);
}

.profile-claim-credential-block code {
  color: #f2eaff;
  font-size: 0.9rem;
  line-height: 1.85;
}

.profile-claim-flow-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 18px 18px 38px;
  color: var(--muted);
  line-height: 1.75;
}

.profile-forum-usage-card {
  overflow: hidden;
}

.profile-forum-usage-summary {
  padding: 18px;
}

.profile-forum-usage-metric strong {
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
}

.profile-forum-usage-head {
  align-items: start;
  gap: 16px;
}

.profile-forum-usage-filters {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(64px, 1fr));
  gap: 5px;
  width: min(460px, 100%);
  padding: 5px;
  border: 1px solid rgba(191, 173, 255, 0.14);
  border-radius: 14px;
  background: rgba(7, 12, 26, 0.64);
}

.profile-game-lobby {
  display: grid;
  gap: 16px;
}

.profile-game-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid rgba(121, 217, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at left top, rgba(121, 217, 255, 0.08), transparent 38%),
    rgba(6, 16, 28, 0.72);
}

.profile-game-hero-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.profile-game-hero-copy h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.14;
}

.profile-game-hero-copy p:last-child {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.profile-game-balance-card {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 160px;
  padding: 22px;
  border: 1px solid rgba(121, 242, 194, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(27, 78, 58, 0.28), rgba(15, 23, 42, 0.74)),
    rgba(255, 255, 255, 0.035);
}

.profile-game-balance-card span,
.profile-game-stat-card span {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.profile-game-balance-card strong {
  color: #e9fff7;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.profile-game-balance-card small {
  color: rgba(186, 230, 253, 0.8);
  font-weight: 700;
}

.profile-game-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile-game-stat-card {
  display: grid;
  gap: 8px;
  min-height: 106px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 18px;
  background: rgba(7, 12, 26, 0.6);
}

.profile-game-stat-card strong {
  color: #f4f7fb;
  font-family: "Sora", sans-serif;
  font-size: 1.22rem;
  line-height: 1.25;
}

.profile-game-policy-card {
  overflow: hidden;
}

.profile-game-policy-head {
  align-items: start;
  gap: 14px;
}

.profile-game-policy-self {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(7, 12, 26, 0.72);
  color: #ece3ff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.profile-game-policy-self input {
  width: 16px;
  height: 16px;
  accent-color: #79f2c2;
}

.profile-game-policy-form {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.profile-game-policy-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.profile-field-limit-hint {
  display: block;
  min-height: 16px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.profile-game-policy-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.profile-game-policy-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  color: #ece3ff;
  font-weight: 800;
  line-height: 1.45;
}

.profile-game-policy-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #79f2c2;
  flex: 0 0 auto;
}

.profile-game-room-policy {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(121, 242, 194, 0.16);
  border-radius: 14px;
  background: rgba(2, 11, 22, 0.42);
}

.profile-game-room-status {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 13px;
}

.profile-game-room-status strong {
  color: #79f2c2;
  font-family: "Sora", sans-serif;
  font-size: 14px;
  text-align: left;
}

.profile-game-room-policy-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.profile-game-policy-form.is-agent-self-directed .profile-game-room-policy {
  opacity: 0.46;
}

.profile-game-policy-actions {
  margin-top: 0;
  flex-wrap: wrap;
}

.profile-game-ledger-card {
  overflow: hidden;
}

.profile-game-filters {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(58px, 1fr));
  gap: 5px;
  width: min(390px, 100%);
  padding: 5px;
  border: 1px solid rgba(121, 242, 194, 0.14);
  border-radius: 14px;
  background: rgba(7, 12, 26, 0.64);
}

.profile-game-filters button {
  min-height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(226, 232, 240, 0.72);
  font-weight: 800;
  cursor: pointer;
}

.profile-game-filters button:hover,
.profile-game-filters button.active {
  background: rgba(121, 242, 194, 0.14);
  color: #e9fff7;
}

.profile-data-row-game-ledger > span:nth-child(3).is-positive {
  color: #86efac;
}

.profile-data-row-game-ledger > span:nth-child(3).is-negative {
  color: #fda4af;
}

.profile-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(191, 173, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #ece3ff;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.profile-status-badge.is-active {
  border-color: rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
}

.profile-status-badge.is-pending {
  border-color: rgba(255, 196, 110, 0.28);
  background: rgba(88, 59, 18, 0.28);
  color: #ffd9a0;
}

.profile-status-badge.is-failed {
  border-color: rgba(255, 132, 132, 0.28);
  background: rgba(86, 28, 36, 0.28);
  color: #ffc1c1;
}

.profile-status-badge.is-idle {
  color: #d8caef;
}

.profile-claim-confirm-card {
  width: min(100%, 520px);
  text-align: left;
}

.profile-claim-confirm-card h3 {
  margin-bottom: 8px;
}

.profile-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  transform: translateX(-50%);
  min-width: 128px;
  max-width: min(92vw, 420px);
  padding: 12px 16px;
  border: 1px solid rgba(191, 173, 255, 0.18);
  border-radius: 16px;
  background: rgba(13, 12, 28, 0.94);
  box-shadow: var(--shadow-soft);
  color: #f2eaff;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}

.profile-toast.is-error {
  border-color: rgba(255, 132, 132, 0.32);
  color: #ffc1c1;
}

.profile-toast.is-success {
  border-color: rgba(121, 242, 194, 0.24);
  color: #b8ffd8;
}

.profile-faucet-modal {
  width: min(100%, 520px);
  text-align: left;
}

.profile-faucet-modal h3 {
  margin-bottom: 8px;
}

.profile-faucet-modal-form {
  margin-top: 16px;
}

.profile-faucet-submit {
  width: 100%;
  position: relative;
}

.profile-faucet-submit.is-loading {
  color: transparent;
  pointer-events: none;
}

.profile-faucet-submit.is-loading::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.26);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

.profile-faucet-feedback {
  min-height: 22px;
  margin: 0;
  white-space: normal;
}

.profile-faucet-feedback.is-error {
  color: #ff9db4;
}

.profile-faucet-feedback.is-success {
  color: var(--success);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.profile-inline-detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.profile-inline-detail-list div {
  display: grid;
  gap: 5px;
}

.profile-inline-detail-list dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.profile-inline-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
}

.profile-wallet-network {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(121, 217, 255, 0.12);
  background: rgba(121, 217, 255, 0.06);
  color: #dff8ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.profile-wallet-actions,
.profile-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-table-card {
  overflow: hidden;
}

.profile-token-list {
  min-width: 0;
}

.profile-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(121, 217, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.profile-table-head h4 {
  font-family: "Sora", sans-serif;
  font-size: 0.94rem;
}

.profile-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(121, 217, 255, 0.08);
}

.profile-card-head h4 {
  font-family: "Sora", sans-serif;
  font-size: 0.94rem;
}

.profile-credit-panel {
  display: grid;
  gap: 18px;
}

.profile-account-section[hidden] {
  display: none;
}

.profile-credit-panel .profile-panel-head {
  align-items: flex-start;
  margin-bottom: 0;
}

.profile-credit-panel .profile-inline-note {
  max-width: 720px;
}

.profile-balance-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(360px, 1.14fr);
  gap: 16px;
}

.profile-balance-card {
  display: grid;
  gap: 12px;
  min-height: 178px;
  padding: 20px;
  border: 1px solid rgba(121, 217, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(8, 19, 32, 0.94), rgba(10, 13, 30, 0.94)),
    radial-gradient(circle at top right, rgba(121, 217, 255, 0.12), transparent 46%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.profile-balance-card span {
  color: #c9c1e6;
  font-size: 0.8rem;
  font-weight: 700;
}

.profile-balance-card strong {
  font-family: "Sora", sans-serif;
  color: #f7f3ff;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1;
}

.profile-balance-card small {
  align-self: end;
  width: fit-content;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(191, 173, 255, 0.16);
  background: rgba(191, 173, 255, 0.08);
  color: #d9ceff;
  font-size: 0.76rem;
  font-weight: 700;
}

.profile-balance-card-primary {
  align-content: space-between;
}

.profile-balance-card-primary strong {
  font-size: clamp(3rem, 5vw, 4.1rem);
  letter-spacing: 0;
}

.profile-balance-card-level {
  align-content: space-between;
}

.profile-credit-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.profile-credit-card-meta span {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-credit-card-meta em,
.profile-credit-card-meta b {
  display: block;
  font-style: normal;
}

.profile-credit-card-meta em {
  color: #9f96bd;
  font-size: 0.72rem;
  font-weight: 700;
}

.profile-credit-card-meta b {
  color: #f7f3ff;
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.profile-credit-level-footer {
  display: grid;
  grid-template-columns: auto minmax(140px, 1fr);
  gap: 12px;
  align-items: center;
}

.profile-credit-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(121, 217, 255, 0.14);
  background: rgba(3, 9, 18, 0.78);
}

.profile-credit-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #79f2c2, #6fbcff 52%, #a580ff);
  transition: width 0.28s ease;
}

.profile-credit-grid {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
}

.profile-credit-card {
  border-radius: 20px;
}

.profile-credit-rules {
  border: 1px solid rgba(121, 217, 255, 0.1);
  border-radius: 18px;
  background: rgba(5, 12, 24, 0.66);
  overflow: hidden;
}

.profile-credit-rules summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  color: #f6f0ff;
  font-family: "Sora", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.profile-credit-rules summary::-webkit-details-marker {
  display: none;
}

.profile-credit-rules summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(191, 173, 255, 0.18);
  color: #bfb6dd;
  font-size: 1rem;
  line-height: 1;
}

.profile-credit-rules[open] summary {
  border-bottom: 1px solid rgba(121, 217, 255, 0.08);
}

.profile-credit-rules[open] summary::after {
  content: "-";
}

.profile-credit-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px;
}

.profile-credit-rules h4 {
  margin: 0 0 10px;
  color: #f7f3ff;
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
}

.profile-credit-rules ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-credit-rules li {
  color: #cfc7e8;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.55;
}

.profile-credit-source-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 0 18px;
  border-top: 1px solid rgba(121, 217, 255, 0.08);
}

.profile-credit-source-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #6fbcff;
  box-shadow: 0 0 18px rgba(111, 188, 255, 0.5);
}

.profile-credit-source-dot.is-echora {
  background: #79f2c2;
  box-shadow: 0 0 18px rgba(121, 242, 194, 0.45);
}

.profile-credit-source-dot.is-system {
  background: #ffd166;
  box-shadow: 0 0 18px rgba(255, 209, 102, 0.38);
}

.profile-credit-source-dot.is-admin {
  background: #ff9db4;
  box-shadow: 0 0 18px rgba(255, 157, 180, 0.4);
}

.profile-credit-source-copy {
  min-width: 0;
}

.profile-credit-source-copy strong,
.profile-credit-source-copy small,
.profile-credit-source-value {
  display: block;
}

.profile-credit-source-copy strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.profile-credit-source-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
}

.profile-credit-source-value {
  color: #f7f3ff;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.profile-log-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid rgba(121, 217, 255, 0.08);
}

.profile-log-item strong,
.profile-log-item p,
.profile-log-item small {
  display: block;
}

.profile-log-item strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.profile-log-item p {
  margin: 7px 0 0;
  color: #d8d2ee;
  font-size: 0.86rem;
  line-height: 1.5;
}

.profile-log-item small {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.profile-log-item > span {
  min-width: 64px;
  text-align: right;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
}

.profile-inline-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.profile-data-table {
  display: grid;
}

.profile-data-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.15fr) repeat(3, minmax(100px, 0.72fr)) minmax(120px, 0.8fr);
  gap: 16px;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  border-top: 1px solid rgba(121, 217, 255, 0.08);
}

.profile-log-list .profile-data-row {
  grid-template-columns: minmax(120px, 0.55fr) minmax(260px, 1.45fr) minmax(140px, 0.8fr);
}

.profile-data-row-simple,
.profile-data-row-simple-head {
  grid-template-columns: minmax(180px, 1.2fr) minmax(120px, 0.7fr) minmax(120px, 0.7fr);
}

.profile-data-row-head {
  min-height: 48px;
  background: rgba(255, 255, 255, 0.025);
}

.profile-data-row span,
.profile-data-row strong,
.profile-data-row code,
.profile-data-row small {
  display: block;
}

.profile-data-row span {
  color: var(--ink);
  font-size: 0.9rem;
  min-width: 0;
}

.profile-data-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.profile-data-row-head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.profile-data-row-assets,
.profile-data-row-assets-head {
  grid-template-columns: minmax(120px, 0.95fr) minmax(110px, 0.75fr) minmax(140px, 0.95fr) minmax(140px, 0.9fr) minmax(130px, 0.9fr);
}

.profile-data-row-assets span,
.profile-data-row-assets-head span {
  white-space: nowrap;
}

.profile-data-row-log,
.profile-data-row-log-head {
  grid-template-columns: minmax(170px, 0.78fr) minmax(420px, 1.82fr) minmax(170px, 0.8fr);
  gap: 22px;
}

.profile-data-row-log {
  align-items: start;
  min-height: 0;
  padding-top: 18px;
  padding-bottom: 18px;
}

.profile-data-row-forum-usage,
.profile-data-row-forum-usage-head {
  grid-template-columns: minmax(150px, 0.75fr) minmax(260px, 1.35fr) minmax(110px, 0.55fr) minmax(150px, 0.7fr);
}

.profile-data-row-forum-usage {
  align-items: start;
  min-height: 0;
  padding-top: 18px;
  padding-bottom: 18px;
}

.profile-forum-usage-detail {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.profile-forum-usage-detail-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  line-height: 1.45;
}

.profile-forum-usage-detail-row > span {
  color: rgba(223, 216, 255, 0.66);
  white-space: nowrap;
}

.profile-forum-usage-detail-row > div {
  min-width: 0;
}

.profile-forum-usage-product-link {
  color: #f4f0ff;
  font-weight: 700;
  text-decoration: none;
}

.profile-forum-usage-product-link:hover {
  color: #79d9ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-forum-usage-hash {
  display: inline-block;
  max-width: 100%;
  color: rgba(121, 217, 255, 0.92);
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.profile-log-detail {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.profile-log-detail-structured {
  gap: 6px;
}

.profile-log-detail-structured strong {
  font-size: 0.92rem;
  line-height: 1.45;
}

.profile-log-detail span {
  display: block;
  line-height: 1.55;
}

.profile-log-hash {
  display: block;
  color: rgba(121, 217, 255, 0.9);
  font-size: 0.8rem;
  word-break: break-all;
}

.profile-log-time {
  white-space: nowrap;
  align-self: start;
  padding-top: 4px;
}

.profile-account-detail-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  padding: 18px;
}

.profile-account-detail-list div {
  display: grid;
  gap: 6px;
}

.profile-account-card code,
.profile-data-row code {
  color: #f2eaff;
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  word-break: break-all;
}

.profile-detail-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 18px;
}

.profile-detail-list div {
  display: grid;
  gap: 6px;
}

.profile-detail-list dt {
  color: var(--muted);
  font-size: 0.84rem;
}

.profile-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.7;
  word-break: break-word;
}

.profile-deploy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.profile-deploy-card {
  border: 1px solid rgba(121, 217, 255, 0.12);
  border-radius: 24px;
  background: rgba(5, 15, 24, 0.78);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.profile-deploy-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.profile-deploy-result {
  display: grid;
  gap: 12px;
  padding: 0 18px 18px;
}

.profile-deploy-result strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
}

.profile-deploy-result code {
  display: block;
  color: #dff8ff;
  font-size: 0.82rem;
  line-height: 1.7;
  word-break: break-all;
}

.profile-endpoint-list {
  display: grid;
}

.profile-endpoint-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid rgba(121, 217, 255, 0.08);
}

.profile-endpoint-item:first-child {
  border-top: 0;
}

.profile-endpoint-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
}

.profile-endpoint-item code {
  display: block;
  color: #dff8ff;
  font-size: 0.82rem;
  line-height: 1.7;
  word-break: break-all;
}

.profile-copy-button {
  min-width: 88px;
}

.profile-deploy-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px 18px 18px 38px;
  color: var(--ink);
  line-height: 1.7;
}

.profile-code-block {
  margin: 0;
  padding: 18px;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(8, 14, 24, 0.96), rgba(5, 10, 18, 0.96)),
    radial-gradient(circle at top right, rgba(76, 184, 255, 0.12), transparent 48%);
  border-top: 1px solid rgba(121, 217, 255, 0.08);
}

.profile-code-block code {
  display: block;
  color: #e6fbff;
  font-family: "SFMono-Regular", "Menlo", "Monaco", monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  white-space: pre;
}

.profile-code-block-wrap {
  overflow: hidden;
}

.profile-code-block-wrap code {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.profile-log-list {
  overflow: auto;
}

.profile-log-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.profile-filter-field {
  margin: 0;
}

.profile-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 14px 0 18px;
  padding: 0 18px;
}

.profile-credit-pagination-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(121, 217, 255, 0.14);
  border-radius: 999px;
  background: rgba(4, 12, 22, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.profile-credit-pagination-group button {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #cfc7ea;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.profile-credit-pagination-group button:hover {
  background: rgba(121, 217, 255, 0.1);
  color: #f7f3ff;
}

.profile-credit-pagination-group button.is-active {
  background: linear-gradient(135deg, rgba(121, 242, 194, 0.95), rgba(111, 188, 255, 0.95));
  color: #07121c;
  box-shadow: 0 8px 18px rgba(78, 184, 255, 0.22);
}

.profile-page-button {
  min-width: 104px;
}

.profile-page-indicator {
  color: var(--muted);
  font-size: 0.86rem;
}

.profile-empty-inline {
  padding: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.profile-settings-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(112, 185, 255, 0.16);
  border-radius: 14px;
  background: rgba(5, 15, 24, 0.78);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.profile-settings-form textarea:focus {
  outline: none;
  border-color: rgba(121, 217, 255, 0.64);
  box-shadow: 0 0 0 3px rgba(121, 217, 255, 0.12);
}

.profile-basic-detail-list {
  padding: 18px;
}

.profile-small-button {
  min-height: 34px;
}

.profile-faucet-trigger {
  position: relative;
  overflow: hidden;
  border-color: rgba(152, 124, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(138, 104, 255, 0.96), rgba(84, 192, 255, 0.9)),
    rgba(20, 18, 46, 0.96);
  color: #fff;
  box-shadow:
    0 14px 30px rgba(82, 73, 196, 0.34),
    0 0 0 1px rgba(196, 182, 255, 0.12) inset;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

.profile-faucet-trigger::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: -38%;
  width: 36%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  opacity: 0.9;
  pointer-events: none;
  transform: skewX(-20deg);
  animation: faucetMarquee 2.2s linear infinite;
}

.profile-faucet-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(184, 159, 255, 0.62);
  box-shadow:
    0 18px 34px rgba(92, 83, 216, 0.42),
    0 0 24px rgba(120, 126, 255, 0.26);
  filter: saturate(1.08);
}

.profile-faucet-trigger:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(152, 124, 255, 0.24),
    0 18px 34px rgba(92, 83, 216, 0.42);
}

@keyframes faucetMarquee {
  0% {
    left: -38%;
  }
  100% {
    left: 108%;
  }
}

.is-positive {
  color: #79f2c2;
}

.is-negative {
  color: #ff8f8f;
}

.profile-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.profile-logout {
  min-width: 160px;
}

.section {
  padding: 84px 0 0;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: flex-start;
  min-height: auto;
  padding-top: 18px;
}

.hero-copy {
  display: grid;
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #8ddfff;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  max-width: none;
  font-size: clamp(3.8rem, 8vw, 7.6rem);
  line-height: 1.04;
  white-space: nowrap;
  letter-spacing: -0.05em;
  padding-bottom: 0.08em;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.1rem, 4.3vw, 4rem);
  line-height: 0.98;
}

.section-heading .eyebrow,
.section-heading h2,
.section-heading p,
.cta-card .eyebrow,
.cta-card h2,
.cta-card p {
  width: 100%;
  text-align: center;
}

.section-heading h2,
.cta-card h2 {
  max-width: none;
  margin: 0 auto;
  font-family: "Sora", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h3 {
  font-size: 1.28rem;
}

.hero-text,
.section-heading p,
.feature-card p,
.step-card p,
.ecosystem-card p,
.voice-card p,
.cta-card p,
.workflow-side p,
.workflow-node p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 860px;
  margin: 16px auto 0;
  font-size: 1.02rem;
}

.hero-actions,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.hero-meta {
  gap: 24px;
}

.meta-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.hero-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(121, 217, 255, 0.08) 0,
      rgba(121, 217, 255, 0.08) 1px,
      transparent 1px,
      transparent 6px
    ),
    rgba(10, 24, 38, 0.52);
  color: #dff7ff;
  font-size: 0.82rem;
}

.hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 18px;
  perspective: 1400px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

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

.hero-stat-card,
.problem-card,
.comparison-card,
.layer-card,
.guide-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.hero-stat-card {
  padding: 20px;
  min-height: 138px;
}

.hero-stat-card.accent {
  background:
    radial-gradient(circle at top right, rgba(103, 240, 255, 0.16), transparent 26%),
    linear-gradient(145deg, rgba(10, 34, 56, 0.96), rgba(5, 12, 20, 0.98));
}

.hero-stat-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.brand-stage,
.device-card,
.metric-card,
.feature-card,
.workflow-shell,
.step-card,
.ecosystem-card,
.voice-card,
.cta-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.brand-stage::before,
.device-card::before,
.metric-card::before,
.feature-card::before,
.workflow-shell::before,
.step-card::before,
.ecosystem-card::before,
.voice-card::before,
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(144, 216, 255, 0.08), transparent 22%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 11px,
      rgba(82, 189, 255, 0.025) 11px,
      rgba(82, 189, 255, 0.025) 12px
    );
  opacity: 0.42;
}

.brand-stage {
  min-height: 400px;
  padding: 30px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 16% 22%, rgba(31, 182, 255, 0.26), transparent 18%),
    radial-gradient(circle at 72% 24%, rgba(76, 237, 255, 0.14), transparent 18%),
    linear-gradient(145deg, rgba(10, 24, 37, 0.98), rgba(5, 10, 17, 0.98));
  transform-style: preserve-3d;
}

.brand-beam {
  position: absolute;
  inset: 8% auto auto 12%;
  width: 46%;
  height: 180px;
  background: linear-gradient(135deg, rgba(103, 240, 255, 0.2), rgba(17, 144, 255, 0));
  filter: blur(18px);
  transform: rotate(-9deg);
}

.brand-stage-frame {
  position: absolute;
  inset: 20px;
  border-radius: 28px;
  border: 1px solid rgba(105, 186, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(165, 234, 255, 0.08);
}

.brand-glow {
  position: absolute;
  inset: 18% 10% auto;
  height: 130px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(87, 230, 255, 0.28), transparent 72%);
  filter: blur(22px);
  animation: glowPulse 6s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(101, 189, 255, 0.16);
  border-radius: 999px;
  pointer-events: none;
}

.orbit-one {
  inset: 34px 58px auto auto;
  width: 120px;
  height: 120px;
  animation: orbitFloat 10s ease-in-out infinite;
}

.orbit-two {
  left: 42px;
  bottom: 46px;
  width: 74px;
  height: 74px;
  animation: orbitFloat 8s ease-in-out infinite reverse;
}

.hero-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 560px);
  margin: 52px auto 0;
  filter: drop-shadow(0 18px 44px rgba(16, 129, 255, 0.22));
  transform: translateZ(24px);
  animation: logoFloat 7s ease-in-out infinite;
}

.brand-stage-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 38px;
  transform: translateZ(18px);
}

.brand-stage-copy span {
  color: #95dfff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-stage-copy strong {
  max-width: 22ch;
  font-size: 1.25rem;
  font-family: "Sora", sans-serif;
}

.device-card {
  height: 100%;
  padding: 18px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(89, 244, 255, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(10, 22, 35, 0.94), rgba(5, 10, 17, 0.98));
  transform-style: preserve-3d;
}

.device-header {
  display: flex;
  gap: 8px;
  padding: 4px 6px 14px;
}

.device-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.device-screen {
  padding: 20px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(5, 9, 16, 0.98), rgba(9, 18, 28, 0.98)),
    repeating-linear-gradient(
      90deg,
      rgba(94, 171, 255, 0.03) 0,
      rgba(94, 171, 255, 0.03) 1px,
      transparent 1px,
      transparent 8px
    );
  color: #f7f7f5;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.screen-primary,
.mini-card,
.log-item {
  border: 1px solid rgba(103, 176, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.screen-primary {
  padding: 18px;
  border-radius: 24px;
  animation: panelBreathe 6s ease-in-out infinite;
}

.panel-row,
.log-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.screen-amount {
  margin-top: 20px;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
}

.screen-trend {
  margin-top: 8px;
  color: var(--success);
  font-size: 0.95rem;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.mini-card {
  padding: 16px;
  border-radius: 20px;
  animation: panelBreathe 8s ease-in-out infinite;
}

.mini-card:nth-child(2) {
  animation-delay: 1.4s;
}

.mini-card:nth-child(3) {
  animation-delay: 2.8s;
}

.mini-card span,
.log-item p,
.workflow-node p {
  color: rgba(247, 247, 245, 0.72);
  margin: 0;
}

.mini-card strong,
.workflow-node strong {
  display: block;
  margin-top: 8px;
}

.mini-card.wide {
  grid-column: 1 / -1;
}

.screen-log {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.log-item {
  padding: 14px 16px;
  border-radius: 18px;
  align-items: flex-start;
}

.log-pill {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(138, 240, 176, 0.14);
  color: #c7f8d6;
  font-size: 0.78rem;
  font-weight: 800;
  animation: statusBlink 2.6s ease-in-out infinite;
}

.log-pill.muted {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.metric-card {
  min-height: 188px;
  padding: 28px;
  border-radius: 28px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.metric-card.accent {
  background:
    radial-gradient(circle at top right, rgba(103, 240, 255, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(10, 34, 56, 0.96), rgba(5, 12, 20, 0.98));
}

.metric-label,
.metric-foot,
.card-tag,
.step-number {
  display: block;
}

.metric-label,
.card-tag {
  color: #95dfff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.metric-card strong {
  display: block;
  margin: 16px 0 8px;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.metric-foot {
  color: var(--muted);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-heading.narrow {
  max-width: 620px;
}

#opportunity .section-heading {
  max-width: 680px;
}

.feature-grid,
.ecosystem-grid,
.voices-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-grid,
.problem-grid,
.usecase-grid,
.integration-grid,
.guide-grid,
.faq-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.problem-card {
  padding: 28px;
}

.problem-card p {
  color: var(--muted);
  line-height: 1.75;
}

.problem-card strong {
  display: block;
  margin-top: 18px;
  color: #def8ff;
  line-height: 1.6;
}

.pillar-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.usecase-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tab-shell-section {
  padding-top: 24px;
}

.tab-shell {
  position: sticky;
  top: 76px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 14, 24, 0.82);
  backdrop-filter: blur(14px);
}

.tab-chip {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.tab-chip:hover {
  color: var(--ink);
}

.tab-chip.active {
  background: linear-gradient(135deg, rgba(103, 240, 255, 0.92), rgba(23, 144, 255, 0.96));
  color: #04101b;
}

.comparison-card {
  margin-top: 28px;
  padding: 24px;
}

.comparison-head {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.comparison-table {
  position: relative;
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(193, 176, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(18, 13, 35, 0.96), rgba(10, 8, 22, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(4, 1, 12, 0.32);
}

.comparison-table::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 35.29%;
  height: 100%;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(153, 135, 255, 0.1), rgba(23, 12, 46, 0)),
    radial-gradient(circle at top, rgba(171, 141, 255, 0.16), transparent 30%);
  box-shadow: inset 1px 0 0 rgba(191, 170, 255, 0.12);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.9fr 1.05fr 1.05fr;
}

.comparison-row + .comparison-row {
  border-top: 1px solid rgba(193, 176, 255, 0.08);
}

.comparison-row span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 20px 22px;
  border-right: 1px solid rgba(193, 176, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  line-height: 1.65;
}

.comparison-row span:last-child {
  border-right: 0;
}

.comparison-row span:first-child {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  color: #f0e9ff;
  font-weight: 700;
}

.comparison-row span:nth-child(2) {
  color: rgba(232, 238, 246, 0.9);
}

.comparison-row span:nth-child(3) {
  color: #f4efff;
  background:
    radial-gradient(circle at top right, rgba(190, 167, 255, 0.08), transparent 42%),
    rgba(18, 12, 36, 0.56);
}

.comparison-row .agent-column {
  z-index: 1;
  overflow: hidden;
  color: #fbf8ff;
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(50, 33, 92, 0.92), rgba(18, 12, 36, 0.9)),
    radial-gradient(circle at top right, rgba(190, 167, 255, 0.12), transparent 42%);
  box-shadow:
    inset 1px 0 0 rgba(191, 170, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.comparison-row .agent-column::before {
  content: "";
  position: absolute;
  inset: 10px 12px;
  border: 1px solid rgba(191, 170, 255, 0.14);
  border-radius: 16px;
  pointer-events: none;
}

.comparison-row:not(.comparison-row-label) .agent-column::after {
  content: "";
  position: absolute;
  top: -24%;
  left: -42%;
  width: 42%;
  height: 148%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-22deg);
  pointer-events: none;
  animation: agentSweep 5.4s ease-in-out infinite;
}

.comparison-row:nth-child(2) .agent-column::after {
  animation-delay: 0.2s;
}

.comparison-row:nth-child(3) .agent-column::after {
  animation-delay: 0.5s;
}

.comparison-row:nth-child(4) .agent-column::after {
  animation-delay: 0.8s;
}

.comparison-row:nth-child(5) .agent-column::after {
  animation-delay: 1.1s;
}

.comparison-row:nth-child(6) .agent-column::after {
  animation-delay: 1.4s;
}

.comparison-row-label .agent-column {
  justify-content: center;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(64, 44, 112, 0.98), rgba(24, 15, 48, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(191, 170, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 30px rgba(115, 87, 255, 0.08);
}

.comparison-row-label .agent-column::after {
  content: "Key";
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(191, 170, 255, 0.14);
  color: #d7c9ff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comparison-label span {
  min-height: 68px;
  color: #d7c9ff;
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(34, 24, 64, 0.96), rgba(14, 10, 29, 0.96));
}

.layer-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.layer-card {
  padding: 28px;
}

.layer-card ul,
.guide-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.architecture-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 28px;
  align-items: start;
}

.integration-steps {
  grid-template-columns: 1fr;
}

.integration-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.integration-grid .ecosystem-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
}

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

.guide-card {
  padding: 28px;
}

.guide-grid .guide-card {
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.guide-grid .guide-card::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 28px;
  right: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(103, 240, 255, 0.08), rgba(103, 240, 255, 0.72), rgba(103, 240, 255, 0.08));
  transform-origin: left center;
  animation: roadmapSignal 3.6s ease-in-out infinite;
}

.guide-grid .guide-card::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 22px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(103, 240, 255, 0.95), rgba(23, 144, 255, 0.18) 68%, transparent 72%);
  box-shadow: 0 0 0 0 rgba(103, 240, 255, 0.2);
  animation: roadmapDot 3.6s ease-in-out infinite;
}

.guide-grid .guide-card:nth-child(2)::before,
.guide-grid .guide-card:nth-child(2)::after {
  animation-delay: 0.35s;
}

.guide-grid .guide-card:nth-child(3)::before,
.guide-grid .guide-card:nth-child(3)::after {
  animation-delay: 0.7s;
}

.guide-grid .guide-card:nth-child(4)::before,
.guide-grid .guide-card:nth-child(4)::after {
  animation-delay: 1.05s;
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.code-block {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(103, 176, 255, 0.12);
  background: rgba(3, 9, 18, 0.88);
  overflow: auto;
}

.code-block code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.88rem;
  color: #c4efff;
  line-height: 1.9;
  white-space: pre;
}

.feature-card,
.voice-card,
.cta-card,
.ecosystem-card,
.step-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.feature-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.workflow-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 0.8fr;
  gap: 18px;
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 22px;
  border-radius: 34px;
}

.workflow-side,
.workflow-node {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(103, 176, 255, 0.1);
}

.workflow-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(83, 190, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 800;
}

.workflow-chip.success {
  background: rgba(94, 233, 255, 0.14);
  color: #ddfbff;
}

.workflow-center {
  display: grid;
  gap: 12px;
}

.workflow-node {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.workflow-node span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  font-weight: 800;
  color: #050505;
  background: linear-gradient(135deg, #66efff, #178eff);
}

.workflow-node.active span {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

.workflow-node:hover,
.feature-card:hover,
.voice-card:hover,
.cta-card:hover,
.ecosystem-card:hover,
.step-card:hover,
.metric-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.step-number {
  color: #d7dde8;
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.ecosystem-grid {
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
}

.ecosystem-card.large {
  grid-row: span 2;
}

.status-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.status-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.status-list span {
  min-width: 0;
}

.status-list strong {
  text-align: right;
  white-space: nowrap;
}

.voices-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.voice-card {
  background:
    radial-gradient(circle at top right, rgba(103, 240, 255, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(9, 20, 31, 0.96), rgba(5, 9, 16, 0.98));
}

.cta-section {
  padding-bottom: 24px;
}

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(103, 240, 255, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(8, 28, 44, 0.98), rgba(4, 8, 15, 1));
}

body[data-page="profile"] .site-footer {
  align-self: end;
  padding: 18px 4px 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px 0;
}

.footer-socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(103, 176, 255, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  color: rgba(225, 235, 245, 0.86);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 240, 255, 0.28);
  background: linear-gradient(180deg, rgba(19, 43, 67, 0.72), rgba(8, 19, 31, 0.72));
  color: #f4fbff;
}

.social-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.site-footer small {
  color: rgba(141, 158, 179, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.18s ease-out;
}

@keyframes sheenDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(1.5%, 0.5%, 0);
  }
}

@keyframes auroraFloatOne {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.44;
  }
  50% {
    transform: translate3d(7%, 5%, 0) scale(1.08);
    opacity: 0.68;
  }
}

@keyframes auroraFloatTwo {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.34;
  }
  50% {
    transform: translate3d(-7%, 4%, 0) scale(1.12);
    opacity: 0.6;
  }
}

@keyframes wordmarkDrift {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.14;
  }
  50% {
    transform: translate(-49.4%, -50.8%) scale(1.025);
    opacity: 0.19;
  }
}

@keyframes walletPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.82;
    filter: drop-shadow(0 0 0 rgba(103, 240, 255, 0));
  }
  50% {
    transform: scale(1.14);
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(103, 240, 255, 0.34));
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.04);
  }
}

@keyframes agentSweep {
  0% {
    transform: translate3d(0, 0, 0) skewX(-22deg);
    opacity: 0;
  }
  18% {
    opacity: 0;
  }
  42% {
    opacity: 1;
  }
  62% {
    opacity: 0.8;
  }
  100% {
    transform: translate3d(340%, 0, 0) skewX(-22deg);
    opacity: 0;
  }
}

@keyframes orbitFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.35;
  }
  50% {
    transform: translate3d(0, -10px, 0) scale(1.04);
    opacity: 0.7;
  }
}

@keyframes roadmapSignal {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleX(0.82);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes roadmapDot {
  0%,
  100% {
    transform: scale(0.94);
    box-shadow: 0 0 0 0 rgba(103, 240, 255, 0.18);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 0 8px rgba(103, 240, 255, 0);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 24px);
  }
  50% {
    transform: translate3d(0, -12px, 24px);
  }
}

@keyframes panelBreathe {
  0%,
  100% {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
  }
  50% {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
  }
}

@keyframes statusBlink {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(138, 240, 176, 0.18);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(138, 240, 176, 0);
  }
}

@keyframes barsRise {
  0%,
  100% {
    transform: scaleY(0.92);
    opacity: 0.72;
  }
  50% {
    transform: scaleY(1.03);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1120px) {
  .canvas-wordmark {
    top: 112px;
    font-size: min(28vw, 260px);
  }

  .comparison-table::after {
    display: none;
  }

  .guide-grid .guide-card::before,
  .guide-grid .guide-card::after {
    animation-duration: 4.2s;
  }

  .workflow-shell,
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .brand,
  .topbar-actions,
  .nav {
    justify-self: center;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  h1 {
    white-space: normal;
    line-height: 1.02;
  }

  .metrics,
  .feature-grid,
  .pillar-grid,
  .layer-stack,
  .steps-grid,
  .voices-grid,
  .faq-grid,
  .usecase-grid,
  .problem-grid,
  .guide-grid,
  .integration-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-grid,
  .integration-grid,
  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-row .agent-column::before {
    inset: 8px 10px;
  }

  .comparison-row:not(.comparison-row-label) .agent-column::after {
    display: none;
  }

  .ecosystem-card.large {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .page-canvas {
    opacity: 0.82;
  }

  .canvas-wordmark {
    top: 136px;
    font-size: min(30vw, 160px);
    opacity: 0.12;
  }

  .aurora-one,
  .aurora-two {
    min-width: 340px;
    min-height: 340px;
  }

  .site-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .topbar {
    padding: 14px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand-lockup {
    align-items: center;
    width: 96px;
    min-width: 96px;
  }

  .brand-logo {
    width: 96px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 0;
  }

  .topbar-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .section {
    padding-top: 64px;
  }

  .hero {
    padding-top: 10px;
  }

  .metrics,
  .feature-grid,
  .pillar-grid,
  .steps-grid,
  .voices-grid,
  .faq-grid,
  .usecase-grid,
  .problem-grid,
  .guide-grid,
  .integration-steps {
    grid-template-columns: 1fr;
  }

  .tab-shell {
    top: 74px;
    border-radius: 24px;
  }

  .tab-chip {
    width: 100%;
  }

  .hero-actions .button,
  .button-ghost,
  .topbar-actions .button {
    width: 100%;
  }

  .device-screen,
  .brand-stage {
    padding: 16px;
  }

  .brand-stage {
    min-height: 300px;
  }

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

  .hero-logo {
    width: min(100%, 420px);
    margin-top: 34px;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    padding-top: 16px;
  }

  .comparison-row span:first-child,
  .comparison-row span {
    text-align: left;
  }
}

/* Paylet purple glass theme */
:root {
  --bg: #090611;
  --bg-soft: rgba(20, 13, 39, 0.88);
  --panel: rgba(17, 13, 34, 0.82);
  --panel-strong: rgba(12, 8, 24, 0.96);
  --card: linear-gradient(180deg, rgba(22, 16, 42, 0.92), rgba(10, 8, 22, 0.98));
  --line: rgba(171, 149, 255, 0.18);
  --line-strong: rgba(161, 123, 255, 0.42);
  --ink: #f7f3ff;
  --muted: #b8afd6;
  --accent: #9982ff;
  --accent-strong: #7357ff;
  --accent-warm: #b59cff;
  --shadow: 0 36px 110px rgba(4, 1, 12, 0.56);
  --shadow-soft: 0 18px 42px rgba(6, 2, 18, 0.42);
  --container: 1160px;
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(129, 90, 255, 0.34), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(114, 79, 255, 0.28), transparent 30%),
    linear-gradient(180deg, #3d2b7f 0%, #16112d 18%, #090611 42%, #07040e 100%);
}

body::before {
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.045) 48%, transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 22%);
  opacity: 0.82;
}

.page-noise {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 86px, 86px 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.62));
}

.page-canvas {
  opacity: 0.92;
}

.canvas-aurora {
  filter: blur(42px);
  opacity: 0.56;
}

.aurora-one {
  top: -6%;
  left: -4%;
  width: 64vw;
  height: 64vw;
  background: radial-gradient(circle, rgba(120, 92, 255, 0.3) 0%, rgba(120, 92, 255, 0.08) 34%, transparent 66%);
}

.aurora-two {
  top: 8%;
  right: -10%;
  width: 52vw;
  height: 52vw;
  background: radial-gradient(circle, rgba(165, 123, 255, 0.22) 0%, rgba(165, 123, 255, 0.05) 32%, transparent 68%);
}

.canvas-wordmark {
  position: fixed;
  top: 54vh;
  left: 50%;
  width: min(92vw, 1680px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.14;
  z-index: 0;
}

.canvas-wordmark text {
  font-size: 320px;
}

.wordmark-base {
  opacity: 0.92;
}

.wordmark-shine {
  opacity: 0.72;
}

.site-shell {
  width: min(calc(100% - 44px), var(--container));
  padding-bottom: 56px;
}

.topbar {
  top: 18px;
  margin-top: 14px;
  padding: 11px 18px;
  border: 1px solid rgba(196, 178, 255, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(13, 10, 26, 0.84), rgba(12, 8, 24, 0.7));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(5, 2, 18, 0.34);
  grid-template-columns: auto 1fr auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  width: auto;
  min-width: 0;
  gap: 10px;
}

.brand-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.brand-icon {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand-wording {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  line-height: 1;
}

.brand-wording strong {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fbf8ff;
  line-height: 1;
}

.brand-wording small {
  display: none;
}

.brand-logo {
  width: 132px;
  filter: none;
}

.nav {
  gap: 28px;
  color: rgba(239, 232, 255, 0.84);
  font-size: 0.88rem;
  justify-self: start;
  margin-left: 32px;
}

.nav a::after {
  background: linear-gradient(90deg, transparent, rgba(199, 177, 255, 0.96), transparent);
}

.lang-switch {
  padding: 3px;
  border-color: rgba(188, 166, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.lang-button.active {
  background: linear-gradient(135deg, rgba(170, 135, 255, 0.95), rgba(109, 82, 255, 0.96));
  color: #fdfbff;
}

.button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.button-primary {
  color: #fdfbff;
  background: linear-gradient(135deg, #9b87ff, #7357ff 62%, #5a41e8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 38px rgba(99, 70, 255, 0.34);
}

.button-secondary,
.button-ghost {
  border-color: rgba(191, 173, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(190, 167, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.topbar-login {
  color: #fdfbff;
  border-color: rgba(191, 173, 255, 0.22);
  background: linear-gradient(135deg, rgba(155, 135, 255, 0.28), rgba(115, 87, 255, 0.42));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(76, 43, 194, 0.26);
}

.topbar-login:hover {
  color: #ffffff;
  border-color: rgba(210, 193, 255, 0.34);
  background: linear-gradient(135deg, rgba(165, 145, 255, 0.36), rgba(115, 87, 255, 0.58));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 34px rgba(76, 43, 194, 0.34);
}

.hero {
  padding-top: 10px;
}

.hero-copy {
  max-width: 960px;
  margin: 0 auto;
  padding: 42px 12px 24px;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.eyebrow,
.metric-label,
.card-tag {
  color: #ccbfff;
}

h1 {
  font-size: clamp(3.6rem, 7vw, 6.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 760px;
  color: rgba(235, 229, 250, 0.84);
  font-size: 1.08rem;
}

.hero-actions {
  margin-top: 22px;
}

.hero-strip {
  margin-top: 22px;
  gap: 12px;
}

.hero-strip span {
  border-color: rgba(190, 167, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(18, 13, 37, 0.72);
  color: rgba(243, 240, 255, 0.88);
}

.hero-visual {
  max-width: 960px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 16px;
  padding: 18px 0 0;
}

.brand-stage,
.hero-stat-card,
.problem-card,
.comparison-card,
.layer-card,
.guide-card,
.feature-card,
.ecosystem-card,
.voice-card,
.cta-card {
  border: 1px solid rgba(192, 174, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(23, 17, 42, 0.92), rgba(12, 9, 24, 0.98));
  box-shadow: 0 22px 54px rgba(5, 2, 18, 0.3);
}

.brand-stage::before,
.feature-card::before,
.workflow-shell::before,
.step-card::before,
.ecosystem-card::before,
.voice-card::before,
.cta-card::before {
  background:
    linear-gradient(180deg, rgba(205, 191, 255, 0.08), transparent 24%),
    linear-gradient(90deg, transparent 0, rgba(128, 94, 255, 0.05) 50%, transparent 100%);
}

.brand-stage {
  min-height: 360px;
  padding: 26px 26px 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(124, 94, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(22, 16, 42, 0.62), rgba(12, 9, 24, 0.72));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(6px);
}

.brand-beam,
.brand-glow,
.orbit {
  display: none;
}

.hero-logo-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 26px 28px;
  margin-top: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(252, 249, 255, 0.98), rgba(232, 225, 255, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 46px rgba(4, 1, 12, 0.24);
}

.hero-logo-panel-grid {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(73, 54, 135, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 54, 135, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.68), transparent 88%);
  pointer-events: none;
}

.hero-logo {
  position: relative;
  width: min(100%, 480px);
  margin: 0;
  filter: none;
}

.brand-stage-copy {
  margin-top: 22px;
  align-items: center;
  text-align: center;
}

.brand-stage-copy span {
  color: #d1c3ff;
}

.brand-stage-copy strong {
  max-width: 28ch;
  color: #f6f1ff;
}

.hero-stat-card {
  min-height: 112px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(24, 18, 44, 0.72), rgba(12, 9, 24, 0.78));
}

.hero-stat-card strong {
  font-family: "Sora", sans-serif;
}

.hero-stat-card.accent {
  background:
    radial-gradient(circle at top right, rgba(155, 135, 255, 0.16), transparent 26%),
    linear-gradient(145deg, rgba(36, 24, 64, 0.76), rgba(14, 10, 29, 0.84));
}

.section {
  padding-top: 28px;
}

.section-heading {
  max-width: 820px;
}

.section-heading p,
.feature-card p,
.step-card p,
.ecosystem-card p,
.voice-card p,
.cta-card p,
.problem-card p {
  color: rgba(223, 216, 242, 0.78);
}

.comparison-table,
.comparison-row span,
.comparison-label span {
  background-color: transparent;
}

.comparison-table {
  border-color: rgba(188, 165, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(18, 13, 35, 0.96), rgba(10, 8, 22, 0.98));
}

.comparison-table::after {
  background:
    linear-gradient(180deg, rgba(153, 135, 255, 0.12), rgba(23, 12, 46, 0)),
    radial-gradient(circle at top, rgba(171, 141, 255, 0.16), transparent 32%);
  box-shadow: inset 1px 0 0 rgba(191, 170, 255, 0.12);
}

.comparison-row span:first-child {
  color: #f0e9ff;
}

.comparison-row .agent-column {
  background:
    linear-gradient(180deg, rgba(50, 33, 92, 0.92), rgba(18, 12, 36, 0.9)),
    radial-gradient(circle at top right, rgba(190, 167, 255, 0.12), transparent 42%);
}

.problem-card strong,
.metric-foot,
.brand-wording small {
  color: rgba(208, 198, 238, 0.76);
}

.status-list div {
  background: rgba(255, 255, 255, 0.035);
}

.guide-grid .guide-card::before {
  background: linear-gradient(90deg, rgba(176, 155, 255, 0.08), rgba(176, 155, 255, 0.72), rgba(176, 155, 255, 0.08));
}

.guide-grid .guide-card::after {
  background: radial-gradient(circle, rgba(191, 169, 255, 0.95), rgba(115, 87, 255, 0.16) 68%, transparent 72%);
}

.cta-card {
  background:
    radial-gradient(circle at top, rgba(144, 113, 255, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(26, 18, 49, 0.98), rgba(10, 7, 21, 1));
}

.social-link {
  border-color: rgba(191, 173, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.social-link:hover {
  border-color: rgba(191, 173, 255, 0.3);
  background: linear-gradient(180deg, rgba(67, 45, 124, 0.72), rgba(19, 12, 37, 0.72));
}

@media (max-width: 1120px) {
  .topbar {
    top: 12px;
  }

  .profile-workspace {
    grid-template-columns: 1fr;
  }

  .profile-rail {
    position: static;
    order: -1;
  }

  .profile-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-tab {
    min-height: 68px;
  }

  .profile-account-hero,
  .profile-game-hero,
  .profile-game-policy-grid,
  .profile-game-room-policy-grid,
  .profile-claim-status-layout,
  .profile-claim-info-grid,
  .profile-credit-rules-grid,
  .profile-credit-grid,
  .profile-deploy-grid,
  .profile-deploy-fields,
  .profile-account-detail-list {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual {
    max-width: none;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .brand-lockup {
    align-items: center;
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 22px), var(--container));
  }

  .topbar {
    border-radius: 22px;
    padding: 12px;
  }

  .brand-wording strong {
    font-size: 0.98rem;
  }

  .brand-symbol,
  .brand-icon {
    width: 26px;
    height: 26px;
  }

  .hero-copy {
    padding: 50px 22px 20px;
  }

  .profile-empty,
  .profile-dashboard {
    padding-left: 22px;
    padding-right: 22px;
  }

  .profile-topbar {
    grid-template-columns: 1fr;
  }

  .profile-topbar .brand-wording {
    gap: 8px;
  }

  .profile-panel-head,
  .profile-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-balance-grid {
    grid-template-columns: 1fr;
  }

  .profile-game-stat-grid {
    grid-template-columns: 1fr;
  }

  .profile-forum-tabs,
  .profile-forum-usage-filters,
  .profile-game-filters {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .profile-workspace,
  .profile-settings-layout,
  .profile-account-hero,
  .profile-claim-status-layout,
  .profile-claim-info-grid,
  .profile-credit-rules-grid,
  .profile-credit-grid,
  .profile-deploy-grid,
  .profile-deploy-fields,
  .profile-account-detail-list,
  .profile-deposit-assist,
  .profile-data-row,
  .profile-data-row-simple,
  .profile-log-list .profile-data-row {
    grid-template-columns: 1fr;
  }

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

  .profile-log-item {
    grid-template-columns: 1fr;
  }

  .profile-log-item > span {
    text-align: left;
  }

  .profile-rail {
    position: static;
  }

  .profile-endpoint-item {
    grid-template-columns: 1fr;
  }

  .profile-wallet-actions,
  .profile-settings-actions {
    flex-direction: column;
  }

  .profile-claim-status-card,
  .profile-claim-form,
  .profile-claim-credential-card {
    padding: 16px;
  }

  .profile-claim-agent-card {
    max-width: none;
    justify-self: stretch;
    padding: 22px;
  }

  .profile-claim-agent-head {
    padding: 18px;
    gap: 14px;
  }

  .profile-claim-agent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    font-size: 1rem;
  }

  .hero-visual {
    padding: 12px 16px 16px;
  }

  .brand-symbol {
    width: 40px;
    height: 40px;
  }

  .brand-wording small {
    display: none;
  }

  .hero-logo-panel {
    min-height: 180px;
    padding: 18px 18px 20px;
  }

  .canvas-wordmark {
    width: min(120vw, 900px);
    top: 53vh;
    opacity: 0.12;
  }

  .canvas-wordmark text {
    font-size: 220px;
  }
}
