:root {
  --bottom-nav-height: 72px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color: #edf7f4;
  background: #061116;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 0%, rgba(23, 199, 163, 0.18), transparent 32%),
    linear-gradient(180deg, #061116 0%, #091820 58%, #061116 100%);
}

.boot-fallback {
  display: grid;
  gap: 12px;
  min-height: 100vh;
  align-content: center;
  justify-items: center;
  padding: 24px;
  text-align: center;
}

.boot-fallback img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
}

.boot-fallback h1 {
  margin: 0;
  color: #ffffff;
  font-size: 36px;
}

.boot-fallback p,
.boot-fallback small {
  max-width: 320px;
  color: #95aaa5;
}

.boot-fallback button {
  min-height: 46px;
  background: #f0b90b;
  padding: 10px 18px;
}

.boot-error p {
  color: #f5d56c;
  font-weight: 900;
}

.boot-error-detail {
  display: block;
  max-width: min(520px, calc(100vw - 32px));
  border: 1px solid rgba(245, 213, 108, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  color: #f5d56c;
  font-size: 12px;
  padding: 10px;
  white-space: normal;
  word-break: break-word;
}

button {
  border: 0;
  border-radius: 8px;
  color: #061116;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

a {
  color: inherit;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  color: currentColor;
  vertical-align: -6px;
}

.icon svg {
  width: 20px;
  height: 20px;
  fill: rgba(23, 199, 163, 0.08);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.app-shell {
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 22px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 48px;
  padding: 6px 10px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 17, 22, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  flex: 1 1 92px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

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

.language-switch,
.wallet-chip {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #edf7f4;
  font-size: 12px;
  font-weight: 900;
  padding: 0 7px;
  white-space: nowrap;
}

.language-switch b,
.wallet-chip {
  overflow: hidden;
  text-overflow: ellipsis;
}

.language-switch b {
  max-width: 34px;
}

.wallet-chip {
  flex: 0 0 134px;
  max-width: 134px;
  justify-content: flex-start;
}

.wallet-chip .icon {
  flex: 0 0 auto;
  margin-right: 0;
}

.wallet-address {
  display: inline-block;
  min-width: 88px;
}

.coin-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: -6px;
}

.language-popover {
  position: fixed;
  top: 56px;
  right: 54px;
  z-index: 35;
  display: grid;
  gap: 6px;
  width: min(180px, calc(100vw - 24px));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 21, 28, 0.98);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
  padding: 8px;
  backdrop-filter: blur(18px);
}

.language-popover[hidden] {
  display: none;
}

.language-popover button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  background: rgba(255, 255, 255, 0.05);
  color: #edf7f4;
  padding: 8px 10px;
  text-align: left;
}

.language-popover button.active {
  background: rgba(23, 199, 163, 0.16);
  color: #8af4db;
}

.wallet-chip.connected {
  border-color: rgba(240, 185, 11, 0.34);
  color: #f5d56c;
}

.income-card > span,
.yield-card > span,
.panel-heading > span,
.asset-list span,
.team-stats span,
.invite-link-box > span,
.profile-identity span,
.exit-lp-card span,
.profile-actions span,
.help-list span,
.deposit-notes span,
.allocation-panel span,
.wallet-balance-panel .panel-heading span {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
}

.income-card > span .icon,
.yield-card > span .icon,
.panel-heading > span .icon,
.asset-list span .icon,
.team-stats span .icon,
.invite-link-box > span .icon,
.profile-identity span .icon,
.exit-lp-card span .icon,
.profile-actions span .icon,
.help-list span .icon,
.deposit-notes span .icon,
.allocation-panel span .icon,
.wallet-balance-panel .panel-heading span .icon {
  margin-right: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #b6c6c2;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
  white-space: nowrap;
}

button.status-pill {
  color: #b6c6c2;
}

.status-pill .icon,
.more-button .icon {
  margin-right: 0;
}

.more-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 38px;
  flex: 0 0 42px;
  border: 1px solid rgba(23, 199, 163, 0.46);
  border-radius: 8px;
  background: rgba(23, 199, 163, 0.16);
  color: #edf7f4;
  font-size: 20px;
  line-height: 1;
  padding: 0;
}

.more-button .icon {
  width: 26px;
  height: 26px;
  stroke-width: 2.6;
}

.position-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.status-pill.online {
  border-color: rgba(23, 199, 163, 0.32);
  color: #8af4db;
}

.status-pill.connected {
  border-color: rgba(240, 185, 11, 0.34);
  color: #f5d56c;
}

.dashboard {
  display: grid;
  gap: 14px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 16px;
}

.tab-view {
  display: none;
}

.tab-view.active {
  display: grid;
  gap: 14px;
}

.hero-panel,
.panel,
.income-card,
.risk-banner,
.deposit-page,
.yield-page,
.yield-card,
.chart-panel,
.settlement-panel,
.detail-panel,
.team-share-card,
.team-metrics article,
.team-rules article,
.member-panel,
.profile-card,
.exit-lp-card,
.profile-actions button,
.profile-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 38, 47, 0.96), rgba(9, 24, 32, 0.96));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.hero-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.hero-panel.has-brand-video {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: #02070b;
  padding: 16px;
}

.hero-panel.has-brand-video .hero-card-carousel,
.hero-panel.has-brand-video .net-value-card {
  position: relative;
  z-index: 2;
}

.hero-card-carousel {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(12, 28, 36, 0.52), rgba(5, 16, 22, 0.48));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.hero-card-track {
  display: flex;
  width: 100%;
  transition: transform 520ms cubic-bezier(0.2, 0.75, 0.2, 1);
  will-change: transform;
}

.hero-card-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.hero-card-slide .net-value-card,
.hero-info-card {
  min-height: 128px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 14px;
}

.hero-info-card {
  display: grid;
  align-content: center;
  gap: 8px;
}

.hero-info-card h1 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-info-card .muted {
  margin: 0;
  color: rgba(227, 240, 238, 0.82);
  font-size: 12px;
  line-height: 1.48;
}

.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 0 0 12px;
}

.hero-carousel-dots button {
  width: 6px;
  height: 6px;
  min-height: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  padding: 0;
  transition: width 220ms ease, background 220ms ease;
}

.hero-carousel-dots button.active {
  width: 18px;
  background: #f0b90b;
}

.hero-video-shell {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #02070b;
}

.hero-video,
.hero-vector-film,
.hero-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 82.5%;
  object-fit: cover;
  object-position: center top;
}

.hero-video-poster {
  opacity: 0.96;
  transform: translateY(-15%) scale(1.02);
  filter: brightness(1.22) saturate(1.12) contrast(1.08);
}

.hero-vector-film {
  opacity: 0.96;
  transform: translateY(-15%) scale(1.02);
  filter: brightness(1.28) saturate(1.12) contrast(1.08);
}

.hero-video {
  opacity: 0;
  transform: translateY(-15%) scale(1.02);
  transition: opacity 900ms ease;
  filter: brightness(1.28) saturate(1.12) contrast(1.08);
}

.hero-video.is-loaded {
  opacity: 0.96;
}

.hero-video.is-loaded + .hero-video-overlay {
  opacity: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 7, 11, 0.5) 0%, rgba(2, 7, 11, 0.24) 52%, rgba(2, 7, 11, 0.5) 100%),
    linear-gradient(180deg, rgba(2, 7, 11, 0.04) 0%, rgba(2, 7, 11, 0.46) 100%);
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}

.hero-badges .hero-tag {
  margin: 0;
}

.testnet-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  border: 1px solid rgba(240, 185, 11, 0.42);
  border-radius: 999px;
  background: rgba(240, 185, 11, 0.14);
  color: #ffd76a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  padding: 7px 10px;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 8px;
  color: #f0b90b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(23, 199, 163, 0.32);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(23, 199, 163, 0.2), rgba(240, 185, 11, 0.14)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 9px);
  box-shadow: inset 0 0 18px rgba(23, 199, 163, 0.12);
  color: #8af4db;
  padding: 6px 12px;
}

h1 {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.12;
}

p {
  margin: 0;
}

.muted,
.income-card small,
.net-value-card small,
.panel p,
.risk-banner p {
  color: #95aaa5;
}

.net-value-card {
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.18), rgba(23, 199, 163, 0.12));
  padding: 18px;
}

.manual-config-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  border: 1px solid rgba(23, 199, 163, 0.28);
  background: rgba(23, 199, 163, 0.12);
  color: #8af4db;
  padding: 11px;
}

.config-warning {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(240, 185, 11, 0.28);
  border-radius: 8px;
  background: rgba(240, 185, 11, 0.08);
  padding: 12px;
}

.config-warning[hidden] {
  display: none;
}

.config-warning p {
  color: #dbe7e4;
  font-size: 13px;
  font-weight: 800;
}

.config-warning button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  background: #f0b90b;
  padding: 8px 10px;
  white-space: nowrap;
}

.testnet-notice {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(240, 185, 11, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(240, 185, 11, 0.14), rgba(23, 199, 163, 0.08)),
    rgba(255, 255, 255, 0.04);
  color: #dbe7e4;
  padding: 13px;
}

.testnet-notice strong {
  display: inline-flex;
  align-items: center;
  color: #ffd76a;
  font-size: 14px;
}

.testnet-notice p {
  color: #b8c9c4;
  font-size: 13px;
  font-weight: 780;
}

.net-value-card span,
.income-card span,
.panel-heading span,
.asset-list span,
.team-stats span {
  color: #91a6a1;
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.net-value-card strong {
  color: #ffffff;
  display: block;
  font-size: 34px;
  margin-top: 4px;
}

.money-text {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  word-break: keep-all;
}

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

.income-card {
  min-height: 132px;
  padding: 16px;
}

.income-card.primary {
  border-color: rgba(240, 185, 11, 0.36);
}

.income-card.claimable {
  border-color: rgba(23, 199, 163, 0.35);
}

.income-card strong {
  color: #ffffff;
  display: block;
  font-size: 24px;
  margin: 8px 0 4px;
  white-space: nowrap;
}

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

.quick-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 54px;
  background: #f0b90b;
  padding: 12px 10px;
}

.quick-actions button:nth-child(2) {
  background: #17c7a3;
}

.quick-actions button:nth-child(3) {
  background: #ffffff;
}

.quick-actions button:nth-child(4) {
  background: rgba(138, 244, 219, 0.92);
}

.quick-actions span {
  display: inline-block;
  margin-right: 6px;
}

.quick-actions .icon {
  display: inline-grid;
  margin-right: 0;
}

.bottom-nav a:focus-visible,
.connect-toast button:focus-visible,
.quick-actions button:focus-visible,
.asset-option:has(input:focus-visible),
.risk-check:has(input:focus-visible),
.deposit-submit:focus-visible,
.form-field input:focus-visible,
.exit-lp-card button:focus-visible,
.profile-actions button:focus-visible,
.language-grid button:focus-visible,
.help-list button:focus-visible,
.faq-item summary:focus-visible {
  outline: 2px solid #f0b90b;
  outline-offset: 3px;
}

.two-column {
  display: grid;
  gap: 14px;
}

.panel {
  padding: 18px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.panel-heading strong {
  color: #ffffff;
  font-size: 24px;
}

.team-stats,
.asset-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.team-stats {
  grid-template-columns: 1fr 1fr;
}

.team-stats div,
.asset-list div {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
}

.team-stats b,
.asset-list b {
  color: #ffffff;
  display: block;
  margin-top: 4px;
}

.inline-status {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
}

.inline-status .icon {
  margin-right: 0;
}

.risk-banner {
  border-color: rgba(240, 185, 11, 0.36);
  padding: 16px;
}

.risk-banner strong {
  color: #f0b90b;
  display: block;
  margin-bottom: 6px;
}

.profile-page .risk-banner {
  padding: 10px 12px;
  border-color: rgba(240, 185, 11, 0.2);
  background: rgba(240, 185, 11, 0.05);
}

.profile-page .risk-banner strong {
  color: rgba(240, 185, 11, 0.86);
  font-size: 12px;
  margin-bottom: 4px;
}

.profile-page .risk-banner p {
  font-size: 11px;
  line-height: 1.45;
  color: #7f9691;
}

.deposit-page {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.deposit-heading,
.yield-heading,
.team-heading,
.profile-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

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

.deposit-pills {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

h2 {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.08;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.yield-heading .hero-tag {
  font-size: 32px;
  line-height: 1.15;
}

.deposit-subtitle {
  color: #95aaa5;
  font-size: 13px;
  font-weight: 800;
  margin-top: 6px;
}

.wallet-balance-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
}

.wallet-balance-panel .panel-heading strong {
  color: #17c7a3;
  font-size: 13px;
}

.price-strip {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(44, 210, 180, 0.22);
  border-radius: 10px;
  background: rgba(7, 42, 43, 0.7);
}

.price-strip div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.price-strip strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-strip small {
  overflow: hidden;
  color: #91a6a1;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-strip button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  border: 1px solid rgba(240, 185, 11, 0.55);
  border-radius: 8px;
  background: #f0b90b;
  color: #061514;
  font-size: 12px;
  font-weight: 950;
  padding: 7px 10px;
}

.price-strip button .icon,
.price-strip button svg {
  color: #061514;
  stroke: currentColor;
}

.balance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.balance-grid div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
}

.balance-grid span {
  color: #91a6a1;
  font-size: 13px;
  font-weight: 900;
}

.balance-grid b {
  color: #ffffff;
  font-size: 13px;
  white-space: nowrap;
}

.balance-grid small {
  grid-column: 2;
  justify-self: end;
  color: #91a6a1;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.deposit-form {
  display: grid;
  gap: 16px;
}

.asset-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  min-width: 0;
  padding: 0;
  border: 0;
}

.asset-selector legend,
.form-field > span {
  grid-column: 1 / -1;
  color: #91a6a1;
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.asset-option {
  position: relative;
  min-width: 0;
}

.asset-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.asset-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #c7d8d4;
  font-weight: 900;
}

.asset-option .icon {
  margin-right: 0;
}

.asset-option input:checked + span {
  border-color: rgba(23, 199, 163, 0.58);
  background: rgba(23, 199, 163, 0.14);
  color: #17c7a3;
}

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

.amount-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
}

.amount-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 20px;
  font-weight: 900;
}

.amount-input input::placeholder {
  color: #657873;
}

.amount-input b {
  color: #f0b90b;
  font-size: 14px;
}

.form-field small {
  color: #95aaa5;
}

.allocation-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.allocation-panel div,
.deposit-notes div {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 13px;
}

.allocation-panel span,
.deposit-notes span {
  color: #91a6a1;
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.allocation-panel strong {
  color: #ffffff;
  display: block;
  font-size: 24px;
  margin-top: 4px;
}

.allocation-panel small {
  color: #17c7a3;
  display: block;
  margin-top: 3px;
}

.deposit-notes {
  display: grid;
  gap: 10px;
}

.deposit-notes b {
  color: #ffffff;
  display: block;
  margin-top: 4px;
}

.deposit-notes b.warning {
  color: #f0b90b;
}

.risk-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(240, 185, 11, 0.28);
  border-radius: 8px;
  background: rgba(240, 185, 11, 0.08);
  color: #dbe7e4;
  font-size: 13px;
  font-weight: 750;
  padding: 12px;
}

.risk-check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #f0b90b;
}

.form-message {
  min-height: 22px;
  color: #95aaa5;
  font-size: 13px;
  font-weight: 800;
}

.deposit-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 54px;
  background: #f0b90b;
  color: #061116;
  padding: 13px 16px;
}

.deposit-submit small {
  border-radius: 999px;
  background: rgba(6, 17, 22, 0.12);
  color: inherit;
  font-size: 11px;
  line-height: 1;
  padding: 4px 7px;
  white-space: nowrap;
}

.deposit-submit:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.yield-page {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.yield-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.yield-card {
  min-height: 126px;
  padding: 15px;
}

.yield-card.primary {
  border-color: rgba(240, 185, 11, 0.36);
}

.yield-card.claimable {
  border-color: rgba(23, 199, 163, 0.38);
}

.yield-card.pending-fees {
  border-color: rgba(145, 166, 161, 0.28);
}

.yield-card span,
.settlement-panel span,
.yield-detail-list span {
  color: #91a6a1;
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.yield-card strong {
  color: #ffffff;
  display: block;
  font-size: 22px;
  margin-top: 8px;
  white-space: nowrap;
}

.yield-card small {
  color: #95aaa5;
  display: block;
  margin-top: 4px;
}

.chart-panel,
.detail-panel,
.yield-share-panel,
.settlement-panel {
  padding: 16px;
}

.yield-share-panel {
  display: grid;
  gap: 14px;
}

.yield-share-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.yield-share-controls label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #91a6a1;
  font-size: 12px;
  font-weight: 900;
}

.yield-share-controls select {
  width: 100%;
  min-width: 0;
}

.share-yield-button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #17c7a3, #f0b90b);
  color: #061716;
  font-weight: 950;
  padding: 0 14px;
}

.yield-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 142px;
  margin-top: 18px;
}

.calendar-panel .panel-heading strong {
  color: #17c7a3;
  font-size: 16px;
}

.calendar-mode-toggle {
  display: inline-flex;
  min-width: 0;
  border: 1px solid rgba(145, 166, 161, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
}

.calendar-mode-toggle button {
  min-height: 30px;
  border-radius: 6px;
  background: transparent;
  color: #91a6a1;
  font-size: 12px;
  font-weight: 800;
  padding: 0 10px;
}

.calendar-mode-toggle button[aria-pressed="true"] {
  background: #17c7a3;
  color: #06201c;
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.calendar-toolbar button {
  min-height: 36px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 24px;
}

.calendar-toolbar button:disabled {
  cursor: not-allowed;
  opacity: 0.36;
}

.calendar-toolbar strong {
  color: #ffffff;
  font-size: 15px;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  margin-top: 10px;
}

.calendar-grid > b {
  color: #91a6a1;
  font-size: 11px;
  text-align: center;
}

.calendar-day {
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 58px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 4px;
}

.calendar-day.is-zero {
  border: 1px solid rgba(145, 166, 161, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.calendar-day.is-positive {
  border: 1px solid rgba(23, 199, 163, 0.28);
  background: rgba(23, 199, 163, 0.12);
}

.calendar-day.is-padding {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.calendar-day span {
  color: #91a6a1;
  font-size: 10px;
  font-weight: 900;
}

.calendar-day strong {
  color: #17c7a3;
  font-size: clamp(10px, 2.6vw, 11px);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.calendar-day.is-zero strong {
  color: #91a6a1;
}

.chart-column {
  display: grid;
  align-items: end;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

.chart-column span {
  display: block;
  width: 100%;
  min-height: 18px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #17c7a3, rgba(23, 199, 163, 0.22));
}

.chart-column small {
  overflow: hidden;
  color: #91a6a1;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settlement-panel {
  display: grid;
  gap: 10px;
  border-color: rgba(23, 199, 163, 0.28);
}

.settlement-panel strong {
  color: #17c7a3;
  display: block;
  font-size: 18px;
  margin-top: 2px;
}

.settlement-panel p {
  color: #c7d8d4;
  font-size: 13px;
}

.yield-detail-list {
  display: grid;
  gap: 10px;
  max-height: 236px;
  margin-top: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 3px;
}

.yield-detail-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
}

.yield-detail-list strong {
  color: #ffffff;
  display: block;
}

.section-title-row {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 950 !important;
}

.section-title-row .icon {
  margin-right: 0;
}

.yield-detail-list b {
  color: #17c7a3;
  display: block;
  text-align: right;
}

.yield-detail-list small {
  color: #95aaa5;
  display: block;
  font-weight: 800;
  text-align: right;
}

.claim-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 54px;
  background: #17c7a3;
  color: #061116;
  padding: 13px 16px;
}

.promotion-claim-submit {
  width: 100%;
  min-height: 44px;
  margin: 0;
}

.promotion-accounting-card {
  display: grid;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(23, 199, 163, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 199, 163, 0.1), transparent 46%),
    linear-gradient(180deg, rgba(18, 38, 47, 0.98), rgba(9, 24, 32, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  padding: 16px;
}

.promotion-accounting-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.promotion-accounting-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.promotion-accounting-value {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.promotion-accounting-value > span {
  color: #91a6a1;
  font-size: 13px;
  font-weight: 850;
}

.promotion-accounting-value strong {
  overflow: visible;
  color: #ffffff;
  font-size: clamp(16px, 4.2vw, 22px);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  margin: 0;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.promotion-accounting-value:first-child strong {
  color: #8af4db;
}

.promotion-accounting-status,
.promotion-combined-claim-notice {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.promotion-accounting-status {
  width: fit-content;
  border: 1px solid rgba(23, 199, 163, 0.2);
  border-radius: 999px;
  background: rgba(23, 199, 163, 0.08);
  color: #b7d8d0;
  font-weight: 800;
  padding: 5px 9px;
}

.promotion-combined-claim-notice {
  color: #a9bdb8;
}

.promotion-claim-submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.promotion-claim-submit span {
  color: #000000;
  font-weight: 950;
}

.promotion-claim-submit .icon {
  color: #000000;
}

.team-page {
  display: grid;
  gap: 14px;
}

.team-share-card {
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(240, 185, 11, 0.18), rgba(23, 199, 163, 0.12)),
    linear-gradient(180deg, rgba(18, 38, 47, 0.96), rgba(9, 24, 32, 0.96));
}

.invite-link-box {
  display: grid;
  gap: 10px;
}

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

.invite-link-box span,
.team-metrics span {
  color: #91a6a1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 800;
}

.invite-link-box strong {
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.25;
}

.invite-link-box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 82px;
  min-height: 42px;
  border: 1px solid rgba(240, 185, 11, 0.58);
  background: linear-gradient(135deg, #f0b90b, #ffd86a);
  color: #000000;
  box-shadow: 0 10px 22px rgba(240, 185, 11, 0.18);
  padding: 10px 12px;
}

.invite-link-box button span,
.invite-link-box button .icon,
.invite-link-box button svg {
  color: #000000;
  stroke: currentColor;
}

.team-copy-message {
  color: #c7d8d4;
  font-size: 13px;
  font-weight: 800;
}

.team-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.team-metrics article {
  min-height: 106px;
  padding: 14px;
}

.team-metrics strong {
  overflow: hidden;
  color: #ffffff;
  display: block;
  font-size: 20px;
  margin-top: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-rules {
  display: grid;
  gap: 10px;
}

.bind-referrer-panel article {
  display: grid;
  gap: 10px;
}

.bind-referrer-panel[hidden] {
  display: none;
}

.bind-referrer-form {
  display: grid;
  gap: 10px;
}

.bind-referrer-form .deposit-submit {
  min-height: 46px;
}

.bind-referrer-form .form-field input {
  min-height: 54px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.35;
  padding: 14px 12px;
}

.bind-referrer-form.is-bound .form-field input {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
  color: #91a6a1;
  cursor: not-allowed;
  opacity: 0.82;
}

.bind-referrer-form.is-bound .deposit-submit {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.14);
  color: #91a6a1;
  cursor: not-allowed;
  box-shadow: none;
}

.team-rules article,
.member-panel {
  padding: 16px;
}

.team-rules strong {
  color: #f0b90b;
  display: block;
  margin-bottom: 6px;
}

.team-rules p {
  color: #c7d8d4;
  font-size: 13px;
}

.member-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.member-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
}

.member-main {
  display: grid;
  gap: 6px;
}

.member-list strong {
  color: #ffffff;
  display: block;
}

.member-list span {
  color: #91a6a1;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  margin-top: 2px;
}

.member-note-line {
  color: #91a6a1;
  font-size: 13px;
  font-weight: 800;
}

.member-list em {
  color: #c7d8d4;
  font-style: normal;
}

.member-list button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: fit-content;
  min-height: 34px;
  background: rgba(23, 199, 163, 0.14);
  color: #8af4db;
  padding: 7px 10px;
}

.member-list b,
.member-level {
  color: #17c7a3;
  display: block;
  text-align: left;
}

.member-list b.money-text {
  color: #ffffff;
  display: inline-block;
}

.member-level .icon {
  margin-right: 0;
}

.member-list small {
  color: #95aaa5;
  display: block;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.member-share-setting {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border: 1px solid rgba(245, 213, 108, 0.22);
  border-radius: 999px;
  background: rgba(245, 213, 108, 0.09);
  padding: 5px 9px;
}

.member-share-setting small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.member-share-chain,
.member-share-clamped {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.member-share-clamped {
  color: #f5d56c;
}

.member-share-setting b {
  color: #f5d56c;
  display: inline-block;
}

.member-share-message {
  margin: 0;
  color: #8af4db;
  font-size: 12px;
  font-weight: 900;
}

.member-share-message.is-error {
  color: #ff8a8a;
}

.member-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.deposit-record-panel {
  margin-top: 14px;
  padding: 16px;
}

.deposit-record-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 2px;
}

.deposit-record-list.compact {
  max-height: 320px;
}

.deposit-record {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(137, 160, 155, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
}

.deposit-record.positionCreated {
  border-color: rgba(23, 199, 163, 0.35);
}

.deposit-record.received,
.deposit-record.historical {
  border-color: rgba(245, 213, 108, 0.3);
}

.deposit-record.failed {
  border-color: rgba(255, 92, 92, 0.42);
}

.record-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.record-main strong {
  color: #17c7a3;
  font-size: 15px;
}

.record-main span,
.deposit-record p {
  color: #95aaa5;
  font-size: 12px;
  font-weight: 800;
}

.deposit-record .mono-value a {
  color: #f5d56c;
  text-decoration: none;
}

.deposit-record .mono-value a:focus-visible {
  outline: 2px solid rgba(245, 213, 108, 0.6);
  outline-offset: 3px;
}

.deposit-record dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  margin: 0;
}

.deposit-record div {
  min-width: 0;
}

.deposit-record dt {
  color: #91a6a1;
  font-size: 11px;
  font-weight: 800;
}

.deposit-record dd {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.deposit-record .mono-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.35;
  word-break: break-all;
}

.deposit-record a {
  color: #f0b90b;
}

.deposit-record button {
  width: fit-content;
  min-height: 34px;
  background: #f0b90b;
  color: #000000;
  padding: 7px 12px;
}

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

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

.profile-identity {
  display: grid;
  gap: 10px;
}

.profile-identity div {
  display: grid;
  gap: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
}

.profile-identity span,
.exit-lp-card span,
.profile-actions span {
  color: #91a6a1;
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.profile-identity strong {
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 18px;
}

.exit-lp-card {
  display: grid;
  gap: 14px;
  border-color: rgba(240, 185, 11, 0.4);
  padding: 16px;
}

.exit-lp-card strong {
  color: #ffffff;
  display: block;
  font-size: 20px;
  margin-top: 3px;
}

.exit-lp-card p {
  color: #c7d8d4;
  font-size: 13px;
  margin-top: 6px;
}

.exit-lp-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 52px;
  border: 1px solid rgba(240, 185, 11, 0.6);
  background: linear-gradient(135deg, #f0b90b, #ffcf45);
  color: #000000;
  box-shadow: 0 14px 28px rgba(240, 185, 11, 0.2);
  padding: 13px 16px;
}

.exit-lp-card button span,
.exit-lp-card button .icon,
.exit-lp-card button svg {
  color: #000000;
  stroke: currentColor;
}

.profile-actions {
  display: grid;
  gap: 10px;
}

.profile-actions button,
.help-list button {
  display: grid;
  gap: 4px;
  min-height: 70px;
  background: linear-gradient(180deg, rgba(18, 38, 47, 0.96), rgba(9, 24, 32, 0.96));
  color: #ffffff;
  padding: 14px;
  text-align: left;
}

.profile-actions b,
.help-list b {
  color: #95aaa5;
  font-size: 13px;
  font-weight: 800;
}

.profile-panel {
  padding: 16px;
}

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

.pool-list > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 900;
  padding: 12px;
  text-decoration: none;
}

.pool-position-card {
  display: grid;
  gap: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
}

.pool-position-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pool-position-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  margin: 0;
}

.pool-position-card dt {
  color: #91a6a1;
  font-size: 11px;
  font-weight: 800;
}

.pool-position-card dd {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.pool-position-card button {
  justify-self: start;
  min-height: 34px;
  background: rgba(23, 199, 163, 0.14);
  color: #8af4db;
  padding: 7px 10px;
}

.pool-position-id {
  color: #f0b90b;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.pool-position-id.muted {
  color: #95aaa5;
}

.pool-list b {
  color: #17c7a3;
  font-size: 13px;
}

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

.language-grid button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #c7d8d4;
  padding: 10px;
}

.language-grid button.active {
  border-color: rgba(23, 199, 163, 0.58);
  background: rgba(23, 199, 163, 0.14);
  color: #17c7a3;
}

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

.help-center-panel {
  scroll-margin-top: 64px;
}

.help-page {
  display: grid;
  gap: 16px;
}

.help-page-heading {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 38, 47, 0.96), rgba(9, 24, 32, 0.96));
  padding: 18px;
}

.help-page-heading h2 {
  color: #ffffff;
  font-size: 28px;
  line-height: 1.1;
  margin: 0;
}

.help-page-heading p {
  color: #c7d8d4;
  font-size: 13px;
  font-weight: 800;
  margin: 0;
}

.help-section {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.help-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.help-section-heading span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 900;
}

.help-section-heading .icon {
  margin-right: 0;
}

.help-section-heading small {
  color: #95aaa5;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.guide-grid {
  display: grid;
  gap: 10px;
}

.guide-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 12px;
}

.guide-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-card-title span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(23, 199, 163, 0.14);
  color: #8af4db;
  font-size: 12px;
  font-weight: 900;
}

.guide-card-title strong {
  color: #ffffff;
  font-size: 15px;
}

.guide-card ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.guide-card li {
  color: #c7d8d4;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  padding-left: 2px;
}

.guide-card li::marker {
  color: #17c7a3;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 9px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.faq-item summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
  min-height: 58px;
  padding: 12px;
  -webkit-tap-highlight-color: transparent;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  border-radius: 8px;
  background: rgba(240, 185, 11, 0.14);
  color: #f5d56c;
  font-size: 12px;
  padding: 4px 7px;
}

.faq-item summary strong {
  min-width: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.faq-item summary::after {
  color: #95aaa5;
  content: "+";
  font-size: 12px;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item div {
  display: grid;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 12px 12px;
}

.faq-item p {
  color: #c7d8d4;
  font-size: 13px;
  font-weight: 750;
  margin: 0;
  overflow-wrap: anywhere;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  min-height: calc(var(--bottom-nav-height) + var(--safe-bottom));
  padding: 8px max(12px, env(safe-area-inset-left)) calc(8px + var(--safe-bottom)) max(12px, env(safe-area-inset-right));
  background: rgba(6, 17, 22, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.bottom-nav a {
  display: grid;
  place-items: center;
  gap: 3px;
  border-radius: 8px;
  color: #839793;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  min-width: 0;
  padding: 7px 4px 6px;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.bottom-nav a .icon {
  width: 22px;
  height: 22px;
  margin-right: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.bottom-nav a.active {
  background: rgba(23, 199, 163, 0.12);
  color: #17c7a3;
}

.bottom-nav a.active .icon {
  background: rgba(23, 199, 163, 0.2);
}

.bottom-nav a:active {
  transform: translateY(1px);
}

.connect-toast {
  position: fixed;
  right: 14px;
  bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 12px);
  left: 14px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(240, 185, 11, 0.34);
  border-radius: 8px;
  background: rgba(12, 25, 31, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  color: #edf7f4;
  padding: 12px;
  backdrop-filter: blur(18px);
}

.connect-toast[hidden] {
  display: none;
}

.connect-toast span {
  min-width: 0;
  color: #c7d8d4;
  font-size: 13px;
  font-weight: 800;
}

.connect-toast b {
  color: #f0b90b;
}

.connect-toast button {
  flex: 0 0 auto;
  background: #f0b90b;
  padding: 9px 12px;
  white-space: nowrap;
}

.operation-dialog {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 10, 14, 0.62);
  backdrop-filter: blur(8px);
}

.operation-dialog[hidden] {
  display: none;
}

.operation-dialog-panel {
  display: grid;
  gap: 12px;
  width: min(360px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 21, 28, 0.98);
  color: #edf7f4;
  padding: 18px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}

.operation-dialog-status {
  justify-self: center;
  min-width: 86px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(23, 199, 163, 0.14);
  color: #17c7a3;
  font-size: 12px;
  font-weight: 900;
}

.operation-dialog h2 {
  margin: 0;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.25;
}

.operation-dialog p {
  margin: 0;
  color: #c7d8d4;
  font-size: 14px;
  font-weight: 700;
}

.operation-dialog a {
  color: #f0b90b;
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.operation-dialog button {
  min-height: 42px;
  background: #f0b90b;
  padding: 10px 14px;
}

.operation-dialog.is-success .operation-dialog-status {
  background: rgba(23, 199, 163, 0.16);
  color: #17c7a3;
}

.operation-dialog.is-failed .operation-dialog-status {
  background: rgba(255, 96, 96, 0.16);
  color: #ffb4b4;
}

.more-drawer {
  position: fixed;
  right: 10px;
  top: calc(env(safe-area-inset-top, 0px) + 58px);
  bottom: auto;
  left: auto;
  z-index: 24;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(330px, calc(100vw - 20px));
  max-height: min(560px, calc(100vh - var(--bottom-nav-height) - var(--safe-bottom) - 80px));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 21, 28, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.manual-config-drawer {
  position: fixed;
  right: 12px;
  bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 10px);
  left: 12px;
  z-index: 26;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: calc(100vh - var(--bottom-nav-height) - var(--safe-bottom) - 80px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 21, 28, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.manual-config-drawer[hidden] {
  display: none;
}

.manual-config-drawer .more-header button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0;
}

.manual-config-form {
  display: grid;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding: 0 16px 16px;
}

.manual-config-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 12px;
}

.developer-mode-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(240, 185, 11, 0.26);
  border-radius: 8px;
  background: rgba(240, 185, 11, 0.08);
  color: #dbe7e4;
  font-size: 13px;
  font-weight: 850;
  padding: 12px;
}

.developer-mode-line b,
[data-dev-config-entry] em {
  color: #ffd76a;
  font-style: normal;
  word-break: break-word;
}

.more-drawer[hidden] {
  display: none;
}

.more-header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
  padding: 8px 8px 4px;
}

.more-header button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 22px;
  padding: 0;
}

.more-scroll {
  display: grid;
  gap: 6px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 10px 10px;
}

.more-scroll > button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 9px;
  text-align: left;
}

.more-scroll > button > .icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 0;
  border-radius: 8px;
  background: rgba(23, 199, 163, 0.13);
  color: #17c7a3;
}

.more-scroll > button > .icon svg {
  width: 22px;
  height: 22px;
}

.more-scroll b {
  display: block;
  color: #ffffff;
}

.more-scroll small {
  display: block;
  overflow: hidden;
  color: #95aaa5;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.more-language {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
}

.more-section-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #91a6a1;
  font-size: 13px;
  font-weight: 900;
}

.more-section-title .icon {
  margin-right: 0;
}

.more-language div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.more-language button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #c7d8d4;
  padding: 10px;
}

.more-language button.active {
  border-color: rgba(23, 199, 163, 0.58);
  background: rgba(23, 199, 163, 0.14);
  color: #17c7a3;
}

.more-message {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #95aaa5;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 12px 12px;
}

@media (min-width: 760px) {
  .topbar {
    padding-inline: 32px;
  }

  .dashboard {
    gap: 18px;
    padding: 26px 32px;
  }

  .hero-panel {
    align-items: end;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    padding: 30px;
  }

  .hero-panel.has-brand-video {
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 30px;
  }

  .hero-card-carousel {
    width: min(360px, 36vw);
  }

  h1 {
    font-size: 54px;
  }

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

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

  .two-column {
    grid-template-columns: 1fr 1fr;
  }

  .bottom-nav {
    left: 50%;
    width: min(720px, calc(100% - 32px));
    transform: translateX(-50%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px 8px 0 0;
  }

  .connect-toast {
    right: max(24px, calc((100vw - 720px) / 2));
    left: auto;
    width: min(420px, calc(100% - 48px));
  }

  .more-drawer {
    right: max(24px, calc((100vw - 720px) / 2));
    left: auto;
    width: min(360px, calc(100% - 48px));
  }

  .manual-config-drawer {
    right: max(24px, calc((100vw - 720px) / 2));
    left: auto;
    width: min(520px, calc(100% - 48px));
  }
}

@media (max-width: 620px) {
  .yield-share-controls {
    grid-template-columns: 1fr;
  }

  .share-yield-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .topbar {
    gap: 5px;
    padding-inline: 7px;
  }

  .brand {
    flex-basis: 74px;
    font-size: 15px;
  }

  .language-switch {
    padding-inline: 6px;
  }

  .language-switch b {
    max-width: 32px;
  }

  .wallet-chip {
    flex-basis: 116px;
    max-width: 116px;
    padding-inline: 6px;
  }

  .wallet-address {
    min-width: 78px;
    font-size: 11px;
  }

  .income-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .income-card {
    min-height: 118px;
    padding: 12px;
  }

  .deposit-record dl {
    grid-template-columns: 1fr;
  }

  .record-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .income-card strong {
    font-size: 20px;
  }
}

@media (max-width: 360px) {
  .promotion-accounting-values {
    grid-template-columns: 1fr;
  }
}
