:root {
  --app-viewport-height: 100dvh;
  --bg: #f4f7f2;
  --panel: #ffffff;
  --panel-soft: #f7faf6;
  --ink: #10211a;
  --muted: #728079;
  --line: #dfe6df;
  --green: #087558;
  --green-soft: #e8f8f1;
  --dark: #06291e;
  --gold: #c99a34;
  --red: #c2414b;
  --shadow: 0 16px 34px rgba(18, 31, 24, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(12, 95, 65, 0.12), transparent 34%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  min-height: 42px;
  padding: 0 14px;
  font-weight: 850;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 11px 13px;
  outline: none;
}

.language-select-pill {
  width: 72px;
  min-height: 34px;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  padding: 0 20px 0 10px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.agent-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 430px);
  max-width: 100vw;
  min-height: var(--app-viewport-height);
  height: var(--app-viewport-height);
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
}

@media (min-width: 760px) {
  body {
    padding: 22px 0;
  }

  .agent-phone {
    min-height: calc(var(--app-viewport-height) - 44px);
    height: calc(var(--app-viewport-height) - 44px);
    border: 1px solid rgba(16, 33, 26, 0.08);
    border-radius: 30px;
    box-shadow: 0 30px 90px rgba(16, 33, 26, 0.18);
    overflow: hidden;
  }

  .agent-phone.guest-shell {
    width: min(calc(100vw - 48px), 820px);
  }

  .agent-phone.app-shell {
    width: min(calc(100vw - 48px), 820px);
  }

  .agent-phone.guest-shell .agent-root {
    padding-left: 20px;
    padding-right: 20px;
  }

  .agent-phone.app-shell .agent-root:not(.chat-secondary) {
    padding-left: 20px;
    padding-right: 20px;
  }

  .agent-phone.app-shell .bottom-tabs {
    padding-left: 20px;
    padding-right: 20px;
  }

  .agent-phone.app-shell .stage-card {
    min-height: 430px;
  }

  .agent-phone.app-shell .module-list,
  .agent-phone.app-shell .token-list,
  .agent-phone.app-shell .profile-rail,
  .agent-phone.app-shell .alert-list,
  .agent-phone.app-shell .message-list:not(.compact),
  .agent-phone.app-shell .settings-list,
  .agent-phone.app-shell .language-options,
  .agent-phone.app-shell .theme-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-phone.guest-shell .experience-login-card {
    min-height: calc(var(--app-viewport-height) - 170px);
  }
}

.agent-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 247, 242, 0.94);
  backdrop-filter: blur(18px);
  padding: max(16px, env(safe-area-inset-top)) 18px 16px;
}

.agent-topbar.secondary {
  min-height: 74px;
  padding-bottom: 12px;
}

.agent-topbar.secondary .topbar-title h1 {
  font-size: 30px;
}

.topbar-title {
  min-width: 0;
}

.topbar-title p,
.eyebrow {
  margin: 0 0 5px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.topbar-title h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.06;
  letter-spacing: 0;
}

.icon-button {
  width: 48px;
  min-height: 48px;
  border-radius: 999px;
  background: #fff;
  font-size: 36px;
  line-height: 1;
  padding: 0 0 4px;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.message-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  border: 1px solid #ead6a4;
  border-radius: 999px;
  background: #fff7df;
  color: #8b6214;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
  padding: 0 10px;
}

.message-pill b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  padding: 0 4px;
}

.message-pill b.empty {
  background: rgba(139, 98, 20, 0.18);
  color: #8b6214;
}

.subpage-action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  max-width: 116px;
  min-height: 34px;
  border: 1px solid #cbe8d8;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  overflow: hidden;
  padding: 0 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subpage-action-pill:disabled {
  border-color: #dfe7e1;
  background: #eef2ee;
  color: #87938d;
  cursor: default;
}

.status-pill,
.source-badge,
.count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
  padding: 0 13px;
}

.status-pill.muted {
  background: #eef2ee;
  color: var(--muted);
}

.status-pill.watch {
  background: #fff4db;
  color: #956515;
}

.source-badge.default {
  background: #fff3cd;
  color: #9b6b16;
}

button.source-badge {
  cursor: pointer;
  font: inherit;
}

.source-badge.access-ok::before,
.access-status.ok::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  margin-right: 6px;
}

.agent-root {
  display: grid;
  align-content: start;
  flex: 1 1 auto;
  gap: 14px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 16px 18px 18px;
}

.agent-root.chat-secondary {
  align-content: stretch;
  background: #101110;
  padding: 0;
  overflow: hidden;
}

.bottom-tabs {
  position: relative;
  flex: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  width: 100%;
  border-top: 1px solid rgba(16, 33, 26, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  padding: 10px 14px max(10px, env(safe-area-inset-bottom));
}

.bottom-tabs button {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 64px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: #83908a;
  padding: 8px 0;
}

.bottom-tabs button span {
  font-size: 24px;
  line-height: 1;
}

.bottom-tabs button strong {
  font-size: 13px;
}

.bottom-tabs button.active {
  background: #e8f6ef;
  color: var(--green);
}

.login-card,
.stage-card,
.mini-panel,
.monthly-panel,
.token-section,
.add-symbol-card,
.price-alert-panel,
.identity-card,
.service-panel,
.settings-panel,
.message-panel,
.form-card,
.detail-hero,
.asset-portrait,
.chat-panel,
.paywall-card {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 18px;
}

.login-card {
  display: grid;
  gap: 18px;
  min-height: calc(100vh - 150px);
  align-content: center;
  justify-items: center;
  overflow: hidden;
  text-align: center;
}

.login-card img {
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
  border-radius: 24px;
}

.login-card .login-brand-icon {
  width: min(78vw, 340px);
  height: min(78vw, 340px);
  margin: 0 auto;
  border: 1px solid rgba(219, 160, 56, 0.42);
  border-radius: 34px;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(9, 20, 17, 0.18);
}

.login-card h2,
.paywall-card h2,
.form-card h2,
.service-panel h2,
.token-section h2,
.monthly-chart strong {
  margin: 0;
  font-size: 26px;
  line-height: 1.12;
}

.login-card p,
.login-card small,
.service-panel p,
.settings-panel p,
.paywall-card p,
.add-symbol-card p,
.asset-portrait p,
.form-card p,
.monthly-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.experience-login-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-content: start;
  justify-items: stretch;
  min-height: calc(100vh - 150px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  text-align: left;
}

.experience-login-head,
.experience-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.experience-login-head > div,
.experience-settings-head > div {
  min-width: 0;
}

.experience-login-head h2,
.experience-settings-head h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.14;
}

.login-section-heading {
  display: grid;
  gap: 4px;
  width: 100%;
  border-top: 1px solid #e5eee8;
  padding-top: 16px;
}

.login-section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.14;
}

.login-section-heading-inline {
  border-top: 0;
  padding-top: 0;
}

.experience-status-pill {
  flex: 0 0 auto;
  border: 1px solid #cfe7d8;
  border-radius: 999px;
  background: #eef8f2;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  padding: 8px 13px;
  white-space: nowrap;
}

.experience-status-pill.active {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

.login-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid #d7e7de;
  border-radius: 14px;
  background: #eef7f2;
  padding: 4px;
}

.login-mode-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4f6d5f;
  font-weight: 950;
}

.login-mode-tabs button.active {
  background: var(--dark);
  color: #fff;
}

.experience-form {
  display: grid;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.experience-action-stack {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.experience-form label {
  display: grid;
  gap: 7px;
}

.experience-form label span {
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
}

.experience-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
  padding: 10px;
}

.experience-captcha-row span {
  min-width: 0;
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.experience-captcha-row button {
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.experience-notice {
  border: 1px solid #f1c8cd;
  border-radius: 12px;
  background: #fff1f2;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  padding: 10px 12px;
}

.experience-notice.success {
  border-color: #c9e7d7;
  background: #effaf5;
  color: var(--green);
}

.experience-first-use,
.experience-wallet-card {
  display: grid;
  gap: 8px;
  border: 1px solid #d6e7de;
  border-radius: 14px;
  background: #f5fbf7;
  padding: 13px;
}

.experience-first-use strong {
  color: var(--green);
  font-size: 16px;
}

.experience-first-use p {
  color: var(--muted);
  font-size: 13px;
}

.wallet-login-collapsed-entry {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.login-switch-row {
  width: 100%;
  text-align: left;
}

.wallet-login-collapsed-entry .fold-chevron-down {
  justify-self: end;
  margin-right: 4px;
}

.account-auth-login-entry {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  gap: 10px;
  color: inherit;
  text-align: left;
}

.account-auth-login-entry::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 1px;
  background: #e5eee8;
}

.account-auth-entry-icon {
  justify-self: end;
  margin-right: 6px;
}

.short-address-login-entry {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  margin-top: auto;
  border: 0;
  border-top: 1px solid #e5eee8;
  border-radius: 0;
  background: transparent;
  color: inherit;
  gap: 4px 10px;
  padding: 12px 0 0;
  text-align: left;
}

.short-address-login-entry strong {
  color: #4f6d5f;
  font-size: 14px;
}

.short-address-login-entry p {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.45;
}

.short-address-login-entry > span {
  justify-self: end;
  min-height: 32px;
  border: 0;
  background: transparent;
  color: #4f6d5f;
  font-size: 14px;
  font-weight: 950;
  line-height: 32px;
  padding: 0 4px;
}

.short-address-login-modal {
  z-index: 85;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
}

.short-address-login-card {
  width: min(100%, 390px);
  max-height: min(88vh, 680px);
}

@media (max-width: 430px) {
  .agent-phone {
    width: 100vw;
    max-width: 100vw;
  }

  .agent-topbar {
    gap: 10px;
    padding-left: 16px;
    padding-right: 14px;
  }

  .topbar-actions {
    min-width: 64px;
  }

  .language-select-pill {
    width: 64px;
    padding-left: 8px;
    padding-right: 18px;
  }

  .agent-root {
    padding-left: 12px;
    padding-right: 12px;
  }

  .login-card,
  .experience-login-card {
    width: 100%;
    border-radius: 14px;
    padding: 16px;
  }

  .experience-login-head h2 {
    font-size: 28px;
    overflow-wrap: anywhere;
  }

  .experience-first-use {
    width: 100%;
  }
}

.fold-chevron-down {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.fold-chevron-up {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(2px) rotate(225deg);
}

.secondary-button {
  border-color: #bedbd0;
  background: #fff;
  color: var(--green);
}

.experience-settings-panel h2 {
  margin: 0;
}

.experience-wallet-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.experience-wallet-card span,
.experience-wallet-card strong {
  display: block;
}

.experience-wallet-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.experience-wallet-card strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.experience-wallet-card em {
  border: 1px solid #cfe7d8;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  padding: 7px 11px;
}

.experience-delete-button {
  border-color: transparent;
  background: transparent;
  color: var(--red);
}

.experience-bind-hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.access-option-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.access-lock-status {
  margin-top: 14px;
}

.access-choice-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.access-choice-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  border-color: var(--line);
  border-radius: 14px;
  background: var(--panel-soft);
  min-height: 76px;
  padding: 14px;
  text-align: left;
}

.access-choice-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--dark);
  color: #eafff4;
  font-size: 12px;
  font-weight: 950;
}

.access-choice-card .token-logo-mark {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: #080808;
}

.token-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.access-choice-card strong,
.access-choice-card em {
  display: block;
  min-width: 0;
}

.access-choice-card strong {
  font-size: 19px;
  line-height: 1.18;
}

.access-choice-card em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.5;
}

.access-choice-card b {
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  justify-self: end;
}

.member-choice {
  background: #fff8e9;
}

.member-choice span {
  background: #8b6214;
}

.hold-choice {
  background: #fff4f1;
}

.hold-choice span {
  background: #b54535;
}

.access-option-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
  padding: 14px;
  overflow-wrap: anywhere;
}

.access-option-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.14;
}

.access-option-card small {
  color: var(--muted);
  line-height: 1.5;
}

.plus-option {
  border-color: #ead6a4;
  background: #fff8e9;
}

.hold-option {
  border-color: #f0c5bd;
  background: #fff8f6;
}

.access-option-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.access-option-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.access-option-title-row > div {
  min-width: 0;
}

.panel-token-logo {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(16, 33, 26, 0.1);
  border-radius: 14px;
  object-fit: cover;
}

.access-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
  padding: 0 11px;
}

.access-status.ok {
  background: var(--green-soft);
  color: var(--green);
}

.access-status.warn {
  background: #fff3cd;
  color: #9b6b16;
}

.access-status.pay {
  background: var(--dark);
  color: #fff;
}

.danger-text {
  color: #b54535;
}

.ok-text {
  color: var(--green);
}

.access-qualified-line {
  display: block;
  border: 1px solid #bfead3;
  border-radius: 12px;
  background: #e9f8ef;
  color: var(--green);
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 12px;
}

.access-countdown-danger {
  display: block;
  border: 1px solid #f0c5bd;
  border-radius: 12px;
  background: #fff0ee;
  color: #b54535;
  font-size: 15px;
  line-height: 1.35;
  padding: 10px 12px;
}

.access-mini-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.access-mini-row article,
.access-plan-button {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid rgba(16, 33, 26, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  padding: 12px;
}

.access-plan-button {
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.access-plan-button.plus {
  border-color: rgba(13, 117, 85, 0.2);
  background: rgba(13, 117, 85, 0.06);
}

.access-plan-button:hover,
.access-plan-button:focus-visible,
.access-plan-button:active,
.access-plan-button.selected {
  border-color: var(--green);
  background: rgba(13, 117, 85, 0.12);
  box-shadow: inset 0 0 0 2px rgba(8, 117, 88, 0.18);
}

.access-plan-button:active {
  transform: scale(0.985);
}

.access-mini-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.access-mini-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.18;
}

.access-plan-button em {
  justify-self: start;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  padding: 4px 9px;
}

.stake-guide {
  display: grid;
  gap: 6px;
  min-width: 0;
  border-radius: 12px;
  background: rgba(8, 117, 88, 0.08);
  color: #315044;
  padding: 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.stake-guide span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.access-copy-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(16, 33, 26, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  padding: 10px 11px;
}

.access-copy-field div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  grid-column: 1 / -1;
}

.access-copy-field span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.access-copy-field small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.access-copy-field code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  user-select: text;
}

.access-copy-field button {
  border: 0;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  padding: 7px 11px;
}

.access-steps {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(16, 33, 26, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  padding: 11px;
}

.access-steps span {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: #526159;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.42;
}

.access-steps b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  line-height: 1;
}

.primary-button {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

.stage-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  overflow: hidden;
  min-height: 530px;
  background:
    radial-gradient(circle at 82% 34%, rgba(103, 220, 178, 0.16), transparent 28%),
    linear-gradient(160deg, #06291e 0%, #102d22 64%, #071d17 100%);
  color: #effaf5;
}

.stage-card > * {
  min-width: 0;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.stage-card > .stage-avatar {
  z-index: 0;
}

.stage-copy span,
.stage-copy p {
  color: rgba(239, 250, 245, 0.72);
}

.stage-copy h2 {
  margin: 7px 0 6px;
  font-size: 38px;
  line-height: 1.03;
}

.stage-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.stage-meta-line p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-card .source-badge {
  flex: 0 0 auto;
  justify-self: start;
  background: rgba(225, 255, 242, 0.14);
  color: #bff6df;
}

.stage-card .home-source-button {
  justify-self: end;
}

.home-profile-switch {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(230, 255, 244, 0.18);
  border-radius: 14px;
  background: rgba(225, 255, 242, 0.1);
  padding: 12px;
}

.home-profile-switch > div:first-child {
  min-width: 0;
}

.home-profile-switch span {
  display: block;
  color: rgba(229, 255, 240, 0.68);
  font-size: 12px;
  font-weight: 900;
}

.home-profile-switch strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #f3fff8;
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-profile-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-profile-rail::-webkit-scrollbar {
  display: none;
}

.home-profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  max-width: 180px;
  flex: 0 0 auto;
  border: 1px solid rgba(230, 255, 244, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f2fff7;
  padding: 0 12px;
  cursor: pointer;
}

.home-profile-chip:disabled {
  cursor: default;
  opacity: 0.74;
}

.home-profile-chip.active {
  border-color: rgba(190, 252, 219, 0.42);
  background: #dfffe9;
  color: #073a2a;
}

.home-profile-chip b {
  overflow: hidden;
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-profile-chip span {
  color: currentColor;
  font-size: 11px;
  opacity: 0.72;
}

.market-window {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(230, 255, 244, 0.24);
  border-radius: 16px;
  background: rgba(3, 24, 18, 0.76);
  padding: 18px;
}

.market-window small {
  display: block;
  color: rgba(239, 250, 245, 0.64);
  font-weight: 900;
}

.market-label-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.home-cruise-countdown {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  min-height: 36px;
  border-color: rgba(230, 255, 244, 0.18);
  border-radius: 999px;
  background: rgba(4, 19, 15, 0.66);
  color: #f3fff8;
  padding: 5px 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.home-cruise-countdown:hover {
  transform: translateY(-1px);
}

.home-cruise-lights {
  display: inline-flex;
  gap: 4px;
  border-radius: 999px;
  background: rgba(2, 8, 7, 0.44);
  padding: 3px 4px;
}

.home-cruise-lights i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  opacity: 0.34;
}

.home-cruise-lights i.active {
  opacity: 1;
  box-shadow: 0 0 10px currentColor;
}

.home-cruise-lights .green {
  background: #66e3a9;
  color: #66e3a9;
}

.home-cruise-lights .yellow {
  background: #f3c95e;
  color: #f3c95e;
}

.home-cruise-lights .red {
  background: #e35d64;
  color: #e35d64;
}

.home-cruise-countdown-number {
  min-width: 18px;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.home-cruise-countdown-label {
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.market-window strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
}

.market-window b {
  display: block;
  font-size: 30px;
  text-align: right;
}

.market-window em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-weight: 950;
  text-align: right;
}

.switching-window {
  grid-template-columns: 92px 1fr;
  overflow: hidden;
  position: relative;
}

.switching-window::before {
  content: "";
  position: absolute;
  inset: -24px auto -24px -60px;
  width: 92px;
  background: linear-gradient(90deg, transparent, rgba(178, 255, 213, 0.22), transparent);
  animation: switch-beam 1.45s ease-in-out infinite;
}

.switch-scan {
  display: grid;
  place-items: center;
  position: relative;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(176, 248, 210, 0.42);
  border-radius: 999px;
  background: rgba(142, 235, 184, 0.1);
  animation: switch-pulse 1.45s ease-in-out infinite;
}

.switch-scan span {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(223, 255, 233, 0.32);
  border-radius: 999px;
}

.switch-scan b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #dfffe9;
  color: #073a2a;
  font-size: 11px;
  font-weight: 950;
}

.switch-copy small {
  color: #7ee2ac;
}

.switch-copy strong {
  margin-top: 4px;
  font-size: 22px;
  line-height: 1.1;
}

.switch-copy p {
  margin: 8px 0 0;
  color: rgba(230, 242, 235, 0.76);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.switch-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.switch-benefits em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  border: 1px solid rgba(220, 255, 235, 0.18);
  border-radius: 999px;
  background: rgba(220, 255, 235, 0.1);
  color: #eafff1;
  font-size: 11px;
  font-style: normal;
  padding: 6px 9px;
  text-align: left;
}

.switch-benefits i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #8ae4b3;
}

.settings-switch-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(13, 117, 85, 0.16);
  border-radius: 14px;
  background: rgba(13, 117, 85, 0.08);
  padding: 12px;
}

.settings-switch-icon {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--dark);
}

.settings-switch-icon span {
  position: absolute;
  inset: -8px auto -8px -18px;
  width: 20px;
  background: rgba(190, 252, 219, 0.45);
  animation: settings-switch-beam 1.35s ease-in-out infinite;
}

.settings-switch-icon b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #dfffe9;
  color: #073a2a;
  font-size: 9px;
  font-weight: 950;
}

.settings-switch-panel div:last-child {
  min-width: 0;
}

.settings-switch-panel small {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.settings-switch-panel strong {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-switch-panel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

@keyframes switch-beam {
  from { transform: translateX(0); }
  to { transform: translateX(440px); }
}

@keyframes settings-switch-beam {
  from { transform: translateX(0); }
  to { transform: translateX(86px); }
}

@keyframes switch-pulse {
  0%, 100% { transform: scale(0.96); }
  50% { transform: scale(1.05); }
}

.stage-avatar {
  width: clamp(118px, 31vw, 140px);
  height: clamp(118px, 31vw, 140px);
  align-self: center;
  justify-self: center;
  border-radius: 999px;
  object-fit: cover;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.36));
}

.host-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(218, 232, 224, 0.62);
  border-radius: 14px;
  background: rgba(246, 252, 248, 0.9);
  color: var(--ink);
  padding: 10px 12px;
  backdrop-filter: blur(12px);
}

.host-card-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #dfffe9;
  color: var(--green);
  font-size: 15px;
  font-weight: 950;
}

.host-card strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.host-card span {
  display: block;
  margin-top: 3px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.host-card button {
  border: 0;
  border-radius: 999px;
  background: #ecfbf4;
  color: var(--green);
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 950;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.skill-grid button {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 98px;
  padding: 10px 6px;
}

.skill-grid span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--dark);
  color: #e8fff5;
  font-size: 20px;
}

.skill-grid strong {
  font-size: 13px;
  line-height: 1.2;
}

.module-list,
.token-list,
.profile-rail,
.alert-list,
.message-list,
.stack-form {
  display: grid;
  gap: 12px;
}

.module-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 98px;
  border: 0;
  border-radius: 16px;
  background: var(--dark);
  color: #f0fff8;
  text-align: left;
  padding: 16px;
}

.module-card > span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #c9ffe6;
  color: var(--green);
  font-size: 28px;
}

.module-card small,
.module-card em {
  display: block;
  color: rgba(240, 255, 248, 0.7);
  font-style: normal;
}

.module-card strong {
  display: block;
  margin: 4px 0;
  font-size: 24px;
}

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

.three-stats article,
.metric-grid article,
.monthly-stats article {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-soft);
  padding: 12px;
}

.three-stats span,
.metric-grid span,
.monthly-stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.three-stats .stat-label-row {
  display: block;
  min-height: 28px;
  padding-right: 34px;
  position: relative;
}

.three-stats .stat-label-row em {
  display: -webkit-box;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.15;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.three-stats .stat-label-row small {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 8px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.three-stats strong,
.metric-grid strong,
.monthly-stats strong {
  display: block;
  margin-top: 9px;
  overflow: hidden;
  font-size: 23px;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-list {
  display: grid;
  gap: 10px;
  max-height: 340px;
  overflow-y: auto;
  border-radius: 14px;
  background: var(--panel-soft);
  padding: 10px;
}

.chat-message {
  max-width: 88%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 11px;
}

.chat-message.user {
  justify-self: end;
  background: #ebf4ff;
}

.chat-message p {
  margin: 6px 0 0;
  color: #39443f;
  line-height: 1.55;
}

.chat-form,
.add-symbol-card form,
.price-alert-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 12px;
}

.price-alert-form {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.price-alert-form input,
.price-alert-form select,
.price-alert-form button {
  width: 100%;
  min-height: 56px;
}

.price-alert-form .primary-button {
  margin-top: 2px;
}

.price-alert-panel .alert-list {
  margin-top: 14px;
}

.whale-chat-gate,
.whale-chat-head,
.whale-chat-panel,
.whale-chat-members {
  display: grid;
  gap: 12px;
}

.whale-chat-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.whale-chat-status-grid span {
  display: grid;
  gap: 6px;
  min-width: 0;
  border-radius: 14px;
  background: var(--panel-soft);
  padding: 12px;
}

.whale-chat-status-grid em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.whale-chat-status-grid strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--dark);
  font-size: 16px;
  line-height: 1.15;
}

.whale-chat-error {
  border-radius: 12px;
  background: rgba(214, 82, 82, 0.1);
  color: #9f2f2f;
  padding: 10px 12px;
}

.whale-chat-notice {
  position: relative;
  margin: 0;
  border-radius: 12px;
  padding: 10px 12px 10px 32px;
  color: #15523c;
  background: rgba(45, 152, 105, 0.12);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.whale-chat-notice::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(-50%);
}

.whale-chat-notice.loading {
  color: #8b5f10;
  background: rgba(227, 171, 61, 0.15);
}

.whale-chat-notice.loading::before {
  animation: whale-chat-pulse 1s ease-in-out infinite;
}

.whale-chat-notice.warn {
  color: #8b5f10;
  background: rgba(227, 171, 61, 0.15);
}

.whale-chat-notice.error {
  color: #9f2f2f;
  background: rgba(214, 82, 82, 0.1);
}

@keyframes whale-chat-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(-50%) scale(0.85);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.15);
  }
}

.whale-chat-panel {
  min-width: 0;
  border: 1px solid #171a18;
  border-radius: 8px;
  background: #101110;
  padding: 0;
  overflow: hidden;
}

.whale-chat-room {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.whale-chat-panel.whale-chat-room {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.whale-chat-list {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #101110;
  padding: 16px 14px;
}

.whale-chat-system {
  justify-self: center;
  max-width: min(86%, 520px);
  border-radius: 999px;
  background: #232625;
  color: #9da49f;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  padding: 6px 10px;
  text-align: center;
}

.whale-chat-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.whale-chat-row.mine {
  justify-content: flex-end;
}

.whale-chat-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin-top: 19px;
  border-radius: 8px;
  background: #34383a;
  color: #f2f4f1;
  font-size: 13px;
  font-weight: 950;
}

.whale-chat-row.admin .whale-chat-avatar {
  background: #31523e;
}

.whale-chat-row.third_party .whale-chat-avatar {
  background: #33445b;
}

.whale-chat-avatar.mine {
  background: #d7efe0;
  color: #10231d;
}

.whale-chat-message {
  min-width: 0;
  max-width: min(78%, 560px);
}

.whale-chat-message.mine {
  display: grid;
  justify-items: end;
}

.whale-chat-message-bubble {
  display: grid;
  gap: 6px;
  border-radius: 14px 14px 14px 4px;
  background: #2f3130;
  color: #f1f4f2;
  padding: 10px 13px;
  box-shadow: none;
}

.whale-chat-message.mine .whale-chat-message-bubble {
  border-radius: 14px 14px 4px 14px;
  background: #45c47a;
  color: #071a0d;
}

.whale-chat-message.admin:not(.mine) .whale-chat-message-bubble {
  background: #263b30;
}

.whale-chat-message.third_party .whale-chat-message-bubble {
  background: #263143;
}

.whale-chat-message-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
  min-width: 0;
}

.whale-chat-message.mine .whale-chat-message-head {
  justify-content: flex-end;
}

.whale-chat-message-head strong,
.whale-chat-message h3,
.whale-chat-message p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.whale-chat-message-head span {
  flex: 0 0 auto;
  color: #737a75;
  font-size: 11px;
  font-weight: 850;
}

.whale-chat-message-head strong {
  color: #a5aaa7;
  font-weight: 900;
  line-height: 1.25;
}

.whale-chat-message h3 {
  margin: 0;
  color: inherit;
  font-size: 15px;
  line-height: 1.25;
}

.whale-chat-message p {
  margin: 0;
  color: inherit;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.45;
}

.whale-chat-message button,
.whale-chat-member-row button {
  border-radius: 999px;
  border: 1px solid #3a403c;
  background: #2a2d2b;
  color: #f0c9c9;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 9px;
}

.whale-chat-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.whale-chat-images a {
  display: block;
  min-width: 0;
}

.whale-chat-images img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.whale-chat-form {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 58px;
  align-items: stretch;
  gap: 8px;
  border-top: 1px solid #272b28;
  background: #181a19;
  min-height: 64px;
  margin-top: 0;
  padding: 8px 10px max(8px, env(safe-area-inset-bottom));
  transform: translateZ(0);
}

.whale-chat-form input,
.whale-chat-form button {
  min-height: 48px;
}

.whale-chat-form input {
  width: 100%;
  border-color: #343936;
  background: #252725;
  color: #f4f6f3;
  font-size: 16px;
  min-width: 0;
}

.whale-chat-form button {
  background: #45c47a;
  color: #071a0d;
  white-space: nowrap;
  width: 58px;
  padding: 0;
}

.whale-chat-image-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  min-height: 48px;
  border: 1px solid #343936;
  border-radius: 8px;
  background: #252725;
  color: #d7efe0;
  cursor: pointer;
  font-size: 28px;
  font-weight: 850;
  line-height: 1;
  padding: 0;
  touch-action: manipulation;
}

.whale-chat-image-button.disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.whale-chat-image-button input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

html.keyboard-open .whale-chat-form {
  padding-bottom: 8px;
}

@media (max-width: 640px) {
  .whale-chat-room {
    height: 100%;
    max-height: none;
    min-height: 0;
  }

  .whale-chat-list {
    padding: 8px;
  }

  .whale-chat-message {
    max-width: 82%;
  }
}

.whale-chat-member-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 10px;
}

.whale-chat-member-row div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.whale-chat-member-row strong,
.whale-chat-member-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.whale-chat-member-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.price-alert-entry {
  display: grid;
  gap: 12px;
}

.alert-entry-row {
  box-shadow: none;
}

.monthly-panel {
  display: grid;
  gap: 14px;
  background: #1b2428;
  color: #eff8f4;
}

.monthly-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.monthly-stats article {
  border-color: rgba(255, 255, 255, 0.08);
  background: #151f27;
}

.monthly-stats small,
.monthly-stats em {
  display: block;
  color: #93a09a;
  font-style: normal;
  font-weight: 800;
}

.monthly-stats strong {
  overflow: visible;
  font-size: clamp(14px, 3.55vw, 21px);
  line-height: 1.05;
  text-overflow: clip;
  white-space: nowrap;
}

.three-stats strong {
  overflow: visible;
  font-size: clamp(12px, 3vw, 18px);
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.amount-unit,
.monthly-stats strong .amount-unit,
.token-card span .amount-unit,
.metric-grid strong .amount-unit,
.detail-pnl b .amount-unit {
  display: inline;
  font-size: 0.62em;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  color: inherit;
  vertical-align: baseline;
  white-space: nowrap;
}

.monthly-chart {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #182229;
  padding: 14px;
}

.monthly-chart.empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: #93a09a;
}

.monthly-token-summary {
  display: grid;
  gap: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #151f27;
  padding: 12px;
}

.monthly-token-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.monthly-token-summary-head strong {
  min-width: 0;
  overflow: hidden;
  color: #eff8f4;
  font-size: 14px;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monthly-token-summary-head span {
  flex: 0 0 auto;
  color: #93a09a;
  font-size: 11px;
  font-weight: 900;
}

.monthly-token-rows {
  display: grid;
  gap: 8px;
}

.monthly-token-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(86px, auto);
  gap: 4px 10px;
  min-width: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  padding: 9px 10px;
}

.monthly-token-row strong {
  min-width: 0;
  overflow: hidden;
  color: #eff8f4;
  font-size: 14px;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monthly-token-row b {
  min-width: 0;
  max-width: min(46vw, 180px);
  overflow-wrap: anywhere;
  font-size: clamp(12px, 3.1vw, 15px);
  font-weight: 1000;
  line-height: 1.15;
  text-align: right;
}

.monthly-token-row small {
  grid-column: 1 / -1;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #8b9891;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.monthly-token-summary.empty p {
  margin: 0;
  color: #93a09a;
  font-size: 12px;
  font-weight: 800;
}

.monthly-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.monthly-chart-head strong {
  font-size: 22px;
}

.monthly-chart-head span,
.chart-dates,
.axis {
  color: #899691;
  font-size: 12px;
  font-weight: 800;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin: 0 3px 0 8px;
}

.dot.green {
  background: #2ed39b;
}

.dot.red {
  background: #ff7280;
}

.bar-canvas {
  position: relative;
  margin-top: 16px;
  padding: 0 32px;
}

.axis {
  position: absolute;
  z-index: 2;
}

.axis.left {
  left: 0;
}

.grid-line,
.zero-line {
  position: absolute;
  left: 32px;
  right: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.zero-line {
  border-color: rgba(255, 255, 255, 0.18);
}

.bar-layer {
  position: absolute;
  inset: 0 34px;
}

.bar-layer i {
  position: absolute;
  width: 5px;
  border-radius: 999px;
  transform: translateX(-50%);
}

.bar-layer i.profit {
  background: #2ed39b;
}

.bar-layer i.loss {
  background: #ff7280;
}

.chart-dates {
  display: flex;
  justify-content: space-between;
  padding: 0 22px;
}

.token-section h2 {
  margin-bottom: 14px;
}

.discover-segment-shell {
  display: grid;
  gap: 4px;
}

.discover-segment-dock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 8px;
}

.discover-segment {
  display: grid;
  align-content: space-between;
  gap: 5px;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f6f8f6;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 10px;
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.discover-segment.active {
  border-color: #bfe6cf;
  background: var(--green-soft);
  color: var(--green);
  box-shadow: inset 0 -3px 0 rgba(0, 120, 78, 0.16);
}

.discover-segment:hover,
.discover-segment:focus-visible {
  border-color: #b8d6c5;
  box-shadow: 0 8px 18px rgba(15, 35, 29, 0.08);
  outline: none;
}

.discover-segment:active {
  transform: scale(0.98);
}

.discover-segment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.discover-segment strong {
  overflow: hidden;
  max-width: 100%;
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discover-segment-cue {
  flex: 0 0 auto;
  color: #9aa49f;
  font-size: 18px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.discover-segment.active .discover-segment-cue {
  color: var(--green);
  font-size: 10px;
}

.discover-segment-count {
  justify-self: start;
  min-width: 26px;
  border-radius: 999px;
  background: #fff;
  color: #9aa49f;
  font-size: 12px;
  font-weight: 950;
  padding: 2px 8px;
  text-align: center;
}

.discover-segment.active .discover-segment-count {
  background: #d9f1e4;
  color: var(--green);
}

.discover-segment-pager {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: -2px;
  min-height: 4px;
}

.discover-segment-pager span {
  width: 10px;
  height: 4px;
  border-radius: 999px;
  background: #d9e3dd;
}

.discover-segment-pager span.active {
  width: 22px;
  background: var(--green);
}

.discover-token-rail {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.discover-token-rail::-webkit-scrollbar {
  display: none;
}

.discover-page {
  align-self: flex-start;
  flex: 0 0 100%;
  height: auto;
  scroll-snap-align: start;
}

.discover-page.inactive {
  pointer-events: none;
}

.token-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 114px;
  text-align: left;
  padding: 14px;
}

.token-card strong {
  display: block;
  overflow: hidden;
  font-size: 24px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-card small,
.token-card em {
  display: block;
  color: var(--muted);
  font-style: normal;
}

.token-card em {
  margin-top: 8px;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.token-card b {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(15px, 4.5vw, 20px);
  line-height: 1.05;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-card span .amount-unit {
  display: block;
  font-size: 0.5em;
  margin-top: 2px;
}

.token-card span {
  display: block;
  margin-top: 9px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  color: #fff;
  font-size: clamp(10px, 2.8vw, 12px);
  font-weight: 950;
  line-height: 1.05;
  overflow: hidden;
  padding: 8px 8px;
  text-align: center;
  white-space: nowrap;
}

.panel-head,
.identity-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-head-actions {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
}

.panel-head-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  padding: 0 12px;
  white-space: nowrap;
}

.panel-head-actions button:disabled {
  opacity: 0.42;
}

.add-symbol-card p {
  margin-top: 10px;
}

.symbol-feedback {
  border-radius: 12px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  padding: 10px 12px;
}

.symbol-feedback.checking {
  background: #fff7e3;
  color: #a06e12;
}

.symbol-feedback.valid,
.symbol-feedback.exists {
  background: #e8f7f0;
  color: var(--green);
}

.symbol-feedback.invalid,
.symbol-feedback.error {
  background: #fff0f2;
  color: var(--red);
}

.alert-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-soft);
  padding: 12px;
}

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

.alert-row span {
  color: var(--muted);
}

.alert-row button {
  color: var(--red);
}

.identity-card {
  justify-content: start;
}

.wallet-account-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: calc(100dvh - 178px);
}

.wallet-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--dark);
  color: #fff;
  font-size: 26px;
  font-weight: 950;
}

.identity-card div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.identity-card strong {
  display: block;
  font-size: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.identity-card span {
  display: block;
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.settings-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.settings-panel p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.settings-panel.compact {
  box-shadow: none;
}

.account-logout-panel {
  margin-top: auto;
}

.account-bottom-spacer {
  min-height: 56px;
}

.settings-list {
  display: grid;
  gap: 10px;
}

.settings-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(64px, auto) auto;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  width: 100%;
  border-radius: 16px;
  background: var(--panel-soft);
  text-align: left;
  padding: 12px;
}

.settings-row-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--dark);
  color: #eafff4;
  font-size: 16px;
  font-weight: 950;
}

.settings-row-copy {
  min-width: 0;
}

.settings-row-copy strong,
.settings-row-copy em {
  display: block;
  min-width: 0;
}

.settings-row-copy strong {
  font-size: 18px;
  line-height: 1.16;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.settings-row-copy em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.settings-row-meta {
  max-width: 112px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.18;
  padding: 7px 9px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: normal;
}

.settings-row b {
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}

.language-options,
.theme-options {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.notification-channel-panel {
  display: grid;
  gap: 10px;
}

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

.notification-center-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.notification-center-head h2 {
  margin-top: 2px;
}

.notification-center-head span {
  max-width: 76px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  padding: 7px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.notification-overview-grid span {
  display: grid;
  min-width: 0;
  min-height: 86px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
  padding: 10px 8px;
}

.notification-overview-grid em,
.notification-overview-grid strong,
.notification-overview-grid b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-overview-grid em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.notification-overview-grid strong {
  color: var(--ink);
  font-size: clamp(15px, 4.8vw, 19px);
  font-weight: 950;
  line-height: 1.12;
  white-space: nowrap;
}

.notification-overview-grid b {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.35;
}

.notification-push-panel,
.notification-channel-teaser {
  gap: 10px;
}

.notification-push-panel .panel-head > button {
  min-width: 104px;
  padding: 0 12px;
}

.notification-push-body {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
  padding: 11px;
}

.notification-push-body strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.notification-push-body p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.notification-channel-teaser h2 {
  font-size: 24px;
}

.notification-channel-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.notification-channel-mini-grid span {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
  padding: 10px 8px;
}

.notification-channel-mini-grid strong,
.notification-channel-mini-grid em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-channel-mini-grid strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.notification-channel-mini-grid em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.notification-channel-grid {
  display: grid;
  gap: 10px;
}

.notification-channel-card {
  display: grid;
  gap: 9px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-soft);
}

.notification-channel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.notification-channel-head strong,
.notification-channel-head em {
  display: block;
  min-width: 0;
}

.notification-channel-head strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.16;
}

.notification-channel-head em {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-channel-head span {
  max-width: 118px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  padding: 7px 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-channel-fields {
  display: grid;
  gap: 8px;
}

.notification-channel-fields input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 0 12px;
}

.notification-channel-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.notification-channel-actions.single-action {
  grid-template-columns: 1fr;
}

.notification-channel-actions button {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 950;
  padding: 0 14px;
}

.notification-channel-actions button:first-child {
  background: var(--dark);
  color: #fff;
}

.notification-channel-actions button:disabled {
  opacity: 0.58;
}

.language-option,
.theme-option {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  text-align: left;
}

.language-option span,
.theme-option span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--panel-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.language-option strong,
.theme-option strong {
  font-size: 18px;
}

.language-option em,
.theme-option em {
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.theme-option small {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.theme-option {
  grid-template-columns: 54px minmax(0, 1fr);
}

.theme-option span {
  grid-row: 1 / span 3;
}

.theme-option strong,
.theme-option em,
.theme-option small {
  grid-column: 2;
  min-width: 0;
  overflow-wrap: anywhere;
}

.theme-option small {
  justify-self: start;
}

.language-option.active,
.theme-option.active {
  border-color: var(--green);
  background: var(--green-soft);
}

.profile-rail {
  gap: 14px;
  margin-top: 20px;
}

.binance-current-panel,
.binance-source-panel {
  display: grid;
  gap: 14px;
}

.binance-current-panel .panel-head > div,
.binance-source-head > div {
  min-width: 0;
}

.binance-source-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
}

.binance-source-head p:not(.eyebrow) {
  margin-top: 8px;
}

.binance-source-head .primary-button {
  align-self: start;
  min-height: 44px;
  white-space: nowrap;
  padding: 0 16px;
}

.binance-source-panel .profile-rail {
  margin-top: 2px;
}

.service-panel > p + .primary-button,
.service-panel > .primary-button + .profile-rail {
  margin-top: 16px;
}

.profile-chip {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 82px;
  align-content: center;
  border-radius: 12px;
  padding: 13px 14px;
  text-align: left;
}

.profile-chip strong {
  font-size: 15px;
  line-height: 1.25;
}

.profile-chip.active {
  border-color: var(--green);
  background: var(--green-soft);
}

.profile-chip.system {
  border-color: rgba(201, 159, 37, 0.38);
}

.profile-chip span,
.profile-chip em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

@media (max-width: 430px) {
  .binance-source-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .binance-source-head .primary-button {
    width: 100%;
  }
}

.profile-delete {
  min-height: 34px;
  color: var(--red);
}

.message-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  text-align: left;
}

.message-row > div {
  min-width: 0;
}

.message-row.message-row-image {
  grid-template-columns: 74px minmax(0, 1fr) 88px;
  min-height: 94px;
  align-items: stretch;
}

.message-row .message-copy {
  min-width: 0;
  align-self: center;
}

.message-thumb-wrap {
  position: relative;
  align-self: center;
  width: 74px;
  height: 74px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--green-soft);
}

.message-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-image-count {
  position: absolute;
  right: 5px;
  bottom: 5px;
  min-width: 22px;
  border-radius: 999px;
  background: rgba(6, 46, 34, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  padding: 4px 6px;
  text-align: center;
}

.message-row.read {
  opacity: 0.72;
}

.message-row strong,
.message-row span,
.message-row small,
.message-row em {
  display: block;
}

.message-row .message-category {
  width: fit-content;
  max-width: 128px;
  margin: 5px 0 3px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  padding: 5px 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.message-row .message-time {
  display: block;
  justify-self: end;
  width: 88px;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.message-row .message-time span {
  display: block;
}

.image-preview-layer {
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  background: rgba(5, 14, 10, 0.72);
}

.image-preview-card {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(100%, 430px);
  max-height: min(88vh, 760px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 28px 80px rgba(4, 16, 11, 0.32);
}

.image-preview-media {
  display: block;
  width: 100%;
  max-height: 62vh;
  border-radius: 16px;
  background: var(--green-soft);
  object-fit: contain;
}

.image-preview-copy {
  display: grid;
  gap: 5px;
  padding: 0 2px 2px;
}

.image-preview-copy strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 1000;
}

.image-preview-copy span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.message-list.compact {
  gap: 10px;
}

.message-preview-button {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  border-color: var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--green);
  font-weight: 950;
}

.message-preview-button:active {
  transform: translateY(1px);
}

.message-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.message-pagination button {
  min-width: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 900;
}

.message-pagination button:disabled {
  opacity: 0.42;
}

.segmented-control,
.payment-segments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.segmented-control button,
.payment-segments button {
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 64px;
  padding: 12px 14px 13px;
  text-align: left;
}

.segmented-control small,
.payment-segments span {
  color: var(--muted);
  font-size: 12px;
}

.segmented-control .selected,
.segmented-control [aria-pressed="true"],
.payment-segments .active {
  border-color: var(--green);
  background: var(--green-soft);
  box-shadow: inset 0 0 0 2px rgba(8, 117, 88, 0.22);
}

.payment-segments button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.payment-segments.single {
  grid-template-columns: 1fr;
}

.safe-note {
  margin-top: 12px;
}

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

.detail-head,
.detail-pnl,
.detail-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.detail-head h2 {
  margin: 0;
  font-size: 34px;
}

.detail-head p {
  margin: 0;
  color: var(--muted);
}

.detail-head span,
.asset-portrait span {
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 950;
  padding: 8px 12px;
}

.detail-hero > strong {
  display: block;
  font-size: 44px;
}

.detail-entry-price {
  color: var(--muted);
  font-size: 0.46em;
  font-weight: 950;
  white-space: nowrap;
}

.sparkline {
  display: block;
  width: 100%;
  min-height: 86px;
  border-radius: 12px;
  background: var(--panel-soft);
}

.sparkline line {
  stroke: rgba(16, 33, 26, 0.08);
}

.sparkline-empty,
.empty-block {
  border-radius: 14px;
  background: var(--panel-soft);
  color: var(--muted);
  padding: 16px;
}

.loading-block {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.loading-block span {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(8, 117, 88, 0.18);
  border-top-color: var(--green);
  border-radius: 999px;
  animation: agent-spin 0.9s linear infinite;
}

.loading-window {
  color: var(--muted);
}

.loading-window em {
  max-width: 150px;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

@keyframes agent-spin {
  to {
    transform: rotate(360deg);
  }
}

.detail-pnl div {
  min-width: 0;
}

.detail-pnl span {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.detail-pnl b {
  display: block;
  margin-top: 7px;
  font-size: 20px;
}

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

.metric-grid strong {
  font-size: clamp(14px, 3.6vw, 18px);
  line-height: 1.1;
  overflow-wrap: anywhere;
  white-space: normal;
}

.asset-portrait {
  display: grid;
  gap: 12px;
}

.reason-box {
  border-radius: 14px;
  background: #f1f8f4;
  padding: 14px;
}

.reason-box strong {
  color: var(--green);
}

.reason-box p {
  margin-top: 8px;
  color: var(--ink);
  font-weight: 800;
}

.detail-actions button {
  min-height: 54px;
}

.paywall-actions,
.payment-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: end center;
  background: rgba(5, 14, 10, 0.55);
  padding: 18px;
}

.confirm-layer {
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 38%, rgba(8, 117, 88, 0.14), transparent 32%),
    rgba(5, 14, 10, 0.58);
}

.payment-card {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(100%, 430px);
  max-height: min(88vh, 780px);
  overflow-y: auto;
  border-radius: 22px;
  background: #fff;
  padding: 22px;
}

.payment-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  min-height: 38px;
  border-radius: 999px;
  font-size: 24px;
}

.payment-card h2 {
  margin: 0;
  font-size: 30px;
}

.modal-kicker {
  color: var(--green);
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
}

.payment-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.payment-important-notice {
  border: 1px solid #ead291;
  border-radius: 14px;
  background: #fff8e6;
  color: #7b5413 !important;
  font-size: 13px;
  font-weight: 900;
  padding: 10px 12px;
}

.system-default-card {
  gap: 14px;
}

.confirm-card {
  gap: 16px;
  max-width: 388px;
  overflow: visible;
  border: 1px solid rgba(8, 117, 88, 0.16);
  background:
    linear-gradient(180deg, rgba(232, 248, 241, 0.72), rgba(255, 255, 255, 0.96) 42%),
    #fff;
  padding: 24px;
  box-shadow:
    0 24px 80px rgba(4, 16, 11, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
}

.confirm-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-right: 34px;
}

.confirm-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  border: 1px solid rgba(8, 117, 88, 0.2);
  background:
    linear-gradient(180deg, rgba(8, 117, 88, 0.92), rgba(6, 41, 30, 1)),
    var(--dark);
  color: #f1fff8;
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: 0;
  box-shadow: 0 12px 24px rgba(6, 41, 30, 0.22);
}

.confirm-card.danger .confirm-icon {
  border-color: rgba(194, 65, 75, 0.18);
  background:
    linear-gradient(180deg, #165a47, #06291e),
    var(--dark);
  color: #fff;
}

.confirm-card h2 {
  margin-top: 2px;
  font-size: 28px;
  line-height: 1.16;
}

.confirm-card .modal-kicker {
  margin-top: 0;
  text-transform: none;
}

.confirm-copy {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
}

.confirm-note {
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(8, 117, 88, 0.1);
  background: rgba(247, 250, 246, 0.88);
  color: var(--muted);
  padding: 11px 12px;
  line-height: 1.5;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

.confirm-actions button {
  min-height: 52px;
  border-radius: 14px;
}

.confirm-actions .confirm-cancel {
  border-color: rgba(16, 33, 26, 0.12);
  background: #fff;
  color: var(--muted);
}

.confirm-actions .confirm-accept {
  box-shadow: none;
}

.confirm-actions .danger-button {
  border-color: #9f2f3b;
  background: linear-gradient(180deg, #d44c59, #a9313d);
  color: #fff;
}

.system-default-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.system-default-compare article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
  padding: 14px;
}

.system-default-compare span,
.system-default-compare small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-default-compare strong {
  display: block;
  margin: 8px 0 4px;
  overflow-wrap: anywhere;
  font-size: 18px;
}

.payment-due {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  background: var(--dark);
  color: #fff;
  padding: 15px;
}

.payment-due span {
  display: grid;
  gap: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.payment-due small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 1000;
}

.payment-due strong {
  font-size: 26px;
}

.payment-countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #cfe5db;
  border-radius: 14px;
  background: #effaf5;
  color: var(--green);
  padding: 12px 14px;
}

.payment-countdown span,
.payment-countdown strong {
  min-width: 0;
  color: inherit;
  font-weight: 1000;
}

.payment-countdown span {
  flex: 1 1 auto;
}

.payment-countdown strong {
  flex: 0 0 auto;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-countdown.expired {
  border-color: #f2c9c9;
  background: #fff1f1;
  color: #c5404c;
}

.payment-wallet-direct {
  display: grid;
  gap: 4px;
  border: 1px solid #cfe5db;
  border-radius: 14px;
  background: #effaf5;
  color: var(--green);
  padding: 12px 14px;
}

.payment-wallet-direct strong,
.payment-wallet-direct span {
  color: inherit;
}

.payment-wallet-direct strong {
  font-weight: 1000;
}

.payment-wallet-direct span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.payment-wallet-direct.warning {
  border-color: #f0d59f;
  background: #fff8e9;
  color: #8a650f;
}

.payment-qr {
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
  padding: 14px;
}

.payment-qr img,
.qr-empty {
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
}

.payment-message {
  border-radius: 14px;
  background: #fff8e9;
  color: #7b5512 !important;
  padding: 12px;
}

.payment-actions {
  grid-template-columns: 1fr 1fr 1fr;
}

.payment-actions.wallet-only {
  grid-template-columns: 1.2fr 1fr;
}

.payment-actions.single-action {
  grid-template-columns: 1fr;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 100;
  width: min(88vw, 360px);
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  text-align: center;
  transform: translateX(-50%) translateY(14px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

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

.hidden {
  display: none !important;
}

@media (max-width: 420px) {
  .agent-root {
    padding-left: 12px;
    padding-right: 12px;
  }

  .stage-card {
    gap: 10px;
    min-height: 530px;
  }

  .stage-copy h2 {
    font-size: 34px;
  }

  .market-window {
    gap: 10px;
    padding: 14px;
  }

  .market-window strong {
    font-size: 31px;
  }

  .market-window b {
    font-size: 28px;
  }

  .stage-avatar {
    width: 112px;
    height: 112px;
  }

  .host-card {
    align-items: center;
    gap: 10px;
    padding: 12px;
  }

  .host-card strong {
    font-size: 16px;
  }

  .host-card span {
    margin-top: 3px;
    font-size: 12px;
  }

  .skill-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .skill-grid button {
    min-height: 92px;
  }

  .skill-grid strong {
    font-size: 12px;
  }

  .metric-grid,
  .payment-actions {
    grid-template-columns: 1fr 1fr;
  }

  .detail-actions,
  .chat-form,
  .add-symbol-card form {
    grid-template-columns: 1fr;
  }

  .experience-login-head,
  .experience-settings-head,
  .experience-wallet-card {
    grid-template-columns: 1fr;
  }

  .experience-login-head,
  .experience-settings-head {
    display: grid;
  }

  .experience-login-head.wallet-login-head {
    display: flex;
  }

  .experience-login-head.wallet-login-head .experience-status-pill {
    align-self: flex-start;
  }

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

body[data-agent-theme="gufeng"] {
  --bg: #080604;
  --panel: #15100b;
  --panel-soft: #21170f;
  --ink: #fff3d1;
  --muted: #bba77f;
  --line: rgba(238, 190, 86, 0.26);
  --green: #46d59a;
  --green-soft: rgba(70, 213, 154, 0.13);
  --dark: #090604;
  --gold: #f0c566;
  --red: #ff7280;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
  background:
    repeating-linear-gradient(90deg, rgba(240, 197, 102, 0.045) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(240, 197, 102, 0.035) 0 1px, transparent 1px 84px),
    linear-gradient(145deg, #070403 0%, #120906 44%, #06140f 100%);
  color: var(--ink);
}

body[data-agent-theme="gufeng"] button,
body[data-agent-theme="gufeng"] input,
body[data-agent-theme="gufeng"] select,
body[data-agent-theme="gufeng"] textarea {
  border-color: var(--line);
  background: rgba(16, 10, 6, 0.86);
  color: var(--ink);
}

body[data-agent-theme="gufeng"] input::placeholder,
body[data-agent-theme="gufeng"] textarea::placeholder {
  color: rgba(255, 239, 204, 0.45);
}

body[data-agent-theme="gufeng"] .agent-phone {
  background:
    linear-gradient(180deg, rgba(240, 197, 102, 0.05), transparent 22%),
    #090604;
}

@media (min-width: 760px) {
  body[data-agent-theme="gufeng"] .agent-phone {
    border-color: rgba(240, 197, 102, 0.24);
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.58);
  }
}

body[data-agent-theme="gufeng"] .agent-topbar {
  border-bottom-color: rgba(240, 197, 102, 0.18);
  background: rgba(9, 6, 4, 0.88);
}

body[data-agent-theme="gufeng"] .icon-button,
body[data-agent-theme="gufeng"] .language-select-pill,
body[data-agent-theme="gufeng"] .message-pill,
body[data-agent-theme="gufeng"] .subpage-action-pill,
body[data-agent-theme="gufeng"] .status-pill {
  border-color: rgba(240, 197, 102, 0.26);
  background: rgba(25, 16, 9, 0.88);
  color: var(--gold);
}

body[data-agent-theme="gufeng"] .message-pill b,
body[data-agent-theme="gufeng"] .status-pill.ok,
body[data-agent-theme="gufeng"] .count-pill,
body[data-agent-theme="gufeng"] .source-badge {
  background: rgba(70, 213, 154, 0.16);
  color: #7df0bd;
}

body[data-agent-theme="gufeng"] .agent-root {
  background:
    linear-gradient(180deg, rgba(240, 197, 102, 0.02), rgba(70, 213, 154, 0.03) 45%, transparent 100%);
}

body[data-agent-theme="gufeng"] .agent-root.chat-secondary {
  background: #090604;
  padding: 0;
}

body[data-agent-theme="gufeng"] .bottom-tabs {
  border-top-color: rgba(240, 197, 102, 0.18);
  background: rgba(8, 6, 4, 0.88);
}

body[data-agent-theme="gufeng"] .bottom-tabs button {
  color: rgba(255, 239, 204, 0.58);
}

body[data-agent-theme="gufeng"] .bottom-tabs button.active {
  border: 1px solid rgba(240, 197, 102, 0.36);
  background: linear-gradient(180deg, rgba(240, 197, 102, 0.18), rgba(70, 213, 154, 0.08));
  color: var(--gold);
}

body[data-agent-theme="gufeng"] .login-card,
body[data-agent-theme="gufeng"] .mini-panel,
body[data-agent-theme="gufeng"] .token-section,
body[data-agent-theme="gufeng"] .add-symbol-card,
body[data-agent-theme="gufeng"] .price-alert-panel,
body[data-agent-theme="gufeng"] .identity-card,
body[data-agent-theme="gufeng"] .service-panel,
body[data-agent-theme="gufeng"] .settings-panel,
body[data-agent-theme="gufeng"] .message-panel,
body[data-agent-theme="gufeng"] .form-card,
body[data-agent-theme="gufeng"] .detail-hero,
body[data-agent-theme="gufeng"] .asset-portrait,
body[data-agent-theme="gufeng"] .chat-panel,
body[data-agent-theme="gufeng"] .paywall-card,
body[data-agent-theme="gufeng"] .payment-card,
body[data-agent-theme="gufeng"] .system-default-compare article {
  border-color: rgba(240, 197, 102, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 226, 150, 0.06), rgba(11, 8, 5, 0.08)),
    var(--panel);
  box-shadow: var(--shadow);
}

body[data-agent-theme="gufeng"] .login-card {
  background:
    linear-gradient(180deg, rgba(8, 6, 4, 0.08), rgba(8, 6, 4, 0.84)),
    var(--panel);
}

body[data-agent-theme="gufeng"] .experience-login-card,
body[data-agent-theme="gufeng"] .experience-settings-panel {
  border-color: rgba(240, 197, 102, 0.55);
  background: #fff8e8;
  color: #10211a;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}

body[data-agent-theme="gufeng"] .experience-login-card h2,
body[data-agent-theme="gufeng"] .experience-settings-panel h2,
body[data-agent-theme="gufeng"] .experience-login-card p,
body[data-agent-theme="gufeng"] .experience-settings-panel p,
body[data-agent-theme="gufeng"] .experience-captcha-row span,
body[data-agent-theme="gufeng"] .experience-wallet-card strong {
  color: #10211a;
}

body[data-agent-theme="gufeng"] .experience-login-card .eyebrow,
body[data-agent-theme="gufeng"] .experience-settings-panel .eyebrow,
body[data-agent-theme="gufeng"] .experience-form label span,
body[data-agent-theme="gufeng"] .experience-first-use strong,
body[data-agent-theme="gufeng"] .experience-wallet-card span,
body[data-agent-theme="gufeng"] .experience-wallet-card em,
body[data-agent-theme="gufeng"] .experience-status-pill {
  color: #0b7452;
}

body[data-agent-theme="gufeng"] .experience-login-card input,
body[data-agent-theme="gufeng"] .experience-settings-panel input {
  border-color: #e2d9c6;
  background: #fff;
  color: #10211a;
}

body[data-agent-theme="gufeng"] .experience-login-card input::placeholder,
body[data-agent-theme="gufeng"] .experience-settings-panel input::placeholder {
  color: #9a9589;
}

body[data-agent-theme="gufeng"] .experience-first-use,
body[data-agent-theme="gufeng"] .experience-wallet-card,
body[data-agent-theme="gufeng"] .experience-captcha-row {
  border-color: #dbe9df;
  background: #f1fbf5;
}

body[data-agent-theme="gufeng"] .short-address-login-entry {
  border-color: #e5eee8;
  background: transparent;
}

body[data-agent-theme="gufeng"] .short-address-login-entry strong,
body[data-agent-theme="gufeng"] .short-address-login-entry .secondary-button {
  color: #4f6d5f;
}

body[data-agent-theme="gufeng"] .experience-status-pill {
  border-color: #cfe7d8;
  background: #eef8f2;
}

body[data-agent-theme="gufeng"] .experience-status-pill.active {
  border-color: #10231d;
  background: #10231d;
  color: #fff;
}

body[data-agent-theme="gufeng"] .experience-captcha-row button,
body[data-agent-theme="gufeng"] .secondary-button,
body[data-agent-theme="gufeng"] .experience-wallet-card em {
  border-color: #cfe7d8;
  background: #fff;
}

body[data-agent-theme="gufeng"] .login-brand-icon {
  border: 2px solid rgba(240, 197, 102, 0.78);
  border-radius: 36px;
  box-shadow:
    0 0 0 6px rgba(240, 197, 102, 0.08),
    0 22px 58px rgba(0, 0, 0, 0.56);
}

body[data-agent-theme="gufeng"] .primary-button {
  border-color: rgba(240, 197, 102, 0.72);
  background: linear-gradient(180deg, #f4cc70 0%, #b57a22 100%);
  color: #1a0e04;
  box-shadow: 0 12px 28px rgba(181, 122, 34, 0.25);
}

body[data-agent-theme="gufeng"] .stage-card {
  border-color: rgba(240, 197, 102, 0.38);
  background:
    linear-gradient(180deg, rgba(9, 6, 4, 0.08), rgba(9, 6, 4, 0.86)),
    linear-gradient(145deg, #241309 0%, #0b2117 58%, #060402 100%);
}

body[data-agent-theme="gufeng"] .stage-card::after {
  content: none;
}

body[data-agent-theme="gufeng"] .stage-avatar {
  border: 1px solid rgba(240, 197, 102, 0.64);
  background: #160f09;
  box-shadow:
    0 0 0 4px rgba(240, 197, 102, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.42);
  filter: brightness(1.08) saturate(1.08);
}

body[data-agent-theme="gufeng"] .stage-card > * {
  position: relative;
  z-index: 1;
}

body[data-agent-theme="gufeng"] .market-window,
body[data-agent-theme="gufeng"] .home-profile-switch,
body[data-agent-theme="gufeng"] .settings-switch-panel,
body[data-agent-theme="gufeng"] .host-card,
body[data-agent-theme="gufeng"] .access-option-card,
body[data-agent-theme="gufeng"] .three-stats article,
body[data-agent-theme="gufeng"] .metric-grid article,
body[data-agent-theme="gufeng"] .monthly-stats article,
body[data-agent-theme="gufeng"] .monthly-chart,
body[data-agent-theme="gufeng"] .token-card,
body[data-agent-theme="gufeng"] .settings-row,
body[data-agent-theme="gufeng"] .profile-chip,
body[data-agent-theme="gufeng"] .home-profile-chip,
body[data-agent-theme="gufeng"] .alert-row,
body[data-agent-theme="gufeng"] .message-row,
body[data-agent-theme="gufeng"] .chat-list,
body[data-agent-theme="gufeng"] .chat-message,
body[data-agent-theme="gufeng"] .reason-box,
body[data-agent-theme="gufeng"] .symbol-feedback,
body[data-agent-theme="gufeng"] .payment-wallet-direct,
body[data-agent-theme="gufeng"] .payment-qr,
body[data-agent-theme="gufeng"] .qr-empty,
body[data-agent-theme="gufeng"] .language-option,
body[data-agent-theme="gufeng"] .theme-option {
  border-color: rgba(240, 197, 102, 0.2);
  background: rgba(12, 10, 7, 0.72);
  color: var(--ink);
}

body[data-agent-theme="gufeng"] .whale-chat-panel {
  border-color: rgba(240, 197, 102, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 226, 150, 0.05), rgba(9, 6, 4, 0.05)),
    #100c08;
  color: var(--ink);
  box-shadow: var(--shadow);
}

body[data-agent-theme="gufeng"] .whale-chat-panel.whale-chat-room {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-agent-theme="gufeng"] .whale-chat-list {
  border: 1px solid rgba(240, 197, 102, 0.16);
  background: rgba(8, 6, 4, 0.78);
}

body[data-agent-theme="gufeng"] .whale-chat-room .whale-chat-list {
  border: 0;
}

body[data-agent-theme="gufeng"] .whale-chat-message {
  background: transparent;
  box-shadow: none;
}

body[data-agent-theme="gufeng"] .whale-chat-message-bubble {
  background: rgba(57, 50, 42, 0.96);
  color: #fff4d2;
}

body[data-agent-theme="gufeng"] .whale-chat-message.mine .whale-chat-message-bubble {
  background: #d8a13a;
  color: #1b1005;
}

body[data-agent-theme="gufeng"] .whale-chat-message.admin:not(.mine) .whale-chat-message-bubble {
  background: rgba(45, 66, 47, 0.96);
}

body[data-agent-theme="gufeng"] .whale-chat-message.third_party .whale-chat-message-bubble {
  background: rgba(40, 48, 65, 0.96);
}

body[data-agent-theme="gufeng"] .whale-chat-message-head strong {
  color: #d7bf8d;
}

body[data-agent-theme="gufeng"] .whale-chat-message-head span {
  color: #9a8868;
}

body[data-agent-theme="gufeng"] .whale-chat-message h3 {
  color: inherit;
}

body[data-agent-theme="gufeng"] .whale-chat-message p {
  color: inherit;
}

body[data-agent-theme="gufeng"] .whale-chat-message button,
body[data-agent-theme="gufeng"] .whale-chat-member-row button {
  border-color: rgba(240, 197, 102, 0.22);
  background: rgba(35, 22, 10, 0.46);
  color: #f0c9c9;
}

body[data-agent-theme="gufeng"] .whale-chat-form input {
  border-color: rgba(240, 197, 102, 0.24);
  background: rgba(9, 6, 4, 0.78);
  color: #fff4d2;
}

body[data-agent-theme="gufeng"] .whale-chat-image-button {
  border-color: rgba(240, 197, 102, 0.24);
  background: rgba(9, 6, 4, 0.78);
  color: #f0c566;
}

body[data-agent-theme="gufeng"] .whale-chat-form input::placeholder {
  color: #bda77d;
  opacity: 1;
}

body[data-agent-theme="gufeng"] .monthly-panel {
  border-color: rgba(240, 197, 102, 0.34);
  background:
    linear-gradient(180deg, rgba(240, 197, 102, 0.06), transparent 28%),
    #101922;
}

body[data-agent-theme="gufeng"] .monthly-stats article,
body[data-agent-theme="gufeng"] .monthly-chart {
  background: #0d1620;
}

body[data-agent-theme="gufeng"] .grid-line {
  border-color: rgba(255, 235, 194, 0.09);
}

body[data-agent-theme="gufeng"] .zero-line {
  border-color: rgba(240, 197, 102, 0.28);
}

body[data-agent-theme="gufeng"] .host-card {
  border-color: rgba(240, 197, 102, 0.34);
  background: rgba(20, 13, 7, 0.78);
  color: #f8e9c5;
}

body[data-agent-theme="gufeng"] .host-card-mark {
  background: linear-gradient(135deg, rgba(242, 201, 106, 0.88), rgba(23, 61, 43, 0.92));
  color: #fff2bf;
}

body[data-agent-theme="gufeng"] .host-card strong {
  color: #fff8e8;
}

body[data-agent-theme="gufeng"] .host-card span {
  color: #38d99f;
}

body[data-agent-theme="gufeng"] .host-card button {
  background: rgba(255, 241, 205, 0.12);
  color: #f9dc8c;
}

body[data-agent-theme="gufeng"] .skill-grid button,
body[data-agent-theme="gufeng"] .module-card {
  border-color: rgba(240, 197, 102, 0.22);
  background: linear-gradient(180deg, rgba(33, 23, 15, 0.92), rgba(13, 9, 6, 0.95));
  color: var(--ink);
}

body[data-agent-theme="gufeng"] .skill-grid span,
body[data-agent-theme="gufeng"] .module-card > span,
body[data-agent-theme="gufeng"] .settings-row-icon,
body[data-agent-theme="gufeng"] .wallet-avatar,
body[data-agent-theme="gufeng"] .language-option span,
body[data-agent-theme="gufeng"] .theme-option span {
  background: linear-gradient(180deg, rgba(240, 197, 102, 0.28), rgba(70, 213, 154, 0.1));
  color: var(--gold);
}

body[data-agent-theme="gufeng"] .module-card {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

body[data-agent-theme="gufeng"] .settings-row-meta,
body[data-agent-theme="gufeng"] .access-status.ok,
body[data-agent-theme="gufeng"] .symbol-feedback.valid,
body[data-agent-theme="gufeng"] .symbol-feedback.exists {
  background: rgba(70, 213, 154, 0.14);
  color: #7df0bd;
}

body[data-agent-theme="gufeng"] .language-option.active,
body[data-agent-theme="gufeng"] .theme-option.active,
body[data-agent-theme="gufeng"] .profile-chip.active {
  border-color: rgba(240, 197, 102, 0.72);
  background: linear-gradient(180deg, rgba(240, 197, 102, 0.18), rgba(70, 213, 154, 0.09));
}

body[data-agent-theme="gufeng"] .token-card span,
body[data-agent-theme="gufeng"] .payment-due {
  background: linear-gradient(180deg, rgba(240, 197, 102, 0.96), rgba(181, 122, 34, 0.96));
  color: #160f09;
}

body[data-agent-theme="gufeng"] .payment-countdown {
  border-color: rgba(240, 197, 102, 0.24);
  background: rgba(240, 197, 102, 0.1);
  color: var(--gold);
}

body[data-agent-theme="gufeng"] .payment-message {
  background: rgba(240, 197, 102, 0.12);
  color: var(--gold) !important;
}

body[data-agent-theme="gufeng"] .toast {
  border: 1px solid rgba(240, 197, 102, 0.4);
  background: rgba(9, 6, 4, 0.94);
  color: var(--gold);
}

body[data-agent-theme="gufeng"] .red {
  color: var(--red) !important;
}

body[data-agent-theme="gufeng"] .green {
  color: var(--green) !important;
}

@media (max-width: 420px) {
  body[data-agent-theme="gufeng"] .login-card {
    min-height: calc(100vh - 142px);
  }

  body[data-agent-theme="gufeng"] .login-brand-icon {
    width: min(82vw, 330px);
    height: min(82vw, 330px);
  }
}
