:root {
  color-scheme: light;
  --canvas: #f7f8f4;
  --surface: #ffffff;
  --surface-soft: #eef2ed;
  --ink: #153b30;
  --muted: #66756d;
  --line: #e1e8e1;
  --forest: #153b30;
  --forest-2: #205b43;
  --gold: #d8b86f;
  --gold-deep: #b89045;
  --mint: var(--gold);
  --mint-deep: var(--gold-deep);
  --blue: var(--gold-deep);
  --coral: #ed765b;
  --danger: #bd473b;
  --text: var(--ink);
  --background: var(--surface);
  --shadow: 0 16px 40px rgba(21, 59, 48, 0.08);
  --rail-width: 232px;
  --content-width: 1180px;
  --ease: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), transparent 42%),
    var(--canvas);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body:not(.logged-in) {
  background: #102b24;
}

.auth-background-video {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.58) saturate(0.78);
  background: #102b24;
}

body.logged-in .auth-background-video {
  display: none;
}

body:not(.logged-in)::before,
body:not(.logged-in)::after {
  position: fixed;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
}

body:not(.logged-in)::before {
  background: repeating-linear-gradient(
    132deg,
    transparent 0 46px,
    rgba(203, 235, 178, 0.06) 46px 47px
  );
  animation: auth-pattern-drift 48s linear infinite;
}

body:not(.logged-in)::after {
  background: linear-gradient(
    115deg,
    rgba(5, 24, 19, 0.55),
    rgba(8, 39, 30, 0.28) 55%,
    rgba(6, 23, 18, 0.5)
  );
}

@keyframes auth-pattern-drift {
  to {
    background-position: 180px 0;
  }
}

body,
button,
input,
select,
textarea {
  font-family: "DM Sans", sans-serif;
}

button,
input,
select,
textarea {
  font-size: inherit;
}

button,
a,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid rgba(58, 113, 128, 0.32);
  outline-offset: 3px;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
strong {
  color: var(--ink);
}

h1,
h2,
h3,
.product-section-title,
.header-title-label,
.tc-chest-title {
  font-family: "Space Grotesk", sans-serif;
}

#dashboard,
#profilePage,
#bankPage,
#rechargePage,
#payPage,
#withdrawPage,
#productPage,
#treasureCrestPage,
#invitePage,
#earningsPage,
#myInvestmentPage,
#recordsPage {
  min-height: 100vh;
  animation: page-arrive 360ms ease both;
}

@keyframes page-arrive {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Authentication */
.honda-auth-container {
  position: relative;
  z-index: 2;
  display: none;
  width: 100%;
  min-height: 100vh;
  padding: 36px;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.honda-auth-container.active {
  display: grid;
}

.fieldmark-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1fr);
  grid-template-rows: auto auto auto auto;
  align-content: center;
  width: min(100%, 940px);
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(18, 61, 50, 0.12);
}

.fieldmark-brand-hero {
  position: relative;
  grid-column: 1;
  grid-row: 1 / span 4;
  min-height: 100%;
  overflow: hidden;
  background-color: var(--forest);
  background-image:
    linear-gradient(150deg, rgba(18, 61, 50, 0.96), rgba(29, 85, 69, 0.86)),
    repeating-linear-gradient(
      135deg,
      transparent 0 17px,
      rgba(255, 255, 255, 0.055) 17px 18px
    );
}

.fieldmark-brand-hero::before {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(72%, 310px);
  aspect-ratio: 1;
  border: 1px solid rgba(224, 199, 143, 0.4);
  border-radius: 28px;
  background: url("LOGO.jpg") center / cover no-repeat;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  content: "";
  transform: translate(-50%, -50%);
}

.fieldmark-brand-hero::after {
  position: absolute;
  right: 28px;
  bottom: 34px;
  left: 34px;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.9);
  content: "MONEZA\A A clearer way to manage your money.";
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.7;
  white-space: pre-line;
}

.fieldmark-header,
.fieldmark-form,
.fieldmark-switch-action,
.fieldmark-terms {
  grid-column: 2;
  margin-right: clamp(24px, 5vw, 64px);
  margin-left: clamp(24px, 5vw, 64px);
}

.fieldmark-header {
  align-self: end;
  padding-top: 48px;
  text-align: left;
}

.fieldmark-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.fieldmark-logo-circle.premium-hse-badge {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--mint);
  color: var(--forest);
}

.fieldmark-logo-circle .logo-icon {
  color: var(--forest);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.brand-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.fieldmark-logo-circle .brand-logo-image {
  border-radius: 8px;
}

.logo-text-stack {
  display: grid;
  line-height: 1.25;
}

.logo-text-ai {
  color: var(--forest-2);
  font-size: 0.62rem;
  font-weight: 700;
}

.logo-text-prime {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.fieldmark-title {
  margin: 0 0 5px;
  font-size: clamp(1.65rem, 3vw, 2rem);
  letter-spacing: 0;
  line-height: 1.15;
}

.fieldmark-subtitle {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.fieldmark-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding-top: 26px;
}

.fieldmark-input-group,
.honda-input-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.fieldmark-input-group label,
.honda-input-label,
.gift-input-group label {
  color: #39564a;
  font-size: 0.78rem;
  font-weight: 700;
}

.fieldmark-field-box {
  position: relative;
  display: flex;
  align-items: center;
}

.fieldmark-field-box input,
.honda-input-group input,
.honda-input-group select,
input,
select,
textarea {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background-color: #fbfdfb;
  color: var(--ink);
  transition:
    border-color var(--ease),
    box-shadow var(--ease),
    background-color var(--ease);
}

.fieldmark-field-box input {
  width: 100%;
  min-height: 48px;
  padding: 11px 42px;
}

.fieldmark-field-box input::placeholder,
input::placeholder,
textarea::placeholder {
  color: #91a198;
}

.fieldmark-field-box input:focus,
.honda-input-group input:focus,
.honda-input-group select:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest-2);
  outline: 0;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(29, 85, 69, 0.11);
}

.input-icon {
  position: absolute;
  left: 14px;
  display: flex;
  color: #71877c;
  pointer-events: none;
}

.input-icon svg {
  width: 17px;
  height: 17px;
}

.password-toggle-icon {
  position: absolute;
  right: 8px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #71877c;
  cursor: pointer;
}

.password-toggle-icon:hover {
  background: var(--surface-soft);
}

.fieldmark-btn-submit,
.honda-submit-btn,
.deposit-btn,
#withdrawSubmitBtn,
.tc-claim-btn,
.mx-add-to-portfolio-btn,
.purchase-btn,
.modal-action-btn-primary,
.gift-submit-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--forest);
  border-radius: 6px;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform var(--ease),
    background var(--ease),
    box-shadow var(--ease);
}

.fieldmark-btn-submit:hover,
.honda-submit-btn:hover,
.deposit-btn:hover,
#withdrawSubmitBtn:hover,
.tc-claim-btn:hover,
.mx-add-to-portfolio-btn:hover,
.purchase-btn:hover,
.modal-action-btn-primary:hover,
.gift-submit-btn:hover {
  transform: translateY(-1px);
  background: var(--forest-2);
  box-shadow: 0 8px 20px rgba(18, 61, 50, 0.16);
}

.fieldmark-switch-action {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 17px;
  padding-bottom: 38px;
  color: var(--muted);
  font-size: 0.86rem;
}

.fieldmark-link-btn {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--forest-2);
  font-weight: 700;
  cursor: pointer;
}

.fieldmark-terms {
  align-self: start;
  padding-bottom: 30px;
  color: var(--muted);
  font-size: 0.75rem;
}

.fieldmark-divider {
  display: none;
}

body:not(.logged-in) .fieldmark-card {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(9, 30, 24, 0.34);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

body:not(.logged-in) .fieldmark-brand-hero {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(
    155deg,
    rgba(15, 59, 46, 0.3),
    rgba(8, 26, 21, 0.12)
  );
}

body:not(.logged-in) .logo-text-ai,
body:not(.logged-in) .fieldmark-title,
body:not(.logged-in) .fieldmark-link-btn {
  color: var(--mint);
}

body:not(.logged-in) .logo-text-prime,
body:not(.logged-in) .fieldmark-subtitle,
body:not(.logged-in) .fieldmark-switch-action,
body:not(.logged-in) .fieldmark-terms {
  color: rgba(255, 255, 255, 0.78);
}

body:not(.logged-in) .fieldmark-input-group label {
  color: rgba(255, 255, 255, 0.84);
}

body:not(.logged-in) .fieldmark-field-box input {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

body:not(.logged-in) .fieldmark-field-box input::placeholder {
  color: rgba(255, 255, 255, 0.54);
}

body:not(.logged-in) .fieldmark-field-box input:focus {
  border-color: var(--mint);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 3px rgba(217, 243, 106, 0.15);
}

body:not(.logged-in) .input-icon,
body:not(.logged-in) .password-toggle-icon {
  color: rgba(255, 255, 255, 0.76);
}

body:not(.logged-in) .password-toggle-icon:hover {
  background: rgba(255, 255, 255, 0.12);
}

body:not(.logged-in) .fieldmark-btn-submit {
  border-color: var(--mint);
  background: var(--mint);
  color: #17382c;
}

body:not(.logged-in) .fieldmark-btn-submit:hover {
  background: #e6d39f;
}

@supports not (backdrop-filter: blur(1px)) {
  body:not(.logged-in) .fieldmark-card {
    background: rgba(9, 30, 24, 0.88);
  }
}

/* Member workspace */
body.logged-in {
  background:
    radial-gradient(
      ellipse at 84% -8%,
      rgba(186, 220, 197, 0.42),
      transparent 33%
    ),
    var(--canvas);
}

.impersonation-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
  padding: 11px 15px;
  border: 1px solid #f0d17e;
  border-radius: 12px;
  color: #634813;
  background: #fff8df;
  font-size: 12px;
  font-weight: 700;
}

.impersonation-notice button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #79581b;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.impersonation-notice button:disabled {
  opacity: 0.65;
  cursor: wait;
}

#dashboard,
#profilePage,
#bankPage,
#rechargePage,
#payPage,
#withdrawPage,
#productPage,
#treasureCrestPage,
#invitePage,
#earningsPage,
#myInvestmentPage,
#recordsPage {
  width: min(calc(100% - var(--rail-width)), var(--content-width));
  margin-right: auto;
  margin-left: calc(
    var(--rail-width) +
      (
        100% - var(--rail-width) -
          min(var(--content-width), 100% - var(--rail-width))
      ) /
      2
  );
  padding: 24px 38px 64px;
}

.mx-vanta-navbar,
.profile-fixed-top-header,
.investment-header,
.records-header,
.bank-header,
.rc-header-row,
.wd-header-fixed,
.invite-header-fixed-v2,
.tc-header-fixed,
.team-header-main {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
}

.mx-vanta-navbar {
  padding: 0 0 13px;
}

.mx-vanta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mx-vanta-badge,
.mx-vanta-shape {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  background: var(--forest);
}

.dashboard-brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(220, 192, 133, 0.35);
  border-radius: inherit;
  object-fit: cover;
}

.mx-vanta-shape {
  width: auto;
  height: auto;
  display: flex;
  gap: 3px;
  align-items: end;
  background: transparent;
}

.mx-vanta-bar {
  display: block;
  width: 4px;
  height: 15px;
  border-radius: 3px;
  background: var(--mint);
}

.mx-vanta-bar:nth-child(2) {
  height: 21px;
}
.mx-vanta-bar:nth-child(3) {
  height: 11px;
}

.mx-vanta-meta {
  display: grid;
  line-height: 1.25;
}

.mx-vanta-title {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.mx-vanta-subtitle {
  color: var(--muted);
  font-size: 0.74rem;
}

.mx-vanta-bell {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--forest);
}

.mx-vanta-bell svg {
  width: 19px;
  height: 19px;
}

.flyer-container {
  margin: 12px 0 23px;
}

.balance-flyer {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 23px,
      rgba(255, 255, 255, 0.035) 23px 24px
    ),
    linear-gradient(112deg, #143e33, #235d4a 65%, #396c58);
  box-shadow: var(--shadow);
}

.flyer-track {
  position: absolute;
  inset: 0 0 0 auto;
  width: 49%;
  overflow: hidden;
}

.flyer-card {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0.14;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}

.flyer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(18, 61, 50, 0.12),
    rgba(18, 61, 50, 0.1) 52%,
    rgba(18, 61, 50, 0.02)
  );
  pointer-events: none;
}

.dashboard-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 250px;
  max-width: 640px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 44px;
}

.hero-kicker {
  margin-bottom: 10px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 700;
}

.dashboard-hero-copy h1 {
  max-width: 560px;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
}

.dashboard-hero-copy > p:last-child {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.main-container,
.mx-menu-wrapper,
.product-section,
.product-list-container {
  width: 100%;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.action-card {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  cursor: pointer;
  transition:
    border-color var(--ease),
    transform var(--ease),
    box-shadow var(--ease);
}

.action-card:hover {
  transform: translateY(-2px);
  border-color: #9ab8a7;
  box-shadow: 0 8px 22px rgba(22, 50, 39, 0.08);
}

.mx-circle-badge {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 6px;
  background: #e5f1eb;
  color: var(--forest);
}

.action-icon {
  width: 19px;
  height: 19px;
}
.action-text {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

#floatingTreasureBtn {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 24px;
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 8px 15px 8px 9px;
  border: 1px solid rgba(18, 61, 50, 0.14);
  border-radius: 7px;
  background: var(--mint);
  color: var(--forest);
  box-shadow: 0 12px 30px rgba(18, 61, 50, 0.18);
  cursor: pointer;
}

.ft-icon-box {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 5px;
  background: var(--forest);
  color: var(--mint);
}
.ft-text-pill {
  display: grid;
  line-height: 1.25;
}
.ft-label {
  font-size: 0.68rem;
  font-weight: 700;
}
.ft-sub {
  font-size: 0.78rem;
  font-weight: 700;
}

.plans-header-container {
  margin: 34px 0 16px;
}

.plans-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.line-deco {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}
.product-section-title {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0;
}
.product-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mx-product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 4px 18px rgba(22, 50, 39, 0.045);
  transition:
    transform var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.mx-product-card:hover {
  transform: translateY(-3px);
  border-color: #adc4b6;
  box-shadow: var(--shadow);
}

.mx-product-image-box {
  height: 150px;
  overflow: hidden;
  background: #dfe9e3;
}
.mx-product-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}
.mx-product-card:hover .mx-product-img {
  transform: scale(1.035);
}
.mx-card-body {
  padding: 17px;
}
.mx-card-header-area {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.mx-plan-name {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}
.mx-duration-badge {
  padding: 4px 8px;
  border-radius: 4px;
  background: #edf3ef;
  color: var(--forest);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.mx-buy-limit-badge {
  margin: 11px 0;
  color: var(--muted);
  font-size: 0.71rem;
}
.mx-daily-stock-bar {
  margin: 13px 0;
}
.mx-stock-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
}
.mx-stock-label {
  font-weight: 600;
}
.mx-stock-count {
  font-weight: 700;
}
.mx-stock-ok {
  color: var(--forest-2);
}
.mx-stock-low {
  color: #b65e2f;
}
.mx-stock-zero {
  color: var(--danger);
}
.mx-stock-track {
  height: 5px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 4px;
  background: #e9efeb;
}
.mx-stock-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--mint-deep);
}
.mx-fill-orange {
  background: #ecad51;
}
.mx-fill-red {
  background: var(--coral);
}
.mx-stock-reset-note {
  margin-top: 6px;
  color: var(--danger);
  font-size: 0.7rem;
}
.mx-price-section {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.mx-price-label,
.mx-cell-label {
  color: var(--muted);
  font-size: 0.69rem;
}
.mx-main-price {
  color: var(--forest);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}
.mx-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.mx-grid-cell {
  min-width: 0;
  padding: 8px 9px;
  border-radius: 5px;
  background: #f2f6f3;
}
.mx-cell-value {
  margin-top: 2px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}
.mx-gold-glow {
  color: var(--forest-2);
}
.mx-add-to-portfolio-btn {
  width: 100%;
  min-height: 43px;
  font-size: 0.84rem;
}
.mx-add-to-portfolio-btn:disabled {
  transform: none;
  border-color: #d4ded8;
  background: #e5ece7;
  color: #74867d;
  box-shadow: none;
  cursor: not-allowed;
}
.mx-product-card-locked {
  opacity: 0.78;
}
.mx-lock-overlay {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
}
.mx-lock-badge {
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}
.vip-divider {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 7px;
  background: var(--forest);
  color: #fff;
}
.vip-text {
  margin: 0 0 3px;
  color: var(--mint);
  font-size: 1.25rem;
}
.vip-divider p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

/* Shared subpage framework */
.profile-fixed-top-header,
.investment-header,
.records-header,
.bank-header,
.rc-header,
.wd-header-fixed,
.invite-header-fixed-v2,
.tc-header-fixed,
.team-header-main {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.header-title-label,
.rc-header-title,
.investment-header h2,
.records-header h2,
.bank-header h2,
.wd-header-fixed h2,
.invite-header-fixed-v2 h2,
.team-header-main > span {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.rc-header-row {
  width: 100%;
}
.rc-balance {
  margin-left: auto;
  text-align: right;
}
.rc-balance-label {
  color: var(--muted);
  font-size: 0.7rem;
}
.rc-balance-value {
  margin: 0;
  color: var(--forest);
  font-size: 1.2rem;
}

.back-btn-white,
.rc-back-btn,
.wd-back-btn-v2,
.invite-back-btn-v2,
.investment-back-btn,
.records-back-btn,
.bank-back-btn,
.tc-back-btn {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--forest);
  cursor: pointer;
}

.back-btn-white:hover,
.rc-back-btn:hover,
.wd-back-btn-v2:hover,
.invite-back-btn-v2:hover,
.investment-back-btn:hover,
.records-back-btn:hover,
.bank-back-btn:hover,
.tc-back-btn:hover {
  background: var(--surface-soft);
}

.profile-main-scroll-view,
.recharge-page-container,
.pay-container,
.wd-recharge-container,
.tc-content-container,
.referral-container,
.records-content-container {
  width: min(100%, 980px);
  margin: 0 auto;
}

/* Account */
.dashboard-top-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.48fr);
  gap: 15px;
  align-items: stretch;
}
.profile-layout-card-wrapper {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.profile-user-identity-block {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}
.profile-brand-logo-circle {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 7px;
  background: var(--forest);
  color: var(--mint);
  overflow: hidden;
}
.profile-brand-logo-circle svg {
  width: 22px;
  height: 22px;
}
.honda-user-meta {
  min-width: 0;
}
.profile-welcome-label {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.75rem;
}
#userPhoneNumber {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
}
.profile-referral-clipboard-pill {
  display: grid;
  min-width: 110px;
  gap: 2px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f7faf8;
}
.ref-label {
  color: var(--muted);
  font-size: 0.68rem;
}
.ref-code-value {
  color: var(--forest);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.ref-copy-svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--blue);
}
.honda-main-card {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border-radius: 7px;
  background: var(--forest);
  color: #fff;
}
.honda-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.77rem;
}
.honda-amount-row span {
  color: var(--mint);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}
.honda-coin {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--mint);
  font-size: 1.3rem;
}
.profile-withdrawal-summary {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.profile-summary-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 5px;
  background: #e5f1eb;
  color: var(--forest);
}
.profile-withdrawal-summary span,
.profile-withdrawal-summary small {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
}
.profile-withdrawal-summary strong {
  display: block;
  margin: 2px 0;
  color: var(--ink);
  font-size: 1rem;
}
.profile-scroll-container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 20px;
}
.profile-gift-code-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.profile-gift-code-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-gift-code-heading > i {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(188, 144, 79, 0.14);
  color: var(--gold, #bc904f);
  font-size: 18px;
}
.profile-gift-code-heading h3 {
  margin: 0;
  color: var(--text, #172033);
  font-size: 16px;
}
.profile-gift-code-heading p {
  margin: 4px 0 0;
  color: var(--muted, #64748b);
  font-size: 13px;
}
.profile-gift-code-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.profile-gift-code-form label {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.profile-gift-code-form input {
  min-width: 0;
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--background, #fff);
  color: inherit;
  font: inherit;
  text-transform: uppercase;
}
.profile-gift-code-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--gold, #bc904f);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.profile-gift-code-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}
@media (max-width: 420px) {
  .profile-gift-code-form button {
    min-height: 44px;
    flex: 1 0 100%;
  }
}
.honda-action-card-wrapper,
.settings-group-wrapper {
  min-width: 0;
}
.honda-action-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.honda-btn-primary,
.honda-btn-outline {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}
.honda-btn-primary {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}
.btn-circle-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--mint);
}
.btn-circle-icon svg {
  width: 18px;
  height: 18px;
}
.settings-group-title {
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
}
.settings-list-box {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.settings-item-row {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-bottom: 1px solid #edf1ee;
  color: var(--ink);
  cursor: pointer;
}
.settings-item-row:last-child {
  border-bottom: 0;
}
.settings-item-row:hover {
  background: #f5f8f6;
}
.item-left-side {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-icon {
  width: 18px;
  color: var(--forest-2);
  text-align: center;
}
.chevron-indicator {
  color: #91a198;
  font-size: 0.72rem;
}
.clean-red-tint,
.text-red,
.red-chevron {
  color: var(--danger) !important;
}

/* Bank and payment */
.honda-bank-container {
  width: min(100%, 650px);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.honda-bank-form {
  display: grid;
  gap: 17px;
}
.bank-avatar-centerpiece {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 8px 0 16px;
  text-align: center;
}
.bank-icon-circle {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 7px;
  background: var(--forest);
  color: var(--mint);
}
.bank-form-title {
  margin: 0;
  font-size: 1.25rem;
}
.honda-input-group input,
.honda-input-group select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
}
.honda-select-wrapper {
  position: relative;
}
.honda-notice-card,
.wd-notice-card,
.info-guidelines-box,
.how-it-works-notice-card,
.pay-note-box,
.pay-warning-box,
.ssl-security-notice,
.gift-info-box,
.dev-info-box {
  padding: 14px 16px;
  border: 1px solid #d5e3dc;
  border-radius: 6px;
  background: #f4f8f5;
  color: #3e5a4d;
}
.notice-flex-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.notice-circle {
  color: var(--blue);
}
.notice-content {
  margin: 0;
  font-size: 0.82rem;
}
.honda-submit-btn {
  width: 100%;
}
.bank-edit-btn {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--forest);
  font-weight: 700;
  cursor: pointer;
}

.payment-type-card {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.payment-type-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 6px;
  background: var(--forest);
  color: var(--mint);
}
.payment-type-info h4 {
  margin: 0 0 3px;
  font-size: 0.95rem;
}
.payment-type-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
}
.recharge-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.section-label {
  display: block;
  margin: 14px 0 8px;
  color: #39564a;
  font-size: 0.79rem;
  font-weight: 700;
}
.gateway-selection-grid {
  margin-bottom: 18px !important;
}
.gateway-option {
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--ink) !important;
  cursor: pointer;
}
.gateway-option.active {
  border-color: var(--forest) !important;
  background: #eef5f0 !important;
  box-shadow: inset 0 0 0 1px var(--forest);
}
.gateway-option > div:first-child {
  color: var(--forest) !important;
}
.gateway-option i {
  color: var(--coral) !important;
}
.gateway-option > div:last-child {
  color: var(--muted) !important;
}
.custom-amount-wrapper {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdfb;
}
.currency-icon {
  color: var(--forest);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}
.custom-amount-wrapper input {
  width: 100%;
  min-height: 48px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.deposit-btn {
  width: 100%;
  margin-top: 18px;
}
.ssl-security-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 13px;
  padding: 9px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
}
.info-guidelines-box {
  margin-top: 16px;
}
.guidelines-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--forest);
}
.info-title {
  margin: 0;
  font-size: 0.87rem;
}
.info-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 0.78rem;
}
.info-list p {
  margin: 0;
}
.info-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border-radius: 4px;
  background: var(--forest);
  color: #fff;
  font-size: 0.68rem;
}
.highlight-yellow {
  color: var(--coral) !important;
  font-weight: 700;
}

.pay-container {
  display: grid;
  gap: 14px;
}
.pay-amount-card {
  padding: 24px;
  border-radius: 7px;
  background: var(--forest);
  color: #fff;
}
.pay-amount-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}
.pay-amount-value {
  margin: 3px 0 18px;
  color: var(--mint);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}
.pay-countdown-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
}
.pay-timer {
  color: var(--mint);
  font-weight: 700;
}
.pay-details-card {
  padding: 4px 17px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.pay-detail-row {
  display: flex;
  min-height: 53px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf1ee;
}
.pay-detail-label {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.76rem;
}
.pay-detail-right {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  text-align: right;
}
.pay-detail-value {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.pay-copy-btn {
  display: grid;
  width: 33px;
  height: 33px;
  flex: 0 0 33px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f7faf8;
  color: var(--forest);
  cursor: pointer;
}
.pay-note-value {
  color: var(--coral);
}
.pay-note-box,
.pay-warning-box {
  font-size: 0.8rem;
}
.pay-warning-box {
  display: grid;
  gap: 11px;
}
.pay-warning-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pay-warning-item p {
  margin: 0;
}
.pay-warn-num {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border-radius: 4px;
  background: var(--coral);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.pay-warn-red {
  color: var(--danger);
  font-weight: 700;
}

/* Withdrawal */
.wd-header-fixed h2 {
  margin-right: auto;
}
.history-btn {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--forest);
  cursor: pointer;
}
.wd-recharge-container {
  display: grid;
  gap: 15px;
}
.wd-balance-card {
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border-radius: 7px;
  background: var(--forest);
  color: #fff;
}
.wd-balance-title {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}
.wd-balance-value {
  margin: 4px 0 0;
  color: var(--mint);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
}
.wd-wallet-vector {
  color: var(--mint);
}
.wd-segment-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.wd-label-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.wd-icon-badge {
  color: var(--forest);
}
.wd-section-label {
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 700;
}
.wd-bank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.wd-sub-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f7faf8;
}
.wd-value {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
}
.wd-switch-side {
  grid-column: 1 / -1;
  color: var(--blue);
  font-size: 0.74rem;
  text-align: right;
}
.wd-bank-empty {
  padding: 20px;
  border: 1px dashed #b8cbc0;
  border-radius: 6px;
  text-align: center;
}
.wd-empty-wrap {
  color: var(--forest);
}
.wd-bank-empty h4 {
  margin: 7px 0 4px;
  font-size: 0.95rem;
}
.wd-bank-empty p {
  color: var(--muted);
  font-size: 0.79rem;
}
.wd-add-btn {
  min-height: 39px;
  padding: 0 13px;
  border: 1px solid var(--forest);
  border-radius: 5px;
  background: var(--forest);
  color: #fff;
  cursor: pointer;
}
.wd-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.wd-input-wrapper input {
  width: 100%;
  min-height: 46px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.wd-max-link {
  color: var(--forest-2);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.wd-calc-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.75rem;
}
#withdrawSubmitBtn {
  width: 100%;
}
.wd-notice-card {
  background: #fff;
}
.wd-notice-title {
  margin-bottom: 9px;
  font-size: 0.86rem;
}
.wd-notice-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wd-notice-list li {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 0.77rem;
}
.wd-notice-list p {
  margin: 0;
}
.wd-prefix {
  color: var(--forest);
  font-weight: 700;
}

#withdrawPage {
  background:
    radial-gradient(
      ellipse at 92% 2%,
      rgba(133, 226, 191, 0.3),
      transparent 42%
    ),
    linear-gradient(160deg, #eef8f4 0%, #f5f7fb 55%, #eaf3f2 100%);
}

#withdrawPage .wd-header-fixed {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0 0 26px 26px;
  background: rgba(245, 250, 248, 0.76);
  box-shadow: 0 10px 30px rgba(26, 57, 47, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#withdrawPage .wd-back-btn-v2,
#withdrawPage .history-btn {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 5px 16px rgba(22, 54, 43, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#withdrawPage .wd-recharge-container {
  padding: 8px 14px 28px;
}

#withdrawPage .wd-balance-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(178, 255, 221, 0.26),
      transparent 40%
    ),
    linear-gradient(135deg, rgba(18, 67, 52, 0.96), rgba(31, 105, 79, 0.88));
  box-shadow: 0 18px 38px rgba(22, 80, 60, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#withdrawPage .wd-segment-block {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 28px rgba(34, 59, 51, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#withdrawPage .wd-sub-card,
#withdrawPage .wd-input-wrapper,
#withdrawPage .wd-bank-empty {
  border: 1px solid rgba(45, 92, 73, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

#withdrawPage .wd-input-wrapper {
  padding: 3px 14px;
}

#withdrawPage .wd-add-btn,
#withdrawPage #withdrawSubmitBtn {
  min-height: 50px;
  border-radius: 18px;
  box-shadow: 0 9px 20px rgba(19, 74, 55, 0.16);
}

#withdrawPage .wd-notice-card {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 24px rgba(34, 59, 51, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.transaction-history-message {
  margin: 0;
  padding: 28px 18px;
  border: 1px solid rgba(42, 82, 65, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
}

.transaction-history-message.is-error {
  color: var(--danger);
}

.transaction-detail-row {
  margin-top: -2px;
}

.transaction-type-label {
  color: var(--brand-primary-blue);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

@media (max-width: 480px) {
  #withdrawPage .wd-recharge-container {
    padding-right: 12px;
    padding-left: 12px;
  }

  #withdrawPage .wd-balance-card {
    min-height: 132px;
    padding: 20px;
    border-radius: 25px;
  }

  #withdrawPage .wd-segment-block {
    padding: 17px;
    border-radius: 22px;
  }
}

.product-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mx-product-card,
.mx-student-card {
  min-width: 0;
  border: 1px solid rgba(58, 105, 82, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px rgba(25, 64, 45, 0.08);
}

.mx-product-card {
  display: flex;
  flex-direction: column;
}

.mx-product-image-box {
  height: 112px;
  border-radius: 19px 19px 0 0;
}

.mx-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 13px;
}

.mx-plan-name {
  font-size: 0.92rem;
}

.mx-buy-limit-badge {
  margin: 8px 0;
  font-size: 0.66rem;
}

.mx-daily-stock-bar {
  margin: 8px 0;
}

.mx-price-section {
  padding: 8px 0;
}

.mx-main-price {
  font-size: 1.15rem;
}

.mx-info-grid {
  gap: 6px;
  margin-bottom: 10px;
}

.mx-grid-cell {
  padding: 7px;
}

.mx-cell-value {
  font-size: 0.76rem;
}

.mx-add-to-portfolio-btn {
  min-height: 39px;
  margin-top: auto;
  padding: 7px 9px;
  border-radius: 12px;
  font-size: 0.76rem;
}

.mx-student-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 12px;
  color: var(--ink);
}

.mx-student-image-box {
  height: 96px;
  overflow: hidden;
  border-radius: 13px;
}

.mx-student-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mx-student-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
}

.mx-student-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 0.65rem;
}

.mx-student-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.mx-student-tagline {
  color: var(--muted);
  font-size: 0.68rem;
}

.mx-student-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.mx-student-stat {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.68rem;
}

.mx-student-stat-val {
  font-weight: 700;
  text-align: right;
}

.mx-student-divider,
.mx-student-glow {
  display: none;
}

.mx-student-btn {
  width: 100%;
  min-height: 39px;
  margin-top: auto;
  border-radius: 12px;
  font-size: 0.74rem;
}

.vip-divider {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mx-product-image-box {
    height: 96px;
  }

  .mx-card-body {
    padding: 10px;
  }

  .mx-card-header-area {
    flex-wrap: wrap;
    gap: 6px;
  }

  .mx-duration-badge {
    padding: 4px 6px;
    font-size: 0.62rem;
  }

  .mx-student-card {
    padding: 10px;
  }

  .mx-student-image-box {
    height: 82px;
  }
}

/* Premium horizontal investment plan cards */
.product-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.mx-premium-plan-card {
  --plan-accent: var(--gold);
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) minmax(150px, 190px);
  align-items: center;
  gap: 14px;
  min-height: 176px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid rgba(188, 144, 79, 0.23);
  border-radius: 18px;
  background:
    radial-gradient(
      ellipse at 0% 0%,
      color-mix(in srgb, var(--plan-accent) 13%, transparent),
      transparent 48%
    ),
    linear-gradient(138deg, #102d25 0%, #153b30 55%, #1b4939 100%);
  color: #f4f7f8;
  box-shadow:
    0 12px 28px rgba(4, 17, 24, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.mx-premium-plan-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--plan-accent) 64%, transparent);
  box-shadow:
    0 18px 34px rgba(4, 17, 24, 0.28),
    0 0 22px color-mix(in srgb, var(--plan-accent) 10%, transparent);
}

.mx-premium-plan-card .mx-product-image-box,
.mx-premium-plan-card .mx-student-image-box {
  display: grid;
  width: 64px;
  height: 64px;
  grid-column: 1;
  grid-row: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--plan-accent) 52%, transparent);
  border-radius: 17px;
  background: color-mix(in srgb, var(--plan-accent) 13%, #153b30);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--plan-accent) 13%, transparent);
}

.mx-premium-plan-card .mx-product-img,
.mx-premium-plan-card .mx-student-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mx-premium-plan-card .mx-card-body,
.mx-premium-plan-card .mx-student-inner {
  display: flex;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0;
  color: #f4f7f8;
}

.mx-premium-plan-card .mx-card-header-area {
  display: block;
}

.mx-premium-plan-card .mx-plan-name,
.mx-premium-plan-card .mx-student-name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #f8fafb;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.mx-premium-plan-card .mx-plan-icon {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--plan-accent) 17%, #153b30);
  color: var(--plan-accent);
  font-size: 0.95rem;
}

.mx-premium-plan-card .mx-student-badge {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--plan-accent) 42%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--plan-accent) 12%, transparent);
  color: var(--plan-accent);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.mx-premium-plan-card .mx-student-tagline {
  color: #c0cec6;
  font-size: 0.73rem;
  line-height: 1.4;
}

.mx-premium-plan-card .mx-buy-limit-badge {
  margin: 0;
  color: #b5c5bc;
  font-size: 0.68rem;
}

.mx-premium-plan-card .mx-daily-stock-bar {
  margin: 2px 0 0;
}

.mx-premium-plan-card .mx-stock-header {
  color: #c0cec6;
  font-size: 0.65rem;
}

.mx-premium-plan-card .mx-stock-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.mx-premium-plan-card .mx-stock-fill {
  background: var(--plan-accent);
}

.mx-premium-plan-card .mx-stock-reset-note {
  font-size: 0.64rem;
}

.mx-premium-plan-card .mx-plan-aside {
  display: flex;
  min-width: 0;
  grid-column: 3;
  grid-row: 1;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding-left: 13px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mx-premium-plan-card .mx-duration-badge,
.mx-premium-plan-card .mx-student-cycle {
  align-self: flex-end;
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--plan-accent) 44%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--plan-accent) 12%, transparent);
  color: var(--plan-accent);
  font-size: 0.66rem;
  font-weight: 800;
  white-space: nowrap;
}

.mx-premium-plan-card .mx-price-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 0;
  border: 0;
}

.mx-premium-plan-card .mx-price-label,
.mx-premium-plan-card .mx-student-stat-label {
  color: #b5c5bc;
  font-size: 0.63rem;
}

.mx-premium-plan-card .mx-main-price {
  color: #f0d99f;
  font-size: 1.22rem;
  line-height: 1.2;
}

.mx-premium-plan-card .mx-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
}

.mx-premium-plan-card .mx-grid-cell {
  min-width: 0;
  padding: 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.mx-premium-plan-card .mx-cell-label {
  color: #b5c5bc;
  font-size: 0.56rem;
}

.mx-premium-plan-card .mx-cell-value {
  color: #f4f7f4;
  font-size: 0.67rem;
  overflow-wrap: anywhere;
}

.mx-premium-plan-card .mx-gold-glow,
.mx-premium-plan-card .mx-student-stat-val.gold {
  color: #f0d99f;
}

.mx-premium-plan-card .mx-student-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.mx-premium-plan-card .mx-student-stat {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  font-size: 0.68rem;
}

.mx-premium-plan-card .mx-student-stat-val {
  color: #f4f7f4;
  font-size: 0.75rem;
  text-align: left;
}

.mx-premium-plan-card .mx-student-divider {
  display: none;
}

.mx-premium-plan-card .mx-add-to-portfolio-btn {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 8px 10px;
  border: 1px solid var(--plan-accent);
  border-radius: 10px;
  background: transparent;
  color: var(--plan-accent);
  font-size: 0.71rem;
  font-weight: 800;
  text-align: left;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.mx-premium-plan-card .mx-add-to-portfolio-btn::after {
  content: "→";
  flex: 0 0 auto;
  font-size: 1.1rem;
  line-height: 1;
}

.mx-premium-plan-card .mx-add-to-portfolio-btn:not(:disabled):hover {
  transform: translateY(-1px);
  background: var(--plan-accent);
  color: #153b30;
}

.mx-premium-plan-card .mx-add-to-portfolio-btn:disabled {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: #bdcbc3;
}

.mx-premium-plan-card .mx-lock-overlay {
  z-index: 3;
  top: 8px;
  left: 8px;
}

.mx-premium-plan-card .mx-lock-badge {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: #205b43;
  font-size: 0.58rem;
}

.mx-premium-plan-card.mx-product-card-locked,
.mx-premium-plan-card.mx-student-card-locked {
  opacity: 0.82;
}

.mx-premium-plan-card .mx-student-glow {
  display: none;
}

@media (max-width: 1050px) {
  .product-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .mx-premium-plan-card {
    grid-template-columns: 68px minmax(0, 1fr) minmax(170px, 220px);
  }
}

@media (max-width: 560px) {
  .product-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .mx-premium-plan-card {
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-height: 0;
    padding: 12px;
    border-radius: 15px;
  }

  .mx-premium-plan-card .mx-product-image-box,
  .mx-premium-plan-card .mx-student-image-box {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .mx-premium-plan-card .mx-card-body,
  .mx-premium-plan-card .mx-student-inner {
    grid-column: 2;
    grid-row: 1;
    gap: 6px;
  }

  .mx-premium-plan-card .mx-plan-name,
  .mx-premium-plan-card .mx-student-name {
    font-size: 0.94rem;
  }

  .mx-premium-plan-card .mx-plan-aside {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: minmax(95px, 0.7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 8px;
    padding: 9px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .mx-premium-plan-card .mx-duration-badge,
  .mx-premium-plan-card .mx-student-cycle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
  }

  .mx-premium-plan-card .mx-price-section {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-end;
  }

  .mx-premium-plan-card .mx-info-grid {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .mx-premium-plan-card .mx-student-stats {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mx-premium-plan-card .mx-student-stat {
    gap: 1px;
  }

  .mx-premium-plan-card .mx-student-stat-label {
    font-size: 0.58rem;
  }

  .mx-premium-plan-card .mx-student-stat-val {
    font-size: 0.67rem;
  }

  .mx-premium-plan-card .mx-add-to-portfolio-btn {
    grid-column: 1 / -1;
    grid-row: 3;
    min-height: 40px;
    font-size: 0.75rem;
  }

  .mx-premium-plan-card .mx-buy-limit-badge {
    font-size: 0.63rem;
  }

  .mx-premium-plan-card .mx-stock-header {
    font-size: 0.61rem;
  }
}

@media (max-width: 360px) {
  .product-list {
    gap: 8px;
  }

  .mx-plan-name,
  .mx-student-name {
    font-size: 0.82rem;
  }

  .mx-card-body {
    padding: 8px;
  }
}

/* Referral and team */
.referral-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 15px;
}
.section-block-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.referral-master-card,
.earnings-master-card,
.how-it-works-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: none;
}
.section-block-title {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
}
.referral-inner-brick {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f7faf8;
}
.card-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
}
.copy-input-wrapper {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}
.code-display,
.link-display {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #d5e1da;
  border-radius: 4px;
  background: #fff;
  color: var(--forest);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.link-display {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
}
.copy-inline-icon {
  flex: 0 0 auto;
  padding: 7px;
  color: var(--blue);
  cursor: pointer;
}
.copy-action-btn {
  min-height: 37px;
  padding: 0 12px;
  border: 1px solid var(--forest);
  border-radius: 5px;
  background: var(--forest);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.earnings-header,
.how-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
}
.earnings-header h3,
.how-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.96rem;
}
.earnings-tier-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1ee;
}
.earnings-tier-row:last-child {
  border-bottom: 0;
}
.tier-badge-indicator {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 5px;
  background: var(--forest);
  color: var(--mint);
  font-weight: 700;
}
.badge-silver {
  background: var(--blue);
  color: #fff;
}
.badge-green {
  background: var(--mint);
  color: var(--forest);
}
.tier-info-text {
  min-width: 0;
  flex: 1;
}
.tier-info-text h4 {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 0.82rem;
}
.tier-info-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}
.tier-value-pill {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 4px;
  background: #e7f0ea;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
}
.how-it-works-card {
  grid-column: 1 / -1;
}
.step-item {
  display: flex;
  gap: 10px;
  padding: 3px 0;
}
.step-check-icon {
  color: var(--forest-2);
}
.step-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.how-it-works-notice-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.notice-info-trigger-icon {
  color: var(--blue);
}
.notice-body-text-block {
  color: var(--muted);
  font-size: 0.8rem;
}
.notice-title-label {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-weight: 700;
}
.gold-highlight-text {
  color: var(--forest-2);
  font-weight: 700;
}
.premium-sixpack-container {
  margin-bottom: 14px;
}
.sixpack-grid-structure {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.sixpack-item-node {
  display: grid;
  min-width: 0;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}
.sixpack-icon-wrapper {
  color: var(--forest-2);
}
.sixpack-value {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.sixpack-label {
  color: var(--muted);
  font-size: 0.71rem;
}
.segmented-pill-navigation-wrapper,
.investment-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 13px 0;
  padding: 4px;
  border-radius: 6px;
  background: #e6ede8;
}
.navigation-pill-btn,
.inv-filter-btn {
  min-height: 37px;
  flex: 1;
  padding: 7px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #557065;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.navigation-pill-btn.state-active,
.inv-filter-btn.active {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 2px 7px rgba(18, 61, 50, 0.12);
}
.interactive-detail-view-shell,
.user-list-wrapper-box {
  min-width: 0;
}
.empty-state-vector-wrapper {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 35px 15px;
  border: 1px dashed #c8d6ce;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}
.empty-vector-network-icon {
  color: var(--blue);
  font-size: 1.5rem;
}
.empty-state-main-prompt {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}
.referral-trigger-action-link {
  color: var(--forest-2);
  font-size: 0.79rem;
}
.tier-card {
  margin: 9px 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}
.tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}
.tier-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}
.tier-title i {
  color: var(--forest) !important;
}
.tier-badge {
  padding: 4px 8px;
  border-radius: 4px;
  background: #e6f1eb;
  color: var(--forest);
  font-size: 0.69rem;
  font-weight: 700;
}
.inner-user-grid-display {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}
.inner-user-box {
  padding: 8px;
  border-radius: 4px;
  background: #f3f7f4;
}
.inner-user-value {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}
.inner-user-label {
  color: var(--muted);
  font-size: 0.68rem;
}

/* Plans, records, and balances */
.investment-header {
  justify-content: flex-start;
}
.investment-header h2 {
  margin-left: auto;
  margin-right: auto;
}
#investmentLogo {
  min-width: 1px;
}

.investment-brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  border: 1px solid rgba(188, 144, 79, 0.38);
  border-radius: 13px;
  background: #101916;
  box-shadow: 0 5px 14px rgba(18, 61, 50, 0.12);
}

.investment-brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.investment-filter-row {
  margin: 0 0 15px;
}
.card-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.wave-investment-item {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 4px 18px rgba(22, 50, 39, 0.045);
}
.market-wave-card {
  display: grid;
  gap: 12px;
}
.sell-container {
  display: flex;
  justify-content: flex-end;
}
.sell-pill-btn {
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f4f7f5;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
}
.wave-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wave-title {
  margin: 0;
  font-size: 1rem;
}
.wave-title span {
  color: var(--forest) !important;
  text-shadow: none !important;
}
.wave-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}
.wave-visual-area {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(135deg, #eff6f1, #e4eee8);
}
.wave-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wave-svg path {
  stroke: var(--forest-2);
}
.wave-markers-container {
  position: absolute;
  inset: 0;
}
.wave-marker {
  position: absolute;
  top: 18px;
  display: grid;
  justify-items: center;
  gap: 4px;
  transform: translateX(-50%);
}
.marker-dot {
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 1px var(--coral);
}
.marker-val {
  color: var(--forest);
  font-size: 0.58rem;
  font-weight: 700;
  white-space: nowrap;
}
.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid #c7d9ce;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}
.work-val {
  color: var(--forest);
  font-size: 0.65rem;
  font-weight: 700;
}
.status-bar,
.profit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.status-bar {
  color: var(--muted);
  font-size: 0.75rem;
}
.status-bar b {
  color: var(--forest-2) !important;
}
.profit-footer {
  padding-top: 11px;
  border-top: 1px solid var(--line);
}
.total-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}
.total-val {
  margin: 2px 0 0;
  color: var(--forest);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}
.take-profit-btn {
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid var(--forest);
  border-radius: 5px;
  background: var(--forest);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.take-profit-btn:disabled,
.sell-pill-btn:disabled {
  border-color: var(--line);
  background: #edf2ee;
  color: #71847a;
  cursor: not-allowed;
}
.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}
.records-total-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  padding: 17px;
  border-radius: 7px;
  background: var(--forest);
}
.summary-metric-label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
}
.summary-metric-value {
  color: var(--mint);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}
#recordsContainer {
  display: grid;
  gap: 8px;
}
.record-item,
.transaction-card,
.record-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

/* Daily claim and news */
.tc-header-fixed {
  gap: 12px;
}
.tc-header-title {
  display: grid;
  flex: 1;
}
.tc-header-title h2 {
  margin: 0;
  font-size: 1rem;
}
.tc-sub {
  color: var(--muted);
  font-size: 0.7rem;
}
.tc-header-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
}
.tc-hero-card {
  position: relative;
  overflow: hidden;
  padding: 27px;
  border-radius: 7px;
  background: var(--forest);
  color: #fff;
  text-align: center;
}
.tc-hero-glow {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 25px,
    rgba(255, 255, 255, 0.04) 25px 26px
  );
  pointer-events: none;
}
.tc-chest-wrapper {
  position: relative;
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 13px;
  place-items: center;
  border: 1px solid rgba(217, 243, 106, 0.35);
  border-radius: 7px;
  background: rgba(217, 243, 106, 0.1);
  color: var(--mint);
}
.tc-chest-icon {
  font-size: 1.8rem;
}
.tc-chest-sparkles {
  display: none;
}
.tc-chest-title {
  position: relative;
  margin-bottom: 5px;
  color: #fff;
  font-size: 1.35rem;
}
.tc-chest-desc {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}
.tc-streak-bar {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 17px 0;
}
.tc-reward-pill {
  padding: 7px 11px;
  border: 1px solid rgba(217, 243, 106, 0.3);
  border-radius: 4px;
  color: var(--mint);
  font-size: 0.79rem;
  font-weight: 700;
}
.tc-action-wrapper {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 9px;
}
.tc-claim-btn {
  min-width: 210px;
  padding: 0 18px;
}
.tc-timer-box {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
}
.tc-info-section,
.tc-history-section {
  margin-top: 18px;
}
.tc-section-title {
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.tc-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tc-info-card {
  display: flex;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}
.tc-info-icon {
  color: var(--forest);
}
.tc-info-text h5 {
  margin: 0 0 3px;
  font-size: 0.78rem;
}
.tc-info-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}
.tc-history-list {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}
.tc-empty-history {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--muted);
  text-align: center;
}
.tc-empty-history p {
  margin: 0;
  font-size: 0.78rem;
}
.product-header-img {
  max-height: 280px;
  overflow: hidden;
  border-radius: 7px;
}
.product-header-img img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.product-header {
  margin: 18px 0 12px;
  font-size: 1.2rem;
}
.reviews-ticker-wrapper {
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

/* Dialogs, welcome panel, notifications */
.modal-overlay,
.custom-modal-overlay,
.popup-overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(13, 30, 24, 0.58);
  backdrop-filter: blur(5px);
}
.modal-card,
.custom-modal-content,
.mx-unique-modal {
  width: min(100%, 520px);
  max-height: min(88vh, 760px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(9, 31, 22, 0.25);
}
.sheet-header,
.modal-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 19px;
  border-bottom: 1px solid var(--line);
}
.sheet-title,
.modal-header-title h3 {
  margin: 0;
  font-size: 1rem;
}
.close-sheet,
.modal-close-btn,
.mx-close-x-btn {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.slim-card {
  margin: 16px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7faf8;
}
.product-main-row {
  display: flex;
  align-items: center;
  gap: 11px;
}
.check-icon-container,
.check-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 5px;
  background: var(--forest);
  color: var(--mint);
}
.product-details strong {
  display: block;
  font-size: 0.88rem;
}
.product-details p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}
.divider-line {
  height: 1px;
  margin: 12px 0;
  background: var(--line);
}
.account-balance-row {
  color: var(--muted);
  font-size: 0.78rem;
}
.action-area {
  padding: 0 16px 17px;
}
.purchase-btn {
  width: 100%;
}
.custom-modal-content {
  display: flex;
  flex-direction: column;
}
.modal-header-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.modal-title-icon {
  color: var(--forest);
}
.modal-body-scroll {
  overflow: auto;
  padding: 18px;
}
.modal-lead-text {
  color: var(--muted);
  font-size: 0.84rem;
}
.policy-section {
  padding: 11px 0;
  border-bottom: 1px solid #edf1ee;
}
.policy-section h4 {
  margin: 0 0 5px;
  font-size: 0.82rem;
}
.policy-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}
.modal-footer-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.modal-action-btn-primary,
.modal-action-btn-secondary {
  min-height: 39px;
  padding: 0 13px;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.modal-action-btn-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.gift-input-group {
  display: grid;
  gap: 7px;
}
.gift-input-wrapper {
  display: flex;
  gap: 7px;
}
.gift-input-wrapper input {
  width: 100%;
  min-height: 43px;
  padding: 8px 10px;
}
.gift-submit-btn {
  min-height: 43px;
  padding: 0 13px;
  white-space: nowrap;
}
.gift-info-box,
.dev-info-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.77rem;
}
.dev-contact-card {
  display: flex;
  gap: 12px;
  margin: 12px 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.dev-card-icon {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  place-items: center;
  border-radius: 5px;
  background: #e8f1ec;
  color: var(--forest);
}
.dev-card-info h4 {
  margin: 0 0 3px;
  font-size: 0.84rem;
}
.dev-card-info p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.74rem;
}
.dev-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 700;
}
.mx-modal-header-gradient {
  position: relative;
  padding: 25px 22px 20px;
  background: var(--forest);
  color: #fff;
  text-align: center;
}
.mx-close-x-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.mx-modal-logo-ring {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 11px;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}
.mx-modal-logo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mx-zavora-mark {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: var(--mint);
  color: var(--forest);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}
.mx-welcome-sparkle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: var(--mint);
  font-size: 0.69rem;
  font-weight: 700;
}
.mx-welcome-sparkle svg {
  width: 14px;
  height: 14px;
}
.mx-modal-title {
  margin: 8px 0 4px;
  color: #fff;
  font-size: 1.25rem;
}
.mx-modal-subtitle {
  max-width: 390px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
}
.mx-modal-body-content {
  padding: 18px;
}
.mx-bonus-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f6faf7;
}
.mx-bonus-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 5px;
  background: var(--mint);
  color: var(--forest);
}
.mx-bonus-details {
  display: grid;
}
.mx-bonus-label {
  color: var(--muted);
  font-size: 0.72rem;
}
.mx-bonus-amount {
  color: var(--forest);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}
.mx-button-group {
  margin-top: 13px;
}
.mx-invest-now-btn {
  width: 100%;
  min-height: 43px;
  border: 0;
  border-radius: 5px;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.btn-sparkle-icon {
  width: 16px;
  vertical-align: middle;
  color: var(--mint);
}

#pageLoader {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(241, 245, 242, 0.86);
  backdrop-filter: blur(4px);
}
body.auth-loading #pageLoader {
  display: flex !important;
}
body.auth-loading #loginContainer,
body.auth-loading #signupContainer {
  visibility: hidden !important;
  pointer-events: none !important;
}
.cyber-container {
  width: min(90vw, 320px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow);
}
.loader-content {
  display: grid;
  justify-items: center;
  gap: 13px;
}
.neon-ring {
  position: relative;
  width: 50px;
  height: 50px;
  border: 4px solid #e6eee9;
  border-top-color: var(--forest);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}
.ring-spinner-inner,
.ring-spinner-outer {
  display: none;
}
.processing-title {
  margin: 0;
  font-size: 0.88rem;
}
.scan-line-wrapper {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 3px;
  background: #e6eee9;
}
.scan-line {
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: var(--mint-deep);
  animation: loading-line 1s ease-in-out infinite alternate;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Recharge and payment confirmation flow */
#rechargePage,
#payPage {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 20px clamp(14px, 3vw, 28px) 38px;
}

#rechargePage .rc-header,
#payPage .rc-header {
  padding: 0 0 18px;
}

#rechargePage .rc-header-row,
#payPage .rc-header-row {
  min-height: 70px;
  padding: 10px 13px;
  border: 1px solid rgba(220, 232, 223, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(31, 65, 49, 0.07);
}

#rechargePage .rc-header-title,
#payPage .rc-header-title {
  flex: 1;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.025em;
}

#rechargePage .rc-balance {
  min-width: 112px;
  text-align: right;
}

#rechargePage .recharge-page-container,
#payPage .pay-container {
  gap: 15px;
}

#rechargePage .payment-type-card {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  padding: 21px;
  border: 1px solid rgba(220, 192, 133, 0.23);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 93% 0%,
      rgba(214, 183, 113, 0.2),
      transparent 34%
    ),
    linear-gradient(118deg, #0d3028, #174b3b 70%, #1b5b45);
  box-shadow: 0 15px 34px rgba(18, 61, 50, 0.15);
}

#rechargePage .payment-type-card::after {
  position: absolute;
  top: -48px;
  right: -8px;
  width: 155px;
  height: 155px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 20px rgba(255, 255, 255, 0.025),
    0 0 0 42px rgba(255, 255, 255, 0.02);
  content: "";
  pointer-events: none;
}

#rechargePage .payment-type-icon {
  z-index: 1;
  width: 50px;
  height: 50px;
  flex-basis: 50px;
  border: 1px solid rgba(231, 206, 151, 0.38);
  border-radius: 16px;
  background: linear-gradient(145deg, #e5cf9b, #b68d4c);
  color: #123b30;
}

#rechargePage .payment-type-info {
  position: relative;
  z-index: 1;
}

#rechargePage .payment-type-info h4 {
  margin-bottom: 5px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

#rechargePage .payment-type-info p {
  color: rgba(245, 249, 246, 0.72);
  font-size: 0.75rem;
  line-height: 1.5;
}

#rechargePage .recharge-card {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid #e2ebe4;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(31, 65, 49, 0.07);
}

#rechargePage .section-label {
  margin: 11px 0 10px;
  color: #425e50;
  font-size: 0.76rem;
  font-weight: 800;
}

#rechargePage .gateway-option {
  min-height: 92px;
  justify-items: start;
  padding: 16px;
  border-radius: 17px !important;
  text-align: left;
}

#rechargePage .gateway-option-title {
  justify-content: flex-start;
}

#rechargePage .gateway-option.active::after {
  position: absolute;
  top: 11px;
  right: 11px;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: #1e684b;
  color: #fff;
  font-family: "Font Awesome 6 Free";
  font-size: 0.62rem;
  font-weight: 900;
  content: "\f00c";
}

#rechargePage .custom-amount-wrapper {
  min-height: 62px;
  border-radius: 16px;
  background: #f8fbf8;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

#rechargePage .custom-amount-wrapper:focus-within {
  border-color: rgba(35, 111, 76, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(35, 111, 76, 0.09);
}

#rechargePage .custom-amount-wrapper .currency-icon {
  color: #9c7131;
  font-size: 1.15rem;
  font-weight: 800;
}

#rechargePage .custom-amount-wrapper input {
  color: #163c30;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
}

#rechargePage #depositBtn,
#payPage #confirmPayBtn {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #164b38;
  border-radius: 15px;
  background: linear-gradient(110deg, #174b39, #26734f);
  box-shadow: 0 9px 20px rgba(26, 90, 62, 0.19);
  font-size: 0.87rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

#rechargePage #depositBtn:hover,
#payPage #confirmPayBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 24px rgba(26, 90, 62, 0.23);
}

#rechargePage .ssl-security-notice {
  gap: 7px;
  margin-top: 12px;
  color: #6b7d73;
  font-size: 0.68rem;
}

#rechargePage .info-guidelines-box {
  padding: 19px;
  border-color: #e2ebe4;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(31, 65, 49, 0.045);
}

#rechargePage .guidelines-header {
  display: flex;
  align-items: center;
  gap: 9px;
}

#rechargePage .info-title {
  color: #173c30;
  font-family: "Space Grotesk", sans-serif;
}

#rechargePage .info-list {
  gap: 9px;
  margin-top: 13px;
}

#rechargePage .info-list li {
  align-items: flex-start;
  gap: 10px;
}

#rechargePage .info-icon {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border-radius: 8px;
  background: #eef5ef;
  color: #1f6849;
  font-size: 0.66rem;
  font-weight: 800;
}

#payPage .pay-container {
  width: min(100%, 700px);
  margin: 0 auto;
}

#payPage .pay-amount-card {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border: 1px solid rgba(220, 192, 133, 0.27);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 93% 0%,
      rgba(214, 183, 113, 0.19),
      transparent 38%
    ),
    linear-gradient(125deg, #0c2924, #174b3b);
  box-shadow: 0 15px 34px rgba(18, 61, 50, 0.15);
}

#payPage .pay-amount-label {
  color: rgba(245, 249, 246, 0.72);
  font-weight: 700;
}

#payPage .pay-amount-value {
  color: #f1d89f;
  font-size: clamp(2rem, 7vw, 2.6rem);
  letter-spacing: -0.045em;
}

#payPage .pay-timer {
  padding: 5px 9px;
  border: 1px solid rgba(220, 192, 133, 0.27);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: #f1d89f;
}

#payPage .pay-details-card {
  padding: 6px 18px;
  border-color: #e2ebe4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(31, 65, 49, 0.06);
}

#payPage .pay-detail-row {
  min-height: 60px;
  border-color: #edf2ee;
}

#payPage .pay-detail-label {
  font-size: 0.72rem;
  font-weight: 700;
}

#payPage .pay-detail-value {
  color: #173c30;
  font-size: 0.79rem;
}

#payPage .pay-copy-btn {
  border-radius: 10px;
  background: #f1f6f2;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

#payPage .pay-copy-btn:hover {
  transform: translateY(-1px);
  background: #e4efe7;
}

#payPage .pay-note-box,
#payPage .pay-warning-box {
  border-radius: 17px;
  line-height: 1.6;
}

#payPage .pay-note-box {
  border-color: #eadbb7;
  background: #fff9eb;
  color: #705a2f;
}

#payPage .pay-warning-box {
  border-color: #e2ebe4;
  background: #fff;
}

#payPage #confirmPayBtn {
  width: 100%;
  color: #fff;
}

.payer-dialog-open {
  overflow: hidden;
}

.payer-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 22px;
  background: rgba(7, 24, 19, 0.58);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  animation: payer-overlay-appear 180ms ease both;
}

.payer-dialog {
  position: relative;
  width: min(100%, 490px);
  max-height: min(92vh, 760px);
  overflow-y: auto;
  padding: 26px;
  border: 1px solid rgba(223, 234, 225, 0.92);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(220, 192, 133, 0.15),
      transparent 34%
    ),
    #fff;
  box-shadow: 0 28px 80px rgba(4, 23, 16, 0.28);
  animation: payer-dialog-enter 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.payer-dialog-handle {
  display: none;
  width: 38px;
  height: 4px;
  margin: -12px auto 18px;
  border-radius: 4px;
  background: #d6dfd8;
}

.payer-dialog-header {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 5px 30px 18px;
  text-align: center;
}

.payer-dialog-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 13px;
  place-items: center;
  border: 1px solid rgba(188, 144, 79, 0.28);
  border-radius: 17px;
  background: linear-gradient(145deg, #fbf2df, #f1e4c6);
  color: #987039;
  font-size: 1.13rem;
}

.payer-dialog-close {
  position: absolute;
  top: 0;
  right: -5px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #e6ece7;
  border-radius: 11px;
  background: #f7faf7;
  color: #53695c;
  cursor: pointer;
}

.payer-dialog-eyebrow {
  color: #a27a3a;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.payer-dialog-header h3 {
  margin: 7px 0 5px;
  color: #153c30;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.32rem;
  letter-spacing: -0.035em;
}

.payer-dialog-header p {
  max-width: 350px;
  margin: 0;
  color: #718178;
  font-size: 0.77rem;
  line-height: 1.55;
}

.payer-dialog-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 19px;
  padding: 13px 15px;
  border: 1px solid #e6ece7;
  border-radius: 14px;
  background: #f7faf7;
}

.payer-dialog-amount span {
  color: #718178;
  font-size: 0.72rem;
  font-weight: 700;
}

.payer-dialog-amount strong {
  color: #173e31;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.06rem;
}

.payer-dialog-fields {
  display: grid;
  gap: 14px;
}

.payer-field {
  display: grid;
  gap: 7px;
  color: #3d594a;
  font-size: 0.71rem;
  font-weight: 800;
}

.payer-field-input {
  display: flex;
  min-height: 51px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #dfe8e1;
  border-radius: 13px;
  background: #fbfdfb;
  color: #8a9a90;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.payer-field-input:focus-within {
  border-color: rgba(35, 111, 76, 0.6);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(35, 111, 76, 0.09);
}

.payer-field-input.is-invalid {
  border-color: #d3544c;
  background: #fff9f8;
  box-shadow: 0 0 0 3px rgba(211, 84, 76, 0.08);
}

.payer-field-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #173c30;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
}

.payer-field-input input::placeholder {
  color: #a2afa6;
  font-weight: 400;
}

.payer-receipt {
  display: grid;
  gap: 7px;
  margin-top: 15px;
}

.payer-receipt-required {
  color: #b5463f;
  font-size: 0.64rem;
  font-weight: 700;
}

.payer-receipt-picker {
  position: relative;
  display: flex;
  min-height: 53px;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 0 13px;
  border: 1px dashed #b8cbbd;
  border-radius: 14px;
  background: #f7faf7;
  color: #347553;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.payer-receipt-picker:hover,
.payer-receipt-picker:focus-within {
  border-color: #39805a;
  background: #f0f7f1;
}

.payer-receipt-picker > span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #53695c;
  font-size: 0.73rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payer-receipt-picker input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.payer-receipt-upload-icon {
  color: #9a7139;
}

.payer-receipt-hint {
  margin: 0;
  color: #89988e;
  font-size: 0.63rem;
}

.payer-receipt-preview-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid #e2ebe4;
  border-radius: 13px;
  background: #fbfdfb;
}

.payer-receipt-preview-wrap[hidden] {
  display: none;
}

.payer-receipt-preview-wrap img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 9px;
  background: #edf2ee;
  object-fit: cover;
}

.payer-receipt-remove {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 0 10px;
  border: 1px solid #e4eae5;
  border-radius: 10px;
  background: #fff;
  color: #68796f;
  font-size: 0.67rem;
  font-weight: 700;
  cursor: pointer;
}

.payer-receipt-error {
  margin: 0;
  color: #bd4540;
  font-size: 0.68rem;
  line-height: 1.45;
}

.payer-receipt-error[hidden] {
  display: none;
}

.payer-dialog-security {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 15px 0;
  color: #74857a;
  font-size: 0.67rem;
  line-height: 1.5;
}

.payer-dialog-security i {
  margin-top: 2px;
  color: #40805c;
}

.payer-dialog-submit,
.payer-dialog-cancel {
  width: 100%;
  min-height: 49px;
  border-radius: 13px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    opacity 160ms ease;
}

.payer-dialog-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #174c39;
  background: linear-gradient(110deg, #174b39, #26734f);
  color: #fff;
  box-shadow: 0 8px 17px rgba(26, 90, 62, 0.18);
}

.payer-dialog-submit:hover:not(:disabled) {
  transform: translateY(-1px);
}

.payer-dialog-submit:disabled {
  cursor: progress;
  opacity: 0.68;
}

.payer-dialog-cancel {
  min-height: 42px;
  margin-top: 5px;
  border: 0;
  background: transparent;
  color: #718178;
}

.payer-dialog-cancel:hover {
  background: #f3f7f4;
  color: #173c30;
}

@keyframes payer-overlay-appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes payer-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 560px) {
  #rechargePage,
  #payPage {
    padding: 12px 14px 30px;
  }

  #rechargePage .rc-header-row,
  #payPage .rc-header-row {
    min-height: 60px;
    border-radius: 17px;
  }

  #rechargePage .payment-type-card {
    min-height: 96px;
    padding: 16px;
    border-radius: 19px;
  }

  #rechargePage .recharge-card {
    border-radius: 19px;
  }

  #rechargePage .gateway-option {
    min-height: 86px;
  }

  #payPage .pay-amount-card {
    padding: 20px;
    border-radius: 19px;
  }

  .payer-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .payer-dialog {
    width: 100%;
    max-height: min(92svh, 740px);
    padding: 22px 19px max(20px, env(safe-area-inset-bottom));
    border-radius: 25px 25px 0 0;
  }

  .payer-dialog-handle {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .payer-overlay,
  .payer-dialog {
    animation: none;
  }
}
@keyframes loading-line {
  to {
    transform: translateX(125%);
  }
}

.custom-alert {
  position: fixed;
  z-index: 110;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 28px), 430px);
  transform: translateX(-50%);
}
.modern-toast {
  position: fixed;
  z-index: 120;
  right: 18px;
  bottom: 18px;
  max-width: min(420px, calc(100vw - 36px));
  padding: 12px 16px;
  transform: translateY(12px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transition:
    opacity var(--ease),
    transform var(--ease);
}
.modern-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-success {
  border-left: 4px solid var(--forest-2);
}
.toast-error {
  border-left: 4px solid var(--danger);
}
.toast-warning {
  border-left: 4px solid #d88a3a;
}
.daily-loader {
  display: none;
}
.spinner-3d {
  width: 32px;
  height: 32px;
  border: 3px solid var(--line);
  border-top-color: var(--forest);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}
.floating-social-container {
  position: fixed;
  z-index: 25;
  right: 19px;
  bottom: 94px;
  display: none;
  gap: 9px;
}
.social-float-btn {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 19px;
  background: linear-gradient(145deg, #e8d39d 0%, #d8b86f 48%, #b89045 100%);
  color: #153b30;
  box-shadow:
    0 10px 0 #957539,
    0 14px 22px rgba(13, 46, 36, 0.26),
    inset 0 2px 3px rgba(255, 255, 255, 0.72),
    inset 0 -3px 5px rgba(91, 64, 18, 0.2);
  transform: perspective(240px) rotateX(4deg);
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 220ms ease,
    filter 220ms ease;
  animation: social-float 3.2s ease-in-out infinite;
}

.social-float-btn::before {
  position: absolute;
  z-index: 0;
  inset: 2px 2px auto;
  height: 48%;
  border-radius: 15px 15px 50% 50%;
  background: linear-gradient(rgba(255, 255, 255, 0.42), transparent);
  content: "";
  pointer-events: none;
}

.social-float-btn i {
  position: relative;
  z-index: 1;
  font-size: 1.45rem;
  filter: drop-shadow(0 2px 1px rgba(255, 255, 255, 0.42));
  transition: transform 220ms ease;
}

.social-float-btn:hover {
  z-index: 1;
  filter: saturate(1.12) brightness(1.04);
  transform: perspective(240px) translateY(-5px) rotateX(9deg) rotateY(-5deg)
    scale(1.06);
  box-shadow:
    0 14px 0 #957539,
    0 22px 28px rgba(13, 46, 36, 0.3),
    inset 0 2px 3px rgba(255, 255, 255, 0.76),
    inset 0 -3px 5px rgba(91, 64, 18, 0.2);
}

.social-float-btn:hover i {
  transform: scale(1.12) rotate(-5deg);
}

.social-float-btn:active {
  transform: perspective(240px) translateY(5px) rotateX(0) scale(0.98);
  box-shadow:
    0 3px 0 #957539,
    0 6px 10px rgba(13, 46, 36, 0.2),
    inset 0 2px 4px rgba(91, 64, 18, 0.18);
}

.social-float-btn:focus-visible {
  outline: 3px solid #153b30;
  outline-offset: 5px;
}

.social-float-btn:nth-child(2) {
  animation-delay: -1.6s;
}

@keyframes social-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -4px;
  }
}

/* Desktop navigation rail */
.bottom-nav {
  position: fixed;
  z-index: 50;
  top: 0;
  bottom: 0;
  left: 0;
  display: none;
  width: var(--rail-width);
  padding: 21px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--forest);
  color: #fff;
}
.bottom-nav.open {
  display: none;
}
body.logged-in .bottom-nav.open {
  display: flex;
}
body:not(.logged-in) #bottomNav {
  display: none !important;
}
.nav-pill-container {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 7px;
}
.nav-pill-container::before {
  display: block;
  margin: 4px 7px 30px;
  padding: 8px 5px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  content: "MONEZA\A MEMBER SPACE";
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.7;
  white-space: pre-line;
}
.nav-item {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}
.nav-item:hover {
  transform: translateX(3px);
  border-color: rgba(220, 192, 133, 0.2);
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
}
.nav-item.active {
  border-color: rgba(220, 192, 133, 0.3);
  background: linear-gradient(
    110deg,
    rgba(220, 192, 133, 0.2),
    rgba(255, 255, 255, 0.075)
  );
  color: #f3d99e;
  box-shadow:
    inset 3px 0 0 #d8b86f,
    0 8px 18px rgba(0, 0, 0, 0.12);
}
.nav-icon-wrapper {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  color: #d8e4dc;
  transition:
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}
.nav-icon-wrapper i {
  font-size: 0.96rem;
  line-height: 1;
}
.nav-item:hover .nav-icon-wrapper {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(220, 192, 133, 0.34);
  background: rgba(220, 192, 133, 0.12);
  color: #f2d696;
}
.nav-item.active .nav-icon-wrapper {
  transform: translateY(-2px);
  border-color: rgba(220, 192, 133, 0.54);
  background: linear-gradient(145deg, #e8d39d, #bd9857);
  color: #153b30;
  box-shadow: 0 5px 14px rgba(197, 166, 107, 0.22);
  animation: nav-icon-arrive 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes nav-icon-arrive {
  0% {
    transform: translateY(2px) scale(0.78);
  }
  65% {
    transform: translateY(-3px) scale(1.1);
  }
  100% {
    transform: translateY(-2px) scale(1);
  }
}
.nav-label-text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    color 180ms ease,
    transform 180ms ease;
}
.nav-item.active .nav-label-text {
  color: #f5e4bd;
}
.nav-item:focus-visible {
  outline: 2px solid #e4c883;
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  :root {
    --rail-width: 205px;
  }
  .impersonation-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  #dashboard,
  #profilePage,
  #bankPage,
  #rechargePage,
  #payPage,
  #withdrawPage,
  #productPage,
  #treasureCrestPage,
  #invitePage,
  #earningsPage,
  #myInvestmentPage,
  #recordsPage {
    padding-right: 25px;
    padding-left: 25px;
  }
  .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --rail-width: 0px;
  }
  #dashboard,
  #profilePage,
  #bankPage,
  #rechargePage,
  #payPage,
  #withdrawPage,
  #productPage,
  #treasureCrestPage,
  #invitePage,
  #earningsPage,
  #myInvestmentPage,
  #recordsPage {
    width: 100%;
    margin: 0;
    padding: 18px 20px 112px;
  }
  .bottom-nav {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 76px;
    padding: 7px 12px max(7px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 0;
  }
  .nav-pill-container {
    flex-direction: row;
    justify-content: space-around;
    gap: 4px;
  }
  .nav-pill-container::before {
    display: none;
  }
  .nav-item {
    min-width: 0;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 4px 3px;
    border-radius: 14px;
  }
  .nav-item:hover {
    transform: translateY(-2px);
  }
  .nav-icon-wrapper {
    width: 34px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 11px;
  }
  .nav-icon-wrapper i {
    font-size: 0.9rem;
  }
  .nav-label-text {
    font-size: 0.63rem;
  }
  .nav-item.active {
    box-shadow:
      inset 0 2px 0 #d8b86f,
      0 4px 12px rgba(0, 0, 0, 0.1);
  }
  #floatingTreasureBtn {
    right: 14px;
    bottom: 91px;
  }

  .floating-social-container {
    right: 14px;
    bottom: 164px;
  }
  .social-float-btn {
    width: 50px;
    height: 50px;
    border-radius: 17px;
  }
  .dashboard-top-section {
    grid-template-columns: 1fr;
  }
  .profile-scroll-container {
    grid-template-columns: 1fr;
  }
  .settings-group-title {
    margin-top: 8px;
  }
}

@media (max-width: 620px) {
  .honda-auth-container {
    min-height: 100svh;
    padding: 15px;
  }
  .fieldmark-card {
    display: block;
    width: min(100%, 480px);
    min-height: 0;
  }
  .fieldmark-brand-hero {
    min-height: clamp(112px, 30vw, 142px);
  }
  .fieldmark-brand-hero::before {
    top: 50%;
    left: 14px;
    width: clamp(76px, 23vw, 104px);
    aspect-ratio: 1;
    border-radius: clamp(16px, 5vw, 23px);
    transform: translateY(-50%);
  }
  .fieldmark-brand-hero::after {
    right: 14px;
    bottom: 50%;
    left: calc(clamp(76px, 23vw, 104px) + 28px);
    max-width: none;
    font-size: clamp(0.68rem, 3vw, 0.82rem);
    line-height: 1.55;
    transform: translateY(50%);
  }
  .fieldmark-header,
  .fieldmark-form,
  .fieldmark-switch-action,
  .fieldmark-terms {
    margin-right: 22px;
    margin-left: 22px;
  }
  .fieldmark-header {
    padding-top: 21px;
  }
  .fieldmark-logo-wrapper {
    margin-bottom: 17px;
  }
  .fieldmark-logo-circle.premium-hse-badge {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
  .fieldmark-form {
    padding-top: 18px;
  }
  .fieldmark-switch-action {
    padding-top: 14px;
    padding-bottom: 18px;
  }
  .fieldmark-terms {
    padding-bottom: 20px;
  }
  #dashboard,
  #profilePage,
  #bankPage,
  #rechargePage,
  #payPage,
  #withdrawPage,
  #productPage,
  #treasureCrestPage,
  #invitePage,
  #earningsPage,
  #myInvestmentPage,
  #recordsPage {
    padding: 14px 14px 110px;
  }
  .mx-vanta-navbar {
    min-height: 50px;
  }
  .flyer-container {
    margin-top: 8px;
  }
  .balance-flyer,
  .dashboard-hero-copy {
    min-height: 208px;
  }
  .dashboard-hero-copy {
    padding: 23px 20px;
  }
  .dashboard-hero-copy h1 {
    max-width: 290px;
    font-size: 2rem;
  }
  .dashboard-hero-copy > p:last-child {
    max-width: 250px;
    font-size: 0.79rem;
  }
  .flyer-track {
    width: 72%;
  }
  .flyer-card {
    opacity: 0.09;
  }
  .action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .action-card {
    min-height: 67px;
    gap: 9px;
    padding: 10px;
  }
  .mx-circle-badge {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .action-text {
    font-size: 0.78rem;
  }
  .plans-header-container {
    margin-top: 26px;
  }
  .product-list {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .mx-product-image-box {
    height: 165px;
  }
  .product-section-title {
    font-size: 1.08rem;
  }
  .profile-fixed-top-header,
  .investment-header,
  .records-header,
  .bank-header,
  .rc-header,
  .wd-header-fixed,
  .invite-header-fixed-v2,
  .tc-header-fixed,
  .team-header-main {
    min-height: 52px;
    margin-bottom: 14px;
  }
  .profile-layout-card-wrapper {
    align-items: flex-start;
    flex-direction: column;
    padding: 15px;
  }
  .profile-referral-clipboard-pill {
    width: 100%;
    grid-template-columns: 1fr auto;
  }
  .profile-referral-clipboard-pill .ref-code-value {
    grid-column: 1;
  }
  .profile-referral-clipboard-pill .ref-copy-svg {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
  .honda-main-card {
    min-height: 105px;
  }
  .profile-scroll-container {
    gap: 12px;
  }
  .referral-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .how-it-works-card {
    grid-column: auto;
  }
  .sixpack-grid-structure {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tc-info-grid {
    grid-template-columns: 1fr;
  }
  .tc-info-card {
    padding: 12px;
  }
  .card-wrapper {
    grid-template-columns: 1fr;
  }
  .wave-investment-item {
    padding: 12px;
  }
  .honda-bank-container,
  .recharge-card {
    padding: 16px;
  }
  .gateway-selection-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .wd-balance-card {
    min-height: 108px;
    padding: 17px;
  }
  .wd-bank-grid {
    grid-template-columns: 1fr;
  }
  .wd-switch-side {
    grid-column: auto;
  }
  .pay-amount-card {
    padding: 19px;
  }
  .pay-amount-value {
    font-size: 1.7rem;
  }
  .pay-detail-row {
    align-items: flex-start;
    padding: 10px 0;
  }
  .pay-detail-right {
    max-width: 68%;
  }
  .pay-detail-value {
    font-size: 0.73rem;
  }
  .inner-user-grid-display {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .modal-overlay,
  .custom-modal-overlay,
  .popup-overlay {
    align-items: flex-end;
    padding: 8px;
  }
  .modal-card,
  .custom-modal-content,
  .mx-unique-modal {
    max-height: 92svh;
    border-radius: 8px 8px 5px 5px;
  }
  .gift-input-wrapper {
    flex-direction: column;
  }
  .gift-submit-btn {
    width: 100%;
  }
  #floatingTreasureBtn {
    min-height: 50px;
    padding: 5px 10px 5px 6px;
  }
  .ft-icon-box {
    width: 35px;
    height: 35px;
  }
  .ft-label {
    font-size: 0.61rem;
  }
  .ft-sub {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-background-video {
    display: none;
  }
  .nav-item,
  .nav-icon-wrapper,
  .nav-label-text {
    transition: none;
  }
  .nav-item.active .nav-icon-wrapper {
    animation: none;
  }
  .social-float-btn,
  .social-float-btn:nth-child(2) {
    animation: none;
  }
  .social-float-btn:hover,
  .social-float-btn:active {
    transform: none;
  }
  .social-float-btn:hover i {
    transform: none;
  }
  body:not(.logged-in)::before {
    animation: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.product-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mx-product-image-box {
  height: 112px;
}

@media (max-width: 760px) {
  .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mx-product-image-box {
    height: 96px;
  }
}

#rechargePage {
  min-height: 100vh;
  background:
    radial-gradient(
      ellipse at 90% 0%,
      rgba(188, 144, 79, 0.13),
      transparent 38%
    ),
    linear-gradient(160deg, #f7faf8 0%, #eef5f1 100%);
}

#rechargePage .rc-header {
  padding: 10px 0 16px;
  border-bottom: 0;
}

#rechargePage .rc-header-row {
  min-height: 68px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 28px rgba(31, 65, 49, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#rechargePage .rc-back-btn {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(42, 83, 61, 0.12);
  border-radius: 15px;
  background: #f4f8f5;
  color: var(--forest);
}

#rechargePage .rc-header-title {
  margin: 0;
  color: var(--forest);
  font-size: 1.12rem;
  font-weight: 700;
}

#rechargePage .rc-balance {
  padding: 8px 12px;
  border: 1px solid rgba(188, 144, 79, 0.2);
  border-radius: 15px;
  background: rgba(188, 144, 79, 0.09);
}

#rechargePage .rc-balance-label {
  font-size: 0.65rem;
}

#rechargePage .rc-balance-value {
  margin: 0;
  color: var(--forest);
  font-size: 0.95rem;
}

#rechargePage .recharge-page-container {
  display: grid;
  gap: 14px;
  padding-bottom: 28px;
}

#rechargePage .payment-type-card,
#rechargePage .recharge-card,
#rechargePage .info-guidelines-box {
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(31, 65, 49, 0.075);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#rechargePage .payment-type-card {
  gap: 14px;
  margin: 0;
  padding: 17px;
}

#rechargePage .payment-type-icon {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  border-radius: 16px;
  background: linear-gradient(145deg, #174b39, #287b59);
  box-shadow: 0 7px 15px rgba(22, 82, 58, 0.18);
}

#rechargePage .payment-type-info h4 {
  color: var(--forest);
}

#rechargePage .recharge-card {
  padding: 21px;
}

#rechargePage .section-label {
  margin: 8px 0 10px;
}

#rechargePage .gateway-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 0 0 19px !important;
}

#rechargePage .gateway-option {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 88px;
  align-content: center;
  gap: 7px;
  padding: 15px 12px;
  border: 1px solid rgba(53, 98, 72, 0.15) !important;
  border-radius: 19px !important;
  background: rgba(246, 250, 247, 0.92) !important;
  color: var(--forest) !important;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

#rechargePage .gateway-option:not(.gateway-option-locked) {
  cursor: pointer;
}

#rechargePage .gateway-option:not(.gateway-option-locked):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 17px rgba(35, 78, 55, 0.1);
}

#rechargePage .gateway-option.active {
  border-color: rgba(188, 144, 79, 0.72) !important;
  background: linear-gradient(145deg, #fffaf0, #f9f4e9) !important;
  box-shadow:
    inset 0 0 0 1px rgba(188, 144, 79, 0.34),
    0 8px 18px rgba(113, 81, 32, 0.08);
}

#rechargePage .gateway-option-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 800;
}

#rechargePage .gateway-option-title i {
  color: var(--gold, #bc904f) !important;
}

#rechargePage .gateway-option-description {
  color: var(--muted);
  font-size: 0.7rem;
}

#rechargePage .gateway-option-locked {
  overflow: hidden;
  border-style: dashed !important;
  background: rgba(235, 239, 236, 0.75) !important;
  cursor: not-allowed;
  opacity: 0.68;
}

#rechargePage .gateway-locked-badge {
  position: absolute;
  top: 7px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #7d8982;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

#rechargePage .custom-amount-wrapper {
  min-height: 56px;
  padding: 0 15px;
  border: 1px solid rgba(45, 92, 73, 0.16);
  border-radius: 18px;
  background: rgba(250, 252, 250, 0.9);
}

#rechargePage .custom-amount-wrapper input {
  min-width: 0;
  font-size: 1rem;
}

#rechargePage #depositBtn {
  min-height: 52px;
  margin-top: 17px;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(26, 90, 62, 0.18);
}

#rechargePage .ssl-security-notice {
  justify-content: center;
  border-radius: 14px;
}

#rechargePage .info-guidelines-box {
  padding: 17px;
}

@media (max-width: 480px) {
  #rechargePage .rc-header-row {
    gap: 8px;
    padding: 8px 10px;
    border-radius: 20px;
  }

  #rechargePage .rc-header-title {
    font-size: 1rem;
  }

  #rechargePage .rc-balance {
    padding: 7px 9px;
  }

  #rechargePage .recharge-card {
    padding: 16px;
    border-radius: 21px;
  }

  #rechargePage .gateway-selection-grid {
    gap: 8px;
  }

  #rechargePage .gateway-option {
    min-height: 82px;
    padding: 14px 8px;
    border-radius: 16px !important;
  }

  #rechargePage .gateway-option-title {
    font-size: 0.72rem;
  }
}

#recordsContainer {
  min-width: 0;
  gap: 12px;
}

#recordsContainer .record-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(46, 91, 69, 0.13);
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96),
    rgba(244, 250, 246, 0.9)
  );
  box-shadow: 0 8px 22px rgba(27, 65, 47, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

#recordsContainer .record-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(27, 65, 47, 0.11);
}

#recordsContainer .card-top-row,
#recordsContainer .card-mid-row,
#recordsContainer .card-bottom-row {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  grid-column: 1 / -1;
}

#recordsContainer .card-top-row {
  color: var(--muted);
}

#recordsContainer .record-amount-label {
  font-size: 0.7rem;
  font-weight: 600;
}

#recordsContainer .record-amount-value {
  min-width: 0;
  font-size: clamp(1rem, 3.7vw, 1.25rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

#recordsContainer .record-status-pill {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff3d9;
  color: #9a6414;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

#recordsContainer .record-status-pill.status-confirmed-green {
  background: #e5f6eb;
  color: #18834b;
}

#recordsContainer .record-status-pill.status-failed-red {
  background: #fde9e8;
  color: #bf3e37;
}

#recordsContainer .record-date-wrapper,
#recordsContainer .transaction-type-label {
  min-width: 0;
  font-size: 0.73rem;
  overflow-wrap: anywhere;
}

#recordsContainer .record-date-wrapper {
  color: var(--muted);
}

#recordsContainer .transaction-type-label {
  color: var(--forest);
  font-weight: 700;
  text-align: right;
}

#recordsContainer .card-bottom-row {
  justify-content: flex-start;
  padding-top: 9px;
  border-top: 1px solid rgba(46, 91, 69, 0.1);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  #recordsContainer {
    gap: 9px;
  }

  #recordsContainer .record-card {
    gap: 8px 10px;
    padding: 13px;
    border-radius: 17px;
  }

  #recordsContainer .record-amount-value {
    font-size: clamp(0.95rem, 4.5vw, 1.15rem);
  }

  #recordsContainer .record-status-pill {
    padding: 4px 8px;
    font-size: 0.64rem;
  }

  #recordsContainer .record-date-wrapper,
  #recordsContainer .transaction-type-label {
    font-size: 0.68rem;
  }
}

/* Team page */
#earningsPage .recharge-page-container {
  display: grid;
  min-width: 0;
  width: min(100%, 980px);
  gap: 16px;
  padding-bottom: 32px;
}

#earningsPage .team-header-main,
#earningsPage .recharge-page-container > *,
#earningsPage .team-level-section > * {
  min-width: 0;
}

#earningsPage .team-intro-card {
  position: relative;
  display: flex;
  min-height: 176px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  padding: 26px 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 86% 12%,
      rgba(217, 243, 106, 0.23),
      transparent 28%
    ),
    linear-gradient(115deg, #123d32, #1d5545 70%, #286650);
  color: #fff;
  box-shadow: 0 16px 34px rgba(18, 61, 50, 0.15);
}

#earningsPage .team-intro-card::after {
  position: absolute;
  right: 110px;
  bottom: -118px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

#earningsPage .team-intro-copy {
  position: relative;
  z-index: 1;
  max-width: 590px;
}

#earningsPage .team-intro-eyebrow,
#earningsPage .team-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

#earningsPage .team-intro-eyebrow {
  color: var(--mint);
}

#earningsPage .team-intro-copy h1 {
  margin: 7px 0 5px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.15;
}

#earningsPage .team-intro-copy p {
  max-width: 510px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

#earningsPage .team-intro-art {
  position: relative;
  z-index: 1;
  display: grid;
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--mint);
  font-size: 2.6rem;
  transform: rotate(5deg);
}

#earningsPage .how-it-works-notice-card {
  align-items: center;
  gap: 13px;
  margin: 0;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

#earningsPage .notice-info-trigger-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 12px;
  background: #e8f1ed;
  color: var(--forest);
}

#earningsPage .notice-title-label {
  margin-bottom: 2px;
  color: var(--forest);
}

#earningsPage .notice-body-text-block {
  font-size: 0.79rem;
  line-height: 1.55;
}

#earningsPage .premium-sixpack-container {
  margin: 0;
}

#earningsPage .sixpack-grid-structure {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

#earningsPage .sixpack-item-node {
  min-height: 122px;
  align-content: start;
  gap: 6px;
  padding: 16px;
  border-radius: 17px;
  background: linear-gradient(155deg, #fff, #f8fbf9);
  box-shadow: 0 8px 20px rgba(22, 50, 39, 0.045);
  transition:
    transform var(--ease),
    box-shadow var(--ease);
}

#earningsPage .sixpack-item-node:hover {
  box-shadow: 0 12px 25px rgba(22, 50, 39, 0.09);
  transform: translateY(-2px);
}

#earningsPage .sixpack-icon-wrapper {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 11px;
  background: #e8f1ed;
  color: var(--forest);
}

#earningsPage .gold-icon-theme,
#earningsPage .gold-star-theme,
#earningsPage .empty-star-theme {
  background: #f2f3df;
  color: #788927;
}

#earningsPage .sixpack-value {
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.25;
}

#earningsPage .sixpack-label {
  font-size: 0.7rem;
  line-height: 1.35;
}

#earningsPage .team-level-section {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(22, 50, 39, 0.045);
}

#earningsPage .team-level-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

#earningsPage .team-section-eyebrow {
  color: var(--blue);
  font-size: 0.61rem;
}

#earningsPage .team-level-heading h2 {
  margin: 3px 0 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.28rem;
}

#earningsPage .team-level-hint {
  color: var(--muted);
  font-size: 0.73rem;
}

#earningsPage .segmented-pill-navigation-wrapper {
  gap: 8px;
  margin: 0;
  padding: 5px;
  border: 1px solid #e0e9e4;
  border-radius: 14px;
  background: #f0f5f2;
}

#earningsPage .navigation-pill-btn {
  min-height: 42px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.79rem;
  transition:
    background var(--ease),
    color var(--ease),
    box-shadow var(--ease);
}

#earningsPage .navigation-pill-btn.state-active {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 4px 10px rgba(18, 61, 50, 0.16);
}

#earningsPage .team-member-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 2px 10px;
}

#earningsPage .dynamic-list-heading {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
}

#earningsPage .team-member-list-heading > span {
  color: var(--muted);
  font-size: 0.7rem;
}

#earningsPage .user-list-wrapper-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#earningsPage .tier-card {
  min-width: 0;
  margin: 0;
  padding: 15px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(22, 50, 39, 0.04);
}

#earningsPage .tier-title {
  min-width: 0;
}

#earningsPage .tier-title span {
  overflow-wrap: anywhere;
}

#earningsPage .inner-user-box {
  border-radius: 9px;
  background: #f3f7f4;
}

#earningsPage .inner-user-value {
  overflow-wrap: anywhere;
}

#earningsPage .empty-state-vector-wrapper {
  grid-column: 1 / -1;
  min-height: 200px;
  align-content: center;
  gap: 10px;
  border: 1px dashed #c8d6ce;
  border-radius: 15px;
  background: #fbfdfb;
}

#earningsPage .empty-vector-network-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: #e8f1ed;
}

@media (max-width: 820px) {
  #earningsPage .recharge-page-container {
    width: 100%;
  }

  #earningsPage .sixpack-grid-structure {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #earningsPage .user-list-wrapper-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  #earningsPage .team-header-main {
    gap: 12px;
  }

  #earningsPage .team-intro-card {
    gap: 12px;
    padding: 20px;
  }

  #earningsPage .team-intro-copy {
    flex: 1 1 auto;
  }

  #earningsPage .team-intro-eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  #earningsPage .team-level-section {
    padding: 16px;
  }

  #earningsPage .tier-card {
    padding: 13px;
  }
}

@media (max-width: 480px) {
  #earningsPage .recharge-page-container {
    gap: 12px;
  }

  #earningsPage .team-intro-card {
    min-height: 150px;
    padding: 18px 15px;
    border-radius: 18px;
  }

  #earningsPage .team-intro-art {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    border-radius: 17px;
    font-size: 1.45rem;
  }

  #earningsPage .team-intro-copy h1 {
    font-size: clamp(1.45rem, 7vw, 1.8rem);
  }

  #earningsPage .team-intro-copy p {
    font-size: 0.74rem;
    line-height: 1.45;
  }

  #earningsPage .notice-body-text-block {
    font-size: 0.74rem;
  }

  #earningsPage .how-it-works-notice-card {
    align-items: flex-start;
    padding: 13px;
  }

  #earningsPage .sixpack-grid-structure {
    gap: 8px;
  }

  #earningsPage .sixpack-item-node {
    min-height: 110px;
    padding: 11px;
    border-radius: 14px;
  }

  #earningsPage .sixpack-value {
    font-size: clamp(0.92rem, 4.5vw, 1.1rem);
  }

  #earningsPage .team-level-section {
    gap: 10px;
    padding: 14px;
    border-radius: 17px;
  }

  #earningsPage .team-level-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  #earningsPage .team-level-heading h2 {
    font-size: 1.1rem;
  }

  #earningsPage .segmented-pill-navigation-wrapper {
    gap: 3px;
  }

  #earningsPage .navigation-pill-btn {
    min-height: 39px;
    padding: 6px 3px;
    font-size: clamp(0.61rem, 2.8vw, 0.68rem);
    overflow-wrap: anywhere;
  }

  #earningsPage .inner-user-grid-display {
    gap: 5px;
  }

  #earningsPage .inner-user-box {
    padding: 7px 6px;
  }
}

@media (max-width: 360px) {
  #earningsPage .team-intro-art {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 14px;
    font-size: 1.2rem;
  }

  #earningsPage .team-intro-card {
    gap: 8px;
    padding: 16px 12px;
  }

  #earningsPage .team-level-section {
    padding: 12px;
  }

  #earningsPage .team-member-list-heading > span {
    display: none;
  }

  #earningsPage .sixpack-value {
    font-size: 0.95rem;
  }
}

#dynamicProductList.product-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mx-premium-plan-card .mx-product-image-box,
.mx-premium-plan-card .mx-student-image-box {
  position: relative;
}

.mx-premium-plan-card .mx-product-img,
.mx-premium-plan-card .mx-student-img {
  opacity: 0.22;
}

.mx-premium-plan-card .mx-plan-emblem {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--plan-accent);
  font-size: 2rem;
  filter: drop-shadow(
    0 3px 10px color-mix(in srgb, var(--plan-accent) 45%, transparent)
  );
}

@media (max-width: 1050px) {
  #dynamicProductList.product-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  #dynamicProductList.product-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

/* Investment portfolio and wave position cards */
#myInvestmentPage {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-top: 28px;
}

#myInvestmentPage .investment-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

#myInvestmentPage .investment-header h2 {
  margin: 0 auto 0 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

#myInvestmentPage .investment-back-btn {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #123d32;
  color: #fff;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

#myInvestmentPage .investment-back-btn:hover {
  transform: translateX(-2px);
  background: #1b5847;
}

.investment-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 24px;
  overflow: hidden;
  margin-bottom: 22px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(220, 192, 133, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(
      ellipse at 5% 0%,
      rgba(197, 166, 107, 0.2),
      transparent 42%
    ),
    linear-gradient(125deg, #0c2924, #123d32 60%, #1b5142);
  box-shadow: 0 20px 48px rgba(9, 35, 28, 0.16);
}

.investment-overview::after {
  position: absolute;
  right: -58px;
  bottom: -100px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(220, 192, 133, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(220, 192, 133, 0.035),
    0 0 0 58px rgba(220, 192, 133, 0.025);
  content: "";
  pointer-events: none;
}

.investment-overview-copy,
.investment-summary-grid {
  position: relative;
  z-index: 1;
}

.investment-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e0c78f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.investment-overview-copy h1 {
  margin: 13px 0 8px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.investment-overview-copy p {
  max-width: 360px;
  margin: 0;
  color: rgba(240, 246, 242, 0.72);
  font-size: 0.86rem;
  line-height: 1.65;
}

.investment-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.investment-summary-card {
  display: grid;
  min-width: 0;
  gap: 9px;
  padding: 15px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(10px);
}

.investment-summary-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 11px;
  background: rgba(220, 192, 133, 0.15);
  color: #e0c78f;
  font-size: 0.82rem;
}

.investment-summary-label {
  overflow: hidden;
  color: rgba(240, 246, 242, 0.69);
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.investment-summary-card strong {
  overflow: hidden;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.32rem);
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#myInvestmentPage .investment-sub-header {
  margin-bottom: 14px;
}

#myInvestmentPage .investment-filter-row {
  width: fit-content;
  max-width: 100%;
  gap: 5px;
  margin: 0;
  padding: 5px;
  border: 1px solid #e0e9e3;
  border-radius: 14px;
  background: #f0f5f1;
}

#myInvestmentPage .inv-filter-btn {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 10px;
  color: #63756c;
  font-size: 0.75rem;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

#myInvestmentPage .inv-filter-btn.active {
  background: #123d32;
  color: #fff;
  box-shadow: 0 4px 10px rgba(18, 61, 50, 0.16);
}

#myInvestmentPage .card-wrapper {
  align-items: start;
  gap: 16px;
}

.wave-investment-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid #e2e9e3;
  border-radius: 22px;
  background: linear-gradient(160deg, #fff 0%, #fbfdfb 68%, #f4f8f4 100%);
  box-shadow: 0 12px 30px rgba(24, 56, 43, 0.07);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.wave-investment-item:hover {
  transform: translateY(-3px);
  border-color: rgba(188, 144, 79, 0.5);
  box-shadow: 0 20px 42px rgba(24, 56, 43, 0.12);
}

.market-wave-card {
  gap: 0;
}

.wave-header {
  min-height: 82px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 18px;
}

.wave-title-group {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.wave-plan-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(188, 144, 79, 0.23);
  border-radius: 15px;
  background: linear-gradient(145deg, #f9f1df, #efe2c5);
  color: #9c7131;
  font-size: 1rem;
}

.wave-title-copy {
  min-width: 0;
}

.wave-title {
  overflow: hidden;
  color: #17382f;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wave-subtitle {
  overflow: hidden;
  margin-top: 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wave-card-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.wave-status-badge {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid #cce9d8;
  border-radius: 999px;
  background: #eff9f2;
  color: #267144;
  font-size: 0.65rem;
  font-weight: 800;
  white-space: nowrap;
}

.wave-status-badge::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.wave-status-badge.sold {
  border-color: #f1dfb8;
  background: #fff8e9;
  color: #9c7131;
}

.wave-status-badge.expired {
  border-color: #e3e8e4;
  background: #f2f5f3;
  color: #68766f;
}

.sell-pill-btn {
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 9px;
  background: #f5f8f5;
  font-size: 0.65rem;
}

.wave-visual-area {
  min-height: 142px;
  margin: 0 16px;
  border: 1px solid rgba(220, 232, 223, 0.9);
  border-radius: 15px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.62) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.62) 1px, transparent 1px),
    linear-gradient(135deg, #f2f7f2, #eaf2ec);
  background-size:
    100% 33px,
    52px 100%,
    auto;
}

.wave-chart-caption {
  position: absolute;
  z-index: 1;
  top: 11px;
  right: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #64766d;
  font-size: 0.62rem;
}

.wave-chart-caption > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wave-chart-caption > b {
  color: #9c7131;
  font-size: 0.7rem;
}

.wave-chart-caption small {
  color: #7c8c83;
  font-size: 0.58rem;
  font-weight: 500;
}

.wave-svg {
  top: 26px;
  height: calc(100% - 26px);
}

.wave-svg .wave-area-fill {
  stroke: none;
}

.wave-svg .wave-line {
  filter: drop-shadow(0 3px 4px rgba(156, 113, 49, 0.25));
  stroke: #ae8544;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wave-chart-range {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: #829188;
  font-size: 0.58rem;
}

.wave-investment-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 16px;
  padding: 15px 0;
  border-bottom: 1px solid #e9efea;
}

.wave-metric {
  display: grid;
  min-width: 0;
  gap: 6px;
  padding: 0 9px;
  border-right: 1px solid #e8eee9;
}

.wave-metric:first-child {
  padding-left: 0;
}

.wave-metric:last-child {
  padding-right: 0;
  border-right: 0;
}

.wave-metric span {
  overflow: hidden;
  color: #7b8b82;
  font-size: 0.61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wave-metric strong {
  overflow: hidden;
  color: #17382f;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wave-metric strong.wave-metric-gold {
  color: #9c7131;
}

.wave-metric-timer strong {
  font-size: 0.68rem;
}

.profit-footer {
  align-items: center;
  padding: 14px 18px 16px;
  border-top: 0;
}

.total-box p {
  color: #77877e;
  font-size: 0.65rem;
}

.total-val {
  margin-top: 3px;
  color: #17382f;
  font-size: 1.2rem;
}

.wave-footer-actions {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.wave-footer-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #829188;
  font-size: 0.58rem;
}

.take-profit-btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 11px;
  background: #123d32;
  box-shadow: 0 5px 12px rgba(18, 61, 50, 0.14);
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.take-profit-btn:not(:disabled):hover {
  transform: translateY(-1px);
  background: #1b5847;
}

.take-profit-btn:disabled {
  border-color: #e2e9e3;
  background: #edf2ee;
  color: #86938c;
  box-shadow: none;
}

.investment-empty-state {
  display: grid;
  grid-column: 1 / -1;
  justify-items: center;
  gap: 10px;
  padding: clamp(32px, 8vw, 66px) 22px;
  border: 1px dashed #cbd9cf;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f6faf6);
  text-align: center;
}

.investment-empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 19px;
  background: #e9f2eb;
  color: #267144;
  font-size: 1.2rem;
}

.investment-empty-state h3 {
  margin: 4px 0 0;
  color: #17382f;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.investment-empty-state p {
  max-width: 370px;
  margin: 0;
  color: #718178;
  font-size: 0.8rem;
  line-height: 1.6;
}

.investment-empty-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 0 15px;
  border: 0;
  border-radius: 12px;
  background: #123d32;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.wave-investment-item[hidden] {
  display: none;
}

@media (max-width: 820px) {
  #myInvestmentPage {
    padding-top: 16px;
  }

  .investment-overview {
    grid-template-columns: 1fr;
    gap: 20px;
    border-radius: 20px;
  }

  .investment-summary-grid {
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  #myInvestmentPage .investment-header {
    gap: 11px;
    margin-bottom: 14px;
  }

  #myInvestmentPage .investment-back-btn {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
  }

  .investment-overview {
    gap: 17px;
    margin-bottom: 16px;
    padding: 21px 17px;
    border-radius: 18px;
  }

  .investment-overview-copy h1 {
    margin-top: 10px;
    font-size: 1.55rem;
  }

  .investment-overview-copy p {
    font-size: 0.78rem;
  }

  .investment-summary-grid {
    gap: 7px;
  }

  .investment-summary-card {
    gap: 7px;
    padding: 11px 9px;
    border-radius: 13px;
  }

  .investment-summary-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

  .investment-summary-label {
    font-size: 0.58rem;
  }

  .investment-summary-card strong {
    font-size: 0.98rem;
  }

  #myInvestmentPage .investment-filter-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #myInvestmentPage .inv-filter-btn {
    min-height: 35px;
    padding: 7px 5px;
    font-size: 0.66rem;
  }

  #myInvestmentPage .card-wrapper {
    gap: 12px;
  }

  .wave-investment-item {
    border-radius: 18px;
  }

  .wave-header {
    min-height: 74px;
    padding: 14px 13px;
  }

  .wave-title-group {
    gap: 9px;
  }

  .wave-plan-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
  }

  .wave-title {
    font-size: 0.87rem;
  }

  .wave-subtitle {
    max-width: 175px;
    font-size: 0.61rem;
  }

  .wave-card-actions {
    gap: 0;
  }

  .wave-status-badge {
    min-height: 25px;
    padding: 4px 8px;
    font-size: 0.6rem;
  }

  .sell-pill-btn {
    display: inline-flex;
    min-height: 26px;
    padding: 4px 7px;
    font-size: 0.58rem;
  }

  .wave-visual-area {
    min-height: 126px;
    margin: 0 12px;
  }

  .wave-investment-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 13px;
    margin: 0 13px;
    padding: 13px 0;
  }

  .wave-metric:nth-child(2) {
    border-right: 0;
  }

  .wave-metric:nth-child(3) {
    padding-left: 0;
  }

  .profit-footer {
    align-items: flex-end;
    gap: 8px;
    padding: 13px;
  }

  .total-val {
    font-size: 1.02rem;
  }

  .wave-footer-note {
    display: none;
  }

  .take-profit-btn {
    min-height: 36px;
    gap: 5px;
    padding: 7px 10px;
    font-size: 0.66rem;
  }
}

#rechargePage .payment-type-card {
  border: 1px solid rgba(220, 192, 133, 0.23);
  background:
    radial-gradient(
      circle at 93% 0%,
      rgba(214, 183, 113, 0.2),
      transparent 34%
    ),
    linear-gradient(118deg, #0d3028, #174b3b 70%, #1b5b45);
  box-shadow: 0 15px 34px rgba(18, 61, 50, 0.15);
}

#rechargePage .payment-type-icon {
  border: 1px solid rgba(231, 206, 151, 0.38);
  background: linear-gradient(145deg, #e5cf9b, #b68d4c);
  color: #123b30;
}

#rechargePage .payment-type-info h4 {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
}

#rechargePage .payment-type-info p {
  color: rgba(245, 249, 246, 0.72);
}

#rechargePage .recharge-card {
  border: 1px solid #e2ebe4;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(31, 65, 49, 0.07);
}

#rechargePage .gateway-option {
  justify-items: start;
  text-align: left;
}

#rechargePage .gateway-option-title {
  justify-content: flex-start;
}

#rechargePage .custom-amount-wrapper:focus-within {
  border-color: rgba(35, 111, 76, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(35, 111, 76, 0.09);
}

#rechargePage .custom-amount-wrapper input {
  color: #163c30;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
}

#rechargePage .info-guidelines-box {
  border: 1px solid #e2ebe4;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(31, 65, 49, 0.045);
}

.withdrawal-portal-status {
  margin: 10px 0 0;
  padding: 11px 13px;
  border: 1px solid #f0d6d2;
  border-radius: 12px;
  background: #fff5f3;
  color: #a33d36;
  font-size: 0.75rem;
  line-height: 1.5;
}

.withdrawal-portal-status.is-open {
  border-color: #cfe6d7;
  background: #f0f8f2;
  color: #286445;
}

#withdrawSubmitBtn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

#payPage {
  min-height: 100vh;
  background:
    radial-gradient(
      ellipse at 90% 0%,
      rgba(188, 144, 79, 0.13),
      transparent 38%
    ),
    linear-gradient(160deg, #f7faf8 0%, #eef5f1 100%);
}

@media (max-width: 480px) {
  #rechargePage .payment-type-card {
    border-radius: 19px;
  }

  #rechargePage .gateway-option {
    padding: 14px 10px;
  }
}

#dashboard .mx-vanta-badge,
#dashboard .mx-vanta-bell {
  border-radius: 13px;
}

#dashboard .balance-flyer {
  border-radius: 24px;
}

#dashboard .action-card {
  border-radius: 16px;
}

#dashboard .mx-circle-badge {
  border-radius: 12px;
}

#dashboard .mx-product-card,
#dashboard .mx-premium-plan-card,
#dashboard .mx-student-card {
  border-radius: 20px;
}

#dashboard .mx-product-image-box,
#dashboard .mx-duration-badge,
#dashboard .mx-add-to-portfolio-btn,
#dashboard .mx-student-cycle {
  border-radius: 12px;
}

#profilePage .profile-layout-card-wrapper,
#profilePage .honda-main-card {
  border-radius: 20px;
}

#profilePage .profile-referral-clipboard-pill,
#profilePage .profile-withdrawal-summary,
#profilePage .profile-gift-code-card,
#profilePage .settings-list-box {
  border-radius: 16px;
}

#profilePage .profile-brand-logo-circle,
#profilePage .profile-summary-icon,
#profilePage .honda-coin,
#profilePage .honda-btn-primary,
#profilePage .honda-btn-outline,
#profilePage .profile-gift-code-form input,
#profilePage .profile-gift-code-form button {
  border-radius: 12px;
}

#profilePage .btn-circle-icon {
  border-radius: 10px;
}

#dashboard .mx-vanta-bell,
#dashboard .balance-flyer,
#dashboard .action-card,
#dashboard .mx-product-card,
#dashboard .mx-premium-plan-card,
#profilePage .profile-layout-card-wrapper,
#profilePage .honda-main-card,
#profilePage .profile-withdrawal-summary,
#profilePage .profile-gift-code-card,
#profilePage .settings-list-box,
#profilePage .honda-btn-primary,
#profilePage .honda-btn-outline {
  box-shadow: 0 10px 28px rgba(21, 59, 48, 0.07);
}

.invite-task-page {
  width: min(1040px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 0 100px;
  color: #173c30;
}

.invite-task-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.invite-task-back {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid #dce8df;
  border-radius: 14px;
  background: #fff;
  color: #1b4a39;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.invite-task-back:hover {
  transform: translateX(-2px);
  background: #f0f6f1;
}

.invite-task-eyebrow {
  color: #8a6a31;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.invite-task-header h1,
.invite-task-section-heading h2 {
  margin: 4px 0;
  color: #153b30;
  font-family: "Space Grotesk", sans-serif;
}

.invite-task-header h1 {
  font-size: clamp(1.55rem, 4vw, 2rem);
}

.invite-task-header p {
  margin: 5px 0 0;
  color: #6b7f75;
  font-size: 0.92rem;
}

.invite-task-content {
  display: grid;
  gap: 25px;
}

.invite-task-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px;
  border: 1px solid rgba(224, 198, 142, 0.42);
  border-radius: 23px;
  background:
    radial-gradient(
      circle at 95% 10%,
      rgba(220, 192, 133, 0.21),
      transparent 35%
    ),
    linear-gradient(120deg, #123c30, #205b43);
  color: #fff;
  box-shadow: 0 16px 36px rgba(20, 65, 48, 0.13);
}

.invite-task-summary-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border: 1px solid rgba(238, 217, 170, 0.38);
  border-radius: 17px;
  background: rgba(232, 211, 157, 0.14);
  color: #f0d798;
  font-size: 1.2rem;
}

.invite-task-summary-copy {
  display: grid;
  gap: 3px;
}

.invite-task-summary-copy > span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.invite-task-summary-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
}

.invite-task-summary-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
}

.invite-task-share {
  min-height: 42px;
  margin-left: auto;
  padding: 10px 15px;
  border: 0;
  border-radius: 12px;
  background: #e8d39d;
  color: #173c30;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.invite-task-share:hover {
  transform: translateY(-2px);
  background: #f1dfb2;
}

.invite-task-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.invite-task-section-heading h2 {
  font-size: 1.35rem;
}

.invite-task-once {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #d9e9dc;
  border-radius: 999px;
  background: #f3faf4;
  color: #3c7551;
  font-size: 0.72rem;
  font-weight: 700;
}

.invite-task-list {
  display: grid;
  gap: 12px;
}

.invite-task-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 17px;
  border: 1px solid #e3ece5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 65, 49, 0.045);
}

.invite-task-card.is-claimed {
  border-color: #d5e9d9;
  background: linear-gradient(110deg, #fff, #f5fbf6);
}

.invite-task-card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #eff5f0;
  color: #44765a;
}

.invite-task-card.is-unlocked .invite-task-card-icon {
  background: #f8f0dc;
  color: #9a7533;
}

.invite-task-card.is-claimed .invite-task-card-icon {
  background: #e3f3e6;
  color: #37804d;
}

.invite-task-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.invite-task-card-title h3 {
  margin: 0;
  color: #1a4033;
  font-size: 0.95rem;
}

.invite-task-status {
  color: #718077;
  font-size: 0.72rem;
  text-align: right;
}

.invite-task-status.is-claimed {
  color: #39804d;
  font-weight: 700;
}

.invite-task-progress {
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2ee;
}

.invite-task-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2e7950, #d6b66f);
  transition: width 350ms ease;
}

.invite-task-card-reward {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.invite-task-card-reward strong {
  color: #1b4b37;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.invite-task-claim,
.invite-task-load-error button {
  min-width: 86px;
  padding: 8px 12px;
  border: 1px solid #236c48;
  border-radius: 10px;
  background: #236c48;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
}

.invite-task-claim:disabled {
  border-color: #e4ebe5;
  background: #f0f4f1;
  color: #758279;
  cursor: not-allowed;
}

.invite-task-loading,
.invite-task-load-error {
  padding: 22px;
  border: 1px solid #e3ece5;
  border-radius: 16px;
  background: #fff;
  color: #62756a;
  text-align: center;
}

.invite-task-load-error p {
  margin: 0 0 12px;
}

.invite-task-note {
  margin: -7px 0 0;
  color: #6d7e74;
  font-size: 0.8rem;
  line-height: 1.6;
}

.invite-task-note i {
  margin-right: 5px;
  color: #a27b36;
}

#loginContainer .fieldmark-card,
#signupContainer .fieldmark-card {
  border-radius: 24px;
  box-shadow:
    0 28px 76px rgba(4, 26, 20, 0.3),
    0 5px 18px rgba(4, 26, 20, 0.12);
}

#loginContainer .fieldmark-brand-hero,
#signupContainer .fieldmark-brand-hero {
  border-radius: 23px 0 0 23px;
}

#loginContainer .fieldmark-field-box input,
#signupContainer .fieldmark-field-box input {
  border-radius: 13px;
}

#loginContainer .fieldmark-btn-submit,
#signupContainer .fieldmark-btn-submit {
  min-height: 50px;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(21, 59, 48, 0.18);
}

#loginContainer .password-toggle-icon,
#signupContainer .password-toggle-icon {
  border-radius: 10px;
}

#invitePage .invite-back-btn-v2 {
  border-radius: 13px;
}

#invitePage .referral-master-card,
#invitePage .earnings-master-card,
#invitePage .how-it-works-card {
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(21, 59, 48, 0.07);
}

#invitePage .referral-inner-brick {
  border-radius: 15px;
}

#invitePage .code-display,
#invitePage .link-display {
  min-height: 44px;
  border-radius: 11px;
}

#invitePage .copy-action-btn,
#invitePage .navigation-pill-btn,
#invitePage .inv-filter-btn {
  border-radius: 11px;
}

#invitePage .tier-value-pill,
#invitePage .tier-badge-indicator,
#invitePage .tier-badge,
#invitePage .tier-card,
#invitePage .sixpack-item-node,
#invitePage .empty-state-vector-wrapper {
  border-radius: 14px;
}

#invitePage .segmented-pill-navigation-wrapper,
#invitePage .investment-filter-row {
  border-radius: 14px;
}

#invitePage .earnings-tier-row {
  border-radius: 12px;
}

@media (max-width: 820px) {
  .invite-task-page {
    width: 100%;
    padding: 24px 20px 112px;
  }
}

@media (max-width: 560px) {
  #loginContainer .fieldmark-card,
  #signupContainer .fieldmark-card {
    border-radius: 22px;
  }

  #loginContainer .fieldmark-brand-hero,
  #signupContainer .fieldmark-brand-hero {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 21px 21px 0 0;
  }

  #invitePage .referral-master-card,
  #invitePage .earnings-master-card,
  #invitePage .how-it-works-card {
    padding: 16px;
    border-radius: 17px;
  }

  #invitePage .referral-inner-brick {
    padding: 12px;
    border-radius: 13px;
  }

  .invite-task-page {
    padding: 20px 15px 106px;
  }

  .invite-task-header {
    gap: 12px;
    margin-bottom: 21px;
  }

  .invite-task-header p {
    font-size: 0.82rem;
  }

  .invite-task-summary {
    flex-wrap: wrap;
    gap: 12px;
    padding: 17px;
    border-radius: 19px;
  }

  .invite-task-summary-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .invite-task-share {
    width: 100%;
    margin: 2px 0 0;
  }

  .invite-task-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .invite-task-card {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 13px 11px;
  }

  .invite-task-card-icon {
    width: 36px;
    height: 36px;
  }

  .invite-task-card-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .invite-task-status {
    text-align: left;
  }

  .invite-task-card-reward strong {
    font-size: 0.9rem;
  }

  .invite-task-claim {
    min-width: 72px;
    padding: 7px 9px;
  }
}
