/* ================================================================
   LOCK//IN UI
   Dark purple / neon space theme
   ================================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --bg-primary:      #080617;
  --bg-secondary:    #0d0b1e;
  --bg-card:         rgba(255,255,255,0.04);
  --bg-card-hover:   rgba(255,255,255,0.07);
  --bg-input:        rgba(255,255,255,0.06);
  --bg-glass:        rgba(13,11,30,0.85);

  --purple-primary:  #7c3aed;
  --purple-light:    #8b5cf6;
  --purple-glow:     #a855f7;
  --purple-dark:     #5b21b6;
  --purple-muted:    rgba(139,92,246,0.15);

  --gold:            #f59e0b;
  --gold-light:      #fbbf24;
  --gold-glow:       rgba(245,158,11,0.4);
  --gold-muted:      rgba(245,158,11,0.12);

  --cyan:            #06b6d4;
  --green:           #10b981;
  --red:             #ef4444;
  --orange:          #f97316;

  --text-primary:    #ffffff;
  --text-secondary:  rgba(255,255,255,0.6);
  --text-muted:      rgba(255,255,255,0.35);
  --text-disabled:   rgba(255,255,255,0.25);

  --border:          rgba(139,92,246,0.2);
  --border-hover:    rgba(139,92,246,0.45);
  --border-gold:     rgba(245,158,11,0.3);

  --success:         #10b981;
  --danger:          #ef4444;
  --warning:         #f59e0b;
  --info:            #06b6d4;

  --radius-sm:       8px;
  --radius-md:       14px;
  --radius-lg:       20px;
  --radius-xl:       28px;
  --radius-full:     9999px;

  --shadow-purple:   0 0 20px rgba(139,92,246,0.3), 0 0 60px rgba(139,92,246,0.1);
  --shadow-gold:     0 0 20px rgba(245,158,11,0.3), 0 0 50px rgba(245,158,11,0.1);
  --shadow-card:     0 4px 24px rgba(0,0,0,0.4);
  --shadow-deep:     0 8px 40px rgba(0,0,0,0.6);

  --font:            'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:    'Exo 2', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition:      all 0.2s ease;
  --transition-slow: all 0.4s ease;

  --nav-height:      68px;
  --top-bar-height:  56px;
  --max-width:       480px;
}

/* ── Withdraw Reference ────────────────────────────────────── */
.lockin-shared-topbar.is-withdraw {
  grid-template-columns: minmax(0, 1fr) 208px;
  gap: 8px;
  margin-bottom: 10px;
}

.lockin-shared-topbar.is-withdraw .lockin-shared-topbar__header-actions {
  width: 208px;
  min-width: 208px;
  max-width: 208px;
}

.lockin-shared-topbar.is-withdraw .lockin-shared-topbar__titlebox {
  padding-top: 7px;
}

.lockin-shared-topbar.is-withdraw .lockin-shared-topbar__title {
  font-size: clamp(25px, 7vw, 32px);
  line-height: 0.9;
  letter-spacing: 0;
}

.lockin-shared-topbar.is-withdraw .lockin-shared-topbar__sparkles {
  width: 34px;
  height: 36px;
  flex-basis: 34px;
}

.lockin-shared-topbar.is-withdraw .lockin-shared-topbar__sparkle {
  width: 28px;
  height: 28px;
  color: #d7ff2c;
  filter: drop-shadow(0 0 12px rgba(197,255,27,0.5));
}

.lockin-shared-topbar.is-withdraw .lockin-shared-topbar__sparkle--mini {
  width: 11px;
  height: 11px;
  top: 22px;
  left: 7px;
}

.withdraw-ref-page {
  background: transparent;
}

.withdraw-ref-page__content {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-top: 4px;
  padding-bottom: 22px;
}

.withdraw-ref-card,
.withdraw-ref-empty {
  border-radius: 22px;
  border: 1px solid rgba(112,165,56,0.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(206,255,35,0.07), rgba(206,255,35,0) 36%),
    linear-gradient(180deg, rgba(13, 30, 28, 0.98) 0%, rgba(8, 20, 20, 0.99) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.withdraw-ref-empty {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.withdraw-ref-empty__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(96,255,62,0.14), rgba(8,47,18,0.16));
  color: #d9ff2d;
}

.withdraw-ref-empty__icon svg {
  width: 24px;
  height: 24px;
}

.withdraw-ref-empty__title {
  font-size: 18px;
  font-weight: 900;
  color: #f2f4ef;
}

.withdraw-ref-empty__text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(225,229,234,0.68);
}

.withdraw-ref-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.withdraw-ref-icon svg {
  width: 100%;
  height: 100%;
}

.withdraw-ref-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  padding: 8px 0 10px;
}

.withdraw-ref-steps__item {
  position: relative;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(225,229,234,0.58);
}

.withdraw-ref-steps__item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(100% - 2px);
  top: 50%;
  width: 8px;
  border-top: 2px dashed rgba(197,255,27,0.2);
  transform: translateY(-50%);
}

.withdraw-ref-steps__item.is-active,
.withdraw-ref-steps__item.is-complete {
  color: #d7ff2c;
}

.withdraw-ref-steps__index {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid currentColor;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  color: inherit;
}

.withdraw-ref-steps__item.is-active .withdraw-ref-steps__index,
.withdraw-ref-steps__item.is-complete .withdraw-ref-steps__index {
  background: rgba(213,255,38,0.08);
  box-shadow: 0 0 18px rgba(204,255,31,0.36);
}

.withdraw-ref-steps__label {
  min-width: 0;
  font-size: 10px;
  line-height: 1.05;
  font-weight: 900;
  color: currentColor;
}

.withdraw-ref-section,
.withdraw-ref-form,
.withdraw-ref-details {
  padding: 14px;
}

.withdraw-ref-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.withdraw-ref-section__head--compact {
  margin-bottom: 12px;
}

.withdraw-ref-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
  color: #f4f6f0;
  text-transform: uppercase;
}

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

.withdraw-ref-crypto-grid .deposit-ref-method-card {
  min-height: 70px;
  padding: 8px 6px;
  border-radius: 15px;
}

.withdraw-ref-crypto-grid .deposit-ref-method-card__main {
  display: grid;
  justify-items: center;
  gap: 5px;
  text-align: center;
}

.withdraw-ref-crypto-grid .deposit-ref-method-card__coin {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

.withdraw-ref-crypto-grid .deposit-ref-method-card__coin svg {
  width: 19px;
  height: 19px;
}

.withdraw-ref-crypto-grid .deposit-ref-method-card__copy {
  width: 100%;
  gap: 2px;
}

.withdraw-ref-crypto-grid .deposit-ref-method-card__copy strong {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
}

.withdraw-ref-crypto-grid .deposit-ref-method-card__copy span {
  font-size: 8px;
  line-height: 1.1;
}

.withdraw-ref-crypto-grid .deposit-ref-method-card__tail {
  position: absolute;
  top: 5px;
  right: 5px;
  display: block;
}

.withdraw-ref-crypto-grid .deposit-ref-method-card__check {
  width: 18px;
  height: 18px;
}

.withdraw-ref-crypto-grid .deposit-ref-method-card__check .deposit-ref-icon {
  width: 13px;
  height: 13px;
}

.withdraw-ref-crypto-grid .deposit-ref-method-card__chevron {
  display: none;
}

.withdraw-ref-form {
  display: grid;
  gap: 14px;
}

.withdraw-ref-method-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.withdraw-ref-method-type__item {
  position: relative;
  min-width: 0;
  min-height: 88px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border-radius: 18px;
  border: 1px solid rgba(114,168,58,0.2);
  background: rgba(9, 27, 24, 0.78);
  color: rgba(225,229,234,0.66);
  text-align: left;
}

.withdraw-ref-method-type__item.is-selected {
  border-color: rgba(208,255,41,0.75);
  background:
    radial-gradient(circle at 78% 0%, rgba(208,255,41,0.1), rgba(208,255,41,0) 34%),
    rgba(13, 40, 27, 0.78);
  color: #f4f6f0;
  box-shadow: 0 0 0 1px rgba(208,255,41,0.1);
}

.withdraw-ref-method-type__item.is-disabled {
  opacity: 0.72;
}

.withdraw-ref-method-type__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #3dff52;
}

.withdraw-ref-method-type__icon .withdraw-ref-icon {
  width: 31px;
  height: 31px;
}

.withdraw-ref-method-type__item.is-disabled .withdraw-ref-method-type__icon {
  color: rgba(225,229,234,0.58);
}

.withdraw-ref-method-type__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.withdraw-ref-method-type__copy strong {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  color: currentColor;
}

.withdraw-ref-method-type__copy span {
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
  color: rgba(225,229,234,0.62);
}

.withdraw-ref-method-type__check {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #d9ff2d;
  color: #20250d;
  box-shadow: 0 0 14px rgba(217,255,45,0.42);
}

.withdraw-ref-method-type__check .deposit-ref-icon {
  width: 15px;
  height: 15px;
}

.withdraw-ref-field {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.withdraw-ref-field__label {
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  color: rgba(225,229,234,0.66);
  text-transform: uppercase;
}

.withdraw-ref-field__hint {
  min-width: 0;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(225,229,234,0.64);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdraw-ref-field__hint strong {
  color: #31ff4c;
}

.withdraw-ref-address,
.withdraw-ref-amount,
.withdraw-ref-network {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 15px;
  border: 1px solid rgba(120,151,143,0.22);
  background: rgba(7, 27, 25, 0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.withdraw-ref-address {
  padding: 5px 6px 5px 14px;
}

.withdraw-ref-address input,
.withdraw-ref-amount input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f4f6f0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.withdraw-ref-address input::placeholder,
.withdraw-ref-amount input::placeholder {
  color: rgba(225,229,234,0.38);
}

.withdraw-ref-address__actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  padding: 2px;
  border-radius: 13px;
  border: 1px solid rgba(206,255,38,0.18);
  background: rgba(58, 83, 15, 0.28);
}

.withdraw-ref-icon-button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 11px;
  background: rgba(58, 83, 15, 0.34);
  color: #d7ff2c;
}

.withdraw-ref-icon-button .withdraw-ref-icon,
.withdraw-ref-icon-button .deposit-ref-icon {
  width: 21px;
  height: 21px;
}

.withdraw-ref-network {
  justify-content: space-between;
  padding: 0 14px;
  color: rgba(225,229,234,0.72);
  font-size: 16px;
  font-weight: 900;
  text-align: left;
}

.withdraw-ref-network__chevron {
  width: 18px;
  height: 18px;
  color: rgba(225,229,234,0.68);
}

.withdraw-ref-network__chevron .deposit-ref-icon {
  width: 100%;
  height: 100%;
}

.withdraw-ref-amount-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 10px;
  align-items: end;
}

.withdraw-ref-amount {
  padding: 0 14px;
}

.withdraw-ref-amount input {
  font-size: 24px;
}

.withdraw-ref-amount__currency {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 900;
  color: rgba(225,229,234,0.74);
  text-transform: uppercase;
}

.withdraw-ref-receive {
  display: grid;
  gap: 8px;
}

.withdraw-ref-max {
  width: 100%;
  min-height: 56px;
  border-radius: 15px;
  border: 1px solid rgba(208,255,41,0.48);
  background: rgba(48, 71, 14, 0.48);
  color: #d7ff2c;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 16px rgba(208,255,41,0.12);
}

.withdraw-ref-receive__copy {
  display: grid;
  gap: 3px;
  text-align: left;
}

.withdraw-ref-receive__copy span {
  font-size: 10px;
  line-height: 1.1;
  font-weight: 800;
  color: rgba(225,229,234,0.56);
}

.withdraw-ref-receive__copy strong {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
  color: #31ff4c;
  white-space: nowrap;
}

.withdraw-ref-receive__copy em {
  font-style: normal;
  font-size: 12px;
  color: rgba(225,229,234,0.7);
}

.withdraw-ref-details__list {
  display: grid;
  gap: 0;
}

.withdraw-ref-details__row {
  min-width: 0;
  min-height: 38px;
  display: grid;
  grid-template-columns: auto minmax(14px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.withdraw-ref-details__label {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(225,229,234,0.66);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.withdraw-ref-details__label .deposit-ref-icon,
.withdraw-ref-details__label .withdraw-ref-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: #31ff4c;
}

.withdraw-ref-details__label .withdraw-ref-icon:last-child {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
  color: rgba(225,229,234,0.5);
}

.withdraw-ref-details__line {
  min-width: 0;
  border-top: 1px dashed rgba(225,229,234,0.09);
}

.withdraw-ref-details__row strong {
  min-width: 0;
  max-width: 132px;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  color: #f4f6f0;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.withdraw-ref-security {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(112,165,56,0.28);
  background:
    radial-gradient(circle at 10% 50%, rgba(49,255,76,0.12), rgba(49,255,76,0) 36%),
    rgba(10, 29, 24, 0.9);
}

.withdraw-ref-security__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #31ff4c;
  filter: drop-shadow(0 0 13px rgba(49,255,76,0.44));
}

.withdraw-ref-security__icon .withdraw-ref-icon {
  width: 36px;
  height: 36px;
}

.withdraw-ref-security p {
  margin: 0;
  font-size: 12px;
  line-height: 1.42;
  font-weight: 700;
  color: rgba(225,229,234,0.72);
}

.withdraw-ref-cta {
  width: 100%;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #dfff16 0%, #c8f40a 100%);
  color: #102011;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow:
    0 18px 34px rgba(178,255,16,0.18),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

.withdraw-ref-cta:disabled {
  opacity: 0.72;
}

.withdraw-ref-cta__arrow {
  width: 22px;
  height: 22px;
}

.withdraw-ref-cta__arrow .deposit-ref-icon {
  width: 100%;
  height: 100%;
}

@media (max-width: 420px) {
  .lockin-shared-topbar.is-withdraw {
    grid-template-columns: minmax(0, 1fr) 198px;
    gap: 7px;
  }

  .lockin-shared-topbar.is-withdraw .lockin-shared-topbar__header-actions {
    width: 198px;
    min-width: 198px;
    max-width: 198px;
  }

  .lockin-shared-topbar.is-withdraw .lockin-shared-topbar__title {
    font-size: clamp(24px, 7vw, 30px);
  }

  .lockin-shared-topbar.is-withdraw .lockin-shared-topbar__sparkles {
    width: 28px;
    height: 30px;
    flex-basis: 28px;
  }

  .lockin-shared-topbar.is-withdraw .lockin-shared-topbar__sparkle {
    width: 22px;
    height: 22px;
  }

  .lockin-shared-topbar.is-withdraw .lockin-shared-topbar__sparkle--mini {
    width: 10px;
    height: 10px;
    top: 18px;
    left: 6px;
  }

  .withdraw-ref-page__content {
    gap: 12px;
  }

  .withdraw-ref-steps {
    gap: 6px;
  }

  .withdraw-ref-steps__item {
    gap: 5px;
  }

  .withdraw-ref-steps__item:not(:last-child)::after {
    left: calc(100% - 1px);
    width: 6px;
  }

  .withdraw-ref-steps__index {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: 13px;
  }

  .withdraw-ref-steps__label {
    font-size: 9px;
  }

  .withdraw-ref-section,
  .withdraw-ref-form,
  .withdraw-ref-details {
    padding: 12px;
  }

  .withdraw-ref-section__title {
    font-size: 17px;
  }

  .withdraw-ref-crypto-grid {
    gap: 7px;
  }

  .withdraw-ref-crypto-grid .deposit-ref-method-card {
    min-height: 66px;
    padding: 7px 5px;
  }

  .withdraw-ref-crypto-grid .deposit-ref-method-card__coin {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .withdraw-ref-crypto-grid .deposit-ref-method-card__copy strong {
    font-size: 11px;
  }

  .withdraw-ref-crypto-grid .deposit-ref-method-card__copy span {
    font-size: 7px;
  }

  .withdraw-ref-method-type {
    gap: 8px;
  }

  .withdraw-ref-method-type__item {
    min-height: 82px;
    grid-template-columns: 32px minmax(0, 1fr) 18px;
    gap: 7px;
    padding: 9px;
    border-radius: 16px;
  }

  .withdraw-ref-method-type__icon {
    width: 32px;
    height: 32px;
  }

  .withdraw-ref-method-type__icon .withdraw-ref-icon {
    width: 26px;
    height: 26px;
  }

  .withdraw-ref-method-type__copy strong {
    font-size: 14px;
  }

  .withdraw-ref-method-type__copy span {
    font-size: 9px;
  }

  .withdraw-ref-address,
  .withdraw-ref-amount,
  .withdraw-ref-network {
    min-height: 52px;
  }

  .withdraw-ref-address input,
  .withdraw-ref-amount input {
    font-size: 18px;
  }

  .withdraw-ref-icon-button {
    width: 36px;
    height: 36px;
  }

  .withdraw-ref-amount-row {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 8px;
  }

  .withdraw-ref-max {
    min-height: 52px;
    font-size: 16px;
  }

  .withdraw-ref-receive__copy strong {
    font-size: 20px;
  }

  .withdraw-ref-details__row {
    min-height: 36px;
    gap: 6px;
  }

  .withdraw-ref-details__label {
    gap: 6px;
    font-size: 10px;
  }

  .withdraw-ref-details__row strong {
    max-width: 118px;
    font-size: 11px;
  }

  .withdraw-ref-security {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    min-height: 66px;
    padding: 11px 12px;
  }

  .withdraw-ref-security__icon {
    width: 38px;
    height: 38px;
  }

  .withdraw-ref-security__icon .withdraw-ref-icon {
    width: 32px;
    height: 32px;
  }

  .withdraw-ref-security p {
    font-size: 11px;
  }

  .withdraw-ref-cta {
    min-height: 60px;
    font-size: 16px;
  }
}

@media (max-width: 370px) {
  .withdraw-ref-steps__label {
    display: none;
  }

  .withdraw-ref-steps__item {
    justify-content: center;
  }

  .withdraw-ref-steps__item:not(:last-child)::after {
    left: calc(100% - 6px);
    width: 12px;
  }

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

  .withdraw-ref-crypto-grid .deposit-ref-method-card__main {
    grid-template-columns: 30px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .withdraw-ref-method-type {
    grid-template-columns: 1fr;
  }

  .withdraw-ref-amount-row {
    grid-template-columns: 1fr;
  }

  .withdraw-ref-receive {
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
  }

  .withdraw-ref-details__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .withdraw-ref-details__line {
    display: none;
  }
}

/* ── Deposit Reference ─────────────────────────────────────── */
.lockin-shared-topbar.is-deposit {
  grid-template-columns: minmax(0, 1fr) 228px;
  gap: 8px;
  margin-bottom: 12px;
}

.lockin-shared-topbar.is-deposit .lockin-shared-topbar__titlebox {
  padding-top: 9px;
}

.lockin-shared-topbar.is-deposit .lockin-shared-topbar__title {
  font-size: clamp(30px, 7vw, 40px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.lockin-shared-topbar.is-deposit .lockin-shared-topbar__sparkles {
  width: 38px;
  height: 40px;
  flex-basis: 38px;
}

.lockin-shared-topbar.is-deposit .lockin-shared-topbar__sparkle {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 11px rgba(197,255,27,0.5));
}

.lockin-shared-topbar.is-deposit .lockin-shared-topbar__sparkle--mini {
  width: 12px;
  height: 12px;
  top: 24px;
  left: 7px;
}

.deposit-ref-page {
  background: transparent;
}

.deposit-ref-page__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
  padding-bottom: 22px;
}

.deposit-ref-page.is-confirm .deposit-ref-preflight {
  display: none;
}

.deposit-ref-card,
.deposit-ref-empty {
  border-radius: 24px;
  border: 1px solid rgba(112,165,56,0.2);
  background: linear-gradient(180deg, rgba(13, 28, 27, 0.98) 0%, rgba(8, 18, 22, 0.99) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.deposit-ref-empty {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
}

.deposit-ref-empty__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(96,255,62,0.14), rgba(8,47,18,0.16));
  color: #d9ff2d;
}

.deposit-ref-empty__icon svg {
  width: 24px;
  height: 24px;
}

.deposit-ref-empty__title {
  font-size: 18px;
  font-weight: 900;
  color: #f2f4ef;
}

.deposit-ref-empty__text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(225,229,234,0.68);
}

.deposit-ref-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.deposit-ref-icon svg {
  width: 100%;
  height: 100%;
}

.deposit-ref-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.deposit-ref-steps__item {
  position: relative;
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 20px;
  border: 1px solid rgba(114,168,58,0.18);
  background: rgba(10, 22, 22, 0.92);
  color: rgba(225,229,234,0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.deposit-ref-steps__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -12px;
  width: 12px;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(210,255,44,0), rgba(210,255,44,0.24), rgba(210,255,44,0));
}

.deposit-ref-steps__item.is-active {
  color: #d9ff2d;
  border-color: rgba(162,255,56,0.34);
  background:
    radial-gradient(circle at 12% 50%, rgba(211,255,41,0.12), rgba(211,255,41,0) 52%),
    linear-gradient(180deg, rgba(14, 34, 22, 0.98) 0%, rgba(10, 20, 18, 0.99) 100%);
}

.deposit-ref-steps__item.is-complete {
  color: rgba(225,229,234,0.86);
}

.deposit-ref-steps__item.is-active::before {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(215,255,45,0.2), #d7ff2d, rgba(215,255,45,0.2));
  box-shadow: 0 0 18px rgba(215,255,45,0.24);
}

.deposit-ref-steps__index {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid rgba(170,184,199,0.42);
  color: inherit;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
}

.deposit-ref-steps__item.is-active .deposit-ref-steps__index,
.deposit-ref-steps__item.is-complete .deposit-ref-steps__index {
  border-color: #d7ff2d;
}

.deposit-ref-steps__label {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.deposit-ref-preflight {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deposit-ref-section {
  padding: 18px 18px 16px;
}

.deposit-ref-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.deposit-ref-section__head--tight,
.deposit-ref-section__head--compact {
  margin-bottom: 14px;
}

.deposit-ref-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 32px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #eff2ea;
}

.deposit-ref-section__action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #33f541;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.deposit-ref-section__action .deposit-ref-icon {
  width: 22px;
  height: 22px;
}

.deposit-ref-section__action--static {
  pointer-events: none;
  opacity: 0.9;
}

.deposit-ref-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.deposit-ref-method-card {
  position: relative;
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(118,170,57,0.2);
  background: linear-gradient(180deg, rgba(13, 31, 26, 0.98), rgba(8, 20, 19, 0.99));
  color: #f1f3ee;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.deposit-ref-method-card.is-selected {
  border-color: rgba(208,255,41,0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 0 0 1px rgba(208,255,41,0.12);
}

.deposit-ref-method-card__main {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.deposit-ref-method-card__coin {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,0.34), rgba(255,255,255,0) 34%),
    radial-gradient(circle at 50% 118%, rgba(255,255,255,0.14), rgba(255,255,255,0) 52%),
    linear-gradient(180deg, rgba(26, 47, 45, 0.98), rgba(7, 17, 18, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -10px 18px rgba(0,0,0,0.18);
  isolation: isolate;
}

.deposit-ref-method-card__coin::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,0.16), rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0) 28%),
    radial-gradient(circle at 50% 100%, rgba(0,0,0,0.28), rgba(0,0,0,0) 54%);
  pointer-events: none;
  z-index: 0;
}

.deposit-ref-method-card__coin::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 7px;
  width: 55%;
  height: 28%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.48), rgba(255,255,255,0));
  opacity: 0.72;
  transform: rotate(-18deg);
  filter: blur(1px);
  pointer-events: none;
  z-index: 2;
}

.deposit-ref-method-card__coin img {
  display: block;
  position: relative;
  z-index: 1;
  width: 76%;
  height: 76%;
  object-fit: contain;
  transform: translateY(1px);
  filter:
    drop-shadow(0 5px 8px rgba(0,0,0,0.26))
    saturate(1.08)
    contrast(1.04);
}

.deposit-ref-method-card__coin img.is-monochrome-brand {
  width: 60%;
  height: 60%;
  filter:
    brightness(0)
    invert(1)
    drop-shadow(0 5px 8px rgba(0,0,0,0.3));
}

.deposit-ref-method-card__coin svg {
  width: 26px;
  height: 26px;
}

.deposit-ref-method-card__coin.has-network-badge {
  overflow: visible;
}

.deposit-ref-method-card__network {
  position: absolute;
  right: -6px;
  bottom: -5px;
  z-index: 4;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid #071615;
  background: #081918;
  box-shadow:
    0 4px 8px rgba(0,0,0,0.32),
    0 0 12px rgba(92,255,68,0.16);
}

.deposit-ref-method-card__network.tone-trc20 {
  background: #ff253a;
}

.deposit-ref-method-card__network.tone-erc20 {
  background: #627eea;
}

.deposit-ref-method-card__network.tone-bep20 {
  background: #f3ba2f;
}

.deposit-ref-method-card__network.tone-ton {
  background: #0098ea;
}

.deposit-ref-method-card__network img {
  display: block;
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.deposit-ref-method-card__network img.is-monochrome-brand {
  width: 68%;
  height: 68%;
  filter: brightness(0) invert(1);
}

.deposit-ref-method-card__coin.tone-mint {
  background:
    radial-gradient(circle at 26% 20%, rgba(255,255,255,0.38), rgba(255,255,255,0) 30%),
    radial-gradient(circle at 68% 88%, rgba(64,255,180,0.22), rgba(64,255,180,0) 46%),
    linear-gradient(180deg, rgba(18, 83, 72, 0.98), rgba(8, 23, 25, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -10px 18px rgba(0,0,0,0.18),
    0 0 20px rgba(46,240,148,0.18);
}

.deposit-ref-method-card__coin.tone-stone {
  background:
    radial-gradient(circle at 26% 20%, rgba(255,255,255,0.38), rgba(255,255,255,0) 30%),
    radial-gradient(circle at 68% 88%, rgba(187,202,214,0.18), rgba(187,202,214,0) 46%),
    linear-gradient(180deg, rgba(92, 109, 118, 0.98), rgba(22, 27, 31, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -10px 18px rgba(0,0,0,0.18),
    0 0 20px rgba(186,199,210,0.14);
}

.deposit-ref-method-card__coin.tone-amber {
  background:
    radial-gradient(circle at 26% 20%, rgba(255,255,255,0.38), rgba(255,255,255,0) 30%),
    radial-gradient(circle at 68% 88%, rgba(255,182,64,0.24), rgba(255,182,64,0) 46%),
    linear-gradient(180deg, rgba(120, 69, 18, 0.98), rgba(36, 20, 11, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -10px 18px rgba(0,0,0,0.18),
    0 0 22px rgba(245,166,35,0.22);
}

.deposit-ref-method-card__coin.tone-indigo {
  background:
    radial-gradient(circle at 26% 20%, rgba(255,255,255,0.38), rgba(255,255,255,0) 30%),
    radial-gradient(circle at 68% 88%, rgba(117,137,255,0.24), rgba(117,137,255,0) 46%),
    linear-gradient(180deg, rgba(49, 69, 146, 0.98), rgba(16, 20, 46, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -10px 18px rgba(0,0,0,0.18),
    0 0 22px rgba(93,124,255,0.2);
}

.deposit-ref-method-card__coin.tone-gold {
  background:
    radial-gradient(circle at 26% 20%, rgba(255,255,255,0.38), rgba(255,255,255,0) 30%),
    radial-gradient(circle at 68% 88%, rgba(255,219,86,0.22), rgba(255,219,86,0) 46%),
    linear-gradient(180deg, rgba(126, 88, 14, 0.98), rgba(39, 25, 8, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -10px 18px rgba(0,0,0,0.18),
    0 0 22px rgba(246,198,47,0.2);
}

.deposit-ref-method-card__coin.tone-violet {
  background:
    radial-gradient(circle at 26% 20%, rgba(255,255,255,0.38), rgba(255,255,255,0) 30%),
    radial-gradient(circle at 68% 88%, rgba(140,92,255,0.24), rgba(140,92,255,0) 46%),
    linear-gradient(180deg, rgba(46, 20, 96, 0.98), rgba(13, 12, 24, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -10px 18px rgba(0,0,0,0.18),
    0 0 22px rgba(123,85,255,0.22);
}

.deposit-ref-method-card__coin.tone-azure {
  background:
    radial-gradient(circle at 26% 20%, rgba(255,255,255,0.38), rgba(255,255,255,0) 30%),
    radial-gradient(circle at 68% 88%, rgba(86,178,255,0.22), rgba(86,178,255,0) 46%),
    linear-gradient(180deg, rgba(22, 75, 148, 0.98), rgba(10, 22, 48, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -10px 18px rgba(0,0,0,0.18),
    0 0 22px rgba(60,124,225,0.2);
}

.deposit-ref-method-card__coin.tone-mono {
  background:
    radial-gradient(circle at 26% 20%, rgba(255,255,255,0.34), rgba(255,255,255,0) 30%),
    radial-gradient(circle at 68% 88%, rgba(211,218,224,0.18), rgba(211,218,224,0) 46%),
    linear-gradient(180deg, rgba(54, 60, 66, 0.98), rgba(11, 14, 17, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -10px 18px rgba(0,0,0,0.18),
    0 0 18px rgba(176,184,194,0.16);
}

.deposit-ref-method-card__coin.tone-balance {
  color: #d9ff2d;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,0.42), rgba(255,255,255,0) 30%),
    radial-gradient(circle at 68% 86%, rgba(92,255,68,0.28), rgba(92,255,68,0) 48%),
    linear-gradient(180deg, rgba(31, 104, 45, 0.98), rgba(7, 28, 19, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -10px 18px rgba(0,0,0,0.22),
    0 0 24px rgba(108,255,70,0.22);
}

.deposit-ref-method-card--balance {
  grid-column: 1 / -1;
  min-height: 76px;
  background:
    radial-gradient(circle at 12% 18%, rgba(215,255,25,0.12), transparent 38%),
    linear-gradient(180deg, rgba(12, 42, 29, 0.98), rgba(6, 21, 18, 0.99));
}

.deposit-ref-method-card__fallback {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f5f6ef;
}

.deposit-ref-method-card.is-selected .deposit-ref-method-card__coin {
  transform: translateY(-1px) scale(1.02);
}

.deposit-ref-method-card__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.deposit-ref-method-card__copy strong {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #f4f5ef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deposit-ref-method-card__copy span {
  font-size: 11px;
  line-height: 1.15;
  color: rgba(225,229,234,0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deposit-ref-method-card__tail {
  display: grid;
  justify-items: end;
  gap: 16px;
}

.deposit-ref-method-card__check {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #d9ff2d;
  color: #20250d;
  opacity: 0;
}

.deposit-ref-method-card.is-selected .deposit-ref-method-card__check {
  opacity: 1;
}

.deposit-ref-method-card__check .deposit-ref-icon {
  width: 100%;
  height: 100%;
}

.deposit-ref-method-card__check .deposit-ref-icon svg {
  width: 14px;
  height: 14px;
}

.deposit-ref-method-card__chevron {
  width: 16px;
  height: 16px;
  color: rgba(225,229,234,0.24);
}

.deposit-ref-method-card__chevron .deposit-ref-icon {
  width: 100%;
  height: 100%;
}

.deposit-ref-selected-method {
  margin-top: 12px;
  min-height: 66px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(92,255,68,0.22);
  background:
    radial-gradient(circle at 12% 8%, rgba(92,255,68,0.18), rgba(92,255,68,0) 38%),
    linear-gradient(135deg, rgba(11, 34, 27, 0.98), rgba(6, 18, 18, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 16px 26px rgba(0,0,0,0.2);
}

.deposit-ref-selected-method__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.deposit-ref-selected-method__icon .deposit-ref-method-card__coin {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.deposit-ref-selected-method__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.deposit-ref-selected-method__copy span,
.deposit-ref-selected-method__copy em {
  font-family: var(--font-display);
  font-style: normal;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.deposit-ref-selected-method__copy span {
  font-size: 12px;
  color: rgba(225,229,234,0.56);
}

.deposit-ref-selected-method__copy strong {
  min-width: 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: #eff5ef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deposit-ref-selected-method__copy em {
  font-size: 11px;
  color: #50ff5b;
}

.deposit-ref-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.deposit-ref-plan-card {
  position: relative;
  min-height: 286px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 14px 12px 12px;
  border-radius: 20px;
  border: 1px solid rgba(117,170,59,0.2);
  color: #f2f4ef;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.deposit-ref-plan-card.tone-lime {
  background: linear-gradient(180deg, rgba(16, 47, 24, 0.98), rgba(10, 24, 18, 0.99));
}

.deposit-ref-plan-card.tone-bronze {
  background: linear-gradient(180deg, rgba(52, 42, 16, 0.96), rgba(28, 23, 10, 0.99));
}

.deposit-ref-plan-card.tone-silver {
  background: linear-gradient(180deg, rgba(22, 33, 40, 0.98), rgba(12, 19, 24, 0.99));
}

.deposit-ref-plan-card.tone-gold {
  background: linear-gradient(180deg, rgba(46, 43, 15, 0.98), rgba(23, 20, 9, 0.99));
}

.deposit-ref-plan-card.is-selected {
  border-color: rgba(208,255,41,0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 0 0 1px rgba(208,255,41,0.12);
}

.deposit-ref-plan-card__head {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 8px;
}

.deposit-ref-plan-card__badge {
  width: 18px;
  height: 18px;
  color: #ffd84f;
}

.deposit-ref-plan-card__badge .deposit-ref-icon {
  width: 100%;
  height: 100%;
}

.deposit-ref-plan-card__head strong {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #f5f6ef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deposit-ref-plan-card__check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #d9ff2d;
  color: #20250d;
  opacity: 0;
}

.deposit-ref-plan-card.is-selected .deposit-ref-plan-card__check {
  opacity: 1;
}

.deposit-ref-plan-card__check .deposit-ref-icon {
  width: 100%;
  height: 100%;
}

.deposit-ref-plan-card__check .deposit-ref-icon svg {
  width: 12px;
  height: 12px;
}

.deposit-ref-plan-card__desc {
  min-height: 34px;
  font-size: 11px;
  line-height: 1.22;
  color: rgba(225,229,234,0.78);
}

.deposit-ref-plan-card__boost {
  display: grid;
  gap: 5px;
  justify-items: center;
  margin-top: 6px;
  text-align: center;
}

.deposit-ref-plan-card__boost strong {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #5cff44;
}

.deposit-ref-plan-card__boost span {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #40ff3d;
}

.deposit-ref-plan-card__slots {
  display: grid;
  gap: 6px;
  justify-items: center;
  margin-top: 4px;
  text-align: center;
}

.deposit-ref-plan-card__slots strong {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: #f6f7f0;
}

.deposit-ref-plan-card__slots span {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.72);
}

.deposit-ref-plan-card__price {
  margin-top: auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(7, 20, 18, 0.46);
  color: #f4f5ef;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.deposit-ref-plan-card__price .deposit-ref-icon {
  width: 18px;
  height: 18px;
  color: #ffd84f;
}

.deposit-ref-quick {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.88fr);
  gap: 16px;
  align-items: stretch;
  padding: 16px;
  border-color: rgba(217,255,45,0.38);
  background:
    radial-gradient(circle at 12% 4%, rgba(217,255,45,0.28), rgba(217,255,45,0) 34%),
    radial-gradient(circle at 90% 18%, rgba(77,255,92,0.16), rgba(77,255,92,0) 38%),
    linear-gradient(135deg, rgba(18, 48, 27, 0.98), rgba(6, 19, 18, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 22px 42px rgba(0,0,0,0.26),
    0 0 34px rgba(116,255,58,0.08);
}

.deposit-ref-quick::after {
  content: '';
  position: absolute;
  right: -68px;
  top: -68px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(217,255,45,0.2), rgba(217,255,45,0) 68%);
  pointer-events: none;
}

.deposit-ref-quick__main,
.deposit-ref-quick__wallet {
  position: relative;
  z-index: 1;
}

.deposit-ref-quick__main {
  display: grid;
  align-content: center;
  gap: 9px;
}

.deposit-ref-quick__badge {
  justify-self: start;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(217,255,45,0.12);
  border: 1px solid rgba(217,255,45,0.32);
  color: #d9ff2d;
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.deposit-ref-quick__main h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 6.5vw, 58px);
  line-height: 0.86;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  color: #f7f9f0;
}

.deposit-ref-quick__main p {
  max-width: 390px;
  margin: 0;
  font-size: 13px;
  line-height: 1.25;
  color: rgba(229,236,228,0.72);
}

.deposit-ref-quick__wallet {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.08), rgba(255,255,255,0) 34%),
    rgba(5, 18, 17, 0.68);
}

.deposit-ref-quick__route {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 16px;
  background: rgba(7, 24, 21, 0.86);
}

.deposit-ref-quick__route .deposit-ref-method-card__coin {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

.deposit-ref-quick__route span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.deposit-ref-quick__route em,
.deposit-ref-quick__amount span,
.deposit-ref-quick__amount small {
  font-family: var(--font-display);
  font-style: normal;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.deposit-ref-quick__route em,
.deposit-ref-quick__amount span {
  font-size: 11px;
  color: rgba(225,229,234,0.54);
}

.deposit-ref-quick__route strong {
  min-width: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #f5f7f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deposit-ref-quick__amount {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(217,255,45,0.12), rgba(43,255,77,0.05)),
    rgba(8, 24, 20, 0.82);
}

.deposit-ref-quick__amount strong {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 0.86;
  letter-spacing: -0.06em;
  color: #d9ff2d;
}

.deposit-ref-quick__amount strong em {
  font-size: 17px;
  font-style: normal;
  letter-spacing: -0.035em;
  color: rgba(247,249,240,0.86);
}

.deposit-ref-quick__amount small {
  font-size: 11px;
  color: rgba(225,229,234,0.62);
}

.deposit-ref-quick__cta {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px 0 16px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #e9ff35, #91f51c);
  color: #0c1711;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  box-shadow:
    0 12px 24px rgba(142,255,35,0.18),
    inset 0 1px 0 rgba(255,255,255,0.48);
}

.deposit-ref-quick__cta:disabled {
  opacity: 0.72;
}

.deposit-ref-quick__arrow {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(8, 21, 15, 0.12);
}

.deposit-ref-quick__arrow .deposit-ref-icon {
  width: 18px;
  height: 18px;
}

.deposit-ref-plan-select {
  position: relative;
  display: grid;
  gap: 10px;
}

.deposit-ref-plan-select__trigger {
  width: 100%;
  min-height: 86px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 28px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(208,255,41,0.34);
  color: #f3f5ef;
  text-align: left;
  background:
    radial-gradient(circle at 12% 0%, rgba(208,255,41,0.22), rgba(208,255,41,0) 36%),
    linear-gradient(135deg, rgba(15, 42, 27, 0.98), rgba(7, 20, 18, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 18px 32px rgba(0,0,0,0.22);
}

.deposit-ref-plan-select__trigger.tone-bronze {
  border-color: rgba(234, 159, 62, 0.36);
  background:
    radial-gradient(circle at 12% 0%, rgba(234,159,62,0.2), rgba(234,159,62,0) 36%),
    linear-gradient(135deg, rgba(44, 33, 14, 0.98), rgba(9, 20, 17, 0.99));
}

.deposit-ref-plan-select__trigger.tone-silver {
  border-color: rgba(190, 218, 230, 0.32);
  background:
    radial-gradient(circle at 12% 0%, rgba(190,218,230,0.18), rgba(190,218,230,0) 36%),
    linear-gradient(135deg, rgba(21, 34, 39, 0.98), rgba(8, 20, 18, 0.99));
}

.deposit-ref-plan-select__trigger.tone-gold {
  border-color: rgba(255, 219, 86, 0.4);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,219,86,0.22), rgba(255,219,86,0) 36%),
    linear-gradient(135deg, rgba(48, 41, 13, 0.98), rgba(9, 20, 17, 0.99));
}

.deposit-ref-plan-select__badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #d9ff2d;
  background: rgba(8, 20, 18, 0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.deposit-ref-plan-select__badge .deposit-ref-icon {
  width: 24px;
  height: 24px;
}

.deposit-ref-plan-select__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.deposit-ref-plan-select__copy span,
.deposit-ref-plan-select__copy em,
.deposit-ref-plan-select__side em {
  font-family: var(--font-display);
  font-style: normal;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.deposit-ref-plan-select__copy span {
  font-size: 12px;
  color: #d9ff2d;
}

.deposit-ref-plan-select__copy strong {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #f5f7f0;
}

.deposit-ref-plan-select__copy em {
  max-width: 320px;
  font-size: 11px;
  color: rgba(225,229,234,0.68);
}

.deposit-ref-plan-select__side {
  display: grid;
  gap: 4px;
  justify-items: end;
  padding: 9px 11px;
  border-radius: 15px;
  background: rgba(5, 17, 16, 0.58);
}

.deposit-ref-plan-select__side strong {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: #fff;
  white-space: nowrap;
}

.deposit-ref-plan-select__side em {
  font-size: 11px;
  color: rgba(225,229,234,0.62);
  white-space: nowrap;
}

.deposit-ref-plan-select__chevron {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #081513;
  background: #d9ff2d;
  transition: transform 0.18s ease;
}

.deposit-ref-plan-select__chevron .deposit-ref-icon {
  width: 16px;
  height: 16px;
}

.deposit-ref-plan-select.is-open .deposit-ref-plan-select__chevron {
  transform: rotate(90deg);
}

.deposit-ref-plan-select__menu {
  display: none;
  gap: 8px;
}

.deposit-ref-plan-select.is-open .deposit-ref-plan-select__menu {
  display: grid;
}

.deposit-ref-plan-option {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 17px;
  border: 1px solid rgba(117,170,59,0.18);
  background: rgba(7, 21, 19, 0.78);
  color: #f1f3ee;
  text-align: left;
}

.deposit-ref-plan-option.is-selected {
  border-color: rgba(208,255,41,0.66);
  background:
    radial-gradient(circle at 6% 0%, rgba(208,255,41,0.16), rgba(208,255,41,0) 42%),
    rgba(9, 31, 23, 0.94);
}

.deposit-ref-plan-option__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.deposit-ref-plan-option__copy strong {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #f4f6ef;
}

.deposit-ref-plan-option__copy span {
  min-width: 0;
  font-size: 11px;
  line-height: 1.18;
  color: rgba(225,229,234,0.66);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deposit-ref-plan-option__meta {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.deposit-ref-plan-option__meta b {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #d9ff2d;
  white-space: nowrap;
}

.deposit-ref-plan-option__meta em {
  font-family: var(--font-display);
  font-size: 10px;
  font-style: normal;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.56);
  white-space: nowrap;
}

.deposit-ref-plan-select__details {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(92,255,68,0.14);
  background: rgba(4, 17, 16, 0.52);
}

.deposit-ref-plan-select__details-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.deposit-ref-plan-select__details-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #d9ff2d;
  background: rgba(92,255,68,0.1);
}

.deposit-ref-plan-select__details-icon .deposit-ref-icon {
  width: 20px;
  height: 20px;
}

.deposit-ref-plan-select__details-head div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.deposit-ref-plan-select__details-head strong,
.deposit-ref-plan-select__details-head span,
.deposit-ref-plan-select__details-list span {
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.deposit-ref-plan-select__details-head strong {
  font-size: 16px;
  color: #eff3ee;
}

.deposit-ref-plan-select__details-head span {
  font-size: 11px;
  color: rgba(225,229,234,0.56);
}

.deposit-ref-plan-select__details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.deposit-ref-plan-select__details-list span {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(8, 25, 22, 0.78);
  font-size: 10px;
  color: rgba(235,240,232,0.78);
}

.deposit-ref-plan-select__details-list .deposit-ref-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: #d9ff2d;
}

.deposit-ref-amount {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.6fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.deposit-ref-amount__field {
  min-width: 0;
}

.deposit-ref-amount__inputwrap {
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: 20px;
  border: 1px solid rgba(126,167,62,0.26);
  background: rgba(9, 20, 22, 0.96);
}

.deposit-ref-amount__inputwrap input {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
  color: #f6f7ef;
  font-family: var(--font-display);
  font-size: clamp(32px, 5.8vw, 48px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.deposit-ref-amount__inputwrap input::placeholder {
  color: rgba(225,229,234,0.34);
}

.deposit-ref-amount__suffix {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.52);
}

.deposit-ref-amount__hint {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.28;
  color: rgba(225,229,234,0.58);
}

.deposit-ref-amount__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 14px;
  align-items: center;
}

.deposit-ref-amount__copy {
  min-width: 0;
}

.deposit-ref-amount__eyebrow {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.7);
}

.deposit-ref-amount__value {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: #5fff43;
}

.deposit-ref-amount__value span {
  font-size: 0.45em;
  color: #f4f5ef;
}

.deposit-ref-amount__note {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.32;
  color: rgba(225,229,234,0.72);
}

.deposit-ref-amount__art {
  justify-self: end;
  width: 148px;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,0.22));
}

.deposit-ref-amount__art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.deposit-ref-details {
  padding: 18px 18px 16px;
}

.deposit-ref-details__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.deposit-ref-details__row {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.deposit-ref-details__row + .deposit-ref-details__row {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.deposit-ref-details__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  color: rgba(225,229,234,0.74);
}

.deposit-ref-details__glyph {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.deposit-ref-details__glyph .deposit-ref-icon {
  width: 100%;
  height: 100%;
}

.deposit-ref-details__glyph.tone-green {
  color: #35ff44;
}

.deposit-ref-details__line {
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}

.deposit-ref-details__row strong {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #f5f6ef;
  text-align: right;
}

.deposit-ref-actions {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.deposit-ref-cta {
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  padding: 0 34px;
  border-radius: 999px;
  border: 1px solid rgba(232,255,91,0.34);
  background: linear-gradient(180deg, #eaff2b 0%, #d7ff1f 100%);
  color: #27300f;
  box-shadow: 0 20px 30px rgba(215,255,45,0.18);
}

.deposit-ref-cta.is-loading {
  opacity: 0.88;
}

.deposit-ref-cta__label {
  justify-self: center;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.8vw, 40px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.deposit-ref-cta__arrow {
  width: 24px;
  height: 24px;
}

.deposit-ref-cta__arrow .deposit-ref-icon {
  width: 100%;
  height: 100%;
}

.deposit-ref-secondary,
.deposit-ref-copy {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(114,168,58,0.2);
  background: rgba(10, 24, 22, 0.94);
  color: rgba(225,229,234,0.82);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.deposit-ref-secondary .deposit-ref-icon,
.deposit-ref-copy .deposit-ref-icon {
  width: 18px;
  height: 18px;
}

.deposit-ref-confirm {
  padding: 18px;
  display: grid;
  gap: 16px;
}

.deposit-ref-confirm__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.deposit-ref-confirm__eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.54);
}

.deposit-ref-confirm__title {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 38px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #f2f4ef;
}

.deposit-ref-confirm__status {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(114,168,58,0.2);
  background: rgba(11, 29, 21, 0.94);
  color: #49ff5d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.deposit-ref-confirm__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.deposit-ref-confirm__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(114,168,58,0.18);
  background: rgba(10, 24, 23, 0.9);
}

.deposit-ref-confirm__method {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.deposit-ref-confirm__method .deposit-ref-method-card__coin {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
}

.deposit-ref-confirm__method .deposit-ref-method-card__coin svg {
  width: 30px;
  height: 30px;
}

.deposit-ref-confirm__method-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.deposit-ref-confirm__method-copy span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.54);
}

.deposit-ref-confirm__method-copy strong {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.4vw, 36px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: #f5f6ef;
}

.deposit-ref-confirm__method-copy em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(225,229,234,0.7);
}

.deposit-ref-confirm__network {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(114,168,58,0.18);
  background: rgba(8, 18, 18, 0.72);
  color: rgba(225,229,234,0.78);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.deposit-ref-confirm__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: 14px;
  align-items: start;
}

.deposit-ref-confirm__address {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.deposit-ref-confirm__address-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.deposit-ref-confirm__address-head > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.6);
}

.deposit-ref-confirm__address-head .deposit-ref-icon {
  width: 16px;
  height: 16px;
}

.deposit-ref-confirm__address-value {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(114,168,58,0.16);
  background: rgba(9, 22, 22, 0.96);
  color: #f2f4ef;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-all;
}

.deposit-ref-confirm__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.deposit-ref-confirm__fact {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(114,168,58,0.14);
  background: rgba(9, 22, 22, 0.92);
}

.deposit-ref-confirm__fact span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.54);
}

.deposit-ref-confirm__fact strong {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f5f6ef;
}

.deposit-ref-confirm__qr {
  overflow: hidden;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(114,168,58,0.16);
  background: rgba(9, 22, 22, 0.96);
}

.deposit-ref-confirm__qr img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #fff;
}

.deposit-ref-confirm__notice {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(114,168,58,0.14);
  background: rgba(9, 22, 22, 0.92);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(225,229,234,0.72);
}

.deposit-ref-confirm__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.deposit-ref-confirm__timer,
.deposit-ref-confirm__waiting {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.deposit-ref-confirm__timer {
  color: #f3f5ef;
}

.deposit-ref-confirm__waiting {
  color: #49ff5d;
}

.deposit-ref-confirm__timer .deposit-ref-icon,
.deposit-ref-confirm__waiting .deposit-ref-icon {
  width: 16px;
  height: 16px;
}

.deposit-ref-confirm__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 680px) {
  .lockin-shared-topbar.is-deposit {
    grid-template-columns: minmax(0, 1fr) 208px;
    gap: 8px;
    margin-bottom: 10px;
  }

  .lockin-shared-topbar.is-deposit .lockin-shared-topbar__title {
    font-size: clamp(26px, 7.2vw, 34px);
  }

  .lockin-shared-topbar.is-deposit .lockin-shared-topbar__sparkles {
    width: 32px;
    height: 34px;
    flex-basis: 32px;
  }

  .lockin-shared-topbar.is-deposit .lockin-shared-topbar__sparkle {
    width: 26px;
    height: 26px;
  }

  .deposit-ref-page__content {
    gap: 13px;
    padding-bottom: 20px;
  }

  .deposit-ref-steps {
    gap: 10px;
  }

  .deposit-ref-steps__item {
    min-height: 60px;
    gap: 8px;
    padding-inline: 10px;
    border-radius: 18px;
  }

  .deposit-ref-steps__index {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 16px;
  }

  .deposit-ref-steps__label {
    font-size: 12px;
  }

  .deposit-ref-section,
  .deposit-ref-details,
  .deposit-ref-confirm {
    padding: 14px;
  }

  .deposit-ref-methods,
  .deposit-ref-plans {
    gap: 10px;
  }

  .deposit-ref-quick {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
  }

  .deposit-ref-quick__main h2 {
    font-size: clamp(30px, 7vw, 44px);
  }

  .deposit-ref-quick__wallet {
    padding: 10px;
    border-radius: 18px;
  }

  .deposit-ref-quick__amount strong {
    font-size: 34px;
  }

  .deposit-ref-method-card {
    min-height: 84px;
    padding: 10px;
    border-radius: 18px;
  }

  .deposit-ref-method-card__coin {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .deposit-ref-method-card__coin svg {
    width: 22px;
    height: 22px;
  }

  .deposit-ref-method-card__network {
    right: -5px;
    bottom: -5px;
    width: 18px;
    height: 18px;
  }

  .deposit-ref-method-card__copy strong {
    font-size: 15px;
  }

  .deposit-ref-method-card__copy span {
    font-size: 10px;
  }

  .deposit-ref-plan-card {
    min-height: 252px;
    gap: 11px;
    padding: 12px 10px;
    border-radius: 18px;
  }

  .deposit-ref-plan-card__head strong {
    font-size: 16px;
  }

  .deposit-ref-plan-card__desc {
    min-height: 30px;
    font-size: 10px;
  }

  .deposit-ref-plan-card__boost strong {
    font-size: clamp(24px, 5vw, 34px);
  }

  .deposit-ref-plan-card__boost span,
  .deposit-ref-plan-card__slots span {
    font-size: 13px;
  }

  .deposit-ref-plan-card__slots strong {
    font-size: 30px;
  }

  .deposit-ref-plan-card__price {
    min-height: 36px;
    font-size: 14px;
    border-radius: 12px;
  }

  .deposit-ref-plan-select__trigger {
    min-height: 80px;
    grid-template-columns: 38px minmax(0, 1fr) auto 26px;
    gap: 10px;
    padding: 11px;
    border-radius: 18px;
  }

  .deposit-ref-plan-select__badge {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .deposit-ref-plan-select__copy strong {
    font-size: 21px;
  }

  .deposit-ref-plan-select__side strong {
    font-size: 19px;
  }

  .deposit-ref-plan-option {
    min-height: 60px;
    border-radius: 16px;
  }

  .deposit-ref-plan-select__details-list {
    grid-template-columns: 1fr;
  }

  .deposit-ref-amount {
    grid-template-columns: minmax(0, 1fr) 1.25fr;
    gap: 14px;
    padding: 14px;
  }

  .deposit-ref-amount__inputwrap {
    min-height: 82px;
    padding-inline: 16px;
    border-radius: 18px;
  }

  .deposit-ref-amount__inputwrap input {
    font-size: clamp(28px, 6.2vw, 38px);
  }

  .deposit-ref-amount__suffix {
    font-size: 18px;
  }

  .deposit-ref-amount__summary {
    grid-template-columns: minmax(0, 1fr) 124px;
    gap: 10px;
  }

  .deposit-ref-amount__eyebrow {
    font-size: 14px;
  }

  .deposit-ref-amount__value {
    margin-top: 8px;
    font-size: clamp(34px, 7vw, 52px);
  }

  .deposit-ref-amount__note {
    font-size: 12px;
  }

  .deposit-ref-amount__art {
    width: 124px;
  }

  .deposit-ref-details__row {
    min-height: 48px;
  }

  .deposit-ref-details__label {
    gap: 10px;
    font-size: 12px;
  }

  .deposit-ref-details__row strong {
    font-size: 16px;
  }

  .deposit-ref-cta {
    min-height: 72px;
    padding-inline: 26px;
  }

  .deposit-ref-cta__label {
    font-size: clamp(22px, 5vw, 30px);
  }

  .deposit-ref-secondary,
  .deposit-ref-copy {
    min-height: 42px;
    border-radius: 14px;
    font-size: 14px;
  }

  .deposit-ref-confirm__grid {
    grid-template-columns: minmax(0, 1fr) 150px;
  }

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

  .deposit-ref-confirm__fact strong {
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .lockin-shared-topbar.is-deposit {
    grid-template-columns: minmax(0, 1fr) 208px;
    gap: 8px;
  }

  .lockin-shared-topbar.is-deposit .lockin-shared-topbar__titlebox {
    padding-top: 6px;
  }

  .lockin-shared-topbar.is-deposit .lockin-shared-topbar__title {
    font-size: clamp(24px, 7.4vw, 30px);
  }

  .lockin-shared-topbar.is-deposit .lockin-shared-topbar__sparkles {
    width: 28px;
    height: 30px;
    flex-basis: 28px;
  }

  .lockin-shared-topbar.is-deposit .lockin-shared-topbar__sparkle {
    width: 22px;
    height: 22px;
  }

  .lockin-shared-topbar.is-deposit .lockin-shared-topbar__sparkle--mini {
    width: 10px;
    height: 10px;
    top: 18px;
    left: 6px;
  }

  .deposit-ref-page__content {
    gap: 12px;
  }

  .deposit-ref-steps {
    gap: 8px;
  }

  .deposit-ref-steps__item {
    min-height: 56px;
    gap: 7px;
    padding-inline: 8px;
    border-radius: 17px;
  }

  .deposit-ref-steps__item:not(:last-child)::after {
    right: -8px;
    width: 8px;
  }

  .deposit-ref-steps__index {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 14px;
  }

  .deposit-ref-steps__label {
    font-size: 10px;
  }

  .deposit-ref-section__title {
    font-size: clamp(18px, 5.2vw, 24px);
  }

  .deposit-ref-section__action {
    min-height: 34px;
    padding: 0 8px;
    gap: 6px;
    font-size: 11px;
  }

  .deposit-ref-section__action .deposit-ref-icon {
    width: 16px;
    height: 16px;
  }

  .deposit-ref-methods,
  .deposit-ref-plans {
    gap: 8px;
  }

  .deposit-ref-quick {
    padding: 12px;
    border-radius: 20px;
  }

  .deposit-ref-quick__badge {
    min-height: 24px;
    padding-inline: 8px;
    font-size: 10px;
  }

  .deposit-ref-quick__main {
    gap: 7px;
  }

  .deposit-ref-quick__main h2 {
    font-size: clamp(27px, 8.4vw, 36px);
  }

  .deposit-ref-quick__main p {
    font-size: 11px;
  }

  .deposit-ref-quick__route {
    min-height: 52px;
    gap: 10px;
    padding: 8px;
    border-radius: 14px;
  }

  .deposit-ref-quick__route .deposit-ref-method-card__coin {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .deposit-ref-quick__route strong {
    font-size: 15px;
  }

  .deposit-ref-quick__amount {
    padding: 10px;
    border-radius: 14px;
  }

  .deposit-ref-quick__amount strong {
    font-size: 30px;
  }

  .deposit-ref-quick__cta {
    min-height: 48px;
    border-radius: 14px;
    font-size: 15px;
  }

  .deposit-ref-method-card {
    min-height: 78px;
    padding: 9px;
    border-radius: 16px;
  }

  .deposit-ref-method-card__main {
    gap: 9px;
  }

  .deposit-ref-method-card__coin {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .deposit-ref-method-card__coin svg {
    width: 20px;
    height: 20px;
  }

  .deposit-ref-method-card__network {
    right: -5px;
    bottom: -5px;
    width: 17px;
    height: 17px;
  }

  .deposit-ref-method-card__copy strong {
    font-size: 13px;
  }

  .deposit-ref-method-card__copy span {
    font-size: 9px;
  }

  .deposit-ref-plan-card {
    min-height: 228px;
    gap: 9px;
    padding: 10px 8px;
    border-radius: 16px;
  }

  .deposit-ref-plan-card__head {
    grid-template-columns: 16px minmax(0, 1fr) 20px;
    gap: 6px;
  }

  .deposit-ref-plan-card__head strong {
    font-size: 14px;
  }

  .deposit-ref-plan-card__desc {
    min-height: 24px;
    font-size: 9px;
  }

  .deposit-ref-plan-card__boost strong {
    font-size: clamp(22px, 5vw, 28px);
  }

  .deposit-ref-plan-card__boost span,
  .deposit-ref-plan-card__slots span {
    font-size: 11px;
  }

  .deposit-ref-plan-card__slots strong {
    font-size: 24px;
  }

  .deposit-ref-plan-card__price {
    min-height: 34px;
    gap: 6px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .deposit-ref-selected-method {
    min-height: 60px;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 16px;
  }

  .deposit-ref-selected-method__icon,
  .deposit-ref-selected-method__icon .deposit-ref-method-card__coin {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .deposit-ref-selected-method__copy strong {
    font-size: 17px;
  }

  .deposit-ref-selected-method__copy span,
  .deposit-ref-selected-method__copy em {
    font-size: 10px;
  }

  .deposit-ref-plan-select__trigger {
    min-height: 96px;
    grid-template-columns: 36px minmax(0, 1fr) 26px;
    gap: 9px;
    padding: 10px;
    border-radius: 17px;
  }

  .deposit-ref-plan-select__badge {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
    border-radius: 13px;
  }

  .deposit-ref-plan-select__copy {
    grid-column: 2;
    grid-row: 1;
  }

  .deposit-ref-plan-select__copy strong {
    font-size: 19px;
  }

  .deposit-ref-plan-select__copy em {
    max-width: none;
    font-size: 10px;
  }

  .deposit-ref-plan-select__side {
    grid-column: 2 / 4;
    grid-row: 2;
    justify-self: start;
    grid-auto-flow: column;
    align-items: center;
    justify-items: start;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 12px;
  }

  .deposit-ref-plan-select__side strong {
    font-size: 17px;
  }

  .deposit-ref-plan-select__side em {
    font-size: 9px;
  }

  .deposit-ref-plan-select__chevron {
    grid-column: 3;
    grid-row: 1;
    width: 26px;
    height: 26px;
  }

  .deposit-ref-plan-option {
    min-height: 58px;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }

  .deposit-ref-plan-option__meta {
    grid-auto-flow: column;
    justify-content: space-between;
    justify-items: start;
  }

  .deposit-ref-plan-option__copy strong {
    font-size: 16px;
  }

  .deposit-ref-plan-select__details {
    padding: 10px;
    border-radius: 16px;
  }

  .deposit-ref-amount {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .deposit-ref-amount__summary {
    grid-template-columns: minmax(0, 1fr) 108px;
  }

  .deposit-ref-amount__value {
    font-size: clamp(32px, 10vw, 44px);
  }

  .deposit-ref-amount__art {
    width: 108px;
  }

  .deposit-ref-details__row {
    min-height: 44px;
    gap: 9px;
  }

  .deposit-ref-details__label {
    gap: 8px;
    font-size: 10px;
  }

  .deposit-ref-details__glyph {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .deposit-ref-details__row strong {
    font-size: 13px;
  }

  .deposit-ref-cta {
    min-height: 64px;
    padding-inline: 20px;
  }

  .deposit-ref-cta__label {
    font-size: clamp(19px, 5.6vw, 24px);
  }

  .deposit-ref-confirm__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .deposit-ref-confirm__hero {
    flex-direction: column;
    align-items: stretch;
  }

  .deposit-ref-confirm__network {
    align-self: flex-start;
  }

  .deposit-ref-confirm__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .deposit-ref-confirm__address-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .deposit-ref-confirm__facts {
    grid-template-columns: 1fr;
  }

  .deposit-ref-confirm__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .deposit-ref-confirm__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .deposit-ref-methods,
  .deposit-ref-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .deposit-ref-steps__item:not(:last-child)::after {
    display: none;
  }
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100%;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(139,92,246,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 120%, rgba(245,158,11,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at -10% 60%, rgba(6,182,212,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
}

a { color: var(--purple-light); text-decoration: none; }
a:hover { color: var(--purple-glow); }
img { max-width: 100%; }
ul, ol { list-style: none; }

/* ── Layout ─────────────────────────────────────────────────── */
#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--nav-height) + 16px);
  padding-top: var(--top-bar-height);
  min-height: 100vh;
}

.page-content {
  flex: 1;
  padding: 0 16px 16px;
}

/* ── Splash / Loading Screen ────────────────────────────────── */
#splash {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    max(36px, env(safe-area-inset-top))
    24px
    max(36px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 14%, rgba(163,255,67,0.15) 0%, rgba(163,255,67,0) 28%),
    radial-gradient(circle at 12% 72%, rgba(73,255,139,0.08) 0%, rgba(73,255,139,0) 26%),
    radial-gradient(circle at 86% 84%, rgba(223,255,95,0.06) 0%, rgba(223,255,95,0) 24%),
    linear-gradient(180deg, #051114 0%, #08181b 48%, #041014 100%);
  z-index: 1000;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.34s ease, visibility 0.34s ease;
}

#splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#splash.is-ready {
  pointer-events: none;
}

#splash.is-ready .splash-brand,
#splash.is-ready .splash-loader-wrap {
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
  filter: blur(8px);
}

#splash.is-ready .splash-bg {
  opacity: 0.56;
  transform: scale(1.02);
}

.splash-bg {
  position: absolute;
  inset: -6%;
  transition: transform 0.34s ease, opacity 0.34s ease;
}

.splash-ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);
  opacity: 0.86;
  animation: splashFloat 12s ease-in-out infinite;
}

.splash-ambient--left {
  top: 7%;
  left: -12%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(124,255,68,0.28) 0%, rgba(124,255,68,0) 74%);
}

.splash-ambient--right {
  right: -12%;
  bottom: 4%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(85,255,161,0.18) 0%, rgba(85,255,161,0) 74%);
  animation-delay: -6s;
}

.splash-beam {
  position: absolute;
  pointer-events: none;
  opacity: 0.52;
}

.splash-beam--vertical {
  top: -12%;
  left: 50%;
  width: min(56vw, 260px);
  height: 78vh;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(205,255,126,0) 0%, rgba(205,255,126,0.12) 18%, rgba(98,255,42,0.2) 42%, rgba(88,255,38,0.08) 72%, rgba(88,255,38,0) 100%);
  filter: blur(36px);
}

.splash-beam--horizon {
  left: 50%;
  bottom: 14%;
  width: min(92vw, 520px);
  height: 140px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(122,255,44,0.22) 0%, rgba(122,255,44,0.08) 34%, rgba(122,255,44,0) 72%);
  filter: blur(18px);
}

.splash-grid {
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -18%;
  height: 46vh;
  min-height: 240px;
  background:
    linear-gradient(rgba(164,255,111,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164,255,111,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.24;
  transform: perspective(1000px) rotateX(78deg);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.16) 18%, rgba(0,0,0,0.9) 52%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.16) 18%, rgba(0,0,0,0.9) 52%, rgba(0,0,0,0) 100%);
}

.splash-brand {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.splash-emblem {
  --splash-orbit-a: 88px;
  --splash-orbit-b: 76px;
  --splash-orbit-c: 96px;
  position: relative;
  width: min(54vw, 214px);
  aspect-ratio: 1;
  isolation: isolate;
}

.splash-emblem__halo,
.splash-emblem__ring,
.splash-emblem__orbit,
.splash-emblem__core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.splash-emblem__halo {
  inset: -18%;
  background:
    radial-gradient(circle, rgba(224,255,151,0.16) 0%, rgba(136,255,58,0.22) 22%, rgba(98,255,39,0.09) 46%, rgba(98,255,39,0) 74%);
  filter: blur(22px);
  animation: splashHaloPulse 2.8s ease-in-out infinite;
}

.splash-emblem__ring {
  pointer-events: none;
}

.splash-emblem__ring--outer {
  inset: 6px;
  border: 1px solid rgba(177,255,122,0.24);
  box-shadow:
    0 0 0 6px rgba(18,31,25,0.46),
    0 0 24px rgba(109,255,47,0.16),
    inset 0 0 16px rgba(224,255,167,0.08);
  animation: splashRingSpin 9s linear infinite;
}

.splash-emblem__ring--inner {
  inset: 28px;
  border: 1px solid rgba(230,255,186,0.2);
  box-shadow:
    inset 0 0 18px rgba(131,255,61,0.12),
    0 0 18px rgba(131,255,61,0.12);
  animation: splashRingSpinReverse 5.2s linear infinite;
}

.splash-emblem__ring--outer::before,
.splash-emblem__ring--inner::before {
  content: '';
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, rgba(226,255,170,0) 0deg 18deg, rgba(226,255,170,0.78) 26deg 34deg, rgba(226,255,170,0) 42deg 112deg, rgba(98,255,34,0.42) 122deg 132deg, rgba(226,255,170,0) 142deg 360deg);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 66%, #000 73%, transparent 78%);
  mask: radial-gradient(circle, transparent 62%, #000 66%, #000 73%, transparent 78%);
}

.splash-emblem__ring--inner::before {
  background:
    conic-gradient(from 180deg, rgba(236,255,190,0) 0deg 30deg, rgba(236,255,190,0.78) 38deg 46deg, rgba(236,255,190,0) 56deg 164deg, rgba(110,255,53,0.44) 172deg 182deg, rgba(236,255,190,0) 194deg 360deg);
  -webkit-mask: radial-gradient(circle, transparent 56%, #000 61%, #000 68%, transparent 73%);
  mask: radial-gradient(circle, transparent 56%, #000 61%, #000 68%, transparent 73%);
}

.splash-emblem__orbit {
  inset: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  background: #efffb7;
  box-shadow: 0 0 10px rgba(224,255,164,0.88), 0 0 18px rgba(100,255,39,0.28);
  z-index: 3;
}

.splash-emblem__orbit--a {
  transform: rotate(18deg) translateY(calc(var(--splash-orbit-a) * -1));
  animation: splashOrbitA 3.8s linear infinite;
}

.splash-emblem__orbit--b {
  width: 6px;
  height: 6px;
  margin: -3px;
  transform: rotate(156deg) translateY(calc(var(--splash-orbit-b) * -1));
  animation: splashOrbitB 3.2s linear infinite;
}

.splash-emblem__orbit--c {
  width: 10px;
  height: 10px;
  margin: -5px;
  transform: rotate(286deg) translateY(calc(var(--splash-orbit-c) * -1));
  animation: splashOrbitC 4.6s linear infinite;
}

.splash-emblem__core {
  inset: 31%;
  display: grid;
  place-items: center;
  color: #ecffb9;
  background:
    radial-gradient(circle at 50% 26%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 36%),
    linear-gradient(180deg, #112921 0%, #071511 100%);
  border: 1px solid rgba(207,255,127,0.2);
  box-shadow:
    inset 0 0 0 2px rgba(108,255,44,0.22),
    0 0 24px rgba(109,255,47,0.14),
    0 10px 24px rgba(0,0,0,0.3);
}

.splash-emblem__core::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(160,255,95,0.09);
  box-shadow: 0 0 18px rgba(109,255,47,0.08);
}

.splash-emblem__core-icon {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 10px rgba(215,255,129,0.28));
}

.splash-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 52px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.08em;
  color: #f3ffe0;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(227,255,170,0.16),
    0 0 22px rgba(92,255,32,0.12);
}

.splash-wordmark__lock,
.splash-wordmark__in {
  letter-spacing: 0.1em;
}

.splash-wordmark__slash {
  color: #b9ff46;
  letter-spacing: -0.08em;
  transform: translateY(-1px);
}

.splash-subtitle {
  max-width: 300px;
  text-align: center;
  color: rgba(228,255,190,0.6);
  font-size: 11px;
  line-height: 1.75;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.splash-loader-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 300px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 12px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%),
    linear-gradient(180deg, rgba(8,24,22,0.94) 0%, rgba(4,15,16,0.98) 100%);
  border: 1px solid rgba(167,255,102,0.1);
  box-shadow:
    0 22px 44px rgba(0,0,0,0.26),
    inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.splash-loader-wrap::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 21px;
  background: linear-gradient(180deg, rgba(225,255,176,0.06), rgba(225,255,176,0));
  pointer-events: none;
}

.splash-loader {
  position: relative;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 0 0 1px rgba(85,255,161,0.04);
  overflow: hidden;
}

.splash-loader__fill {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #65ff28 0%, #beff5a 44%, #efffba 100%);
  box-shadow:
    0 0 18px rgba(109,255,47,0.32),
    0 0 30px rgba(109,255,47,0.14);
  transition: width 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.splash-loader__fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.82) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-170%);
  animation: splashBarFlow 1.7s ease infinite;
}

.splash-loader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.splash-loader-step {
  color: rgba(228,255,190,0.62);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.splash-loader-value {
  min-width: 42px;
  text-align: right;
  color: rgba(239,255,214,0.84);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

@keyframes splashFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -16px, 0) scale(1.04); }
}

@keyframes splashHaloPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.78; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes splashRingSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes splashRingSpinReverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes splashOrbitA {
  0% { transform: rotate(18deg) translateY(calc(var(--splash-orbit-a) * -1)); }
  100% { transform: rotate(378deg) translateY(calc(var(--splash-orbit-a) * -1)); }
}

@keyframes splashOrbitB {
  0% { transform: rotate(156deg) translateY(calc(var(--splash-orbit-b) * -1)); }
  100% { transform: rotate(-204deg) translateY(calc(var(--splash-orbit-b) * -1)); }
}

@keyframes splashOrbitC {
  0% { transform: rotate(286deg) translateY(calc(var(--splash-orbit-c) * -1)); }
  100% { transform: rotate(646deg) translateY(calc(var(--splash-orbit-c) * -1)); }
}

@keyframes splashBarFlow {
  0% { transform: translateX(-170%); }
  100% { transform: translateX(220%); }
}

@media (max-width: 420px) {
  #splash {
    gap: 26px;
    padding:
      max(30px, env(safe-area-inset-top))
      18px
      max(30px, env(safe-area-inset-bottom));
  }

  .splash-emblem {
    --splash-orbit-a: 79px;
    --splash-orbit-b: 69px;
    --splash-orbit-c: 86px;
    width: min(60vw, 190px);
  }

  .splash-loader-wrap {
    width: min(100%, 272px);
    padding: 13px 13px 11px;
  }

  .splash-subtitle {
    max-width: 246px;
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .splash-wordmark {
    gap: 6px;
    font-size: clamp(30px, 10vw, 44px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #splash *,
  #splash *::before,
  #splash *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Stars background particles ────────────────────────────── */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite var(--delay, 0s);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.4); }
}

/* ── Top Bar ────────────────────────────────────────────────── */
.top-bar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  height: var(--top-bar-height);
  background: rgba(8,6,23,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
}

.top-bar-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.top-bar-center {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  cursor: pointer;
  transition: var(--transition);
}

.top-bar-center:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--gold);
}

.top-bar-balance {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

.top-bar-coin {
  font-size: 16px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle {
  display: flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.lang-btn {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--purple-primary);
  color: white;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  font-size: 16px;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.icon-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--purple-light);
  color: white;
}

.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: var(--red);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
}

/* ── Bottom Navigation ──────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  height: var(--nav-height);
  background: rgba(8,6,23,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: stretch;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.nav-item {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  padding: 6px 3px;
}

.nav-item:hover {
  color: var(--text-secondary);
}

.nav-item__core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 100%;
  width: 100%;
  padding: 8px 4px 7px;
  border-radius: 18px;
}

.nav-icon-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.nav-item.active {
  color: var(--purple-light);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-primary), var(--purple-glow));
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 0 12px rgba(139,92,246,0.6);
}

.nav-icon {
  width: 22px;
  height: 22px;
  transition: var(--transition);
}

.nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
}

.nav-item.active .nav-icon {
  filter: drop-shadow(0 0 6px rgba(139,92,246,0.7));
  transform: translateY(-1px);
}

/* ── Hero Section (Rocket) ──────────────────────────────────── */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 0;
  position: relative;
}

.rocket-container {
  position: relative;
  width: 180px;
  height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.rocket-platform {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 16px;
  background: linear-gradient(180deg, rgba(139,92,246,0.6) 0%, rgba(139,92,246,0.1) 100%);
  border-radius: 50%;
  filter: blur(4px);
  animation: platformGlow 2s ease-in-out infinite alternate;
}

@keyframes platformGlow {
  0%   { opacity: 0.5; transform: translateX(-50%) scaleX(0.9); }
  100% { opacity: 1;   transform: translateX(-50%) scaleX(1.1); }
}

.rocket-svg {
  position: relative;
  z-index: 1;
  animation: floatAnim 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(139,92,246,0.6)) drop-shadow(0 0 40px rgba(139,92,246,0.3));
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(1deg); }
  66%       { transform: translateY(-6px) rotate(-1deg); }
}

.rocket-glow-ring {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.35) 0%, transparent 70%);
  animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(0.9); }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}

.energy-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--purple-glow);
  animation: particleAnim var(--dur, 2s) ease-in-out infinite var(--delay, 0s);
}

@keyframes particleAnim {
  0%   { opacity: 0; transform: translate(var(--x0), var(--y0)) scale(0); }
  50%  { opacity: 1; transform: translate(var(--x1), var(--y1)) scale(1.5); }
  100% { opacity: 0; transform: translate(var(--x2), var(--y2)) scale(0); }
}

/* ── Status Card (Energy & Profit) ─────────────────────────── */
.status-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  margin: 16px 16px 0;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.status-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-glow), var(--gold), transparent);
  opacity: 0.7;
}

.status-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.status-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.status-card-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold);
  background: var(--gold-muted);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.status-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.status-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.status-value.gold { color: var(--gold); }
.status-value.purple { color: var(--purple-glow); }

.status-value small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.slots-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slots-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slots-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.slots-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--purple-primary), var(--purple-glow));
  box-shadow: 0 0 10px rgba(139,92,246,0.5);
  transition: width 1s ease;
}

.slots-bar-pct {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-light);
  min-width: 36px;
  text-align: right;
}

/* ── Action Buttons ─────────────────────────────────────────── */
.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 16px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.15s ease;
}

.btn:active::after {
  background: rgba(255,255,255,0.08);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0a0818;
  box-shadow: 0 4px 20px rgba(245,158,11,0.35), 0 1px 0 rgba(255,255,255,0.2) inset;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 6px 30px rgba(245,158,11,0.5), 0 1px 0 rgba(255,255,255,0.2) inset;
  transform: translateY(-1px);
}

.btn-gold:active { transform: translateY(0); }

.btn-purple {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: white;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35), 0 1px 0 rgba(255,255,255,0.15) inset;
}

.btn-purple:hover {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 6px 30px rgba(124,58,237,0.5), 0 1px 0 rgba(255,255,255,0.15) inset;
  transform: translateY(-1px);
}

.btn-purple:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--purple-light);
  color: var(--purple-light);
  background: var(--purple-muted);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.btn-danger {
  background: linear-gradient(135deg, var(--red), #dc2626);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, var(--green), #059669);
  color: white;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 17px 28px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-full { width: 100%; }

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Daily Bonus Card ───────────────────────────────────────── */
.daily-bonus-card {
  margin: 14px 16px 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(245,158,11,0.08));
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: var(--radius-xl);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.daily-bonus-card:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(245,158,11,0.12));
}

.daily-bonus-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

.bonus-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.05));
  border: 1px solid rgba(245,158,11,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.bonus-content {
  flex: 1;
  min-width: 0;
}

.bonus-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.bonus-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
}

.bonus-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.bonus-amount {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
}

.bonus-timer {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Generic Card ───────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.card-sm {
  padding: 14px 16px;
  border-radius: var(--radius-lg);
}

.card-glow {
  box-shadow: var(--shadow-purple);
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 16px;
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Plan Cards ─────────────────────────────────────────────── */
.plans-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.plan-card:hover {
  border-color: var(--purple-light);
  box-shadow: var(--shadow-purple);
  transform: translateY(-2px);
}

.plan-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(245,158,11,0.06) 0%, var(--bg-card) 100%);
}

.plan-card.featured:hover {
  box-shadow: var(--shadow-gold);
}

.plan-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-gold {
  background: var(--gold-muted);
  border: 1px solid var(--border-gold);
  color: var(--gold);
}

.badge-purple {
  background: var(--purple-muted);
  border: 1px solid var(--border);
  color: var(--purple-light);
}

.plan-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.plan-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--purple-muted);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.plan-info { flex: 1; }

.plan-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.plan-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.plan-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.plan-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.plan-stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--purple-glow);
}

.plan-stat-value.gold { color: var(--gold); }

.plan-stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-align: center;
}

.plan-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}

.plan-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ── Mining Screen: Reactor Upgrade ─────────────────────────── */
.mining-screen {
  position: relative;
  padding-bottom: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(168,108,255,0.16) 0%, rgba(168,108,255,0) 30%),
    linear-gradient(180deg, #120b2d 0%, #1b1145 42%, #24135b 100%);
}

.mining-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 14%, rgba(217,120,255,0.2) 0%, rgba(217,120,255,0) 28%),
    radial-gradient(circle at 88% 4%, rgba(143,123,255,0.18) 0%, rgba(143,123,255,0) 32%),
    radial-gradient(circle at 50% 100%, rgba(240,139,255,0.16) 0%, rgba(240,139,255,0) 38%);
  pointer-events: none;
}

.mining-page-content {
  padding: 10px 10px calc(var(--nav-height) + env(safe-area-inset-bottom, 0px) + 6px);
}

.mining-shell {
  --reactor-panel-top: rgba(58, 35, 117, 0.94);
  --reactor-panel-bottom: rgba(24, 11, 58, 0.98);
  --reactor-edge: rgba(196,145,255,0.22);
  --reactor-divider: rgba(210,180,255,0.12);
  --reactor-text: #f4eefe;
  --reactor-text-soft: rgba(230,220,255,0.72);
  position: relative;
  overflow: visible;
  border-radius: 0;
  padding: 14px 0 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.mining-shell::before {
  content: none;
}

.mining-shell__nebula,
.mining-shell__dust {
  display: none;
}

.mining-shell__nebula--one {
  background:
    radial-gradient(circle at 18% 14%, rgba(199,110,255,0.34) 0%, rgba(199,110,255,0.08) 18%, rgba(199,110,255,0) 42%),
    radial-gradient(circle at 82% 22%, rgba(121,112,255,0.22) 0%, rgba(121,112,255,0.04) 20%, rgba(121,112,255,0) 44%);
  animation: miningNebulaDrift 13s ease-in-out infinite alternate;
}

.mining-shell__nebula--two {
  background:
    radial-gradient(circle at 50% 78%, rgba(240,139,255,0.2) 0%, rgba(240,139,255,0.04) 24%, rgba(240,139,255,0) 48%),
    radial-gradient(circle at 4% 60%, rgba(143,123,255,0.18) 0%, rgba(143,123,255,0) 40%);
  animation: miningNebulaDrift 17s ease-in-out infinite alternate-reverse;
}

.mining-shell__dust {
  background-image:
    radial-gradient(circle at 8% 10%, rgba(255,255,255,0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 24% 22%, rgba(255,255,255,0.4) 0 1px, transparent 1.8px),
    radial-gradient(circle at 69% 14%, rgba(255,255,255,0.34) 0 1px, transparent 1.8px),
    radial-gradient(circle at 87% 34%, rgba(255,255,255,0.48) 0 1px, transparent 1.7px),
    radial-gradient(circle at 58% 62%, rgba(255,255,255,0.36) 0 1px, transparent 1.8px),
    radial-gradient(circle at 94% 72%, rgba(255,255,255,0.32) 0 1px, transparent 1.8px);
  opacity: 0.55;
  animation: miningDustTwinkle 8s linear infinite;
}

.mining-hero,
.mining-tab-bar,
#mining-content {
  position: relative;
  z-index: 1;
}

.mining-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 8px 4px 10px;
}

.mining-hero__overline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(226,210,255,0.54);
}

.mining-hero__title-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mining-hero__line {
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(217,120,255,0.62), rgba(255,255,255,0));
}

.mining-hero__title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #f5edff;
  text-shadow: 0 0 24px rgba(196,145,255,0.18);
}

.mining-hero__subtitle {
  max-width: 294px;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(230,220,255,0.72);
}

.mining-hero__metrics {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.mining-hero__metric {
  padding: 10px 12px;
  border-radius: 18px;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 16%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(55, 31, 109, 0.72) 0%, rgba(28, 15, 67, 0.76) 100%);
  border: 1px solid rgba(201,164,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.mining-hero__metric span {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(230,220,255,0.54);
  margin-bottom: 4px;
}

.mining-hero__metric strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  color: #f4eefe;
}

.mining-tab-bar {
  margin: 6px 0 12px;
  padding: 4px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.02) 18%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(52, 29, 106, 0.9) 0%, rgba(31, 16, 69, 0.94) 100%);
  border: 1px solid rgba(200,155,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 8px 24px rgba(0,0,0,0.24);
}

.mining-tab-bar .tab-btn {
  min-height: 40px;
  border-radius: 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(231,221,255,0.58);
}

.mining-tab-bar .tab-btn.active {
  color: #fbf4ff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.08) 16%, rgba(255,255,255,0.02) 100%),
    linear-gradient(135deg, rgba(140,98,255,0.96) 0%, rgba(203,117,255,0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 6px 18px rgba(170,105,255,0.32);
}

.reactor-plans-view,
.reactor-assets-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
  background: transparent;
}

.reactor-plans-stage {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: visible;
}

.reactor-plans-stage--single {
  padding-top: 8px;
}

.reactor-plans-stage--duo {
  padding-top: 8px;
}

.reactor-plans-grid {
  display: grid;
  grid-template-columns: repeat(var(--plan-cols), minmax(0, 1fr));
  align-items: end;
  gap: 6px;
}

.reactor-plans-grid--duo {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.reactor-plans-grid--scroll {
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: calc((100% - 12px) / 3);
  overflow-x: auto;
  padding: 2px 0 6px;
  scroll-snap-type: x proximity;
  scroll-padding-left: 0;
}

.reactor-plans-stage__toolbar {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.reactor-plans-stage.is-overflowing .reactor-plans-stage__toolbar {
  display: flex;
}

.reactor-plans-stage__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(232,222,255,0.78);
}

.reactor-plans-stage__hint-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d978ff 0%, #f3d98b 100%);
  box-shadow:
    0 0 10px rgba(217,120,255,0.42),
    0 0 18px rgba(243,217,139,0.22);
  flex-shrink: 0;
}

.reactor-plans-stage__arrow {
  width: 28px;
  height: 28px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  color: #f4eefe;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.02) 100%),
    linear-gradient(180deg, rgba(80, 45, 150, 0.98) 0%, rgba(42, 21, 90, 0.98) 100%);
  border: 1px solid rgba(209,176,255,0.2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 10px 18px rgba(16,7,40,0.24);
  z-index: 8;
}

.reactor-plans-stage__arrow:disabled {
  opacity: 0.38;
  cursor: default;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.reactor-plans-stage__viewport {
  position: relative;
  padding: 0;
  overflow: visible;
}

.reactor-plans-stage__arrow--side {
  position: absolute;
  top: 50%;
  z-index: 8;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.reactor-plans-stage.is-overflowing .reactor-plans-stage__arrow--side {
  opacity: 1;
  pointer-events: auto;
}

.reactor-plans-stage__arrow--left {
  left: 2px;
}

.reactor-plans-stage__arrow--right {
  right: 2px;
}

.reactor-plans-stage.is-at-start .reactor-plans-stage__arrow--left,
.reactor-plans-stage.is-at-end .reactor-plans-stage__arrow--right {
  opacity: 0;
  pointer-events: none;
}

.reactor-plan-card {
  --plan-art-glow: rgba(176,108,255,0.3);
  --plan-nebula-a: rgba(176,108,255,0.34);
  --plan-nebula-b: rgba(143,123,255,0.3);
  --plan-nebula-c: rgba(240,139,255,0.2);
  --plan-star-a: rgba(255,255,255,0.92);
  --plan-star-b: rgba(255,255,255,0.68);
  --plan-star-c: rgba(240,139,255,0.72);
  --plan-shell-top: rgba(55, 30, 130, 0.98);
  --plan-shell-mid: rgba(33, 18, 94, 0.98);
  --plan-shell-bottom: rgba(15, 8, 48, 1);
  --reactor-scale: 1;
  --reactor-user-scale: 1;
  --reactor-shift-x: 0px;
  --reactor-shift-y: 0px;
  --reactor-media-height: 120px;
  --reactor-image-base: 165px;
  --reactor-image-featured: 165px;
  position: relative;
  overflow: visible;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 248px;
  padding: 9px 6px 9px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 16% 18%, var(--plan-nebula-a) 0%, rgba(0,0,0,0) 38%),
    radial-gradient(circle at 84% 20%, var(--plan-nebula-b) 0%, rgba(0,0,0,0) 34%),
    radial-gradient(circle at 50% 72%, var(--plan-nebula-c) 0%, rgba(0,0,0,0) 44%),
    radial-gradient(circle at 50% -6%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 42%),
    linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, var(--plan-shell-top) 0%, var(--plan-shell-mid) 52%, var(--plan-shell-bottom) 100%);
  border: 1px solid rgba(196,145,255,0.18);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 0 1px rgba(196,145,255,0.12),
    0 0 36px rgba(180,110,255,0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  scroll-snap-align: start;
}

.reactor-plan-card--start {
  --plan-art-glow: rgba(160,107,255,0.34);
  --plan-nebula-a: rgba(160,107,255,0.34);
  --plan-nebula-b: rgba(112,132,255,0.26);
  --plan-nebula-c: rgba(214,142,255,0.2);
  --plan-shell-top: rgba(52, 28, 118, 0.98);
  --plan-shell-mid: rgba(28, 18, 88, 0.98);
  --plan-shell-bottom: rgba(12, 8, 45, 1);
  --reactor-scale: 1.03;
}

.reactor-plan-card--standard {
  --plan-art-glow: rgba(207,116,255,0.38);
  --plan-nebula-a: rgba(207,116,255,0.38);
  --plan-nebula-b: rgba(138,102,255,0.28);
  --plan-nebula-c: rgba(245,138,255,0.24);
  --plan-shell-top: rgba(66, 36, 142, 0.98);
  --plan-shell-mid: rgba(37, 20, 102, 0.98);
  --plan-shell-bottom: rgba(15, 8, 50, 1);
  --reactor-scale: 1.01;
}

.reactor-plan-card--premium {
  --plan-art-glow: rgba(241,201,116,0.3);
  --plan-nebula-a: rgba(240,195,120,0.24);
  --plan-nebula-b: rgba(221,124,255,0.26);
  --plan-nebula-c: rgba(243,217,139,0.18);
  --plan-star-c: rgba(243,217,139,0.8);
  --plan-shell-top: rgba(72, 41, 132, 0.98);
  --plan-shell-mid: rgba(42, 24, 100, 0.98);
  --plan-shell-bottom: rgba(19, 10, 52, 1);
  --reactor-scale: 0.99;
}

.reactor-plan-card--nova {
  --plan-art-glow: rgba(130,196,255,0.3);
  --plan-nebula-a: rgba(130,196,255,0.3);
  --plan-nebula-b: rgba(127,146,255,0.26);
  --plan-nebula-c: rgba(150,243,255,0.16);
  --plan-star-c: rgba(150,243,255,0.78);
  --plan-shell-top: rgba(33, 72, 146, 0.98);
  --plan-shell-mid: rgba(24, 40, 104, 0.98);
  --plan-shell-bottom: rgba(10, 18, 56, 1);
  --reactor-scale: 1;
}

.reactor-plan-card--quantum {
  --plan-art-glow: rgba(118,255,207,0.26);
  --plan-nebula-a: rgba(118,255,207,0.24);
  --plan-nebula-b: rgba(118,180,255,0.22);
  --plan-nebula-c: rgba(180,255,231,0.14);
  --plan-star-c: rgba(180,255,231,0.76);
  --plan-shell-top: rgba(29, 96, 118, 0.98);
  --plan-shell-mid: rgba(18, 58, 82, 0.98);
  --plan-shell-bottom: rgba(8, 28, 48, 1);
  --reactor-scale: 1;
}

.reactor-plan-card--aurora {
  --plan-art-glow: rgba(255,148,208,0.3);
  --plan-nebula-a: rgba(255,148,208,0.28);
  --plan-nebula-b: rgba(186,126,255,0.24);
  --plan-nebula-c: rgba(255,203,156,0.16);
  --plan-star-c: rgba(255,203,156,0.82);
  --plan-shell-top: rgba(110, 34, 126, 0.98);
  --plan-shell-mid: rgba(78, 24, 94, 0.98);
  --plan-shell-bottom: rgba(40, 11, 55, 1);
  --reactor-scale: 1.01;
}

.reactor-plan-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 16% 26%, var(--plan-star-a) 0, var(--plan-star-a) 1px, rgba(255,255,255,0) 1.7px),
    radial-gradient(circle at 74% 16%, var(--plan-star-b) 0, var(--plan-star-b) 1px, rgba(255,255,255,0) 1.6px),
    radial-gradient(circle at 86% 40%, var(--plan-star-c) 0, var(--plan-star-c) 1.2px, rgba(255,255,255,0) 2px),
    radial-gradient(circle at 28% 62%, rgba(143,123,255,0.56) 0, rgba(143,123,255,0.56) 1px, rgba(143,123,255,0) 1.8px),
    radial-gradient(74% 48% at 50% 12%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 74%),
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0) 26%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.reactor-plan-card::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 16px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,120,255,0.24) 0%, rgba(217,120,255,0) 72%);
  filter: blur(14px);
  pointer-events: none;
}

.reactor-plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(219,170,255,0.34);
}

.reactor-plan-card.is-featured:hover {
  transform: translateY(-5px);
}

.reactor-plan-card.is-featured {
  z-index: 3;
  transform: translateY(-3px);
  border-color: rgba(248,196,255,0.62);
  box-shadow:
    0 18px 46px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 0 1px rgba(244,186,255,0.34),
    0 0 0 2px rgba(226,128,255,0.12),
    0 0 28px rgba(223,124,255,0.3),
    0 0 52px rgba(223,124,255,0.2),
    0 0 84px rgba(186,97,255,0.16);
  animation: miningCardPulse 5s ease-in-out infinite;
}

.reactor-plan-card.is-owned {
  border-color: rgba(243,217,139,0.34);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(225,184,90,0.18),
    0 0 30px rgba(225,184,90,0.1);
}

.reactor-plan-card--skeleton {
  cursor: default;
  transform: none !important;
}

.reactor-plan-card--skeleton .skeleton {
  position: relative;
  z-index: 1;
}

.reactor-plan-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, -56%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-height: 20px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-transform: uppercase;
  color: #ffeefc;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.02) 100%),
    linear-gradient(135deg, rgba(165,92,255,0.98) 0%, rgba(240,139,255,0.94) 55%, rgba(255,214,247,0.84) 100%);
  border: 1px solid rgba(255,220,255,0.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 8px 18px rgba(176,108,255,0.28),
    0 0 14px rgba(220,128,255,0.34),
    0 0 26px rgba(220,128,255,0.22);
  text-shadow: 0 0 10px rgba(255,233,255,0.34);
}

.reactor-plan-card__badge--owned {
  top: 8px;
  left: auto;
  right: 8px;
  transform: none;
  color: #fff6df;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0) 100%),
    linear-gradient(135deg, rgba(225,184,90,0.96) 0%, rgba(243,217,139,0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 8px 18px rgba(225,184,90,0.2);
}

.reactor-plan-card__badge--limited {
  color: #5b2b12;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.02) 100%),
    linear-gradient(135deg, rgba(255, 214, 146, 0.98) 0%, rgba(255, 170, 120, 0.94) 100%);
  border-color: rgba(255, 231, 189, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.26),
    0 8px 18px rgba(255, 157, 103, 0.24),
    0 0 16px rgba(255, 157, 103, 0.22);
  text-shadow: none;
}

.reactor-plan-card__tier {
  position: relative;
  z-index: 1;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  color: #f3eaff;
}

.reactor-plan-card__badge ~ .reactor-plan-card__tier {
  margin-top: 7px;
}

.reactor-plan-card__subtitle {
  position: relative;
  z-index: 1;
  min-height: 20px;
  margin-top: 3px;
  font-size: 7.5px;
  line-height: 1.3;
  text-align: center;
  color: rgba(230,220,255,0.66);
  overflow-wrap: anywhere;
}

.reactor-plan-card__media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: var(--reactor-media-height);
  margin: 2px 0 -22px;
  flex: 0 0 auto;
  overflow: visible;
}

.reactor-plan-card__reactor {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  max-width: 108%;
  height: calc(var(--reactor-image-base) * var(--reactor-user-scale));
  object-fit: contain;
  object-position: center center;
  transform: translate(calc(-50% + var(--reactor-shift-x)), calc(-50% + var(--reactor-shift-y) - 8px)) scale(var(--reactor-scale));
  transform-origin: 50% 50%;
  filter:
    drop-shadow(0 14px 18px rgba(0,0,0,0.3))
    drop-shadow(0 0 18px var(--plan-art-glow));
  user-select: none;
  -webkit-user-drag: none;
  animation: miningPlanArtFloat 5.4s ease-in-out infinite;
}

.reactor-plan-card.is-featured .reactor-plan-card__reactor {
  height: calc(var(--reactor-image-featured) * var(--reactor-user-scale));
}

.reactor-plan-card__image-skeleton {
  width: 100%;
  height: var(--reactor-media-height);
  margin: 2px 0 3px;
  border-radius: 18px;
}

.reactor-plan-card__yield {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  text-align: center;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 224, 255, 0.72);
}

.reactor-plan-card__price {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  color: #ead8ff;
  letter-spacing: -0.03em;
  text-shadow: 0 6px 20px rgba(20,8,50,0.36);
}

.reactor-plan-card.is-featured .reactor-plan-card__price {
  color: #f0dcff;
}

.reactor-plan-card__term {
  position: relative;
  z-index: 1;
  margin-top: 3px;
  margin-bottom: 6px;
  text-align: center;
  font-size: 9px;
  line-height: 1.3;
  color: rgba(230,220,255,0.66);
}

.reactor-plan-card__launch-note {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 190, 132, 0.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255, 169, 120, 0.07);
  font-size: 8px;
  line-height: 1.45;
  text-align: center;
  color: #fff2e4;
}

.reactor-plan-card__meta-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(232, 223, 252, 0.76);
}

.reactor-plan-card--limited {
  --plan-art-glow: rgba(255, 177, 118, 0.32);
  --plan-nebula-a: rgba(255, 177, 118, 0.26);
  --plan-nebula-b: rgba(255, 119, 119, 0.22);
  --plan-nebula-c: rgba(255, 226, 173, 0.14);
  --plan-star-c: rgba(255, 226, 173, 0.82);
  --plan-shell-top: rgba(118, 42, 38, 0.98);
  --plan-shell-mid: rgba(82, 24, 36, 0.98);
  --plan-shell-bottom: rgba(42, 12, 30, 1);
  --reactor-scale: 1.04;
}

.reactor-plan-card__cta {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 32px;
  margin-top: auto;
  padding: 8px 6px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 700;
  color: #f4eefe;
  white-space: normal;
  line-height: 1.05;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 20%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(119, 76, 202, 0.98) 0%, rgba(82, 47, 164, 0.98) 100%);
  border: 1px solid rgba(204,165,255,0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 10px 18px rgba(20,7,48,0.28);
}

.reactor-plan-card__cta::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -42%;
  width: 42%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.28), rgba(255,255,255,0));
  transform: skewX(-18deg);
  animation: miningCtaSheen 4.8s ease-in-out infinite;
}

.reactor-plan-card__cta--featured::before {
  display: none;
}

.reactor-plan-card__cta--featured {
  color: #fff8ff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(255,224,255,0.38),
    0 1px 0 rgba(21,8,48,0.9);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0.04) 18%, rgba(255,255,255,0) 100%),
    linear-gradient(135deg, rgba(72, 30, 128, 0.98) 0%, rgba(124, 48, 210, 0.98) 38%, rgba(226, 106, 255, 0.98) 72%, rgba(255, 220, 169, 0.96) 100%);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.32),
    inset 0 -10px 18px rgba(28,9,62,0.28),
    0 12px 22px rgba(38,13,68,0.34);
}

.mining-featured-plan {
  margin-top: 0;
}

.mining-featured-plan.is-owned {
  border-color: rgba(243, 217, 139, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 30px rgba(8, 4, 20, 0.22),
    0 0 30px rgba(225,184,90,0.12);
}

.mining-featured-plan .starter-mission-card__body {
  gap: 14px;
}

.mining-featured-plan__art {
  max-width: 208px;
}

.mining-featured-plan__eyebrow {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 229, 194, 0.62);
}

.mining-featured-plan__cta {
  min-height: 44px;
  margin-top: 2px;
  border-radius: 16px;
}

.mining-duo-plan {
  margin-top: 0;
}

.mining-duo-plan .starter-mission-card__body {
  gap: 14px;
}

.mining-duo-plan__art {
  max-width: 208px;
}

.mining-duo-plan__cta {
  min-height: 44px;
  margin-top: 2px;
  border-radius: 16px;
}

.mining-duo-plan.is-owned {
  border-color: rgba(243, 217, 139, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 30px rgba(8, 4, 20, 0.22),
    0 0 30px rgba(225,184,90,0.12);
}

.reactor-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236,226,255,0.72);
}

.reactor-section-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(230,220,255,0.18), rgba(230,220,255,0));
}

.reactor-compare-panel,
.reactor-empty-panel,
.reactor-owned-card,
.reactor-assets-summary__card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 14%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(46, 27, 102, 0.94) 0%, rgba(26, 14, 66, 0.98) 100%);
  border: 1px solid rgba(196,145,255,0.18);
  box-shadow:
    0 12px 34px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 20px rgba(180,110,255,0.08);
}

.reactor-compare-panel,
.reactor-empty-panel {
  padding: 14px;
}

.reactor-compare-panel {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  overflow: visible;
  margin: 0;
}

.reactor-compare-panel--compact .reactor-section-head {
  margin-bottom: 10px;
}

.reactor-compare-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0;
  background: transparent;
}

.reactor-compare-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(258px, calc(100% - 34px));
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding-bottom: 2px;
}

.reactor-compare-strip--single {
  display: block;
  overflow: visible;
}

.reactor-compare-compact-card {
  position: relative;
  min-width: 0;
  padding: 14px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 14%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(46, 27, 102, 0.94) 0%, rgba(26, 14, 66, 0.98) 100%);
  border: 1px solid rgba(196,145,255,0.18);
  box-shadow:
    0 12px 34px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 20px rgba(180,110,255,0.08);
  scroll-snap-align: start;
}

.reactor-compare-compact-card.is-featured {
  border-color: rgba(248,196,255,0.46);
  box-shadow:
    0 16px 38px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(244,186,255,0.16),
    0 0 28px rgba(223,124,255,0.16);
}

.reactor-compare-compact__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.reactor-compare-compact__copy {
  min-width: 0;
}

.reactor-compare-compact__tier {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 226, 255, 0.62);
}

.reactor-compare-compact__name {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 800;
  color: #fbf3ff;
  overflow-wrap: anywhere;
}

.reactor-compare-compact__price {
  font-size: 24px;
  line-height: 0.95;
  font-weight: 900;
  color: #fff7ea;
  letter-spacing: -0.03em;
  text-shadow: 0 0 16px rgba(243, 217, 139, 0.12);
}

.reactor-compare-compact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.reactor-compare-compact__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(220, 190, 255, 0.08);
}

.reactor-compare-compact__item span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(233, 221, 255, 0.62);
}

.reactor-compare-compact__item strong {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  color: #fef8ff;
}

.reactor-compare-grid {
  display: grid;
  width: max(100%, calc(114px + (var(--compare-cols) * 88px)));
  min-width: 100%;
  grid-template-columns: 114px repeat(var(--compare-cols), 88px);
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.reactor-compare-cell {
  min-height: 42px;
  padding: 10px 10px;
  border-right: 1px solid rgba(210,180,255,0.08);
  border-bottom: 1px solid rgba(210,180,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  color: rgba(244,238,254,0.84);
}

.reactor-compare-cell--head {
  min-height: 46px;
  background: rgba(255,255,255,0.03);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reactor-compare-cell--corner,
.reactor-compare-cell--label {
  justify-content: flex-start;
  text-align: left;
}

.reactor-compare-cell--label {
  color: rgba(230,220,255,0.72);
}

.reactor-compare-cell--plan {
  flex-direction: column;
  gap: 2px;
}

.reactor-compare-cell--plan.is-featured,
.reactor-compare-cell--value.is-featured {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 100%),
    rgba(198,107,255,0.08);
}

.reactor-compare-cell__tier {
  font-size: 10px;
  font-weight: 800;
  color: #f4eefe;
}

.reactor-compare-cell__name {
  font-size: 9px;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(230,220,255,0.62);
  overflow-wrap: anywhere;
}

.reactor-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  background: transparent;
}

.reactor-insight-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  min-height: 48px;
  background: none;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.reactor-insight-card__icon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 56%),
    linear-gradient(180deg, rgba(93, 58, 164, 0.98) 0%, rgba(43, 22, 86, 1) 100%);
  border: 1px solid rgba(216,182,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 0 16px rgba(176,108,255,0.12);
}

.reactor-insight-card__svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 19px;
  height: 19px;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(217,120,255,0.18));
}

.reactor-insight-card__stroke {
  fill: none;
  stroke: rgba(244,238,254,0.9);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reactor-insight-card__stroke--accent {
  stroke: #df95ff;
}

.reactor-insight-card__icon--shield .reactor-insight-card__stroke--accent {
  stroke: #f3d98b;
}

.reactor-insight-card__copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding-top: 1px;
}

.reactor-insight-card__title {
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  color: #f4eefe;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reactor-insight-card__text {
  font-size: 8px;
  line-height: 1.22;
  color: rgba(230,220,255,0.66);
}

.reactor-empty-panel {
  text-align: center;
}

.reactor-empty-panel__title {
  font-size: 18px;
  font-weight: 800;
  color: #f4eefe;
}

.reactor-empty-panel__text {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(230,220,255,0.72);
}

.reactor-empty-panel .reactor-plan-card__cta {
  margin-top: 14px;
}

.reactor-assets-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reactor-assets-summary__card {
  padding: 14px 14px 12px;
}

.reactor-assets-summary__card span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(230,220,255,0.58);
  margin-bottom: 6px;
}

.reactor-assets-summary__card strong {
  display: block;
  font-size: 21px;
  line-height: 1.05;
  color: #f4eefe;
}

.reactor-assets-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reactor-owned-card {
  padding: 14px;
}

.reactor-owned-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.reactor-owned-card__name {
  font-size: 16px;
  font-weight: 800;
  color: #f4eefe;
}

.reactor-owned-card__meta {
  margin-top: 4px;
  font-size: 11px;
  color: rgba(230,220,255,0.7);
}

.reactor-owned-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(210,180,255,0.12);
}

.reactor-owned-card__status--active {
  color: #f3d98b;
  border-color: rgba(243,217,139,0.24);
  background: rgba(243,217,139,0.08);
}

.reactor-owned-card__status--completed {
  color: #d9c6ff;
}

.reactor-owned-card__progress {
  margin-top: 14px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.reactor-owned-card__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8f62ff 0%, #d978ff 52%, #f3d98b 100%);
  box-shadow: 0 0 12px rgba(217,120,255,0.26);
}

.reactor-owned-card__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.reactor-owned-card__stat {
  text-align: center;
}

.reactor-owned-card__stat span {
  display: block;
  font-size: 10px;
  color: rgba(230,220,255,0.58);
  margin-bottom: 4px;
}

.reactor-owned-card__stat strong {
  display: block;
  font-size: 14px;
  line-height: 1.15;
  color: #f4eefe;
}

.reactor-owned-card__expires {
  margin-top: 12px;
  font-size: 11px;
  color: rgba(230,220,255,0.64);
  text-align: center;
}

.reactor-plans-grid--scroll::-webkit-scrollbar,
.reactor-compare-scroll::-webkit-scrollbar {
  height: 4px;
}

.reactor-plans-grid--scroll::-webkit-scrollbar-thumb,
.reactor-compare-scroll::-webkit-scrollbar-thumb {
  background: rgba(216,180,255,0.18);
  border-radius: 999px;
}

@keyframes miningNebulaDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, 12px, 0) scale(1.04);
  }
}

@keyframes miningDustTwinkle {
  0%, 100% {
    opacity: 0.38;
  }
  50% {
    opacity: 0.62;
  }
}

@keyframes miningCardPulse {
  0%, 100% {
    box-shadow:
      0 18px 46px rgba(0,0,0,0.42),
      inset 0 1px 0 rgba(255,255,255,0.12),
      0 0 0 1px rgba(244,186,255,0.34),
      0 0 0 2px rgba(226,128,255,0.12),
      0 0 28px rgba(223,124,255,0.3),
      0 0 52px rgba(223,124,255,0.2),
      0 0 84px rgba(186,97,255,0.16);
  }
  50% {
    box-shadow:
      0 20px 52px rgba(0,0,0,0.44),
      inset 0 1px 0 rgba(255,255,255,0.14),
      0 0 0 1px rgba(248,198,255,0.42),
      0 0 0 2px rgba(232,138,255,0.18),
      0 0 38px rgba(230,144,255,0.36),
      0 0 66px rgba(223,124,255,0.26),
      0 0 96px rgba(186,97,255,0.2);
  }
}

@keyframes miningPlanArtFloat {
  0%, 100% {
    transform: translate(calc(-50% + var(--reactor-shift-x)), calc(-50% + var(--reactor-shift-y) - 8px)) scale(var(--reactor-scale));
  }
  50% {
    transform: translate(calc(-50% + var(--reactor-shift-x)), calc(-50% + var(--reactor-shift-y) - 12px)) scale(var(--reactor-scale));
  }
}

@keyframes miningPlatformPulse {
  0%, 100% {
    opacity: 0.46;
    transform: translateX(-50%) scaleX(0.9);
  }
  50% {
    opacity: 0.82;
    transform: translateX(-50%) scaleX(1.08);
  }
}

@keyframes miningCtaSheen {
  0%, 70%, 100% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }
  12%,
  22% {
    transform: translateX(290%) skewX(-18deg);
    opacity: 0.8;
  }
}

@media (max-width: 380px) {
  .mining-page-content {
    padding-left: 8px;
    padding-right: 8px;
  }

  .mining-shell {
    padding-top: 12px;
  }

  .reactor-plans-stage {
    padding-top: 18px;
  }

  .mining-hero__title {
    font-size: 24px;
  }

  .mining-hero__metric strong {
    font-size: 14px;
  }

  .reactor-plans-grid {
    gap: 5px;
  }

  .reactor-plans-stage__toolbar {
    gap: 8px;
  }

  .reactor-plans-stage__hint {
    font-size: 9px;
  }

  .reactor-plan-card {
    min-height: 226px;
    padding: 8px 5px 8px;
    border-radius: 18px;
    --reactor-media-height: 112px;
    --reactor-image-base: 122px;
    --reactor-image-featured: 132px;
  }

  .reactor-plan-card__tier {
    font-size: 11px;
  }

  .reactor-plan-card__subtitle {
    font-size: 7px;
    min-height: 18px;
  }

  .reactor-plan-card__price {
    font-size: 24px;
  }

  .reactor-plan-card__cta {
    font-size: 9px;
    min-height: 30px;
  }

  .reactor-plan-card__badge {
    top: 0;
    padding: 3px 8px;
    font-size: 5.8px;
    letter-spacing: 0.12em;
  }

  .mining-featured-plan__eyebrow {
    font-size: 7px;
  }

  .reactor-compare-strip {
    grid-auto-columns: minmax(230px, calc(100% - 24px));
    gap: 8px;
  }

  .reactor-compare-compact__price {
    font-size: 21px;
  }

  .reactor-compare-compact__name {
    font-size: 14px;
  }

  .reactor-compare-compact__grid {
    gap: 6px;
  }

  .reactor-compare-grid {
    width: max(100%, calc(102px + (var(--compare-cols) * 74px)));
    grid-template-columns: 102px repeat(var(--compare-cols), 74px);
  }

  .reactor-insight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .reactor-plans-stage__viewport {
    padding: 0;
  }

  .reactor-plans-stage__arrow--side {
    display: none;
  }

  .reactor-plans-grid--duo {
    gap: 12px;
  }

  .starter-mission-card__metrics--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .reactor-plans-grid--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mining-shell__nebula,
  .mining-shell__dust,
  .reactor-plan-card.is-featured,
  .reactor-plan-card__reactor,
  .reactor-plan-card__cta::before,
  .rocket-ship,
  .rocket-launcher.is-launching,
  .rocket-launcher.is-launching::before,
  .rocket-container.is-launching .rocket-launcher__halo,
  .rocket-launcher.is-launching .rocket-launcher__trail,
  .rocket-container.is-launching .platform-image {
    animation: none !important;
  }

  .rocket-launcher.is-launching .rocket-image--static {
    transition: none !important;
  }
}

/* ── Wallet Page ────────────────────────────────────────────── */
.wallet-hero {
  padding: 24px 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.wallet-balance-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wallet-balance-amount {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
}

.wallet-balance-amount span {
  font-size: 22px;
  color: var(--text-secondary);
  font-weight: 600;
}

.wallet-balance-sub {
  font-size: 13px;
  color: var(--green);
}

.wallet-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px;
  margin-top: 20px;
}

.wallet-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wallet-stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wallet-stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.wallet-stat-value.green { color: var(--green); }
.wallet-stat-value.gold  { color: var(--gold); }
.wallet-stat-value.cyan  { color: var(--cyan); }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text-primary);
  transition: var(--transition);
  width: 100%;
}

.form-input:focus {
  border-color: var(--purple-light);
  background: rgba(139,92,246,0.08);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.12);
}

.form-input::placeholder { color: var(--text-muted); }

.form-input-icon {
  position: relative;
}

.form-input-icon .form-input {
  padding-left: 44px;
}

.form-input-icon .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  pointer-events: none;
}

.form-select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text-primary);
  width: 100%;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-select:focus {
  border-color: var(--purple-light);
  outline: none;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-error::before { content: '⚠'; font-size: 11px; }

/* ── Network Chips ──────────────────────────────────────────── */
.network-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255,255,255,0.04);
}

.chip:hover {
  border-color: var(--purple-light);
  color: var(--purple-light);
}

.chip.selected {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  color: white;
  box-shadow: 0 0 14px rgba(124,58,237,0.4);
}

/* ── Deposit address box ────────────────────────────────────── */
.deposit-address-box {
  background: rgba(139,92,246,0.07);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-top: 14px;
}

.deposit-address-box--primary {
  margin-top: 0;
  margin-bottom: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 100%),
    linear-gradient(180deg, rgba(70, 34, 133, 0.96) 0%, rgba(30, 15, 73, 0.98) 100%);
  border-color: rgba(219, 185, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 18px 36px rgba(7, 3, 20, 0.24);
}

.deposit-address-box__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.deposit-address-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.deposit-address-value {
  font-size: 13px;
  font-family: 'Courier New', monospace;
  color: var(--purple-light);
  word-break: break-all;
  margin-bottom: 10px;
  line-height: 1.6;
}

.deposit-address-value--full {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #fff5ff;
  letter-spacing: 0.02em;
}

.deposit-copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #efe6ff;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(214, 180, 255, 0.16);
  border-radius: 14px;
  padding: 9px 13px;
  cursor: pointer;
  transition: var(--transition);
}

.deposit-copy-btn--primary {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 10px 14px;
}

.deposit-copy-btn:hover {
  background: rgba(181, 120, 255, 0.14);
  border-color: rgba(214, 180, 255, 0.3);
}

.deposit-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(214, 180, 255, 0.12);
  font-size: 13px;
  color: var(--warning);
}

.deposit-timer__icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(243, 216, 141, 0.9);
}

.deposit-plan-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 18%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(77, 38, 146, 0.94) 0%, rgba(36, 18, 82, 0.98) 100%);
  border-color: rgba(211, 170, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 12px 30px rgba(10, 4, 28, 0.24);
}

.deposit-plan-card__eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 221, 255, 0.62);
}

.deposit-plan-card__title {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #fbf4ff;
}

.deposit-plan-card__amount {
  margin-top: 10px;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  color: #f4d88d;
  text-shadow: 0 0 20px rgba(243, 217, 139, 0.22);
}

.deposit-plan-card__note {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(232, 221, 255, 0.68);
}

.deposit-plan-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  color: rgba(232, 221, 255, 0.58);
}

.deposit-plan-card__reset {
  margin-top: 14px;
}

.deposit-plan-card__pay-top {
  margin-top: 14px;
}

.deposit-plan-status {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 176, 255, 0.12);
}

.deposit-plan-status__title {
  font-size: 13px;
  font-weight: 800;
  color: #f6efff;
}

.deposit-plan-status__text {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(232, 221, 255, 0.66);
}

.wallet-page {
  position: relative;
}

.wallet-page__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wallet-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(139, 92, 246, 0.22), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(34, 211, 238, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 24%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(29, 16, 60, 0.98) 0%, rgba(16, 10, 36, 0.98) 100%);
  border: 1px solid rgba(178, 137, 255, 0.18);
  box-shadow:
    0 18px 42px rgba(7, 3, 20, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(103, 72, 167, 0.16);
}

.payment-method-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.page-header-title .payment-method-icon,
.page-header-title .ref-icon,
.page-header-title .deposit-ui-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

.payment-method-icon__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.payment-method-icon--hero {
  width: 46px;
  height: 46px;
  border-radius: 16px;
}

.wallet-method-pill__icon .payment-method-icon,
.wallet-action-tile__icon .payment-method-icon,
.wallet-hub__asset-badge .payment-method-icon,
.funding-method-card__icon .payment-method-icon,
.deposit-result-card__icon .payment-method-icon,
.deposit-stage__method-icon .payment-method-icon {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: none;
  box-shadow: none;
}

.deposit-ui-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  flex: 0 0 auto;
}

.deposit-ui-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wallet-ref-page {
  background: transparent;
}

.wallet-ref-page__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 14px 24px;
}

.wallet-ref-hero,
.wallet-ref-action,
.wallet-ref-metric,
.wallet-ref-flow,
.wallet-ref-networks {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184,255,41,0.2);
  background:
    radial-gradient(circle at 10% 8%, rgba(194,255,38,0.12), transparent 32%),
    radial-gradient(circle at 96% 0%, rgba(69,255,83,0.08), transparent 36%),
    linear-gradient(180deg, rgba(7, 31, 26, 0.97), rgba(3, 17, 17, 0.99));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 16px 32px rgba(0,0,0,0.24);
}

.wallet-ref-hero {
  min-height: 182px;
  padding: 16px;
  border-radius: 24px;
  border-color: rgba(178,255,52,0.26);
  background:
    linear-gradient(154deg, rgba(15, 45, 35, 0.98) 0%, rgba(5, 24, 23, 0.99) 48%, rgba(2, 14, 16, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -42px 80px rgba(0,0,0,0.2),
    0 18px 34px rgba(0,0,0,0.26);
}

.wallet-ref-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 22% 0%, rgba(213,255,33,0.18), rgba(213,255,33,0) 42%),
    radial-gradient(ellipse at 100% 25%, rgba(64,255,86,0.12), rgba(64,255,86,0) 36%),
    linear-gradient(120deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 34%);
  pointer-events: none;
}

.wallet-ref-hero::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207,255,37,0.28), transparent);
  pointer-events: none;
}

.wallet-ref-hero__aura {
  position: absolute;
  right: -54px;
  top: -68px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 44%, rgba(210,255,28,0.2), rgba(73,255,82,0.1) 34%, rgba(73,255,82,0) 66%);
  filter: blur(6px);
  opacity: 0.78;
  pointer-events: none;
}

.wallet-ref-hero__top,
.wallet-ref-section-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.wallet-ref-eyebrow,
.wallet-ref-section-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: rgba(216,255,47,0.86);
}

.wallet-ref-eyebrow .ref-icon,
.wallet-ref-section-head .ref-icon {
  width: 13px;
  height: 13px;
}

.wallet-ref-hero h2,
.wallet-ref-section-head h3 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: #f4f6ef;
}

.wallet-ref-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(202,255,30,0.32);
  background: linear-gradient(180deg, rgba(202,255,30,0.13), rgba(14,35,21,0.58));
  color: #dfff25;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
}

.wallet-ref-hero__amount {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.wallet-ref-hero__amount strong {
  font-family: var(--font-display);
  font-size: clamp(42px, 11vw, 60px);
  line-height: 0.82;
  letter-spacing: -0.075em;
  color: #f7f8f1;
  text-shadow: 0 0 22px rgba(208,255,36,0.15), 0 12px 26px rgba(0,0,0,0.22);
}

.wallet-ref-hero__amount span {
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  color: rgba(245,248,241,0.58);
}

.wallet-ref-hero__chips {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 18px;
}

.wallet-ref-hero__chips span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 8px;
  border-radius: 15px;
  border: 1px solid rgba(202,255,30,0.09);
  background: linear-gradient(180deg, rgba(9, 31, 27, 0.82), rgba(2, 16, 15, 0.66));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(232,238,231,0.62);
  font-size: 9px;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

.wallet-ref-hero__chips .ref-icon {
  width: 14px;
  height: 14px;
  color: #dfff25;
}

.wallet-ref-hero__chips b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f5f6ef;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1;
}

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

.wallet-ref-action {
  min-height: 102px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  color: #f5f6ef;
  text-align: left;
}

.wallet-ref-action:disabled {
  opacity: 0.52;
}

.wallet-ref-action--deposit {
  border-color: rgba(205,255,35,0.34);
  background:
    radial-gradient(circle at 22% 20%, rgba(214,255,42,0.2), transparent 40%),
    linear-gradient(180deg, rgba(20,60,28,0.98), rgba(5,22,19,0.99));
}

.wallet-ref-action--withdraw {
  border-color: rgba(69,154,255,0.28);
  background:
    radial-gradient(circle at 22% 20%, rgba(69,154,255,0.18), transparent 40%),
    linear-gradient(180deg, rgba(12,39,65,0.98), rgba(5,19,26,0.99));
}

.wallet-ref-action--history {
  border-color: rgba(166,86,255,0.28);
  background:
    radial-gradient(circle at 22% 20%, rgba(166,86,255,0.18), transparent 40%),
    linear-gradient(180deg, rgba(39,20,62,0.98), rgba(12,15,25,0.99));
}

.wallet-ref-action__icon,
.wallet-ref-metric__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: #dfff25;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.wallet-ref-action__icon .deposit-ui-icon,
.wallet-ref-action__icon .ref-icon,
.wallet-ref-metric__icon .deposit-ui-icon,
.wallet-ref-metric__icon .ref-icon {
  width: 18px;
  height: 18px;
}

.wallet-ref-action__copy {
  display: grid;
  gap: 4px;
}

.wallet-ref-action__copy strong {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.wallet-ref-action__copy em {
  min-height: 24px;
  font-style: normal;
  font-size: 10px;
  line-height: 1.2;
  color: rgba(232,238,231,0.62);
}

.wallet-ref-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.wallet-ref-metric {
  --metric-rgb: 74, 255, 92;
  min-height: 108px;
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 20px;
  border-color: rgba(var(--metric-rgb),0.22);
}

.wallet-ref-metric::after {
  content: '';
  position: absolute;
  inset: auto -22px -28px 35%;
  height: 68px;
  background: radial-gradient(ellipse, rgba(var(--metric-rgb),0.16), transparent 68%);
  pointer-events: none;
}

.wallet-ref-metric.tone-green { --metric-rgb: 74, 255, 92; }
.wallet-ref-metric.tone-blue { --metric-rgb: 70, 154, 255; }
.wallet-ref-metric.tone-gold { --metric-rgb: 255, 213, 49; }
.wallet-ref-metric.tone-purple { --metric-rgb: 166, 86, 255; }

.wallet-ref-metric__icon {
  position: relative;
  z-index: 1;
  color: rgb(var(--metric-rgb));
}

.wallet-ref-metric__label {
  position: relative;
  z-index: 1;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  color: rgba(232,238,231,0.58);
  text-transform: uppercase;
}

.wallet-ref-metric strong {
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: #f5f6ef;
}

.wallet-ref-flow,
.wallet-ref-networks {
  padding: 12px;
  border-radius: 22px;
}

.wallet-ref-section-head button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(207,255,22,0.28);
  border-radius: 999px;
  background: rgba(207,255,22,0.08);
  color: #dfff25;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
}

.wallet-ref-section-head button:disabled {
  opacity: 0.45;
}

.wallet-ref-flow__body {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 76px;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.wallet-ref-flow__orb {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(207,255,22,0.34);
  background: radial-gradient(circle, rgba(207,255,22,0.24), transparent 64%), rgba(4, 20, 18, 0.86);
  color: #dfff25;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
  font-weight: 900;
}

.wallet-ref-flow__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.wallet-ref-flow__copy strong {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1;
  color: #f5f6ef;
}

.wallet-ref-flow__copy span {
  font-size: 11px;
  line-height: 1.25;
  color: rgba(232,238,231,0.64);
}

.wallet-ref-flow__stat {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.wallet-ref-flow__stat span {
  font-size: 8px;
  line-height: 1;
  font-weight: 900;
  color: rgba(232,238,231,0.54);
}

.wallet-ref-flow__stat strong {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  color: #dfff25;
}

.wallet-ref-network-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.wallet-ref-network {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 58px;
  padding: 8px;
  border-radius: 17px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(4, 20, 18, 0.68);
}

.wallet-ref-network__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.wallet-ref-network__icon .payment-method-icon {
  width: 34px;
  height: 34px;
}

.wallet-ref-network__body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.wallet-ref-network__body strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  color: #f5f6ef;
}

.wallet-ref-network__body em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
  font-size: 10px;
  line-height: 1.1;
  color: rgba(232,238,231,0.56);
}

.wallet-ref-network__meta {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.wallet-ref-network__meta b,
.wallet-ref-network__meta small {
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-ref-network__meta b {
  color: #dfff25;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1;
}

.wallet-ref-network__meta small {
  color: rgba(232,238,231,0.56);
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
}

.wallet-ref-empty {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(4, 20, 18, 0.68);
}

.wallet-ref-empty > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #dfff25;
  background: rgba(207,255,22,0.08);
}

.wallet-ref-empty .ref-icon {
  width: 18px;
  height: 18px;
}

.wallet-ref-empty strong,
.wallet-ref-empty em {
  grid-column: 2;
}

.wallet-ref-empty strong {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  color: #f5f6ef;
}

.wallet-ref-empty em {
  margin-top: -7px;
  font-style: normal;
  font-size: 10px;
  color: rgba(232,238,231,0.58);
}

.deposit-stage {
  padding: 22px 18px 18px;
}

.deposit-stage--compact {
  padding: 18px 16px 16px;
}

.deposit-stage__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 224, 255, 0.66);
}

.deposit-stage__title {
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fbf6ff;
  text-shadow: 0 0 24px rgba(255,255,255,0.06);
}

.deposit-stage__subtitle {
  margin-top: 10px;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.58;
  color: rgba(234, 224, 255, 0.72);
}

.deposit-stage--compact .deposit-stage__title {
  margin-top: 10px;
  font-size: 24px;
}

.deposit-stage--compact .deposit-stage__subtitle {
  margin-top: 8px;
  max-width: none;
  font-size: 12px;
  line-height: 1.48;
}

.deposit-stage__method {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(214, 180, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.deposit-stage--compact .deposit-stage__method {
  margin-top: 12px;
  padding: 12px;
  gap: 12px;
  border-radius: 20px;
}

.deposit-stage--compact .deposit-stage__method-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
}

.deposit-stage--compact .deposit-stage__method-body strong {
  font-size: 14px;
}

.deposit-stage--compact .deposit-stage__method-body span {
  font-size: 11px;
  line-height: 1.38;
}

.deposit-stage--compact .deposit-stage__method-badge {
  padding: 6px 10px;
}

.deposit-stage__method-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(9, 7, 25, 0.44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.deposit-stage__method-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.deposit-stage__method-body strong {
  font-size: 15px;
  font-weight: 800;
  color: #fbf6ff;
}

.deposit-stage__method-body span {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(234, 224, 255, 0.68);
}

.deposit-stage__method-badge {
  align-self: start;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(214, 180, 255, 0.16);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #efe5ff;
}

.wallet-hub {
  position: relative;
  padding: 24px 18px 18px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -12%, rgba(244, 216, 141, 0.22), transparent 32%),
    radial-gradient(circle at 16% 18%, rgba(217, 120, 255, 0.2), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(99, 102, 241, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(45, 25, 90, 0.98) 0%, rgba(20, 12, 48, 0.98) 100%);
  border: 1px solid rgba(214, 180, 255, 0.18);
  box-shadow:
    0 20px 54px rgba(8, 4, 22, 0.38),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 32px rgba(180,110,255,0.16);
}

.wallet-hub__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.9;
  pointer-events: none;
}

.wallet-hub__glow--one {
  inset: -34px auto auto -20px;
  width: 138px;
  height: 138px;
  background: rgba(214, 122, 255, 0.18);
}

.wallet-hub__glow--two {
  inset: auto -26px -50px auto;
  width: 150px;
  height: 150px;
  background: rgba(63, 191, 255, 0.14);
}

.wallet-hub__topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wallet-hub__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(234, 224, 255, 0.64);
}

.wallet-hub__asset-stack {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.wallet-hub__asset-badge,
.wallet-hub__asset-more {
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(25, 14, 54, 0.92);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 100%),
    rgba(15, 9, 35, 0.86);
  box-shadow:
    0 8px 20px rgba(7, 3, 20, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}

.wallet-hub__asset-badge:first-child,
.wallet-hub__asset-more:first-child {
  margin-left: 0;
}

.wallet-hub__asset-more {
  font-size: 11px;
  font-weight: 800;
  color: #f7efff;
}

.wallet-hub__amount {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-size: 46px;
  line-height: 1;
  font-weight: 900;
  color: #fbf6ff;
  letter-spacing: -0.04em;
  text-shadow: 0 0 28px rgba(255,255,255,0.06);
}

.wallet-hub__amount span {
  font-size: 22px;
  color: rgba(234, 224, 255, 0.72);
  margin-right: 4px;
}

.wallet-hub__subtitle {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(234, 224, 255, 0.72);
}

.wallet-hub__meta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.wallet-hub__meta-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 14px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(222, 197, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.wallet-hub__meta-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 224, 255, 0.56);
}

.wallet-hub__meta-value {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
  color: #fbf6ff;
}

.wallet-hub__actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.wallet-action-tile {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 12px 12px;
  border-radius: 21px;
  border: 1px solid rgba(222, 197, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.03) 100%),
    rgba(255,255,255,0.03);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 28px rgba(7, 3, 20, 0.18);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.wallet-action-tile:active {
  transform: translateY(1px) scale(0.995);
}

.wallet-action-tile--deposit {
  background:
    linear-gradient(180deg, rgba(230, 183, 255, 0.16), rgba(255,255,255,0.04)),
    rgba(255,255,255,0.03);
  border-color: rgba(216, 162, 255, 0.2);
}

.wallet-action-tile--withdraw {
  background:
    linear-gradient(180deg, rgba(243, 216, 141, 0.16), rgba(255,255,255,0.04)),
    rgba(255,255,255,0.03);
  border-color: rgba(243, 216, 141, 0.18);
}

.wallet-action-tile__icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 100%),
    rgba(10, 7, 28, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 8px 18px rgba(7, 3, 20, 0.2);
  color: #fff;
  flex: 0 0 auto;
  overflow: hidden;
}

.wallet-action-tile__icon .payment-method-icon,
.wallet-action-tile__icon .ref-icon,
.wallet-action-tile__icon .deposit-ui-icon {
  width: 20px;
  height: 20px;
}

.wallet-action-tile__icon .deposit-ui-icon {
  color: #f6efff;
}

.wallet-action-tile__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.wallet-action-tile__body strong {
  display: block;
  max-width: 100%;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  color: #fbf6ff;
  white-space: nowrap;
}

.wallet-action-tile__body span {
  display: block;
  max-width: 100%;
  font-size: 10px;
  line-height: 1.28;
  color: rgba(234, 224, 255, 0.64);
  overflow-wrap: anywhere;
}

.wallet-stats-grid--premium {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
  margin-top: 0;
}

.wallet-stat-card {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  padding: 15px 14px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    linear-gradient(180deg, rgba(31, 18, 61, 0.96) 0%, rgba(15, 10, 34, 0.96) 100%);
  border: 1px solid rgba(214, 180, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 30px rgba(7, 3, 20, 0.18);
}

.wallet-stat-card__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 14px;
  color: rgba(255,255,255,0.9);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%),
    rgba(255,255,255,0.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.wallet-stat-card__icon .ref-icon {
  width: 16px;
  height: 16px;
}

.wallet-methods {
  padding: 18px 16px;
}

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

.wallet-section-head__title {
  font-size: 14px;
  font-weight: 800;
  color: #f7f1ff;
}

.wallet-section-head__text {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(234, 224, 255, 0.66);
}

.wallet-section-head__action {
  flex: 0 0 auto;
  align-self: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 180, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%),
    rgba(255,255,255,0.03);
  color: #f7efff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.wallet-section-head__action:active {
  transform: translateY(1px);
}

.wallet-methods__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.wallet-method-pill {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(221, 197, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.wallet-method-pill__icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 100%),
    rgba(7, 5, 22, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 8px 18px rgba(7, 3, 20, 0.16);
  flex: 0 0 auto;
  overflow: hidden;
}

.wallet-method-pill__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wallet-method-pill__body strong {
  font-size: 15px;
  font-weight: 800;
  color: #f7f1ff;
}

.wallet-method-pill__name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(246, 238, 255, 0.86);
}

.wallet-method-pill__hint {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(234, 224, 255, 0.66);
}

.wallet-method-pill__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.wallet-method-pill__badge,
.wallet-method-pill__network {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wallet-method-pill__badge {
  color: #d8ffd8;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.18);
}

.wallet-method-pill__network {
  color: rgba(246, 238, 255, 0.86);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(214, 180, 255, 0.14);
}

.wallet-footer-actions {
  padding-bottom: 4px;
}

.wallet-history-btn {
  min-height: 52px;
  border-radius: 20px;
}

.deposit-composer {
  padding: 18px 16px;
}

.deposit-composer--checkout {
  padding: 16px 14px;
}

.deposit-composer--checkout .wallet-section-head {
  margin-bottom: 12px;
}

.deposit-composer--checkout .wallet-section-head__text {
  font-size: 11px;
  line-height: 1.4;
}

.funding-method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.funding-method-card {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(214, 181, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  text-align: left;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.funding-method-card:active {
  transform: translateY(1px) scale(0.995);
}

.funding-method-card.is-selected {
  border-color: rgba(233, 194, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(190, 130, 255, 0.18) 0%, rgba(255,255,255,0.04) 100%),
    rgba(255,255,255,0.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 18px rgba(184, 111, 255, 0.18);
}

.funding-method-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 4, 20, 0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  flex: 0 0 auto;
}

.funding-method-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}

.funding-method-card__body strong {
  font-size: 15px;
  font-weight: 800;
  color: #f7f1ff;
}

.funding-method-card__label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(246, 238, 255, 0.86);
}

.funding-method-card__hint {
  font-size: 11px;
  line-height: 1.42;
  color: rgba(234, 224, 255, 0.62);
}

.funding-method-card__rail {
  align-self: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(214, 180, 255, 0.14);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 238, 255, 0.86);
  flex: 0 0 auto;
}

.deposit-method-note {
  margin-top: 4px;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(234, 224, 255, 0.66);
}

.deposit-result-card {
  padding: 18px 16px;
}

.deposit-result-card__hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.deposit-result-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  flex: 0 0 auto;
}

.deposit-result-card__icon .payment-method-icon {
  width: 34px;
  height: 34px;
}

.deposit-result-card__headline {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.deposit-result-card__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 224, 255, 0.56);
}

.deposit-result-card__send-value {
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  color: #f5db8e;
  text-shadow: 0 0 16px rgba(245, 219, 142, 0.18);
}

.deposit-result-card__credit {
  font-size: 12px;
  font-weight: 700;
  color: rgba(210, 248, 212, 0.86);
}

.deposit-result-card__meta {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(234, 224, 255, 0.62);
}

.deposit-result-card__qr-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.deposit-result-card__qr {
  width: 164px;
  height: 164px;
  object-fit: cover;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255,255,255,0.96);
  box-shadow:
    0 16px 34px rgba(7, 3, 20, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.82);
}

.deposit-result-card__quote-note {
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(214, 180, 255, 0.12);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(234, 224, 255, 0.72);
}

.deposit-result-card__waiting {
  margin-top: 14px;
  text-align: center;
}

.deposit-result-card__waiting-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 180, 255, 0.12);
}

.deposit-info-card {
  background:
    radial-gradient(circle at 12% 18%, rgba(243, 216, 141, 0.14), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(217, 120, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(34, 20, 64, 0.98) 0%, rgba(18, 11, 40, 0.98) 100%);
  border-color: rgba(224, 191, 255, 0.14);
}

.deposit-trust-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deposit-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 180, 255, 0.08);
  color: rgba(239, 231, 255, 0.82);
  font-size: 12px;
  line-height: 1.52;
}

.deposit-trust-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f4d88d;
  background: rgba(8, 6, 23, 0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  flex: 0 0 auto;
}

.withdraw-page__content {
  gap: 14px;
}

.withdraw-hero {
  padding: 22px 18px 18px;
  text-align: center;
}

.withdraw-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 224, 255, 0.68);
}

.withdraw-hero__amount {
  margin-top: 12px;
  font-size: 40px;
  line-height: 1;
  font-weight: 900;
  color: #fff3d7;
  letter-spacing: -0.04em;
}

.withdraw-hero__sub {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(234, 224, 255, 0.72);
}

.withdraw-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.withdraw-hero__chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(214, 180, 255, 0.16);
  color: rgba(246, 238, 255, 0.84);
  font-size: 11px;
  font-weight: 800;
}

.withdraw-card,
.withdraw-history-card {
  padding: 18px 16px;
}

.withdraw-method-note {
  margin-bottom: 12px;
}

.withdraw-quote-card {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(214, 180, 255, 0.12);
}

.withdraw-quote-card__placeholder {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(234, 224, 255, 0.68);
}

.withdraw-quote-card__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.withdraw-quote-card__item {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 180, 255, 0.08);
}

.withdraw-quote-card__item span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(228, 218, 255, 0.54);
}

.withdraw-quote-card__item strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  color: #fff3df;
  overflow-wrap: anywhere;
}

@media (max-width: 380px) {
  .wallet-ref-page__content {
    padding-inline: 12px;
  }

  .wallet-ref-hero {
    min-height: 174px;
    padding: 14px;
    border-radius: 22px;
  }

  .wallet-ref-hero h2,
  .wallet-ref-section-head h3 {
    font-size: 21px;
  }

  .wallet-ref-hero__amount strong {
    font-size: clamp(38px, 12vw, 50px);
  }

  .wallet-ref-hero__chips {
    gap: 6px;
  }

  .wallet-ref-hero__chips span {
    padding: 7px 6px;
    font-size: 8px;
  }

  .wallet-ref-actions {
    gap: 7px;
  }

  .wallet-ref-action {
    min-height: 96px;
    padding: 10px;
    border-radius: 18px;
  }

  .wallet-ref-action__copy strong {
    font-size: 15px;
  }

  .wallet-ref-action__copy em {
    font-size: 9px;
  }

  .wallet-ref-metric {
    min-height: 102px;
    padding: 10px;
  }

  .wallet-ref-metric strong {
    font-size: 19px;
  }

  .wallet-ref-flow__body {
    grid-template-columns: 52px minmax(0, 1fr) 58px;
    gap: 8px;
  }

  .wallet-ref-flow__orb {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    font-size: 24px;
  }

  .wallet-ref-flow__copy strong {
    font-size: 15px;
  }

  .wallet-ref-network {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 7px;
  }

  .wallet-ref-network__icon,
  .wallet-ref-network__icon .payment-method-icon {
    width: 34px;
    height: 34px;
  }

  .wallet-ref-network__body strong {
    font-size: 13px;
  }

  .wallet-ref-network__meta b,
  .wallet-ref-network__meta small {
    max-width: 60px;
  }

  .wallet-hub__actions {
    grid-template-columns: 1fr;
  }

  .wallet-hub__amount {
    font-size: 38px;
  }

  .wallet-hub__topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .wallet-hub__asset-stack {
    justify-content: flex-start;
  }

  .wallet-hub__meta-grid,
  .wallet-stats-grid--premium {
    grid-template-columns: 1fr;
  }

  .wallet-method-pill {
    grid-template-columns: auto 1fr;
  }

  .wallet-method-pill__meta {
    grid-column: 2;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
  }

  .deposit-stage__method {
    grid-template-columns: auto 1fr;
  }

  .deposit-stage__method-badge {
    grid-column: 2;
    justify-self: start;
    margin-top: -2px;
  }

  .funding-method-card {
    padding: 13px;
    gap: 12px;
  }

  .funding-method-card__rail {
    padding-inline: 8px;
    font-size: 9px;
  }

  .deposit-address-box__top {
    flex-direction: column;
    align-items: stretch;
  }

  .deposit-copy-btn--primary {
    width: 100%;
    justify-content: center;
  }

  .withdraw-quote-card__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Transaction History ────────────────────────────────────── */
.tx-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.tx-item:hover { background: var(--bg-card-hover); }

.tx-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.tx-icon.deposit    { background: rgba(16,185,129,0.12); }
.tx-icon.withdrawal { background: rgba(239,68,68,0.12); }
.tx-icon.accrual    { background: rgba(139,92,246,0.12); }
.tx-icon.bonus      { background: rgba(245,158,11,0.12); }
.tx-icon.referral   { background: rgba(6,182,212,0.12); }
.tx-icon.reinvest   { background: rgba(139,92,246,0.12); }
.tx-icon.manual     { background: rgba(255,255,255,0.06); }

.tx-info { flex: 1; min-width: 0; }

.tx-type {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.tx-amount {
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}

.tx-amount.positive { color: var(--green); }
.tx-amount.negative { color: var(--red); }
.tx-amount.neutral { color: var(--text-primary); }

.tx-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.status-completed { background: rgba(16,185,129,0.15); color: var(--green); }
.status-pending   { background: rgba(245,158,11,0.15); color: var(--warning); }
.status-failed    { background: rgba(239,68,68,0.15);  color: var(--red); }
.status-canceled  { background: rgba(255,255,255,0.06); color: var(--text-muted); }

/* ── Referrals Page ─────────────────────────────────────────── */
.referrals-page__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 16px 18px;
}

.referrals-hero {
  padding: 2px 2px 0;
}

.referrals-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(235, 224, 255, 0.82);
  background: rgba(122, 84, 255, 0.12);
  border: 1px solid rgba(191, 163, 255, 0.18);
  box-shadow: 0 10px 28px rgba(12, 8, 28, 0.22);
}

.referrals-hero__title {
  margin: 12px 0 6px;
  font-size: 27px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #f8f4ff;
}

.referrals-hero__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(228, 220, 248, 0.78);
}

.referrals-panel,
.referrals-note,
.referrals-stat-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(198, 166, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(36, 24, 82, 0.92), rgba(21, 15, 49, 0.94)),
    radial-gradient(circle at top left, rgba(180, 111, 255, 0.18), transparent 54%);
  box-shadow:
    0 16px 40px rgba(6, 4, 22, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(198, 166, 255, 0.08);
  overflow: hidden;
}

.referrals-panel::before,
.referrals-note::before,
.referrals-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(249, 156, 255, 0.12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(107, 201, 255, 0.08), transparent 30%);
  pointer-events: none;
}

.referrals-panel {
  padding: 16px;
}

.referrals-panel--accent {
  border-color: rgba(219, 174, 255, 0.22);
  box-shadow:
    0 20px 44px rgba(8, 5, 26, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(219, 174, 255, 0.12),
    0 0 36px rgba(180, 110, 255, 0.16);
}

.referrals-panel--balance {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.referrals-panel--stats {
  padding-top: 14px;
  padding-bottom: 14px;
}

.referrals-panel__topline,
.referrals-section-head {
  position: relative;
  z-index: 1;
}

.referrals-panel__topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.referrals-panel__tag,
.referrals-panel__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.referrals-panel__tag {
  max-width: 100%;
  padding: 0 11px;
  font-size: 10px;
  white-space: nowrap;
  color: rgba(238, 230, 255, 0.84);
  background: rgba(114, 91, 210, 0.18);
  border: 1px solid rgba(190, 168, 255, 0.16);
}

.referrals-panel__pill {
  color: #ffe8ff;
  background: linear-gradient(135deg, rgba(211, 98, 255, 0.32), rgba(124, 96, 255, 0.2));
  border: 1px solid rgba(241, 170, 255, 0.24);
}

.referrals-link-card,
.referrals-note,
.referrals-level-card {
  position: relative;
  z-index: 1;
}

.referrals-balance-hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.referrals-balance-hero__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #f7e9ff;
  background: linear-gradient(135deg, rgba(208, 125, 255, 0.3), rgba(100, 172, 255, 0.2));
  border: 1px solid rgba(233, 205, 255, 0.18);
  box-shadow: 0 12px 28px rgba(33, 19, 74, 0.24);
}

.referrals-balance-hero__body {
  min-width: 0;
  flex: 1;
}

.referrals-balance-hero__eyebrow {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(229, 220, 248, 0.72);
}

.referrals-balance-hero__value {
  margin-top: 6px;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff7ff;
}

.referrals-balance-hero__text {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(225, 217, 246, 0.8);
}

.referrals-metric-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.referrals-metric-card {
  min-width: 0;
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(189, 162, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.referrals-metric-card__meta {
  font-size: 9px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(225, 217, 246, 0.68);
}

.referrals-metric-card__value {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff8ff;
}

.referrals-metric-card__value--code {
  font-size: 16px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  color: #ead7ff;
  word-break: break-word;
}

.referrals-balance-callout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.referrals-balance-callout__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #f7e9ff;
  background: linear-gradient(135deg, rgba(208, 125, 255, 0.3), rgba(100, 172, 255, 0.2));
  border: 1px solid rgba(233, 205, 255, 0.18);
  box-shadow: 0 12px 28px rgba(33, 19, 74, 0.24);
}

.referrals-balance-callout__body {
  min-width: 0;
  flex: 1;
}

.referrals-balance-callout__eyebrow {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(229, 220, 248, 0.72);
}

.referrals-balance-callout__text {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(225, 217, 246, 0.8);
}

.referrals-stat-card__action {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  min-height: 44px;
  line-height: 1.25;
  white-space: normal;
}

.referrals-link-card__value {
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(189, 162, 255, 0.14);
  color: #f4ecff;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 13px;
  line-height: 1.55;
  word-break: break-word;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

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

.referrals-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
}

.referrals-action-btn--wide {
  grid-column: 1 / -1;
}

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

.referrals-stat-card {
  padding: 14px 14px 15px;
}

.referrals-stat-card--balance {
  grid-column: 1 / -1;
}

.referrals-stat-card__icon {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #f7e3ff;
  background: linear-gradient(135deg, rgba(197, 122, 255, 0.3), rgba(104, 151, 255, 0.18));
  border: 1px solid rgba(234, 203, 255, 0.18);
  box-shadow: 0 10px 24px rgba(50, 28, 98, 0.24);
}

.referrals-stat-card__meta,
.referrals-section-head__text,
.referrals-level-card__stats,
.referrals-note__text {
  position: relative;
  z-index: 1;
  color: rgba(225, 217, 246, 0.72);
}

.referrals-stat-card__meta {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.referrals-stat-card__value {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff8ff;
}

.referrals-stat-card__value--code {
  font-size: 18px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  color: #ead7ff;
}

.referrals-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.referrals-section-head__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #f8f2ff;
}

.referrals-section-head__text {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
}

.referrals-level-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.referrals-level-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(190, 162, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.referrals-level-card__badge {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff8ef;
  background: linear-gradient(135deg, rgba(243, 192, 104, 0.22), rgba(255, 120, 207, 0.18));
  border: 1px solid rgba(246, 203, 131, 0.16);
}

.tone-2 .referrals-level-card__badge {
  color: #f0e5ff;
  background: linear-gradient(135deg, rgba(171, 113, 255, 0.28), rgba(110, 129, 255, 0.18));
  border-color: rgba(196, 164, 255, 0.16);
}

.tone-3 .referrals-level-card__badge {
  color: #e7fdff;
  background: linear-gradient(135deg, rgba(85, 219, 255, 0.26), rgba(103, 140, 255, 0.18));
  border-color: rgba(120, 221, 255, 0.16);
}

.tone-4 .referrals-level-card__badge {
  color: #ecf6ff;
  background: linear-gradient(135deg, rgba(118, 147, 255, 0.26), rgba(177, 115, 255, 0.18));
  border-color: rgba(154, 183, 255, 0.16);
}

.tone-5 .referrals-level-card__badge {
  color: #fff3ff;
  background: linear-gradient(135deg, rgba(255, 122, 213, 0.24), rgba(182, 110, 255, 0.2));
  border-color: rgba(255, 162, 226, 0.16);
}

.referrals-level-card__body {
  flex: 1;
  min-width: 0;
}

.referrals-level-card__title {
  font-size: 14px;
  font-weight: 800;
  color: #f8f2ff;
}

.referrals-level-card__stats {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.45;
}

.referrals-level-card__rate {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffe5f8;
}

.referrals-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
}

.referrals-note__icon {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #efe3ff;
  background: rgba(184, 120, 255, 0.16);
  border: 1px solid rgba(216, 186, 255, 0.16);
}

.referrals-note__text {
  font-size: 12px;
  line-height: 1.6;
}

.referrals-section-head--actions {
  align-items: center;
}

.referrals-export-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  flex-shrink: 0;
}

.referrals-filter-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 12px;
  scrollbar-width: none;
}

.referrals-filter-row::-webkit-scrollbar {
  display: none;
}

.referrals-filter-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(188, 162, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(239, 231, 255, 0.76);
  font-size: 12px;
  font-weight: 700;
}

.referrals-filter-chip span {
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff6ff;
  font-size: 10px;
}

.referrals-filter-chip.is-active {
  color: #fff7ff;
  border-color: rgba(245, 183, 255, 0.2);
  background: linear-gradient(135deg, rgba(197, 111, 255, 0.24), rgba(101, 129, 255, 0.16));
  box-shadow: 0 0 24px rgba(182, 107, 255, 0.12);
}

.referrals-directory-loading,
.referrals-empty {
  position: relative;
  z-index: 1;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 18px;
  border: 1px dashed rgba(188, 162, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(232, 224, 249, 0.72);
  padding: 18px;
}

.referrals-empty__icon {
  margin-bottom: 10px;
  color: #f4e3ff;
}

.referrals-empty__title {
  font-size: 13px;
  font-weight: 700;
  color: #f4edff;
}

.referrals-directory-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11px;
  color: rgba(229, 221, 247, 0.68);
}

.referrals-member-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.referrals-member-card {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(188, 162, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.referrals-member-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.referrals-member-card__identity {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.referrals-member-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 900;
  color: #fff8ff;
  background: linear-gradient(135deg, rgba(183, 104, 255, 0.32), rgba(101, 140, 255, 0.22));
  border: 1px solid rgba(210, 182, 255, 0.16);
}

.referrals-member-card__main {
  min-width: 0;
}

.referrals-member-card__name {
  font-size: 14px;
  font-weight: 800;
  color: #f8f3ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.referrals-member-card__meta {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 11px;
  color: rgba(229, 221, 247, 0.66);
}

.referrals-member-card__level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 199, 119, 0.12);
  color: #ffd99a;
  border: 1px solid rgba(246, 203, 131, 0.14);
  font-weight: 800;
}

.referrals-member-card__profit {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffe4fb;
  text-align: right;
}

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

.referrals-member-card__stat {
  padding: 10px 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(188, 162, 255, 0.1);
}

.referrals-member-card__stat span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(225, 217, 246, 0.58);
}

.referrals-member-card__stat strong {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.45;
  color: #f7f1ff;
}

.referrals-pagination {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.referrals-pagination__btn {
  min-width: 92px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(188, 162, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f3ebff;
  font-size: 12px;
  font-weight: 800;
}

.referrals-pagination__btn:disabled {
  opacity: 0.45;
}

.referrals-pagination__label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(232, 224, 249, 0.74);
  text-align: center;
}

.referrals-balance-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}

.ref-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ref-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 370px) {
  .referrals-hero__title {
    font-size: 24px;
  }

  .referrals-stat-card__value {
    font-size: 19px;
  }

  .referrals-balance-hero {
    gap: 12px;
  }

  .referrals-balance-hero__value {
    font-size: 25px;
  }

  .referrals-metric-strip {
    grid-template-columns: 1fr;
  }

  .referrals-level-card__rate {
    font-size: 18px;
  }

  .referrals-member-card__stats {
    grid-template-columns: 1fr;
  }

  .referrals-section-head--actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ── Tasks Page ─────────────────────────────────────────────── */
.tasks-page__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 16px 22px;
}

.tasks-hero {
  padding: 2px 2px 0;
}

.tasks-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(235, 224, 255, 0.82);
  background: rgba(122, 84, 255, 0.12);
  border: 1px solid rgba(191, 163, 255, 0.18);
  box-shadow: 0 10px 28px rgba(12, 8, 28, 0.22);
}

.tasks-hero__title {
  margin: 12px 0 6px;
  font-size: 27px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #f8f4ff;
}

.tasks-hero__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(228, 220, 248, 0.78);
}

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

.tasks-summary-card,
.tasks-panel,
.task-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(198, 166, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(36, 24, 82, 0.92), rgba(21, 15, 49, 0.94)),
    radial-gradient(circle at top left, rgba(180, 111, 255, 0.18), transparent 54%);
  box-shadow:
    0 16px 40px rgba(6, 4, 22, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(198, 166, 255, 0.08);
  overflow: hidden;
}

.tasks-summary-card::before,
.tasks-panel::before,
.task-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(249, 156, 255, 0.12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(107, 201, 255, 0.08), transparent 30%);
  pointer-events: none;
}

.tasks-summary-card {
  padding: 14px 13px 15px;
}

.tasks-summary-card__icon,
.task-card__badge {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #f7e3ff;
  background: linear-gradient(135deg, rgba(197, 122, 255, 0.3), rgba(104, 151, 255, 0.18));
  border: 1px solid rgba(234, 203, 255, 0.18);
  box-shadow: 0 10px 24px rgba(50, 28, 98, 0.24);
}

.tasks-summary-card__icon .deposit-ui-icon,
.tasks-summary-card__icon .ref-icon,
.task-card__badge .deposit-ui-icon,
.task-card__badge .ref-icon {
  width: 18px;
  height: 18px;
}

.tasks-summary-card__meta,
.tasks-section-head__text {
  position: relative;
  z-index: 1;
  color: rgba(225, 217, 246, 0.72);
}

.tasks-summary-card__meta {
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tasks-summary-card__value {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  font-size: clamp(16px, 4.8vw, 22px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff8ff;
  overflow-wrap: anywhere;
}

.tasks-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tasks-panel {
  padding: 18px;
}

.tasks-section-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tasks-section-head__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #f8f2ff;
}

.tasks-section-head__text {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
}

.tasks-section-head__pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffe8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(211, 98, 255, 0.32), rgba(124, 96, 255, 0.2));
  border: 1px solid rgba(241, 170, 255, 0.24);
}

.task-card {
  --task-accent: #c67cff;
  --task-accent-soft: rgba(198, 124, 255, 0.2);
  --task-accent-edge: rgba(215, 151, 255, 0.18);
  padding: 16px;
}

.task-card--daily_bonus {
  --task-accent: #ffd774;
  --task-accent-soft: rgba(255, 215, 116, 0.18);
  --task-accent-edge: rgba(255, 233, 175, 0.18);
}

.task-card--subscribe {
  --task-accent: #f58cff;
  --task-accent-soft: rgba(245, 140, 255, 0.2);
  --task-accent-edge: rgba(255, 190, 247, 0.18);
}

.task-card--invite {
  --task-accent: #ffbf76;
  --task-accent-soft: rgba(255, 191, 118, 0.18);
  --task-accent-edge: rgba(255, 217, 167, 0.18);
}

.task-card--deposit {
  --task-accent: #77d4ff;
  --task-accent-soft: rgba(119, 212, 255, 0.18);
  --task-accent-edge: rgba(165, 225, 255, 0.18);
}

.task-card--plan {
  --task-accent: #91b7ff;
  --task-accent-soft: rgba(145, 183, 255, 0.18);
  --task-accent-edge: rgba(189, 213, 255, 0.18);
}

.task-card--activity {
  --task-accent: #8cffc7;
  --task-accent-soft: rgba(140, 255, 199, 0.16);
  --task-accent-edge: rgba(181, 255, 223, 0.18);
}

.task-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)) border-box,
    linear-gradient(135deg, var(--task-accent-edge), transparent 55%) padding-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}

.task-card.is-claimable {
  box-shadow:
    0 18px 44px rgba(8, 5, 26, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(219, 174, 255, 0.12),
    0 0 30px rgba(180, 110, 255, 0.14);
}

.task-card.is-claimed {
  opacity: 0.88;
}

.task-card__top,
.task-card__progress-block,
.task-card__actions,
.task-card__claimed {
  position: relative;
  z-index: 1;
}

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

.task-card__identity {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.task-card__main {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 6px;
  align-content: start;
}

.task-card__copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.task-card__copy.is-collapsible {
  position: relative;
}

.task-card:not(.is-expanded) .task-card__copy.is-collapsible::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(20, 11, 46, 0) 0%, rgba(20, 11, 46, 0.92) 100%);
  pointer-events: none;
}

.task-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}

.task-card__type,
.task-card__state {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.task-card__type {
  color: rgba(241, 233, 255, 0.84);
  background: var(--task-accent-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.task-card__state {
  color: rgba(227, 219, 245, 0.76);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(188, 162, 255, 0.1);
}

.task-card.is-claimable .task-card__state {
  color: #fff4de;
  background: rgba(255, 199, 119, 0.12);
  border-color: rgba(246, 203, 131, 0.16);
}

.task-card__title {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
  color: #f8f3ff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.task-card__desc {
  font-size: 12px;
  line-height: 1.48;
  color: rgba(229, 221, 247, 0.72);
  min-height: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.task-card.is-expanded .task-card__title,
.task-card.is-expanded .task-card__desc {
  display: block;
  -webkit-line-clamp: initial;
  overflow: visible;
}

.task-card__reward {
  flex-shrink: 0;
  min-width: 98px;
  padding: 10px 12px;
  border-radius: 18px;
  text-align: right;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(188, 162, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.task-card__reward span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(227, 219, 245, 0.54);
}

.task-card__reward strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffe4fb;
  overflow-wrap: anywhere;
}

.task-card__toggle {
  justify-self: flex-start;
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin-top: 2px;
  color: rgba(245, 217, 139, 0.92);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.task-card__toggle:active {
  transform: translateY(1px);
}

.task-card__progress-block {
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(188, 162, 255, 0.12);
}

.task-card__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.task-card__progress-meta span {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(225, 217, 246, 0.56);
}

.task-card__progress-meta strong {
  font-size: 12px;
  font-weight: 800;
  color: #f8f3ff;
}

.task-card__progress-bar {
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
}

.task-card__progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--task-accent), #f7a9ff);
  box-shadow: 0 0 18px rgba(245, 156, 255, 0.2);
  transition: width 0.6s ease;
}

.task-card__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.task-card__action,
.task-card__claim {
  border: 0;
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  min-width: 0;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.task-card__action:disabled,
.task-card__claim:disabled {
  opacity: 0.65;
  cursor: default;
}

.task-card__action:not(:disabled):active,
.task-card__claim:not(:disabled):active {
  transform: translateY(1px);
}

.task-card__action--soft {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(188, 162, 255, 0.14);
  color: #f3ecff;
}

.task-card__action--primary {
  color: #fff7ff;
  background: linear-gradient(135deg, rgba(210, 104, 255, 0.94), rgba(136, 118, 255, 0.9));
  box-shadow:
    0 12px 24px rgba(108, 54, 173, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.task-card__claim {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 12px;
  color: #271127;
  background: linear-gradient(135deg, #f3d98b, #e1b85a);
  box-shadow:
    0 16px 28px rgba(120, 75, 16, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.task-card__claim .deposit-ui-icon,
.task-card__claimed .deposit-ui-icon {
  width: 15px;
  height: 15px;
}

.task-card__claimed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #aef2c6;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 560px) {
  .withdraw-quote-card__grid {
    grid-template-columns: 1fr;
  }

  .task-card__top {
    grid-template-columns: 1fr;
  }

  .task-card__reward {
    min-width: 0;
    width: 100%;
    text-align: left;
  }
}

.tasks-empty {
  position: relative;
  z-index: 1;
  min-height: 156px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 20px 18px;
  border-radius: 20px;
  border: 1px dashed rgba(188, 162, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.tasks-empty__icon {
  color: #f3e7ff;
}

.tasks-empty__title {
  font-size: 14px;
  font-weight: 800;
  color: #f8f2ff;
}

.tasks-empty__text {
  max-width: 250px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(228, 220, 248, 0.72);
}

@media (max-width: 370px) {
  .tasks-summary-grid {
    gap: 8px;
  }

  .tasks-summary-card {
    padding: 13px 11px 14px;
  }

  .tasks-summary-card__value {
    font-size: 18px;
  }

  .tasks-section-head {
    flex-direction: column;
  }

  .task-card__top {
    grid-template-columns: 1fr;
  }

  .task-card__reward {
    width: 100%;
    min-width: 0;
    text-align: left;
  }
}

/* ── Notifications ──────────────────────────────────────────── */
.notif-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
}

.notif-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  transition: var(--transition);
  position: relative;
}

.notif-item.unread {
  background: rgba(139,92,246,0.06);
  border-color: rgba(139,92,246,0.25);
}

.notif-item.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--purple-light);
  border-radius: 0 2px 2px 0;
}

.notif-icon-wrap {
  font-size: 22px;
  flex-shrink: 0;
}

.notif-body { flex: 1; min-width: 0; }

.notif-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.notif-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.notif-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Support ────────────────────────────────────────────────── */
.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px;
}

.ticket-item {
  width: 100%;
  appearance: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  color: var(--text-primary);
}

.ticket-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.ticket-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ticket-status-dot.open     { background: var(--warning); }
.ticket-status-dot.answered { background: var(--green); }
.ticket-status-dot.closed   { background: var(--text-muted); }

.ticket-subject {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-main {
  flex: 1;
  min-width: 0;
}

.ticket-meta {
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.ticket-date {
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.support-ticket-modal {
  background:
    radial-gradient(circle at 50% -18%, rgba(186, 110, 255, 0.24) 0%, rgba(186, 110, 255, 0) 34%),
    linear-gradient(180deg, rgba(36, 18, 78, 0.98) 0%, rgba(18, 10, 48, 0.99) 100%);
}

.support-ticket-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.support-ticket-modal__subject {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.support-ticket-modal__status {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.84);
}

.support-ticket-modal__status.is-open {
  background: rgba(255, 196, 76, 0.14);
  color: #ffd77a;
}

.support-ticket-modal__status.is-answered {
  background: rgba(87, 214, 146, 0.14);
  color: #7ef0aa;
}

.support-ticket-modal__status.is-closed {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
}

.support-ticket-modal__meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.support-ticket-modal__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 48dvh;
  overflow-y: auto;
  margin-bottom: 14px;
  padding-right: 4px;
}

.support-ticket-modal__message {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
}

.support-ticket-modal__message.is-admin {
  background: rgba(118, 92, 255, 0.12);
  border-color: rgba(170, 144, 255, 0.18);
}

.support-ticket-modal__message-role {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.support-ticket-modal__message-body {
  font-size: 14px;
  line-height: 1.55;
  color: #f9f4ff;
}

.support-ticket-modal__message-time,
.support-ticket-modal__empty {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

.support-ticket-modal__composer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.035) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.support-ticket-modal__textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(8, 11, 28, 0.72);
  padding: 14px 16px;
  line-height: 1.55;
  color: #f9f4ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.support-ticket-modal__textarea::placeholder {
  color: rgba(255,255,255,0.42);
}

.support-ticket-modal__textarea:focus {
  border-color: rgba(170, 144, 255, 0.46);
  background: rgba(10, 14, 34, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 3px rgba(128, 90, 213, 0.18);
}

.support-ticket-modal__actions {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.support-ticket-modal__actions .btn {
  min-height: 46px;
}

.support-ticket-modal__closed-note {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.04);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
}

@media (max-width: 560px) {
  .support-ticket-modal__actions {
    grid-template-columns: 1fr;
  }
}

/* ── Profile Page ───────────────────────────────────────────── */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px 16px;
  text-align: center;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  color: white;
  box-shadow: var(--shadow-purple);
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 20px;
  font-weight: 800;
}

.profile-username {
  font-size: 13px;
  color: var(--text-secondary);
}

.profile-id {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.profile-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
}

.profile-menu-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.profile-menu-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--purple-muted);
  flex-shrink: 0;
}

.profile-menu-text { flex: 1; }

.profile-menu-label {
  font-size: 14px;
  font-weight: 600;
}

.profile-menu-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.profile-menu-arrow {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── News ───────────────────────────────────────────────────── */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
}

.news-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  cursor: pointer;
  transition: var(--transition);
}

.news-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.news-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.news-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.news-preview {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Onboarding ─────────────────────────────────────────────── */
.onboarding {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding:
    calc(env(safe-area-inset-top, 0px) + 18px)
    18px
    calc(env(safe-area-inset-bottom, 0px) + 20px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -8%, rgba(237, 181, 255, 0.16) 0%, rgba(237, 181, 255, 0) 34%),
    radial-gradient(circle at 12% 24%, rgba(146, 114, 255, 0.18) 0%, rgba(146, 114, 255, 0) 28%),
    radial-gradient(circle at 88% 72%, rgba(122, 172, 255, 0.14) 0%, rgba(122, 172, 255, 0) 26%),
    linear-gradient(180deg, rgba(19, 10, 44, 0.94) 0%, rgba(10, 6, 26, 0.98) 100%);
}

.onboarding-flow {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.onboarding-space {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.onboarding-space__glow,
.onboarding-space__beam {
  position: absolute;
  display: block;
}

.onboarding-space__glow {
  border-radius: 50%;
  filter: blur(26px);
}

.onboarding-space__glow--one {
  top: 3%;
  left: -16%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(221, 110, 255, 0.18) 0%, rgba(221, 110, 255, 0) 72%);
}

.onboarding-space__glow--two {
  right: -18%;
  bottom: 10%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(122, 123, 255, 0.18) 0%, rgba(122, 123, 255, 0) 72%);
}

.onboarding-space__beam {
  left: 50%;
  top: 11%;
  width: 88%;
  height: 360px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at top, rgba(255, 196, 126, 0.18) 0%, rgba(255, 196, 126, 0.06) 18%, rgba(255, 196, 126, 0) 72%),
    linear-gradient(180deg, rgba(210, 145, 255, 0.1) 0%, rgba(210, 145, 255, 0) 100%);
  filter: blur(14px);
  opacity: 0.82;
}

.onboarding-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.onboarding-progress {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.onboarding-progress__count {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(233, 218, 255, 0.62);
}

.onboarding-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.onboarding-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: transform .22s ease, width .22s ease, background .22s ease;
}

.onboarding-dot.active {
  width: 28px;
  background: linear-gradient(90deg, rgba(240, 182, 86, 0.92) 0%, rgba(243, 217, 139, 0.98) 100%);
  box-shadow:
    0 0 12px rgba(241, 191, 101, 0.24),
    0 0 22px rgba(191, 132, 255, 0.16);
}

.onboarding-skip {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(226, 194, 255, 0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  color: rgba(245, 236, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.onboarding-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.onboarding-hero-card,
.onboarding-copy-card {
  position: relative;
  border: 1px solid rgba(220, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 18%, rgba(255,255,255,0) 36%),
    linear-gradient(180deg, rgba(35, 18, 79, 0.94) 0%, rgba(14, 8, 34, 0.98) 100%);
  box-shadow:
    0 18px 38px rgba(4, 2, 15, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 24px rgba(176, 108, 255, 0.1);
  overflow: hidden;
}

.onboarding-hero-card::before,
.onboarding-copy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0));
  pointer-events: none;
}

.onboarding-hero-card {
  min-height: 314px;
  border-radius: 32px;
  background:
    radial-gradient(220px 120px at 50% 10%, rgba(254, 202, 127, 0.12) 0%, rgba(254, 202, 127, 0.03) 24%, rgba(254, 202, 127, 0) 72%),
    radial-gradient(280px 220px at 0% 100%, rgba(214, 118, 255, 0.12) 0%, rgba(214, 118, 255, 0) 68%),
    radial-gradient(280px 200px at 100% 0%, rgba(104, 116, 255, 0.16) 0%, rgba(104, 116, 255, 0) 72%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.016) 0 2px, transparent 2px 18px),
    linear-gradient(180deg, rgba(35, 18, 79, 0.96) 0%, rgba(14, 8, 34, 1) 100%);
}

.onboarding-hero-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  min-height: 31px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.03) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(135deg, rgba(232, 177, 91, 0.92) 0%, rgba(243, 217, 139, 0.94) 100%);
  color: #482a11;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 12px 24px rgba(31, 12, 36, 0.24);
}

.onboarding-hero-card__visual {
  position: relative;
  min-height: 314px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 18px 22px;
}

.onboarding-hero-card__glow {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(16px);
}

.onboarding-hero-card__glow--one {
  width: 170px;
  height: 170px;
  top: 14%;
  left: -6%;
  background: radial-gradient(circle, rgba(206, 119, 255, 0.18) 0%, rgba(206, 119, 255, 0) 72%);
}

.onboarding-hero-card__glow--two {
  width: 180px;
  height: 180px;
  right: -8%;
  bottom: 6%;
  background: radial-gradient(circle, rgba(122, 123, 255, 0.18) 0%, rgba(122, 123, 255, 0) 72%);
}

.onboarding-core {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onboarding-core__halo,
.onboarding-core__ring,
.onboarding-core__grid,
.onboarding-core__icon {
  position: absolute;
}

.onboarding-core__halo {
  inset: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(242, 187, 96, 0.16) 0%, rgba(242, 187, 96, 0.04) 42%, rgba(242, 187, 96, 0) 74%),
    radial-gradient(circle, rgba(182, 120, 255, 0.24) 0%, rgba(182, 120, 255, 0) 72%);
  filter: blur(12px);
}

.onboarding-core__ring {
  border-radius: 50%;
  border: 1px solid rgba(226, 194, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 0 20px rgba(176, 108, 255, 0.08);
}

.onboarding-core__ring--one {
  inset: 12px;
}

.onboarding-core__ring--two {
  inset: 34px;
  border-style: dashed;
  border-color: rgba(255, 230, 189, 0.14);
  animation: onboardingSpin 14s linear infinite;
}

.onboarding-core__ring--three {
  inset: 62px;
  border-color: rgba(176, 108, 255, 0.22);
}

.onboarding-core__grid {
  inset: 24px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.04) 50%, transparent 52%),
    linear-gradient(180deg, transparent 48%, rgba(255,255,255,0.04) 50%, transparent 52%);
  opacity: 0.8;
}

.onboarding-core__icon {
  width: 84px;
  height: 84px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  color: #fff8ff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(108, 68, 191, 0.72) 0%, rgba(49, 27, 101, 0.84) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 18px 34px rgba(10, 4, 24, 0.26),
    0 0 28px rgba(193, 135, 255, 0.18);
}

.onboarding-core__icon .deposit-ui-icon {
  width: 36px;
  height: 36px;
}

.onboarding-core__icon .deposit-ui-icon svg {
  width: 100%;
  height: 100%;
}

.onboarding-core--launch .onboarding-core__icon {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.05) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(115, 74, 216, 0.8) 0%, rgba(54, 30, 112, 0.9) 100%);
}

.onboarding-core--plan .onboarding-core__icon {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(205, 153, 83, 0.82) 0%, rgba(112, 74, 28, 0.92) 100%);
  color: #fffdf6;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 18px 34px rgba(18, 6, 18, 0.26),
    0 0 28px rgba(243, 196, 104, 0.2);
}

.onboarding-core--control .onboarding-core__icon {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.05) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(72, 128, 226, 0.78) 0%, rgba(34, 69, 148, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 18px 34px rgba(10, 4, 24, 0.26),
    0 0 28px rgba(116, 173, 255, 0.18);
}

.onboarding-visual-tags {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.onboarding-visual-tag {
  position: absolute;
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(224, 191, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 28%, rgba(255,255,255,0) 100%),
    rgba(38, 21, 81, 0.82);
  color: rgba(248, 239, 255, 0.84);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 20px rgba(9, 4, 24, 0.2);
  white-space: nowrap;
}

.onboarding-visual-tag--1 {
  top: 56px;
  left: 16px;
}

.onboarding-visual-tag--2 {
  top: 92px;
  right: 18px;
}

.onboarding-visual-tag--3 {
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.onboarding-copy-card {
  padding: 18px 16px 16px;
  border-radius: 28px;
}

.onboarding-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(233, 218, 255, 0.58);
}

.onboarding-title {
  margin: 8px 0 0;
  white-space: pre-line;
  font-size: 32px;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #f9f2ff;
  background: linear-gradient(180deg, #fffafc 0%, rgba(248, 240, 255, 0.76) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.onboarding-text {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(232, 221, 255, 0.74);
  line-height: 1.56;
}

.onboarding-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.onboarding-chip {
  min-height: 30px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(224, 191, 255, 0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(242, 232, 255, 0.78);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.onboarding-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.onboarding-feature {
  min-width: 0;
  min-height: 76px;
  padding: 12px 12px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 22px;
  border: 1px solid rgba(224, 191, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.015) 24%, rgba(255,255,255,0) 100%),
    rgba(255,255,255,0.03);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 20px rgba(8, 4, 20, 0.14);
}

.onboarding-feature__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #f8ecff;
  background:
    radial-gradient(circle at 50% 16%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 34%, rgba(255,255,255,0) 74%),
    linear-gradient(180deg, rgba(126, 79, 212, 0.46) 0%, rgba(63, 36, 128, 0.28) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 14px rgba(178, 117, 255, 0.12);
}

.onboarding-feature__icon .deposit-ui-icon {
  width: 19px;
  height: 19px;
}

.onboarding-feature__icon .deposit-ui-icon svg {
  width: 100%;
  height: 100%;
}

.onboarding-feature__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.onboarding-feature__label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(233, 218, 255, 0.5);
}

.onboarding-feature__value {
  font-size: 12px;
  line-height: 1.24;
  font-weight: 800;
  color: #fff6ff;
  word-break: break-word;
}

.onboarding-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.onboarding-metric {
  min-width: 0;
  min-height: 70px;
  padding: 12px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 22%, rgba(255,255,255,0) 100%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(224, 191, 255, 0.08);
}

.onboarding-metric__label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(233, 218, 255, 0.52);
}

.onboarding-metric__value {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 800;
  color: #fff6ff;
  word-break: break-word;
}

.onboarding-summary {
  margin-top: 16px;
  padding: 15px 15px 14px;
  border-radius: 24px;
  border: 1px solid rgba(224, 191, 255, 0.1);
  background:
    radial-gradient(120px 80px at 100% 0%, rgba(245, 197, 112, 0.12) 0%, rgba(245, 197, 112, 0) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 22%, rgba(255,255,255,0) 100%),
    rgba(255,255,255,0.03);
}

.onboarding-summary__label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(233, 218, 255, 0.56);
}

.onboarding-summary__title {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff6ff;
}

.onboarding-summary__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.onboarding-summary__meta span {
  min-height: 30px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: rgba(236, 226, 255, 0.74);
  font-size: 10px;
  font-weight: 700;
}

.onboarding-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.onboarding-primary {
  min-height: 60px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  border: 0;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 22%, rgba(255,255,255,0) 52%),
    linear-gradient(135deg, rgba(214, 168, 88, 0.96) 0%, rgba(243, 217, 139, 0.98) 100%);
  color: #482a11;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 16px 32px rgba(24, 10, 37, 0.26),
    0 0 24px rgba(243, 196, 104, 0.12);
}

.onboarding-primary span:first-child {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.onboarding-primary__arrow {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(72, 42, 17, 0.12);
}

.onboarding-primary__arrow .ui-icon {
  width: 16px;
  height: 16px;
  transform: translateX(1px);
}

.onboarding-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: rgba(232, 221, 255, 0.54);
}

.onboarding-flow,
.onboarding-hero-card,
.onboarding-copy-card,
.onboarding-skip,
.onboarding-primary {
  transform: translateZ(0);
}

.onboarding--simple {
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(220px 220px at 50% 18%, rgba(98, 255, 46, 0.1) 0%, rgba(98, 255, 46, 0) 70%),
    radial-gradient(260px 220px at 84% 82%, rgba(12, 84, 48, 0.18) 0%, rgba(12, 84, 48, 0) 72%),
    linear-gradient(180deg, rgba(7, 20, 24, 0.88) 0%, rgba(3, 11, 15, 0.96) 100%);
}

.onboarding-minimal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 382px;
  min-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 26px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
}

.onboarding-minimal .onboarding-skip {
  align-self: flex-end;
}

.onboarding-tabs {
  display: flex;
  gap: 8px;
}

.onboarding-tab {
  flex: 1 1 0;
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(226, 194, 255, 0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(239, 229, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  appearance: none;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.onboarding-tab.active {
  border-color: rgba(241, 199, 110, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(135deg, rgba(232, 177, 91, 0.18) 0%, rgba(243, 217, 139, 0.12) 100%);
  color: #fff7ea;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 18px rgba(243, 196, 104, 0.08);
}

.onboarding-minimal__hero {
  position: relative;
  padding: 26px 20px 22px;
  border-radius: 32px;
  border: 1px solid rgba(220, 184, 255, 0.14);
  background:
    radial-gradient(180px 110px at 50% 10%, rgba(254, 202, 127, 0.1) 0%, rgba(254, 202, 127, 0) 72%),
    radial-gradient(220px 170px at 0% 100%, rgba(214, 118, 255, 0.12) 0%, rgba(214, 118, 255, 0) 68%),
    radial-gradient(220px 170px at 100% 0%, rgba(104, 116, 255, 0.12) 0%, rgba(104, 116, 255, 0) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 18%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(35, 18, 79, 0.96) 0%, rgba(14, 8, 34, 0.98) 100%);
  box-shadow:
    0 18px 36px rgba(4, 2, 15, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 24px rgba(176, 108, 255, 0.1);
  overflow: hidden;
}

.onboarding-minimal__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0));
  pointer-events: none;
}

.onboarding-minimal__copy {
  text-align: center;
}

.onboarding-minimal__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #f9f2ff;
  background: linear-gradient(180deg, #fffafc 0%, rgba(248, 240, 255, 0.76) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.onboarding-minimal__text {
  margin: 10px auto 0;
  max-width: 278px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(232, 221, 255, 0.74);
}

.onboarding-figure {
  position: relative;
  margin-top: 18px;
  min-height: 236px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onboarding-figure__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
}

.onboarding-figure__glow--one {
  width: 150px;
  height: 150px;
  left: 7%;
  top: 12%;
  background: radial-gradient(circle, rgba(210, 112, 255, 0.16) 0%, rgba(210, 112, 255, 0) 72%);
}

.onboarding-figure__glow--two {
  width: 176px;
  height: 176px;
  right: 2%;
  bottom: 2%;
  background: radial-gradient(circle, rgba(114, 138, 255, 0.16) 0%, rgba(114, 138, 255, 0) 72%);
}

.onboarding-figure__panel {
  position: relative;
  width: min(100%, 270px);
  aspect-ratio: 1 / 0.82;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  border: 1px solid rgba(224, 191, 255, 0.1);
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 26%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(48, 28, 102, 0.76) 0%, rgba(21, 12, 49, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 20px 40px rgba(8, 3, 20, 0.26);
  overflow: hidden;
}

.onboarding-figure__panel::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.05);
}

.onboarding-figure__orb {
  position: absolute;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(241, 191, 101, 0.2) 0%, rgba(241, 191, 101, 0.06) 40%, rgba(241, 191, 101, 0) 72%),
    radial-gradient(circle, rgba(176, 108, 255, 0.24) 0%, rgba(176, 108, 255, 0) 72%);
  filter: blur(10px);
}

.onboarding-figure__icon-wrap {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  color: #fff8ff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(115, 74, 216, 0.8) 0%, rgba(54, 30, 112, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 20px 36px rgba(10, 4, 24, 0.28),
    0 0 28px rgba(193, 135, 255, 0.18);
  text-align: center;
}

.onboarding-figure__icon-wrap .deposit-ui-icon {
  width: 42px;
  height: 42px;
}

.onboarding-figure__icon-wrap .deposit-ui-icon svg {
  width: 100%;
  height: 100%;
}

.onboarding-primary--simple {
  min-height: 62px;
  margin-top: auto;
}

body.onboarding-shell .top-bar,
body.onboarding-shell .bottom-nav,
#app.onboarding-shell .top-bar,
#app.onboarding-shell .bottom-nav {
  display: none;
}

body.onboarding-shell #main-content,
#app.onboarding-shell #main-content {
  padding-top: 0;
}

@media (max-height: 760px) {
  .onboarding {
    padding-top: calc(env(safe-area-inset-top, 0px) + 16px);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  }

  .onboarding-flow {
    gap: 14px;
  }

  .onboarding-minimal {
    min-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 22px);
    gap: 14px;
  }

  .onboarding-tabs {
    gap: 7px;
  }

  .onboarding-minimal__hero {
    padding: 22px 18px 20px;
  }

  .onboarding-primary {
    min-height: 58px;
  }

  .onboarding-minimal__title {
    font-size: 28px;
  }

  .onboarding-minimal__text {
    font-size: 13px;
  }

  .onboarding-figure {
    min-height: 208px;
  }

  .onboarding-figure__panel {
    width: min(100%, 240px);
  }

  .onboarding-figure__orb {
    width: 148px;
    height: 148px;
  }
}

@media (max-width: 380px) {
  .onboarding {
    padding-left: 15px;
    padding-right: 15px;
  }

  .onboarding-tabs {
    gap: 6px;
  }

  .onboarding-tab {
    min-height: 36px;
    padding: 0 8px;
    font-size: 10px;
  }

  .onboarding-minimal__hero {
    padding: 20px 16px 18px;
    border-radius: 28px;
  }

  .onboarding-minimal__title {
    font-size: 26px;
  }

  .onboarding-minimal__text {
    max-width: 250px;
    font-size: 13px;
  }

  .onboarding-figure {
    min-height: 188px;
  }

  .onboarding-figure__panel {
    width: min(100%, 224px);
    border-radius: 28px;
  }

  .onboarding-figure__icon-wrap {
    width: 74px;
    height: 74px;
    border-radius: 28px;
  }
}

.onboarding--premium {
  background:
    radial-gradient(circle at 50% -6%, rgba(237, 181, 255, 0.18) 0%, rgba(237, 181, 255, 0) 32%),
    radial-gradient(circle at 10% 22%, rgba(157, 121, 255, 0.18) 0%, rgba(157, 121, 255, 0) 26%),
    radial-gradient(circle at 88% 74%, rgba(102, 170, 255, 0.16) 0%, rgba(102, 170, 255, 0) 26%),
    linear-gradient(180deg, rgba(20, 10, 46, 0.94) 0%, rgba(9, 5, 24, 0.98) 100%);
}

.onboarding-flow--premium {
  max-width: 394px;
  gap: 14px;
  justify-content: flex-start;
}

.onboarding-flow--premium .onboarding-topline {
  align-items: flex-start;
}

.onboarding-tabs--premium {
  padding: 4px;
  border-radius: 24px;
  border: 1px solid rgba(220, 184, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 22%, rgba(255,255,255,0) 100%),
    rgba(20, 11, 49, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 12px 26px rgba(7, 3, 19, 0.16);
}

.onboarding-tabs--premium .onboarding-tab {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: rgba(239, 229, 255, 0.56);
  box-shadow: none;
}

.onboarding-tabs--premium .onboarding-tab.active {
  border: 1px solid rgba(243, 196, 104, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 22%, rgba(255,255,255,0) 100%),
    linear-gradient(135deg, rgba(232, 177, 91, 0.18) 0%, rgba(243, 217, 139, 0.12) 100%);
  color: #fff7ea;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 18px rgba(243, 196, 104, 0.08);
}

.onboarding-stage--premium {
  gap: 12px;
}

.onboarding-hero-card--premium {
  min-height: 300px;
}

.onboarding-hero-card--premium .onboarding-hero-card__visual {
  min-height: 300px;
  padding-top: 62px;
}

.onboarding-copy-card--premium {
  border-radius: 30px;
  padding: 18px 16px 16px;
}

.onboarding-copy-card--premium .onboarding-title {
  margin-top: 10px;
  font-size: 34px;
}

.onboarding-copy-card--premium .onboarding-text {
  margin-top: 12px;
  font-size: 13px;
}

.onboarding-copy-card--premium .onboarding-chip-row {
  margin-top: 16px;
}

.onboarding-actions--premium {
  margin-top: 16px;
}

.onboarding-actions--premium .onboarding-primary {
  min-height: 62px;
  border-radius: 22px;
}

.onboarding--premium .onboarding-note {
  margin-top: 12px;
}

@media (max-height: 760px) {
  .onboarding-flow--premium {
    gap: 12px;
  }

  .onboarding-hero-card--premium {
    min-height: 276px;
  }

  .onboarding-hero-card--premium .onboarding-hero-card__visual {
    min-height: 276px;
    padding-top: 58px;
  }

  .onboarding-copy-card--premium .onboarding-title {
    font-size: 30px;
  }
}

@media (max-width: 380px) {
  .onboarding-tabs--premium {
    padding: 3px;
  }

  .onboarding-tabs--premium .onboarding-tab {
    min-height: 38px;
  }

  .onboarding-hero-card--premium {
    min-height: 252px;
  }

  .onboarding-hero-card--premium .onboarding-hero-card__visual {
    min-height: 252px;
    padding-top: 52px;
  }

  .onboarding-copy-card--premium {
    padding: 16px 14px 14px;
  }

  .onboarding-copy-card--premium .onboarding-title {
    font-size: 29px;
  }
}

.onboarding--clean {
  background:
    radial-gradient(circle at 50% 18%, rgba(98, 255, 46, 0.08) 0%, rgba(98, 255, 46, 0) 26%),
    linear-gradient(180deg, rgba(7, 20, 24, 0.92) 0%, rgba(3, 11, 15, 0.98) 100%);
}

.onboarding-simple {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 388px;
  min-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 22px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.onboarding-simple__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.onboarding-progress--simple {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.onboarding-tabs--clean {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  border-radius: 24px;
  border: 1px solid rgba(220, 184, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 24%, rgba(255,255,255,0) 100%),
    rgba(18, 10, 43, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 12px 26px rgba(7, 3, 19, 0.14);
}

.onboarding-tabs--clean .onboarding-tab {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: rgba(239, 229, 255, 0.56);
  box-shadow: none;
}

.onboarding-tabs--clean .onboarding-tab.active {
  border: 1px solid rgba(243, 196, 104, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 22%, rgba(255,255,255,0) 100%),
    linear-gradient(135deg, rgba(232, 177, 91, 0.18) 0%, rgba(243, 217, 139, 0.12) 100%);
  color: #fff7ea;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 18px rgba(243, 196, 104, 0.08);
}

.onboarding-simple__card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px 18px 18px;
  border-radius: 32px;
  border: 1px solid rgba(220, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 18%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(35, 18, 79, 0.96) 0%, rgba(14, 8, 34, 0.98) 100%);
  box-shadow:
    0 20px 40px rgba(4, 2, 15, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 24px rgba(176, 108, 255, 0.08);
  overflow: hidden;
}

.onboarding-simple__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  pointer-events: none;
}

.onboarding-simple__card--launch {
  background:
    radial-gradient(220px 140px at 50% 0%, rgba(244, 198, 116, 0.12) 0%, rgba(244, 198, 116, 0) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 18%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(35, 18, 79, 0.96) 0%, rgba(14, 8, 34, 0.98) 100%);
}

.onboarding-simple__card--plan {
  background:
    radial-gradient(220px 160px at 88% 18%, rgba(244, 198, 116, 0.12) 0%, rgba(244, 198, 116, 0) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 18%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(35, 18, 79, 0.96) 0%, rgba(14, 8, 34, 0.98) 100%);
}

.onboarding-simple__card--income {
  background:
    radial-gradient(220px 160px at 12% 18%, rgba(102, 170, 255, 0.12) 0%, rgba(102, 170, 255, 0) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 18%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(35, 18, 79, 0.96) 0%, rgba(14, 8, 34, 0.98) 100%);
}

.onboarding-simple__copy {
  text-align: center;
}

.onboarding-simple__title {
  margin: 0;
  font-size: 34px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: #f9f2ff;
  background: linear-gradient(180deg, #fffafc 0%, rgba(248, 240, 255, 0.76) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.onboarding-simple__text {
  margin: 12px auto 0;
  max-width: 288px;
  font-size: 14px;
  line-height: 1.58;
  color: rgba(232, 221, 255, 0.76);
}

.onboarding-simple__figure {
  position: relative;
  flex: 1;
  min-height: 252px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px 0 0;
}

.onboarding-simple__figure::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 72%;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(188, 121, 255, 0.26) 0%, rgba(188, 121, 255, 0) 72%);
  filter: blur(12px);
}

.onboarding-simple__image {
  position: relative;
  z-index: 1;
  width: min(100%, 250px);
  max-height: 248px;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(10, 4, 24, 0.26));
}

.onboarding-simple__actions {
  margin-top: auto;
}

.onboarding-primary--clean {
  min-height: 62px;
  border-radius: 22px;
}

@media (max-height: 760px) {
  .onboarding-simple {
    min-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 18px);
    gap: 14px;
  }

  .onboarding-simple__card {
    gap: 18px;
    padding: 22px 16px 16px;
  }

  .onboarding-simple__title {
    font-size: 30px;
  }

  .onboarding-simple__figure {
    min-height: 214px;
  }

  .onboarding-simple__image {
    width: min(100%, 220px);
    max-height: 214px;
  }
}

@media (max-width: 380px) {
  .onboarding-simple {
    max-width: 100%;
    gap: 14px;
  }

  .onboarding-tabs--clean {
    gap: 6px;
    padding: 3px;
  }

  .onboarding-tabs--clean .onboarding-tab {
    min-height: 38px;
    padding: 0 8px;
    font-size: 10px;
  }

  .onboarding-simple__card {
    padding: 20px 15px 15px;
    border-radius: 28px;
  }

  .onboarding-simple__title {
    font-size: 30px;
  }

  .onboarding-simple__text {
    max-width: 260px;
    font-size: 13px;
  }

  .onboarding-simple__figure {
    min-height: 196px;
  }

  .onboarding-simple__image {
    width: min(100%, 204px);
    max-height: 196px;
  }
}

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

/* ── New Onboarding (ob2) — story-style full-screen ─────────── */
.ob2 {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #05030e;
  overflow: hidden;
  z-index: 1;
}

.ob2-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ob2-scene__image,
.ob2-scene__veil,
.ob2-scene__grid,
.ob2-scene__glow {
  position: absolute;
  inset: 0;
}

.ob2-scene__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) brightness(0.98) contrast(1.03);
  transform: scale(1.05);
  animation: ob2SceneDrift 18s ease-in-out infinite;
}

.ob2-scene__veil {
  background:
    radial-gradient(circle at 52% 24%, rgba(124,58,237,0.18) 0%, rgba(124,58,237,0) 26%),
    radial-gradient(circle at 16% 72%, rgba(124,58,237,0.08) 0%, rgba(124,58,237,0) 22%),
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.02) 100%);
}

.ob2-scene__grid {
  left: -18%;
  right: -18%;
  top: auto;
  bottom: -8%;
  height: 42vh;
  min-height: 260px;
  background:
    linear-gradient(rgba(191,168,255,0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,168,255,0.11) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.16;
  transform: perspective(920px) rotateX(78deg);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.14) 16%, rgba(0,0,0,0.9) 52%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.14) 16%, rgba(0,0,0,0.9) 52%, rgba(0,0,0,0) 100%);
}

.ob2-scene__glow {
  filter: blur(56px);
  opacity: 0.9;
}

.ob2-scene__glow--violet {
  inset: 8% auto auto 50%;
  width: 260px;
  height: 260px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124,58,237,0.34) 0%, rgba(124,58,237,0) 72%);
}

.ob2-scene__glow--gold {
  inset: auto auto 14% 10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(245,158,11,0.16) 0%, rgba(245,158,11,0) 70%);
}

.ob2-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  padding:
    calc(env(safe-area-inset-top, 0px) + 12px)
    18px
    0;
}

.ob2-skip {
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(11,9,27,0.24);
  color: rgba(255,255,255,0.86);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-display);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 6px 20px rgba(0,0,0,0.12);
  cursor: pointer;
}

.ob2-body {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  align-self: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding:
    calc(env(safe-area-inset-top, 0px) + 78px)
    24px
    calc(env(safe-area-inset-bottom, 0px) + 24px);
}

.ob2-copy,
.ob2-footer {
  animation: ob2FadeRise 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ob2-footer {
  animation-delay: 0.06s;
}

.ob2-copy {
  width: min(100%, 340px);
  margin-top: clamp(48px, 13vh, 136px);
}

.ob2-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 0 13px 0 11px;
  margin: 0 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(178,141,255,0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0)),
    rgba(24,14,54,0.26);
  color: rgba(182,145,255,0.98);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-display);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 22px rgba(124,58,237,0.08);
}

.ob2-badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #9b6cff;
}

.ob2-title {
  margin: 0;
  font-size: clamp(42px, 11vw, 58px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.038em;
  font-family: var(--font-display);
  text-wrap: balance;
}

.ob2-title__line {
  display: block;
  background: linear-gradient(125deg, #462072 0%, #ffffff 38%, #d2b6ff 68%, #f2bf64 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ob2-title__line--accent {
  background: linear-gradient(125deg, #5b21b6 0%, #f8f2ff 34%, #b68cff 68%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(124,58,237,0.14));
}

.ob2-sub {
  position: relative;
  margin: 20px 0 0;
  max-width: 32ch;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.66;
  color: rgba(240,233,255,0.74);
  text-wrap: pretty;
}

.ob2-sub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(124,58,237,0.12) 0%, rgba(180,141,255,0.95) 48%, rgba(245,158,11,0.42) 100%);
  box-shadow:
    0 0 10px rgba(124,58,237,0.18),
    0 0 18px rgba(124,58,237,0.08);
}

.ob2-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.ob2-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  align-self: flex-start;
}

.ob2-dot {
  width: 12px;
  height: 4px;
  border-radius: 999px;
  background: rgba(180,141,255,0.18);
  transition: all 0.26s ease;
}

.ob2-dot--active {
  width: 28px;
  background: linear-gradient(90deg, rgba(124,58,237,0.92), rgba(180,141,255,0.98));
  box-shadow: 0 0 12px rgba(124,58,237,0.24);
}

.ob2-dot--done {
  background: rgba(180,141,255,0.42);
}

.ob2-cta {
  width: 100%;
  min-height: 58px;
  padding: 0 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: none;
  border-radius: 22px;
  background: linear-gradient(135deg, #6e39eb 0%, #8550f6 46%, #a469ff 100%);
  color: white;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    0 14px 32px rgba(124,58,237,0.28),
    0 0 28px rgba(124,58,237,0.22),
    inset 0 1px 0 rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.ob2-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 58%);
  pointer-events: none;
}

.ob2-cta:active {
  transform: scale(0.97);
  box-shadow:
    0 8px 18px rgba(124,58,237,0.2),
    0 0 18px rgba(124,58,237,0.16);
}

.ob2-cta__text {
  position: relative;
  z-index: 1;
  letter-spacing: 0.03em;
}

.ob2-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.ob2-cta--final {
  background: linear-gradient(135deg, #6c35ea 0%, #8d55ff 52%, #bb88ff 100%);
  box-shadow:
    0 16px 36px rgba(124,58,237,0.34),
    0 0 34px rgba(124,58,237,0.24),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.ob2-cta--final:active {
  box-shadow:
    0 8px 18px rgba(124,58,237,0.24),
    0 0 18px rgba(124,58,237,0.18);
}

@keyframes ob2SceneDrift {
  0%, 100% { transform: scale(1.05) translate3d(0, 0, 0); }
  50% { transform: scale(1.09) translate3d(0, -10px, 0); }
}

@keyframes ob2FadeRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-height: 760px) {
  .ob2-body {
    padding-top: calc(env(safe-area-inset-top, 0px) + 72px);
  }

  .ob2-copy {
    margin-top: clamp(30px, 8vh, 88px);
  }

  .ob2-title {
    font-size: clamp(36px, 10vw, 48px);
  }

  .ob2-sub {
    font-size: 14px;
    line-height: 1.58;
  }
}

@media (max-width: 380px) {
  .ob2-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ob2-copy {
    width: min(100%, 300px);
  }

  .ob2-title {
    font-size: 38px;
  }

  .ob2-sub {
    font-size: 14px;
  }

  .ob2-cta {
    min-height: 56px;
    padding-left: 18px;
  }
}

/* ── Toast Notifications ────────────────────────────────────── */
#toast-container {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: min(430px, calc(100% - 22px));
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  position: relative;
  overflow: hidden;
  min-height: 72px;
  padding: 12px 14px 12px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  border: 1px solid rgba(141,255,88,0.18);
  background:
    radial-gradient(circle at 14% 0%, rgba(141,255,88,0.22), rgba(141,255,88,0) 34%),
    linear-gradient(135deg, rgba(7, 31, 25, 0.96), rgba(3, 13, 15, 0.98));
  pointer-events: all;
  box-shadow:
    0 18px 34px rgba(0,0,0,0.32),
    0 0 24px rgba(95,255,55,0.08),
    inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(22px);
  animation: toastIn 0.38s cubic-bezier(.18,.84,.26,1);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.toast::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.06), rgba(255,255,255,0)),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 7px);
  opacity: 0.4;
  pointer-events: none;
}

.toast::after {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: #9cff36;
  box-shadow: 0 0 16px rgba(156,255,54,0.72);
}

.toast.toast-out {
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-18px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.toast-orb {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
}

.toast-body {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
}

.toast-kicker {
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9cff36;
}

.toast-title {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #f5ffe9;
}

.toast-message {
  font-size: 12px;
  color: rgba(232,255,217,0.72);
  line-height: 1.35;
}

.toast-scan {
  position: absolute;
  left: 64px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}

.toast-scan::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #9cff36, transparent);
  animation: toastScan 3.5s linear forwards;
}

@keyframes toastScan {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.notif-ref-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background:
    radial-gradient(circle at 34% 20%, rgba(255,255,255,0.18), rgba(255,255,255,0) 38%),
    linear-gradient(180deg, rgba(126,255,86,0.18), rgba(10,58,22,0.2));
  color: #dfffbd;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 0 18px rgba(113,255,66,0.12);
}

.notif-ref-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter:
    brightness(0)
    invert(1)
    sepia(1)
    saturate(7)
    hue-rotate(48deg)
    drop-shadow(0 0 8px rgba(159,255,85,0.5));
}

.notif-ref-icon.tone-money {
  background: linear-gradient(180deg, rgba(86,210,255,0.2), rgba(9,50,61,0.24));
}

.notif-ref-icon.tone-money img {
  filter: brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(148deg) drop-shadow(0 0 8px rgba(90,217,255,0.48));
}

.notif-ref-icon.tone-reward,
.notif-ref-icon.tone-success {
  background: linear-gradient(180deg, rgba(217,255,45,0.22), rgba(57,71,9,0.22));
}

.notif-ref-icon.tone-warning {
  background: linear-gradient(180deg, rgba(255,210,86,0.22), rgba(75,47,7,0.24));
}

.notif-ref-icon.tone-error {
  background: linear-gradient(180deg, rgba(255,77,98,0.24), rgba(77,9,21,0.24));
}

.notif-ref-icon.tone-error img {
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(300deg) drop-shadow(0 0 8px rgba(255,77,98,0.55));
}

.notif-ref-icon.tone-system,
.notif-ref-icon.tone-info {
  background: linear-gradient(180deg, rgba(97,255,203,0.2), rgba(7,61,50,0.22));
}

.notif-ref-icon.is-header {
  width: 24px;
  height: 24px;
  border-radius: 9px;
}

.notif-ref-icon.is-header img {
  width: 15px;
  height: 15px;
}

.toast.success,
.toast.reward { border-color: rgba(159,255,85,0.26); }

.toast.error {
  border-color: rgba(255,77,98,0.3);
}

.toast.error::after {
  background: #ff526b;
  box-shadow: 0 0 16px rgba(255,82,107,0.72);
}

.toast.error .toast-kicker {
  color: #ff8a9b;
}

.toast.warning {
  border-color: rgba(255,210,86,0.28);
}

.toast.warning::after {
  background: #ffd75a;
  box-shadow: 0 0 16px rgba(255,215,90,0.66);
}

.toast.warning .toast-kicker {
  color: #ffd75a;
}

.toast.info,
.toast.system {
  border-color: rgba(97,255,203,0.24);
}

/* ── Modals ─────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  width: 100%;
  max-width: var(--max-width);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  margin: 0 auto 18px;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lockin-wheel-result-modal {
  background:
    radial-gradient(circle at top center, rgba(133, 255, 74, 0.12), rgba(133, 255, 74, 0) 34%),
    linear-gradient(180deg, rgba(7, 20, 28, 0.99) 0%, rgba(3, 10, 16, 0.995) 100%);
  border-top-color: rgba(118, 255, 70, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lockin-wheel-result-modal__eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 247, 242, 0.54);
}

.lockin-wheel-result-modal__hero {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.lockin-wheel-result-modal__icon {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 46%),
    linear-gradient(180deg, rgba(15, 32, 40, 0.98) 0%, rgba(5, 12, 18, 0.99) 100%);
  border: 1px solid rgba(114, 255, 31, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 28px rgba(0, 0, 0, 0.24);
}

.lockin-wheel-result-modal__icon--bonus,
.lockin-wheel-result-modal__icon--gold,
.lockin-wheel-result-modal__icon--rare {
  border-color: rgba(255, 216, 89, 0.2);
}

.lockin-wheel-result-modal__icon-core {
  width: 54px;
  height: 54px;
  color: #dcff88;
}

.lockin-wheel-result-modal__icon-core--gold,
.lockin-wheel-result-modal__icon-core--rare,
.lockin-wheel-result-modal__icon-core--bonus {
  color: #ffd95e;
}

.lockin-wheel-result-modal__icon-core--shield {
  color: #d7ecff;
}

.lockin-wheel-result-modal__icon-core--boost {
  color: #fff4bf;
}

.lockin-wheel-result-modal__icon-svg,
.lockin-wheel-result-modal__icon-svg svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lockin-wheel-result-modal__multiplier {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #f5ff61;
  text-shadow: 0 0 18px rgba(204, 255, 47, 0.18);
}

.lockin-wheel-result-modal__hero-body {
  min-width: 0;
}

.lockin-wheel-result-modal__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 7vw, 38px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #fffef6;
}

.lockin-wheel-result-modal__sector {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(114, 255, 31, 0.12);
  background: rgba(8, 20, 27, 0.8);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(248, 247, 242, 0.82);
}

.lockin-wheel-result-modal__text {
  margin-top: 18px;
  color: rgba(248, 247, 242, 0.88);
  font-size: 15px;
  line-height: 1.45;
}

.lockin-wheel-result-modal__note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(8, 20, 27, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(248, 247, 242, 0.68);
  font-size: 13px;
  line-height: 1.42;
}

.lockin-wheel-result-modal__actions {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.lockin-wheel-popup {
  position: fixed;
  top: max(10px, calc(env(safe-area-inset-top, 0px) + 10px));
  left: 50%;
  width: min(calc(100vw - 20px), calc(var(--max-width) - 12px));
  transform: translate(-50%, -24px);
  opacity: 0;
  pointer-events: none;
  z-index: 620;
  transition: transform 0.5s cubic-bezier(0.18, 0.86, 0.2, 1), opacity 0.5s ease;
}

.lockin-wheel-popup.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.lockin-wheel-popup__card {
  position: relative;
  pointer-events: auto;
  padding: 14px 14px 13px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top center, rgba(133, 255, 74, 0.14), rgba(133, 255, 74, 0) 34%),
    linear-gradient(180deg, rgba(8, 24, 31, 0.96) 0%, rgba(4, 10, 16, 0.98) 100%);
  border: 1px solid rgba(114, 255, 31, 0.14);
  box-shadow:
    0 22px 38px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.lockin-wheel-popup__card--gold,
.lockin-wheel-popup__card--rare,
.lockin-wheel-popup__card--bonus {
  border-color: rgba(255, 216, 89, 0.2);
}

.lockin-wheel-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(248, 247, 242, 0.78);
  font-size: 18px;
  line-height: 1;
}

.lockin-wheel-popup__eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 247, 242, 0.5);
}

.lockin-wheel-popup__hero {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.lockin-wheel-popup__icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 46%),
    linear-gradient(180deg, rgba(15, 32, 40, 0.98) 0%, rgba(5, 12, 18, 0.99) 100%);
  border: 1px solid rgba(114, 255, 31, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 24px rgba(0, 0, 0, 0.22);
}

.lockin-wheel-popup__hero-body {
  min-width: 0;
}

.lockin-wheel-popup__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 5.8vw, 30px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #fffef6;
}

.lockin-wheel-popup__sector {
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(114, 255, 31, 0.1);
  background: rgba(8, 20, 27, 0.8);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(248, 247, 242, 0.82);
}

.lockin-wheel-popup__text {
  margin-top: 12px;
  color: rgba(248, 247, 242, 0.9);
  font-size: 14px;
  line-height: 1.42;
}

.lockin-wheel-popup__note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(8, 20, 27, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(248, 247, 242, 0.68);
  font-size: 12px;
  line-height: 1.42;
}

.lockin-wheel-popup__actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.lockin-wheel-popup__action {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3ff41 0%, #b9ff00 100%);
  box-shadow: 0 10px 18px rgba(168, 255, 0, 0.18), inset 0 -4px 0 rgba(0, 0, 0, 0.08);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #193100;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  margin-left: auto;
  border: 1px solid var(--border);
}

.lang-picker {
  background:
    radial-gradient(circle at 84% -8%, rgba(217, 255, 58, 0.14) 0%, rgba(217, 255, 58, 0) 34%),
    radial-gradient(circle at 10% 4%, rgba(49, 255, 101, 0.12) 0%, rgba(49, 255, 101, 0) 32%),
    linear-gradient(180deg, rgba(7, 27, 26, 0.99) 0%, rgba(3, 12, 16, 0.995) 100%);
  border-top: 1px solid rgba(154, 255, 71, 0.18);
  box-shadow:
    0 -22px 52px rgba(0,0,0,0.48),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.lang-picker__hero {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px;
  gap: 12px;
  align-items: stretch;
  padding: 16px;
  border-radius: 26px;
  border: 1px solid rgba(154, 255, 71, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 255, 58, 0.13), rgba(217, 255, 58, 0) 36%),
    linear-gradient(180deg, rgba(12, 35, 32, 0.96), rgba(5, 18, 20, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 16px 34px rgba(0,0,0,0.22);
}

.lang-picker__glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(16px);
}

.lang-picker__glow--one {
  left: -36px;
  bottom: -42px;
  width: 132px;
  height: 132px;
  background: radial-gradient(circle, rgba(54, 255, 95, 0.22), rgba(54, 255, 95, 0) 70%);
}

.lang-picker__glow--two {
  right: 18px;
  top: -42px;
  width: 124px;
  height: 124px;
  background: radial-gradient(circle, rgba(217, 255, 58, 0.16), rgba(217, 255, 58, 0) 72%);
}

.lang-picker__hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.lang-picker__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(178, 255, 58, 0.18);
  background: rgba(123, 255, 62, 0.08);
  color: #d9ff3a;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.lang-picker__eyebrow .ref-icon {
  width: 14px;
  height: 14px;
}

.lang-picker__hero h2 {
  margin: 12px 0 0;
  color: #f7ffe9;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 0.94;
  font-weight: 950;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.lang-picker__hero p {
  margin: 10px 0 0;
  color: rgba(224, 255, 196, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.lang-picker__current {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  border-radius: 24px;
  border: 1px solid rgba(217, 255, 58, 0.2);
  background:
    radial-gradient(circle at 50% 12%, rgba(217, 255, 58, 0.18), rgba(217, 255, 58, 0) 54%),
    rgba(3, 14, 17, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 24px rgba(117, 255, 64, 0.1);
}

.lang-picker__current span {
  font-size: 30px;
  line-height: 1;
}

.lang-picker__current b {
  color: #f7ffe9;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 0.9;
  font-weight: 950;
}

.lang-picker__current em {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(118, 255, 58, 0.12);
  color: #d9ff3a;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
}

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

.lang-picker__option {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  min-height: 86px;
  border: 1px solid rgba(141, 255, 67, 0.1);
  border-radius: 20px;
  background:
    radial-gradient(circle at 80% 0%, rgba(154, 255, 71, 0.07), rgba(154, 255, 71, 0) 44%),
    linear-gradient(180deg, rgba(12, 30, 28, 0.92), rgba(4, 16, 18, 0.96));
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px;
  color: #f4ffe9;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lang-picker__option:active {
  transform: translateY(1px);
}

.lang-picker__option.is-active {
  border-color: rgba(217, 255, 58, 0.38);
  background:
    radial-gradient(circle at 84% 0%, rgba(217, 255, 58, 0.18), rgba(217, 255, 58, 0) 46%),
    linear-gradient(180deg, rgba(22, 55, 34, 0.98), rgba(7, 24, 20, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 24px rgba(142, 255, 48, 0.12);
}

.lang-picker__flag {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  border: 1px solid rgba(154, 255, 71, 0.12);
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.12), rgba(255,255,255,0) 54%),
    rgba(0, 0, 0, 0.24);
  font-size: 22px;
  line-height: 1;
}

.lang-picker__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lang-picker__native {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
  color: #f7ffe9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lang-picker__label {
  font-size: 10px;
  line-height: 1.25;
  color: rgba(224, 255, 196, 0.58);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lang-picker__meta {
  grid-column: 1 / -1;
  min-width: 0;
  min-height: 24px;
  padding: 0 0 0 49px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  color: rgba(224, 255, 196, 0.55);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lang-picker__meta b {
  min-width: 25px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(244, 255, 233, 0.72);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0;
}

.lang-picker__option.is-active .lang-picker__meta {
  color: #d9ff3a;
}

.lang-picker__option.is-active .lang-picker__meta b {
  background: linear-gradient(135deg, #d9ff3a, #7fff20);
  color: #173000;
}

.lang-picker__close {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  border: 1px solid rgba(141, 255, 67, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
    rgba(4, 16, 18, 0.92);
  color: rgba(224, 255, 196, 0.72);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 380px) {
  .lang-picker__hero {
    min-height: 142px;
    grid-template-columns: minmax(0, 1fr) 82px;
    padding: 14px;
  }

  .lang-picker__hero h2 {
    font-size: 24px;
  }

  .lang-picker__current b {
    font-size: 22px;
  }

  .lang-picker__list {
    gap: 7px;
  }

  .lang-picker__option {
    min-height: 82px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }

  .lang-picker__flag {
    width: 34px;
    height: 34px;
    border-radius: 13px;
    font-size: 20px;
  }

  .lang-picker__native {
    font-size: 13px;
  }

  .lang-picker__meta {
    padding-left: 42px;
  }
}

.plan-purchase-modal {
  background:
    radial-gradient(circle at 50% -18%, rgba(186, 110, 255, 0.28) 0%, rgba(186, 110, 255, 0) 36%),
    linear-gradient(180deg, rgba(40, 18, 86, 0.98) 0%, rgba(19, 10, 48, 0.99) 100%);
  border-top-color: rgba(214, 172, 255, 0.28);
  box-shadow: 0 -18px 48px rgba(0,0,0,0.38);
}

.plan-purchase-modal__hero {
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.03) 18%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(88, 44, 164, 0.92) 0%, rgba(44, 20, 96, 0.96) 100%);
  border: 1px solid rgba(214, 176, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 12px 32px rgba(10, 4, 28, 0.26);
  text-align: center;
}

.plan-purchase-modal__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(234, 220, 255, 0.68);
}

.plan-purchase-modal__plan {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 800;
  color: #fff6ff;
}

.plan-purchase-modal__price {
  margin-top: 10px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  color: #f4d88d;
  text-shadow: 0 0 24px rgba(243, 217, 139, 0.24);
}

.plan-purchase-modal__note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(231, 220, 255, 0.74);
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.plan-purchase-modal__launch-limit {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 132, 0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255, 169, 120, 0.08);
  color: #fff2e4;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.plan-purchase-modal__quantity {
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 176, 255, 0.1);
}

.plan-purchase-modal__quantity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-purchase-modal__quantity-head span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(228, 218, 255, 0.54);
}

.plan-purchase-modal__quantity-head strong {
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  color: #fff3d7;
}

.plan-purchase-modal__preset-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.plan-purchase-modal__preset {
  min-height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(214, 176, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.02);
  color: rgba(244, 236, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.plan-purchase-modal__preset.is-active {
  border-color: rgba(243, 217, 139, 0.32);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.04) 100%),
    linear-gradient(135deg, rgba(214, 168, 88, 0.92) 0%, rgba(243, 217, 139, 0.94) 100%);
  color: #482a11;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 10px 20px rgba(23, 9, 40, 0.18);
}

.plan-purchase-modal__preset:disabled {
  opacity: 0.35;
  cursor: default;
}

.plan-purchase-modal__adjust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.plan-purchase-modal__adjust-btn {
  min-height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(214, 176, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.02);
  color: rgba(244, 236, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.plan-purchase-modal__adjust-btn--step {
  font-size: 18px;
  line-height: 1;
}

.plan-purchase-modal__adjust-btn.is-active {
  border-color: rgba(243, 217, 139, 0.32);
  color: #fff3d7;
}

.plan-purchase-modal__adjust-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.plan-purchase-modal__range {
  width: 100%;
  margin-top: 14px;
  accent-color: #f3d98b;
}

.plan-purchase-modal__quantity-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font-size: 11px;
  color: rgba(231, 220, 255, 0.62);
}

.plan-purchase-modal__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.plan-purchase-modal__stat {
  padding: 12px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 176, 255, 0.1);
  text-align: center;
}

.plan-purchase-modal__stat span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(228, 218, 255, 0.54);
}

.plan-purchase-modal__stat strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 800;
  color: #f6efff;
}

.plan-purchase-modal__balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 176, 255, 0.12);
}

.plan-purchase-modal__balance.is-positive {
  border-color: rgba(92, 216, 154, 0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 1px rgba(92, 216, 154, 0.08);
}

.plan-purchase-modal__balance.is-warning {
  border-color: rgba(245, 194, 93, 0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 1px rgba(245, 194, 93, 0.08);
}

.plan-purchase-modal__balance-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(231, 220, 255, 0.58);
}

.plan-purchase-modal__balance-value {
  margin-top: 5px;
  font-size: 20px;
  font-weight: 800;
  color: #fff1cf;
}

.plan-purchase-modal__balance-side {
  text-align: right;
  font-size: 12px;
}

.plan-purchase-modal__balance-side strong {
  display: block;
}

.plan-purchase-modal__actions {
  display: grid;
  gap: 10px;
}

.plan-purchase-modal__trust {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.plan-purchase-modal__trust-item {
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 176, 255, 0.1);
  font-size: 12px;
  line-height: 1.45;
  color: rgba(236, 228, 255, 0.78);
}

.plan-purchase-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  color: rgba(228, 218, 255, 0.56);
}

.plan-purchase-modal--miners {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 18px;
  border: 1px solid rgba(142, 255, 76, 0.18);
  border-bottom: 0;
  background:
    radial-gradient(circle at 15% -6%, rgba(207, 255, 43, 0.18), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(42, 255, 166, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(7, 28, 24, 0.99), rgba(2, 12, 14, 0.995));
  box-shadow: 0 -24px 54px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(237, 255, 210, 0.06);
  color: #f7ffe9;
}

.plan-purchase-modal--miners .modal-handle,
.plan-purchase-modal--miners > .modal-title {
  display: none;
}

.plan-purchase-modal__beam {
  position: absolute;
  inset: -80px -70px auto auto;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: rgba(194, 255, 38, 0.13);
  filter: blur(34px);
  pointer-events: none;
}

.plan-purchase-modal__topline,
.plan-purchase-modal__hero,
.plan-purchase-modal__builder,
.plan-purchase-modal__stats,
.plan-purchase-modal__payment,
.plan-purchase-modal__actions {
  position: relative;
  z-index: 1;
}

.plan-purchase-modal__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.plan-purchase-modal__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(202, 255, 63, 0.18);
  border-radius: 999px;
  background: rgba(202, 255, 63, 0.08);
  color: #dfff67;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-purchase-modal__pill .miners-ref-icon {
  width: 17px;
  height: 17px;
}

.plan-purchase-modal__close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(221, 255, 196, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(240, 255, 226, 0.82);
  font-size: 22px;
  line-height: 1;
}

.plan-purchase-modal--miners .plan-purchase-modal__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 10px;
  padding: 0;
  margin-bottom: 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.plan-purchase-modal__hero-copy,
.plan-purchase-modal__price-card,
.plan-purchase-modal__builder,
.plan-purchase-modal--miners .plan-purchase-modal__stat,
.plan-purchase-modal--miners .plan-purchase-modal__balance,
.plan-purchase-modal__route {
  border: 1px solid rgba(142, 255, 76, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(202, 255, 63, 0.08), transparent 38%),
    rgba(2, 17, 17, 0.72);
  box-shadow: inset 0 1px 0 rgba(237, 255, 210, 0.04);
}

.plan-purchase-modal__hero-copy {
  min-width: 0;
  padding: 14px;
  border-radius: 22px;
}

.plan-purchase-modal--miners .plan-purchase-modal__eyebrow,
.plan-purchase-modal__builder-head span,
.plan-purchase-modal--miners .plan-purchase-modal__stat span,
.plan-purchase-modal--miners .plan-purchase-modal__balance span,
.plan-purchase-modal__route span {
  color: rgba(217, 236, 212, 0.54);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-purchase-modal--miners .plan-purchase-modal__plan {
  margin-top: 7px;
  color: #f8ffe9;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.plan-purchase-modal--miners .plan-purchase-modal__note {
  max-width: none;
  margin: 8px 0 0;
  color: rgba(224, 239, 221, 0.62);
  font-size: 11px;
  line-height: 1.32;
  font-weight: 750;
}

.plan-purchase-modal__price-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 13px 11px;
  border-radius: 22px;
  text-align: right;
}

.plan-purchase-modal__price-card span {
  color: rgba(217, 236, 212, 0.55);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-purchase-modal__price-card strong {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: #dfff67;
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.05em;
  text-overflow: ellipsis;
}

.plan-purchase-modal__price-card em {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: rgba(224, 239, 221, 0.58);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-purchase-modal--miners .plan-purchase-modal__launch-limit {
  margin: 0 0 10px;
  border-color: rgba(255, 217, 93, 0.22);
  background: rgba(255, 217, 93, 0.08);
  color: #ffe695;
}

.plan-purchase-modal__builder {
  display: grid;
  gap: 11px;
  padding: 13px;
  margin-bottom: 10px;
  border-radius: 23px;
}

.plan-purchase-modal__builder-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.plan-purchase-modal__builder-head strong {
  display: block;
  margin-top: 4px;
  color: #f7ffe9;
  font-size: 12px;
  font-weight: 900;
}

.plan-purchase-modal__counter {
  display: grid;
  grid-template-columns: 34px 44px 34px;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(202, 255, 63, 0.12);
  border-radius: 18px;
  background: rgba(0, 9, 11, 0.54);
}

.plan-purchase-modal__counter .plan-purchase-modal__adjust-btn {
  min-height: 34px;
  border-radius: 13px;
}

.plan-purchase-modal--miners .plan-purchase-modal__quantity-head {
  display: none;
}

.plan-purchase-modal--miners .plan-purchase-modal__quantity-head strong,
.plan-purchase-modal__counter > strong {
  color: #dfff67;
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
  text-align: center;
}

.plan-purchase-modal--miners .plan-purchase-modal__preset-row {
  display: grid;
  grid-template-columns: 0.82fr repeat(3, 1fr) 0.82fr;
  gap: 7px;
  margin-top: 0;
}

.plan-purchase-modal--miners .plan-purchase-modal__preset,
.plan-purchase-modal--miners .plan-purchase-modal__adjust-btn {
  min-height: 36px;
  border-radius: 14px;
  border: 1px solid rgba(142, 255, 76, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(240, 255, 226, 0.78);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.plan-purchase-modal--miners .plan-purchase-modal__preset.is-active,
.plan-purchase-modal--miners .plan-purchase-modal__adjust-btn.is-active {
  border-color: rgba(202, 255, 63, 0.28);
  background: linear-gradient(180deg, #dfff67 0%, #9cff19 100%);
  color: #173100;
  box-shadow: 0 10px 20px rgba(122, 255, 43, 0.16);
}

.plan-purchase-modal--miners .plan-purchase-modal__preset:disabled,
.plan-purchase-modal--miners .plan-purchase-modal__adjust-btn:disabled {
  opacity: 0.38;
  box-shadow: none;
}

.plan-purchase-modal--miners .plan-purchase-modal__range {
  width: 100%;
  margin-top: 0;
  accent-color: #ccff1f;
}

.plan-purchase-modal--miners .plan-purchase-modal__quantity-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 0;
  color: rgba(224, 239, 221, 0.55);
  font-size: 9px;
  font-weight: 850;
}

.plan-purchase-modal--miners .plan-purchase-modal__quantity-meta b {
  color: #f7ffe9;
  font-weight: 950;
}

.plan-purchase-modal--miners .plan-purchase-modal__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.plan-purchase-modal--miners .plan-purchase-modal__stat {
  min-width: 0;
  padding: 11px 8px;
  border-radius: 18px;
  text-align: left;
}

.plan-purchase-modal--miners .plan-purchase-modal__stat strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #f8ffe9;
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-purchase-modal__payment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.plan-purchase-modal--miners .plan-purchase-modal__balance,
.plan-purchase-modal__route {
  display: block;
  min-width: 0;
  padding: 12px;
  margin: 0;
  border-radius: 19px;
}

.plan-purchase-modal--miners .plan-purchase-modal__balance-value,
.plan-purchase-modal__route strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #f8ffe9;
  font-size: 15px;
  line-height: 1.05;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-purchase-modal--miners .plan-purchase-modal__balance em,
.plan-purchase-modal__route em {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-purchase-modal__route em {
  color: rgba(224, 239, 221, 0.55);
}

.plan-purchase-modal--miners .plan-purchase-modal__actions {
  display: grid;
  gap: 8px;
}

.plan-purchase-modal__primary,
.plan-purchase-modal__secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 18px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-purchase-modal__primary {
  border: 1px solid rgba(202, 255, 63, 0.28);
  background: linear-gradient(180deg, #dfff67 0%, #9cff19 100%);
  color: #173100;
  box-shadow: 0 14px 30px rgba(122, 255, 43, 0.18);
}

.plan-purchase-modal__secondary {
  border: 1px solid rgba(142, 255, 76, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #eaffdd;
}

.plan-purchase-modal__primary strong,
.plan-purchase-modal__secondary strong {
  overflow: hidden;
  max-width: 45%;
  font-size: 10px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-purchase-modal__primary:disabled,
.plan-purchase-modal__secondary:disabled {
  opacity: 0.45;
  filter: grayscale(0.35);
}

@media (max-width: 380px) {
  .plan-purchase-modal--miners {
    padding: 14px 14px 16px;
  }

  .plan-purchase-modal--miners .plan-purchase-modal__hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-purchase-modal__price-card {
    text-align: left;
  }

  .plan-purchase-modal__builder-head,
  .plan-purchase-modal__payment {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-purchase-modal--miners .plan-purchase-modal__preset-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .plan-purchase-modal--miners .plan-purchase-modal__quantity-meta {
    flex-direction: column;
    gap: 4px;
  }
}

.plan-purchase-modal--launch {
  --launch-lime: #d9ff19;
  --launch-green: #54ff55;
  --launch-ink: #031113;
  --launch-panel: rgba(4, 27, 26, 0.82);
  max-width: min(var(--max-width), 430px);
  max-height: 94vh;
  padding: 18px 16px calc(16px + env(safe-area-inset-bottom));
  border: 1px solid rgba(164, 255, 50, 0.28);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(124, 255, 28, 0.2), transparent 30%),
    radial-gradient(circle at 8% 44%, rgba(70, 255, 114, 0.1), transparent 28%),
    radial-gradient(circle at 92% 40%, rgba(228, 255, 38, 0.13), transparent 30%),
    linear-gradient(180deg, #031316 0%, #020d10 54%, #031114 100%);
  box-shadow:
    0 -30px 78px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(241, 255, 205, 0.08);
  scrollbar-width: none;
}

.plan-purchase-modal--launch::-webkit-scrollbar {
  display: none;
}

.plan-purchase-modal__launch-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49%, rgba(194, 255, 39, 0.04) 50%, transparent 51%),
    radial-gradient(circle at 50% 36%, rgba(184, 255, 25, 0.16), transparent 33%);
  opacity: 0.9;
}

.plan-purchase-modal__brand,
.plan-purchase-modal__launch-stage,
.plan-purchase-modal__launch-title,
.plan-purchase-modal__purchase-title,
.plan-purchase-modal__progress,
.plan-purchase-modal__sync,
.plan-purchase-modal__steps,
.plan-purchase-modal__summary,
.plan-purchase-modal__builder--launch,
.plan-purchase-modal--launch .plan-purchase-modal__stats,
.plan-purchase-modal--launch .plan-purchase-modal__payment,
.plan-purchase-modal__secure,
.plan-purchase-modal--launch .plan-purchase-modal__actions,
.plan-purchase-modal--launch .plan-purchase-modal__launch-limit {
  position: relative;
  z-index: 1;
}

.plan-purchase-modal__brand {
  display: grid;
  grid-template-columns: 1fr 28px auto 28px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 38px 0 2px;
}

.plan-purchase-modal__brand-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218, 255, 25, 0.78), transparent);
}

.plan-purchase-modal__brand-star {
  width: 28px;
  height: 28px;
  color: var(--launch-lime);
  filter: drop-shadow(0 0 9px rgba(204, 255, 31, 0.75));
}

.plan-purchase-modal__wordmark {
  color: #f8fbec;
  font-family: var(--font-display);
  font-size: clamp(30px, 9vw, 46px);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(228, 255, 192, 0.1);
}

.plan-purchase-modal__wordmark b {
  color: var(--launch-lime);
  font-weight: 950;
}

.plan-purchase-modal--launch .plan-purchase-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  border-color: rgba(218, 255, 25, 0.17);
  background: rgba(0, 14, 14, 0.6);
  color: rgba(244, 255, 221, 0.78);
}

.plan-purchase-modal__launch-stage {
  height: clamp(158px, 44vw, 212px);
  margin: 4px -4px 0;
  overflow: hidden;
}

.plan-purchase-modal__launch-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 51%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(198, 255, 31, 0.17);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 52px rgba(171, 255, 31, 0.18),
    inset 0 0 54px rgba(87, 255, 70, 0.08);
}

.plan-purchase-modal__orbit {
  position: absolute;
  left: 50%;
  top: 54%;
  border-radius: 50%;
  border: 1px solid rgba(204, 255, 31, 0.13);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.plan-purchase-modal__orbit--one {
  width: 330px;
  height: 166px;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.plan-purchase-modal__orbit--two {
  width: 250px;
  height: 250px;
  border-style: dashed;
  opacity: 0.55;
}

.plan-purchase-modal__robot {
  position: absolute;
  left: 13%;
  bottom: 12px;
  width: clamp(152px, 46vw, 214px);
  filter:
    drop-shadow(0 0 16px rgba(206, 255, 31, 0.56))
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
  transform: rotate(-3deg);
  animation: lockinLaunchFloat 3.8s ease-in-out infinite;
}

.plan-purchase-modal__box {
  position: absolute;
  right: 7%;
  bottom: 20px;
  width: clamp(92px, 29vw, 132px);
  filter:
    drop-shadow(0 0 18px rgba(218, 255, 25, 0.58))
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.42));
  animation: lockinLaunchBoxPulse 2.8s ease-in-out infinite;
}

.plan-purchase-modal__launch-pad {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 210px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(241, 255, 95, 0.72), rgba(159, 255, 31, 0.18) 34%, transparent 72%);
  filter: blur(5px);
  transform: translateX(-50%);
}

.plan-purchase-modal__spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--launch-lime);
  box-shadow: 0 0 10px rgba(218, 255, 25, 0.9);
}

.plan-purchase-modal__spark--a {
  top: 18%;
  left: 18%;
}

.plan-purchase-modal__spark--b {
  top: 30%;
  right: 18%;
}

.plan-purchase-modal__spark--c {
  top: 58%;
  right: 31%;
  width: 3px;
  height: 3px;
}

.plan-purchase-modal__launch-title {
  margin-top: -2px;
  text-align: center;
}

.plan-purchase-modal__launch-title span {
  display: block;
  color: rgba(239, 245, 236, 0.78);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.plan-purchase-modal__launch-title strong {
  display: block;
  margin-top: 6px;
  color: var(--launch-lime);
  font-family: var(--font-display);
  font-size: clamp(34px, 11vw, 52px);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(204, 255, 31, 0.28);
}

.plan-purchase-modal__launch-title em {
  display: block;
  max-width: 88%;
  margin: 8px auto 0;
  overflow: hidden;
  color: rgba(231, 243, 226, 0.62);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-purchase-modal__purchase-title {
  margin: 2px 0 12px;
  text-align: center;
}

.plan-purchase-modal__purchase-title span {
  display: block;
  color: rgba(239, 245, 236, 0.76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.plan-purchase-modal__purchase-title strong {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: var(--launch-lime);
  font-family: var(--font-display);
  font-size: clamp(30px, 9vw, 44px);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: -0.05em;
  text-overflow: ellipsis;
  text-shadow: 0 0 22px rgba(204, 255, 31, 0.28);
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-purchase-modal__purchase-title em {
  display: block;
  display: -webkit-box;
  max-width: 92%;
  margin: 7px auto 0;
  overflow: hidden;
  color: rgba(231, 243, 226, 0.62);
  font-size: 10px;
  font-style: normal;
  font-weight: 760;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.plan-purchase-modal__progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  gap: 10px;
  margin: 18px 6px 0;
}

.plan-purchase-modal__progress-line {
  height: 28px;
  padding: 4px;
  border: 2px solid rgba(196, 255, 31, 0.74);
  border-radius: 999px;
  background: rgba(3, 20, 18, 0.88);
  box-shadow:
    0 0 20px rgba(204, 255, 31, 0.25),
    inset 0 0 0 1px rgba(214, 255, 124, 0.09);
}

.plan-purchase-modal__progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.18) 0 14%, transparent 14% 28%, rgba(255, 255, 255, 0.12) 28% 40%, transparent 40%),
    linear-gradient(90deg, #a5ff13 0%, #e7ff1d 72%, #fff86d 100%);
  background-size: 34px 100%, 100% 100%;
  box-shadow:
    0 0 16px rgba(218, 255, 25, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transition: width 0.28s ease;
  animation: lockinLaunchScan 1.8s linear infinite;
}

.plan-purchase-modal__progress strong {
  color: var(--launch-lime);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  text-align: right;
  text-shadow: 0 0 16px rgba(204, 255, 31, 0.3);
}

.plan-purchase-modal__sync {
  margin: 12px 0 0;
  color: rgba(231, 243, 226, 0.66);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.plan-purchase-modal__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 18px 0 14px;
}

.plan-purchase-modal__step {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid rgba(88, 255, 82, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(116, 255, 72, 0.1), transparent 62%),
    rgba(4, 25, 24, 0.86);
  color: rgba(235, 249, 229, 0.78);
}

.plan-purchase-modal__step .miners-ref-icon {
  width: 24px;
  height: 24px;
  color: var(--launch-green);
}

.plan-purchase-modal__step span {
  overflow: hidden;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-purchase-modal__step b {
  position: absolute;
  top: -9px;
  right: -4px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #97ff43, #4cff47);
  color: #113400;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 0 16px rgba(88, 255, 82, 0.55);
}

.plan-purchase-modal__step.is-current {
  border-color: rgba(255, 225, 31, 0.48);
  color: #fff1a8;
}

.plan-purchase-modal__step.is-current .miners-ref-icon {
  color: #ffe42f;
}

.plan-purchase-modal__step.is-current b {
  border: 3px solid #ffe42f;
  background: transparent;
  box-shadow: 0 0 13px rgba(255, 228, 47, 0.42);
}

.plan-purchase-modal__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 9px;
  margin-bottom: 9px;
}

.plan-purchase-modal__summary-copy,
.plan-purchase-modal__summary-price,
.plan-purchase-modal--launch .plan-purchase-modal__builder,
.plan-purchase-modal--launch .plan-purchase-modal__stat,
.plan-purchase-modal--launch .plan-purchase-modal__balance,
.plan-purchase-modal--launch .plan-purchase-modal__route {
  border: 1px solid rgba(135, 255, 77, 0.17);
  background:
    radial-gradient(circle at 100% 0%, rgba(208, 255, 31, 0.08), transparent 48%),
    var(--launch-panel);
  box-shadow: inset 0 1px 0 rgba(240, 255, 211, 0.05);
}

.plan-purchase-modal__summary-copy {
  min-width: 0;
  padding: 12px;
  border-radius: 20px;
}

.plan-purchase-modal__summary-copy span,
.plan-purchase-modal__summary-price span,
.plan-purchase-modal--launch .plan-purchase-modal__builder-head span,
.plan-purchase-modal--launch .plan-purchase-modal__stat span,
.plan-purchase-modal--launch .plan-purchase-modal__balance span,
.plan-purchase-modal--launch .plan-purchase-modal__route span {
  color: rgba(222, 238, 216, 0.55);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-purchase-modal__summary-copy strong {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: #f8ffe9;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-purchase-modal__summary-copy em {
  display: block;
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: rgba(224, 239, 221, 0.6);
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.plan-purchase-modal__summary-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 11px 10px;
  border-radius: 20px;
  text-align: right;
}

.plan-purchase-modal__summary-price strong {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: var(--launch-lime);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 0.94;
  font-weight: 950;
  text-overflow: ellipsis;
}

.plan-purchase-modal__summary-price em {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: rgba(224, 239, 221, 0.58);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-purchase-modal--launch .plan-purchase-modal__launch-limit {
  margin: 0 0 9px;
  border-color: rgba(255, 217, 93, 0.24);
  background: rgba(255, 217, 93, 0.08);
  color: #ffe695;
}

.plan-purchase-modal--launch .plan-purchase-modal__builder {
  gap: 10px;
  padding: 12px;
  margin-bottom: 9px;
  border-radius: 21px;
}

.plan-purchase-modal--launch .plan-purchase-modal__counter {
  grid-template-columns: 30px 42px 30px;
  gap: 5px;
  padding: 4px;
  border-color: rgba(202, 255, 63, 0.16);
  border-radius: 16px;
  background: rgba(0, 10, 11, 0.68);
}

.plan-purchase-modal--launch .plan-purchase-modal__counter .plan-purchase-modal__adjust-btn {
  min-height: 30px;
  border-radius: 12px;
}

.plan-purchase-modal--launch .plan-purchase-modal__preset-row {
  gap: 6px;
}

.plan-purchase-modal--launch .plan-purchase-modal__preset,
.plan-purchase-modal--launch .plan-purchase-modal__adjust-btn {
  min-height: 32px;
}

.plan-purchase-modal--launch .plan-purchase-modal__range {
  height: 16px;
}

.plan-purchase-modal--launch .plan-purchase-modal__stats {
  gap: 7px;
  margin-bottom: 9px;
}

.plan-purchase-modal--launch .plan-purchase-modal__stat {
  padding: 10px 8px;
  border-radius: 17px;
}

.plan-purchase-modal--launch .plan-purchase-modal__stat strong {
  color: #f8ffe9;
  font-size: 12px;
}

.plan-purchase-modal--launch .plan-purchase-modal__payment {
  gap: 7px;
  margin-bottom: 9px;
}

.plan-purchase-modal--launch .plan-purchase-modal__balance,
.plan-purchase-modal--launch .plan-purchase-modal__route {
  padding: 10px;
  border-radius: 18px;
}

.plan-purchase-modal--launch .plan-purchase-modal__balance-value,
.plan-purchase-modal--launch .plan-purchase-modal__route strong {
  font-size: 14px;
}

.plan-purchase-modal__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 2px 0 9px;
  color: var(--launch-lime);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.plan-purchase-modal__secure span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(218, 255, 25, 0.24);
  border-radius: 50%;
  background: rgba(218, 255, 25, 0.07);
  box-shadow: 0 0 18px rgba(204, 255, 31, 0.25);
}

.plan-purchase-modal--launch .plan-purchase-modal__actions {
  gap: 7px;
  position: sticky;
  bottom: -1px;
  padding-top: 8px;
  background: linear-gradient(180deg, rgba(3, 17, 20, 0), rgba(3, 17, 20, 0.96) 26%, #031114 100%);
}

.plan-purchase-modal--launch.is-funded .plan-purchase-modal__secondary {
  display: none;
}

.plan-purchase-modal--launch .plan-purchase-modal__primary,
.plan-purchase-modal--launch .plan-purchase-modal__secondary {
  min-height: 46px;
  border-radius: 17px;
}

@media (max-width: 380px) {
  .plan-purchase-modal--launch {
    padding: 15px 12px calc(14px + env(safe-area-inset-bottom));
  }

  .plan-purchase-modal__brand {
    gap: 5px;
    padding-right: 36px;
  }

  .plan-purchase-modal__brand-line,
  .plan-purchase-modal__brand-star {
    display: none;
  }

  .plan-purchase-modal__brand {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .plan-purchase-modal__launch-stage {
    height: 206px;
  }

  .plan-purchase-modal__robot {
    left: 8%;
    width: 156px;
  }

  .plan-purchase-modal__box {
    right: 5%;
    width: 94px;
  }

  .plan-purchase-modal__progress {
    grid-template-columns: minmax(0, 1fr) 46px;
    margin-inline: 0;
  }

  .plan-purchase-modal__progress strong {
    font-size: 23px;
  }

  .plan-purchase-modal__steps {
    gap: 6px;
  }

  .plan-purchase-modal__step {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 5px;
    min-height: 44px;
    padding: 0 8px;
    border-radius: 15px;
  }

  .plan-purchase-modal__step .miners-ref-icon {
    width: 20px;
    height: 20px;
  }

  .plan-purchase-modal__step span {
    font-size: 8px;
  }

  .plan-purchase-modal__summary {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .plan-purchase-modal__secure {
    font-size: 8px;
    letter-spacing: 0.18em;
  }
}

@media (max-height: 760px) {
  .plan-purchase-modal__launch-stage {
    height: 190px;
  }

  .plan-purchase-modal__robot {
    width: clamp(136px, 42vw, 182px);
  }

  .plan-purchase-modal__box {
    width: clamp(82px, 26vw, 112px);
  }

  .plan-purchase-modal__launch-title strong {
    font-size: clamp(30px, 9vw, 42px);
  }

  .plan-purchase-modal__steps {
    margin-top: 14px;
    margin-bottom: 10px;
  }
}

@keyframes lockinLaunchFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-7px) rotate(-1.4deg);
  }
}

@keyframes lockinLaunchBoxPulse {
  0%,
  100% {
    transform: translateY(0);
    filter:
      drop-shadow(0 0 18px rgba(218, 255, 25, 0.58))
      drop-shadow(0 12px 24px rgba(0, 0, 0, 0.42));
  }

  50% {
    transform: translateY(-3px);
    filter:
      drop-shadow(0 0 26px rgba(218, 255, 25, 0.72))
      drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
  }
}

@keyframes lockinLaunchScan {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 68px 0, 0 0;
  }
}

.plan-open-modal {
  --plan-open-lime: #d9ff19;
  --plan-open-green: #4dff54;
  --plan-open-bg: #020e11;
  --plan-open-panel: rgba(4, 25, 24, 0.86);
  position: relative;
  overflow: hidden auto;
  max-width: min(var(--max-width), 430px);
  max-height: 94vh;
  padding: 18px 16px calc(16px + env(safe-area-inset-bottom));
  border: 1px solid rgba(174, 255, 47, 0.28);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(178, 255, 31, 0.18), transparent 30%),
    radial-gradient(circle at 12% 46%, rgba(44, 255, 101, 0.1), transparent 26%),
    radial-gradient(circle at 92% 42%, rgba(218, 255, 25, 0.13), transparent 30%),
    linear-gradient(180deg, #031316 0%, #020b0f 58%, #031114 100%);
  box-shadow:
    0 -30px 78px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(241, 255, 205, 0.08);
  color: #f7ffe9;
  scrollbar-width: none;
}

.plan-open-modal::-webkit-scrollbar {
  display: none;
}

.plan-open-modal__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49%, rgba(194, 255, 39, 0.04) 50%, transparent 51%),
    radial-gradient(circle at 50% 36%, rgba(184, 255, 25, 0.14), transparent 34%);
}

.plan-open-modal__brand,
.plan-open-modal__scene,
.plan-open-modal__title,
.plan-open-modal__price-panel,
.plan-open-modal__notice,
.plan-open-modal__control-card,
.plan-open-modal__stats,
.plan-open-modal__route,
.plan-open-modal__secure,
.plan-open-modal__actions {
  position: relative;
  z-index: 1;
}

.plan-open-modal__brand {
  display: grid;
  grid-template-columns: 1fr 26px auto 26px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding-right: 38px;
}

.plan-open-modal__brand-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218, 255, 25, 0.78), transparent);
}

.plan-open-modal__brand-star {
  width: 26px;
  height: 26px;
  color: var(--plan-open-lime);
  filter: drop-shadow(0 0 9px rgba(204, 255, 31, 0.75));
}

.plan-open-modal__wordmark {
  color: #f8fbec;
  font-family: var(--font-display);
  font-size: clamp(30px, 9vw, 44px);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.plan-open-modal__wordmark b {
  color: var(--plan-open-lime);
  font-weight: 950;
}

.plan-open-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(218, 255, 25, 0.17);
  background: rgba(0, 14, 14, 0.62);
  color: rgba(244, 255, 221, 0.8);
  font-size: 22px;
  line-height: 1;
}

.plan-open-modal__scene {
  height: clamp(170px, 45vw, 220px);
  margin: 2px -4px 0;
  overflow: hidden;
}

.plan-open-modal__scene::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(198, 255, 31, 0.16);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 48px rgba(171, 255, 31, 0.18),
    inset 0 0 54px rgba(87, 255, 70, 0.08);
}

.plan-open-modal__orbit {
  position: absolute;
  left: 50%;
  top: 54%;
  border-radius: 50%;
  border: 1px solid rgba(204, 255, 31, 0.13);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.plan-open-modal__orbit--wide {
  width: 322px;
  height: 150px;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.plan-open-modal__orbit--round {
  width: 228px;
  height: 228px;
  border-style: dashed;
  opacity: 0.55;
}

.plan-open-modal__robot {
  position: absolute;
  left: 12%;
  bottom: 10px;
  width: clamp(142px, 42vw, 190px);
  filter:
    drop-shadow(0 0 16px rgba(206, 255, 31, 0.56))
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.46));
  animation: lockinLaunchFloat 3.8s ease-in-out infinite;
}

.plan-open-modal__box {
  position: absolute;
  right: 8%;
  bottom: 18px;
  width: clamp(86px, 27vw, 118px);
  filter:
    drop-shadow(0 0 18px rgba(218, 255, 25, 0.58))
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.42));
  animation: lockinLaunchBoxPulse 2.8s ease-in-out infinite;
}

.plan-open-modal__pad {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 196px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 255, 95, 0.72), rgba(159, 255, 31, 0.18) 36%, transparent 72%);
  filter: blur(5px);
  transform: translateX(-50%);
}

.plan-open-modal__particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--plan-open-lime);
  box-shadow: 0 0 10px rgba(218, 255, 25, 0.9);
}

.plan-open-modal__particle--a {
  top: 18%;
  left: 18%;
}

.plan-open-modal__particle--b {
  top: 30%;
  right: 18%;
}

.plan-open-modal__particle--c {
  top: 58%;
  right: 31%;
  width: 3px;
  height: 3px;
}

.plan-open-modal__title {
  margin: 2px 0 12px;
  text-align: center;
}

.plan-open-modal__title span {
  display: block;
  color: rgba(239, 245, 236, 0.76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.plan-open-modal__title strong {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: var(--plan-open-lime);
  font-family: var(--font-display);
  font-size: clamp(30px, 9vw, 44px);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: -0.05em;
  text-overflow: ellipsis;
  text-shadow: 0 0 22px rgba(204, 255, 31, 0.28);
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-open-modal__title em {
  display: block;
  display: -webkit-box;
  max-width: 92%;
  margin: 7px auto 0;
  overflow: hidden;
  color: rgba(231, 243, 226, 0.62);
  font-size: 10px;
  font-style: normal;
  font-weight: 760;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.plan-open-modal__price-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 9px;
  margin-bottom: 9px;
}

.plan-open-modal__price-main,
.plan-open-modal__price-side,
.plan-open-modal__control-card,
.plan-open-modal__stat,
.plan-open-modal__route {
  border: 1px solid rgba(135, 255, 77, 0.17);
  background:
    radial-gradient(circle at 100% 0%, rgba(208, 255, 31, 0.08), transparent 48%),
    var(--plan-open-panel);
  box-shadow: inset 0 1px 0 rgba(240, 255, 211, 0.05);
}

.plan-open-modal__price-main,
.plan-open-modal__price-side {
  min-width: 0;
  padding: 12px;
  border-radius: 20px;
}

.plan-open-modal__price-side {
  text-align: right;
}

.plan-open-modal__price-main span,
.plan-open-modal__price-side span,
.plan-open-modal__control-head span,
.plan-open-modal__stat span,
.plan-open-modal__route span {
  color: rgba(222, 238, 216, 0.55);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-open-modal__price-main strong {
  display: block;
  margin-top: 6px;
  color: var(--plan-open-lime);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.plan-open-modal__price-side strong {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: #f8ffe9;
  font-size: 17px;
  line-height: 1;
  font-weight: 950;
  text-overflow: ellipsis;
}

.plan-open-modal__price-main em,
.plan-open-modal__price-side em,
.plan-open-modal__route em {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: rgba(224, 239, 221, 0.58);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-open-modal__notice {
  margin: 0 0 9px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 217, 93, 0.24);
  border-radius: 16px;
  background: rgba(255, 217, 93, 0.08);
  color: #ffe695;
  font-size: 10px;
  font-weight: 850;
}

.plan-open-modal__control-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  margin-bottom: 9px;
  border-radius: 21px;
}

.plan-open-modal__control-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.plan-open-modal__control-head strong {
  display: block;
  margin-top: 4px;
  color: #f7ffe9;
  font-size: 12px;
  font-weight: 900;
}

.plan-open-modal__counter {
  display: grid;
  grid-template-columns: 30px 42px 30px;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(202, 255, 63, 0.16);
  border-radius: 16px;
  background: rgba(0, 10, 11, 0.68);
}

.plan-open-modal__counter > strong {
  color: var(--plan-open-lime);
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
  text-align: center;
}

.plan-open-modal__adjust,
.plan-open-modal__preset {
  min-height: 32px;
  border-radius: 13px;
  border: 1px solid rgba(142, 255, 76, 0.13);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(240, 255, 226, 0.82);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.plan-open-modal__preset-row {
  display: grid;
  grid-template-columns: 0.82fr repeat(3, 1fr) 0.82fr;
  gap: 6px;
}

.plan-open-modal__preset.is-active,
.plan-open-modal__adjust.is-active {
  border-color: rgba(202, 255, 63, 0.3);
  background: linear-gradient(180deg, #dfff67 0%, #9cff19 100%);
  color: #173100;
  box-shadow: 0 10px 20px rgba(122, 255, 43, 0.16);
}

.plan-open-modal__preset:disabled,
.plan-open-modal__adjust:disabled {
  opacity: 0.38;
  box-shadow: none;
}

.plan-open-modal__range {
  width: 100%;
  height: 16px;
  accent-color: var(--plan-open-lime);
}

.plan-open-modal__quantity-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(224, 239, 221, 0.55);
  font-size: 9px;
  font-weight: 850;
}

.plan-open-modal__quantity-meta b {
  color: #f7ffe9;
  font-weight: 950;
}

.plan-open-modal__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 9px;
}

.plan-open-modal__stat {
  min-width: 0;
  padding: 10px 8px;
  border-radius: 17px;
}

.plan-open-modal__stat strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #f8ffe9;
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-open-modal__route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 12px;
  margin-bottom: 8px;
  border-radius: 19px;
}

.plan-open-modal__route strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #f8ffe9;
  font-size: 14px;
  line-height: 1.05;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-open-modal__route .miners-ref-icon {
  width: 38px;
  height: 38px;
  color: var(--plan-open-lime);
  filter: drop-shadow(0 0 10px rgba(204, 255, 31, 0.32));
}

.plan-open-modal__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 2px 0 8px;
  color: var(--plan-open-lime);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

.plan-open-modal__secure span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(218, 255, 25, 0.24);
  border-radius: 50%;
  background: rgba(218, 255, 25, 0.07);
  box-shadow: 0 0 18px rgba(204, 255, 31, 0.25);
}

.plan-open-modal__actions {
  position: sticky;
  z-index: 2;
  bottom: -1px;
  display: grid;
  gap: 7px;
  padding-top: 8px;
  background: linear-gradient(180deg, rgba(3, 17, 20, 0), rgba(3, 17, 20, 0.96) 26%, #031114 100%);
}

.plan-open-modal__primary,
.plan-open-modal__secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 17px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-open-modal__primary {
  border: 1px solid rgba(202, 255, 63, 0.28);
  background: linear-gradient(180deg, #dfff67 0%, #9cff19 100%);
  color: #173100;
  box-shadow: 0 14px 30px rgba(122, 255, 43, 0.18);
}

.plan-open-modal__secondary {
  border: 1px solid rgba(142, 255, 76, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #eaffdd;
}

.plan-open-modal__primary strong,
.plan-open-modal__secondary strong {
  overflow: hidden;
  max-width: 45%;
  font-size: 10px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-open-modal__primary:disabled,
.plan-open-modal__secondary:disabled {
  opacity: 0.45;
  filter: grayscale(0.35);
}

@media (max-width: 380px) {
  .plan-open-modal {
    padding: 15px 12px calc(14px + env(safe-area-inset-bottom));
  }

  .plan-open-modal__brand {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding-right: 36px;
  }

  .plan-open-modal__brand-line,
  .plan-open-modal__brand-star {
    display: none;
  }

  .plan-open-modal__scene {
    height: 166px;
  }

  .plan-open-modal__robot {
    left: 8%;
    width: 140px;
  }

  .plan-open-modal__box {
    right: 5%;
    width: 88px;
  }

  .plan-open-modal__price-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-open-modal__price-side {
    text-align: left;
  }

  .plan-open-modal__control-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-open-modal__preset-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .plan-open-modal__quantity-meta {
    flex-direction: column;
    gap: 4px;
  }

  .plan-open-modal__secure {
    font-size: 8px;
    letter-spacing: 0.16em;
  }
}

@media (max-height: 760px) {
  .plan-open-modal__scene {
    height: 150px;
  }

  .plan-open-modal__robot {
    width: clamp(126px, 38vw, 164px);
  }

  .plan-open-modal__box {
    width: clamp(78px, 24vw, 102px);
  }

  .plan-open-modal__title strong {
    font-size: clamp(26px, 8vw, 38px);
  }
}

.plan-open-modal {
  --plan-open-lime: #d7ff19;
  --plan-open-green: #36ff55;
  --plan-open-muted: rgba(226, 235, 232, 0.62);
  --plan-open-line: rgba(109, 178, 95, 0.18);
  --plan-open-panel: rgba(7, 32, 30, 0.82);
  max-width: min(var(--max-width), 430px);
  max-height: 94vh;
  padding: 20px 16px 0;
  border: 1px solid rgba(106, 179, 112, 0.24);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at 72% 15%, rgba(24, 130, 78, 0.15), transparent 35%),
    radial-gradient(circle at 8% 38%, rgba(44, 255, 101, 0.07), transparent 28%),
    linear-gradient(180deg, #061416 0%, #041213 56%, #061716 100%);
  box-shadow:
    0 -30px 78px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(240, 255, 211, 0.05);
  color: #f5f8f1;
}

.plan-open-modal__bg {
  background:
    radial-gradient(circle at 52% 22%, rgba(86, 255, 82, 0.06), transparent 34%),
    linear-gradient(90deg, rgba(255,255,255,0.018), transparent 32%, rgba(255,255,255,0.012));
}

.plan-open-modal__head,
.plan-open-modal__section,
.plan-open-modal__actions {
  position: relative;
  z-index: 1;
}

.plan-open-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  margin-bottom: 18px;
}

.plan-open-modal__head h2 {
  margin: 0;
  color: #f8fbf4;
  font-family: var(--font-display);
  font-size: clamp(27px, 7.8vw, 36px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.plan-open-modal__close {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 0;
  background: transparent;
  color: var(--plan-open-lime);
  font-size: 0;
}

.plan-open-modal__close::before,
.plan-open-modal__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 10px rgba(215, 255, 25, 0.34);
}

.plan-open-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.plan-open-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.plan-open-modal__section {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.plan-open-modal__label {
  color: rgba(229, 238, 235, 0.64);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-open-modal__plan-card {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  grid-template-areas:
    "icon main badge"
    "metrics metrics metrics";
  gap: 18px 16px;
  align-items: center;
  min-height: 130px;
  padding: 18px 14px;
  border: 1px solid rgba(116, 177, 96, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 22%, rgba(94, 255, 78, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(11, 38, 34, 0.9), rgba(8, 28, 27, 0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

.plan-open-modal__plan-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  color: #ffd84b;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 218, 54, 0.18), rgba(255, 190, 31, 0.05));
  filter: drop-shadow(0 0 18px rgba(255, 218, 54, 0.32));
}

.plan-open-modal__plan-icon svg {
  width: 70px;
  height: 70px;
}

.plan-open-modal__plan-main {
  grid-area: main;
  min-width: 0;
}

.plan-open-modal__plan-name {
  overflow: hidden;
  color: #f6faf1;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-open-modal__plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 15px;
}

.plan-open-modal__plan-price strong {
  color: #f8fbf4;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 0.86;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.plan-open-modal__plan-price span {
  color: rgba(229, 238, 235, 0.64);
  font-size: 15px;
  font-weight: 950;
}

.plan-open-modal__badge {
  grid-area: badge;
  align-self: start;
  padding: 9px 13px;
  border: 1px solid rgba(215, 255, 25, 0.78);
  border-radius: 10px;
  color: var(--plan-open-lime);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.plan-open-modal__plan-metrics {
  grid-area: metrics;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-top: 6px;
}

.plan-open-modal__metric {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-areas:
    "icon value"
    "icon label";
  column-gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 0 10px;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.plan-open-modal__metric:first-child {
  border-left: 0;
  padding-left: 0;
}

.plan-open-modal__metric .miners-ref-icon {
  grid-area: icon;
  width: 22px;
  height: 22px;
  color: var(--plan-open-lime);
}

.plan-open-modal__metric strong {
  grid-area: value;
  overflow: hidden;
  color: #f8fbf4;
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-open-modal__metric span {
  grid-area: label;
  overflow: hidden;
  color: rgba(229, 238, 235, 0.64);
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-open-modal__amount-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 10px 0 14px;
  border: 1px solid rgba(116, 177, 96, 0.18);
  border-radius: 18px;
  background: rgba(7, 29, 28, 0.82);
}

.plan-open-modal__amount-card > strong {
  overflow: hidden;
  color: #f8fbf4;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
}

.plan-open-modal__currency-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 15px;
  background: rgba(255,255,255,0.055);
  color: #f6faf1;
  font-size: 14px;
  font-weight: 950;
}

.plan-open-modal__currency-pill .payment-method-icon,
.plan-open-modal__currency-pill .deposit-ref-method-card__coin,
.plan-open-modal__currency-pill .plan-open-modal__balance-coin {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.plan-open-modal__currency-pill .deposit-ref-method-card__network {
  width: 14px;
  height: 14px;
  right: -3px;
  bottom: -3px;
}

.plan-open-modal__currency-pill b {
  color: rgba(229, 238, 235, 0.62);
  font-size: 16px;
  line-height: 1;
}

.plan-open-modal__methods {
  display: grid;
  gap: 8px;
}

.plan-open-modal__method {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 13px;
  border: 1px solid rgba(116, 177, 96, 0.14);
  border-radius: 18px;
  background: rgba(7, 29, 28, 0.74);
  color: inherit;
  text-align: left;
}

.plan-open-modal__method.is-selected {
  border-color: rgba(215, 255, 25, 0.84);
  box-shadow:
    inset 0 0 0 1px rgba(215, 255, 25, 0.08),
    0 0 18px rgba(215, 255, 25, 0.08);
}

.plan-open-modal__method .payment-method-icon,
.plan-open-modal__method .deposit-ref-method-card__coin,
.plan-open-modal__method .plan-open-modal__balance-coin {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.plan-open-modal__balance-coin {
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #d9ff2d;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.42), rgba(255,255,255,0) 32%),
    radial-gradient(circle at 70% 86%, rgba(92,255,68,0.28), rgba(92,255,68,0) 48%),
    linear-gradient(180deg, rgba(31, 104, 45, 0.98), rgba(7, 28, 19, 0.98));
  border: 1px solid rgba(215,255,25,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 22px rgba(108,255,70,0.18);
}

.plan-open-modal__balance-coin .deposit-ref-icon {
  width: 58%;
  height: 58%;
}

.plan-open-modal__method--balance {
  background:
    radial-gradient(circle at 12% 18%, rgba(215,255,25,0.12), transparent 38%),
    linear-gradient(180deg, rgba(12, 42, 29, 0.86), rgba(6, 21, 18, 0.92));
}

.plan-open-modal__method .deposit-ref-method-card__network {
  width: 17px;
  height: 17px;
}

.plan-open-modal__method span {
  min-width: 0;
}

.plan-open-modal__method strong {
  display: block;
  overflow: hidden;
  color: #f6faf1;
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-open-modal__method em {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: rgba(229, 238, 235, 0.62);
  font-size: 11px;
  font-style: normal;
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-open-modal__method b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  justify-self: end;
  border: 2px solid rgba(229, 238, 235, 0.18);
  border-radius: 50%;
  color: #173100;
  font-size: 17px;
  font-weight: 950;
}

.plan-open-modal__method.is-selected b {
  border-color: transparent;
  background: var(--plan-open-lime);
  box-shadow: 0 0 14px rgba(215, 255, 25, 0.4);
}

.plan-open-modal__method-empty {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(229, 238, 235, 0.64);
  background: rgba(7, 29, 28, 0.74);
  font-size: 12px;
  font-weight: 800;
}

.plan-open-modal__receive {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(116, 177, 96, 0.16);
  border-radius: 18px;
  background: rgba(7, 29, 28, 0.78);
}

.plan-open-modal__receive > .miners-ref-icon {
  width: 52px;
  height: 52px;
  color: var(--plan-open-green);
  padding: 9px;
  border: 2px solid rgba(54, 255, 85, 0.38);
  border-radius: 18px;
}

.plan-open-modal__receive strong {
  display: block;
  color: #f8fbf4;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.plan-open-modal__receive strong span {
  color: rgba(229, 238, 235, 0.66);
  font-size: 15px;
}

.plan-open-modal__receive em {
  display: block;
  margin-top: 7px;
  color: rgba(229, 238, 235, 0.72);
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
}

.plan-open-modal__instant {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid rgba(215, 255, 25, 0.34);
  border-radius: 14px;
  background: rgba(215, 255, 25, 0.08);
  color: var(--plan-open-lime);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
}

.plan-open-modal__instant .miners-ref-icon {
  width: 24px;
  height: 24px;
}

.plan-open-modal__benefits {
  display: grid;
  gap: 0;
  padding: 12px 16px;
  border: 1px solid rgba(116, 177, 96, 0.16);
  border-radius: 18px;
  background: rgba(7, 29, 28, 0.78);
}

.plan-open-modal__benefits div {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 38px;
  color: #f6faf1;
  font-size: 13px;
  font-weight: 850;
}

.plan-open-modal__benefits div + div {
  border-top: 1px dashed rgba(229, 238, 235, 0.12);
}

.plan-open-modal__benefits .miners-ref-icon {
  width: 22px;
  height: 22px;
  color: #fffbd0;
}

.plan-open-modal__actions {
  margin: 18px -16px 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(116, 177, 96, 0.14);
  background:
    linear-gradient(180deg, rgba(4, 18, 19, 0.2), rgba(4, 18, 19, 0.92) 28%, #061716 100%);
}

.plan-open-modal__actions--early {
  margin: 12px 0 0;
  padding: 0;
  border-top: 0;
  background: transparent;
}

.plan-open-modal__primary {
  min-height: 58px;
  justify-content: center;
  border-radius: 999px;
  color: #172508;
  font-size: 16px;
  box-shadow:
    0 18px 34px rgba(166, 255, 28, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

.plan-open-modal__primary strong {
  display: none;
}

.plan-open-modal__secure {
  justify-content: center;
  margin: 14px 0 0;
  color: rgba(229, 238, 235, 0.64);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: none;
}

.plan-open-modal__secure .miners-ref-icon {
  width: 16px;
  height: 16px;
  color: var(--plan-open-lime);
}

@media (max-width: 380px) {
  .plan-open-modal {
    padding: 18px 12px 0;
  }

  .plan-open-modal__head {
    margin-bottom: 14px;
  }

  .plan-open-modal__plan-card {
    grid-template-columns: 66px minmax(0, 1fr);
    grid-template-areas:
      "icon main"
      "badge badge"
      "metrics metrics";
    gap: 12px;
    padding: 14px;
  }

  .plan-open-modal__plan-icon,
  .plan-open-modal__plan-icon svg {
    width: 58px;
    height: 58px;
  }

  .plan-open-modal__badge {
    justify-self: start;
  }

  .plan-open-modal__plan-metrics {
    gap: 8px;
  }

  .plan-open-modal__metric {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "icon"
      "value"
      "label";
    justify-items: center;
    padding: 0 4px;
    text-align: center;
  }

  .plan-open-modal__amount-card {
    min-height: 54px;
  }

  .plan-open-modal__method {
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    gap: 10px;
    min-height: 60px;
    padding-inline: 10px;
  }

  .plan-open-modal__receive {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .plan-open-modal__instant {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .plan-open-modal__actions {
    margin-inline: -12px;
    padding-inline: 12px;
  }
}

/* ── Empty States ───────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  gap: 12px;
}

.empty-icon {
  font-size: 52px;
  opacity: 0.4;
}

.empty-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-secondary);
}

.empty-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 260px;
}

/* ── Loading Skeleton ───────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.09) 50%,
    rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-shine {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-line {
  height: 14px;
  margin-bottom: 8px;
}

.skeleton-text  { height: 12px; }
.skeleton-title { height: 20px; }

/* ── Info Row ───────────────────────────────────────────────── */
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.info-row:last-child { border-bottom: none; }

.info-row-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.info-row-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}

/* ── Divider ────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* ── Tab bar ────────────────────────────────────────────────── */
.tab-bar {
  display: flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4px;
  gap: 2px;
  margin: 0 16px 16px;
}

.tab-btn {
  flex: 1;
  padding: 9px 10px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
  background: none;
}

.tab-btn.active {
  background: var(--purple-primary);
  color: white;
  box-shadow: 0 2px 12px rgba(124,58,237,0.4);
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

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

.animate-spin { animation: spin 1s linear infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

/* ── Glow Text ──────────────────────────────────────────────── */
.glow-text-purple {
  text-shadow: 0 0 20px rgba(139,92,246,0.7), 0 0 40px rgba(139,92,246,0.3);
}

.glow-text-gold {
  text-shadow: 0 0 20px rgba(245,158,11,0.7), 0 0 40px rgba(245,158,11,0.3);
}

/* ── Gradient text ──────────────────────────────────────────── */
.grad-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Utility ────────────────────────────────────────────────── */
.mt-auto { margin-top: auto; }
.hidden  { display: none !important; }
.text-center { text-align: center; }
.text-gold { color: var(--gold) !important; }
.text-green { color: var(--green) !important; }
.text-red { color: var(--red) !important; }
.text-purple { color: var(--purple-light) !important; }
.text-muted { color: var(--text-muted) !important; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.p-4  { padding: 16px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mt-4 { margin-top: 16px; }

/* ── Legal page ─────────────────────────────────────────────── */
.legal-content {
  padding: 0 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 14px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 20px 0 10px;
}

.legal-content p {
  margin-bottom: 12px;
}

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.3); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(139,92,246,0.5); }

/* ── Page header with back btn ──────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 8px;
}

.back-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.back-btn:hover { background: rgba(255,255,255,0.12); }

.page-header-title {
  font-size: 18px;
  font-weight: 800;
  flex: 1;
}

/* ── Safe area bottom ───────────────────────────────────────── */
@supports (padding: max(0px)) {
  .bottom-nav {
    padding-bottom: max(env(safe-area-inset-bottom), 0px);
    height: calc(var(--nav-height) + max(env(safe-area-inset-bottom), 0px));
  }
}

/* ── Premium Home Redesign ─────────────────────────────────── */
:root {
  --shell-outer-pad: 0px;
  --top-bar-height: 88px;
  --nav-height: 94px;
  --max-width: 368px;
}

body {
  background:
    radial-gradient(circle at 50% 18%, rgba(164, 95, 255, 0.3) 0%, rgba(51, 19, 100, 0) 42%),
    radial-gradient(circle at 50% 100%, rgba(39, 16, 83, 0.96) 0%, rgba(9, 4, 24, 1) 62%),
    linear-gradient(180deg, #17072e 0%, #080413 100%);
  padding: 0;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255,255,255,.92) 0 1px, transparent 1.6px),
    radial-gradient(circle at 82% 12%, rgba(255,255,255,.75) 0 1px, transparent 1.6px),
    radial-gradient(circle at 71% 68%, rgba(255,255,255,.84) 0 1.2px, transparent 2px),
    radial-gradient(circle at 10% 86%, rgba(255,255,255,.68) 0 1.1px, transparent 1.8px),
    radial-gradient(circle at 92% 92%, rgba(255,255,255,.96) 0 1.5px, transparent 2.4px);
  pointer-events: none;
  opacity: .92;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(132, 77, 219, 0.24) 0%, rgba(132, 77, 219, 0) 62%),
    linear-gradient(180deg, rgba(121, 74, 196, 0.08) 0%, rgba(15, 6, 34, 0) 40%);
  pointer-events: none;
  z-index: 0;
}

.stars {
  opacity: 0.34;
  mix-blend-mode: screen;
}

#app {
  width: 100vw;
  max-width: none;
  min-height: 100dvh;
  border-radius: 0;
  border: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(98, 255, 46, 0.09) 0%, rgba(98, 255, 46, 0) 28%),
    linear-gradient(180deg, #06171c 0%, #041319 100%);
  box-shadow: none;
}

#app::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: none;
  pointer-events: none;
  z-index: 2;
}

#app::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 16%, rgba(171, 107, 255, 0.16) 0%, rgba(171, 107, 255, 0) 30%),
    linear-gradient(180deg, rgba(32, 12, 64, 0) 0%, rgba(24, 11, 52, 0.06) 18%, rgba(20, 9, 45, 0.26) 44%, rgba(18, 8, 42, 0.68) 100%);
  pointer-events: none;
  z-index: 0;
}

#main-content {
  position: relative;
  z-index: 3;
}

#app-space-effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.app-stars-layer,
.shooting-stars-layer {
  position: absolute;
  inset: 0;
}

.app-star {
  position: absolute;
  width: var(--size, 2px);
  height: var(--size, 2px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.98) 0%, rgba(229, 197, 255, 0.72) 58%, rgba(229, 197, 255, 0) 100%);
  box-shadow:
    0 0 10px rgba(255,255,255,0.18),
    0 0 20px rgba(207, 140, 255, var(--glow, 0.36));
  animation: twinkle var(--dur, 3.2s) ease-in-out infinite var(--delay, 0s);
}

.shooting-star {
  position: absolute;
  width: var(--shoot-width, 2px);
  height: var(--shoot-tail, 96px);
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(216, 177, 255, 0.12) 24%, rgba(216, 177, 255, 0.52) 66%, rgba(255,255,255,0.98) 100%);
  box-shadow:
    0 0 10px rgba(255,255,255,0.24),
    0 0 18px rgba(205, 150, 255, 0.22);
  transform-origin: center top;
  animation: shootingStarFall var(--shoot-dur, 1.4s) cubic-bezier(0.18, 0.62, 0.28, 1) forwards;
}

.shooting-star::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  transform: translateX(-50%);
  box-shadow:
    0 0 10px rgba(255,255,255,0.34),
    0 0 18px rgba(214, 177, 255, 0.28);
}

@keyframes shootingStarFall {
  0% {
    opacity: 0;
    transform: translate3d(0, -18px, 0) rotate(var(--shoot-angle, 0deg)) scaleY(0.2);
  }
  12% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--shoot-drift, 0px), var(--shoot-drop, 240px), 0) rotate(var(--shoot-angle, 0deg)) scaleY(1);
  }
}

.page.home-screen {
  padding-top: 0;
  min-height: 100dvh;
}

.home-page-content {
  padding: 0 16px calc(var(--nav-height) + 18px);
}

.page.home-screen.home-screen--starter {
  overflow-x: clip;
}

.home-screen--starter .home-page-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.top-bar {
  width: 100vw;
  max-width: none;
  top: 0;
  height: var(--top-bar-height);
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
  isolation: isolate;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  column-gap: 8px;
  align-items: center;
}

.top-bar::before,
.top-bar::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.top-bar::before {
  left: 50%;
  top: -18px;
  width: 88%;
  height: 118px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at center top, rgba(170, 108, 255, 0.26) 0%, rgba(110, 61, 184, 0.14) 34%, transparent 74%);
  filter: blur(10px);
}

.top-bar::after {
  display: none;
}

.top-bar-center,
.icon-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(226, 194, 255, 0.16);
  outline: none;
  margin: 0;
  font: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.05) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(88, 49, 145, 0.52) 0%, rgba(47, 24, 92, 0.38) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.16),
    0 10px 24px rgba(11, 4, 28, 0.24);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.top-bar-center::before,
.icon-btn::before,
.premium-bonus-card::before,
.btn::before,
.bottom-nav::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0));
  pointer-events: none;
}

.top-bar-center {
  position: relative;
  left: auto;
  transform: none;
  width: min(100%, 150px);
  max-width: 100%;
  justify-self: center;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 15px;
  text-align: left;
  cursor: pointer;
}

.top-bar-center:hover {
  border-color: rgba(238, 209, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.06) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(94, 52, 164, 0.56) 0%, rgba(45, 22, 90, 0.44) 100%);
}

.top-bar-coin {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 9px;
  color: #f8ecff;
  background:
    radial-gradient(circle at 50% 16%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 34%, rgba(255,255,255,0) 74%),
    linear-gradient(180deg, rgba(126, 79, 212, 0.46) 0%, rgba(63, 36, 128, 0.28) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 14px rgba(178, 117, 255, 0.14);
}

.top-bar-coin svg {
  display: none;
}

.top-bar-coin::before {
  content: '';
  width: 16px;
  height: 16px;
  display: block;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M17 8v-3a1 1 0 0 0 -1 -1h-10a2 2 0 0 0 0 4h12a1 1 0 0 1 1 1v3m0 4v3a1 1 0 0 1 -1 1h-12a2 2 0 0 1 -2 -2v-12' /%3E%3Cpath d='M20 12v4h-4a2 2 0 0 1 0 -4h4' /%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M17 8v-3a1 1 0 0 0 -1 -1h-10a2 2 0 0 0 0 4h12a1 1 0 0 1 1 1v3m0 4v3a1 1 0 0 1 -1 1h-12a2 2 0 0 1 -2 -2v-12' /%3E%3Cpath d='M20 12v4h-4a2 2 0 0 1 0 -4h4' /%3E%3C/svg%3E") center / contain no-repeat;
}

.top-bar-balance-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}

.top-bar-balance-label {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(233, 218, 255, 0.58);
}

.top-bar-balance-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.top-bar-balance {
  color: #fbf3ff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(219, 171, 255, 0.16);
  white-space: nowrap;
}

.top-bar-balance-arrow {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(242, 225, 255, 0.66);
  flex-shrink: 0;
}

.top-bar-balance-arrow svg {
  width: 100%;
  height: 100%;
}

.top-bar-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  justify-self: end;
}

.top-bar-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 1;
  justify-self: start;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  min-height: 44px;
  padding: 3px 3px 3px 7px;
  border-radius: 15px;
  border: 1px solid rgba(226, 194, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.04) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(83, 47, 145, 0.5) 0%, rgba(41, 21, 81, 0.36) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 10px 24px rgba(11, 4, 28, 0.2);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.lang-toggle__icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(237, 226, 255, 0.66);
  flex-shrink: 0;
}

.lang-toggle__icon svg {
  width: 100%;
  height: 100%;
}

.lang-btn {
  min-width: 29px;
  height: 36px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(234, 221, 255, 0.58);
  transition: background 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.lang-btn--current {
  min-width: 42px;
  padding: 0 12px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: #e7d9ff;
}

.icon-btn svg {
  width: 21px;
  height: 21px;
}

.lang-btn.active {
  color: #fff8ff;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.03) 40%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(121, 77, 214, 0.42) 0%, rgba(67, 38, 128, 0.28) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 18px rgba(183, 120, 255, 0.16);
}

body.lang-rtl,
body.lang-rtl #app {
  direction: rtl;
}

body.lang-rtl .page,
body.lang-rtl .card,
body.lang-rtl .modal,
body.lang-rtl .faq-item__answer,
body.lang-rtl .form-input,
body.lang-rtl textarea,
body.lang-rtl .lang-picker__option,
body.lang-rtl .profile-menu-item {
  text-align: right;
}

body.lang-rtl .top-bar-left {
  justify-self: end;
}

body.lang-rtl .top-bar-right {
  justify-self: start;
}

body.lang-rtl .top-bar-center,
body.lang-rtl .lang-toggle,
body.lang-rtl .profile-menu-item,
body.lang-rtl .faq-item__summary,
body.lang-rtl .lang-picker__option {
  direction: rtl;
}

body.lang-rtl .top-bar-balance-arrow,
body.lang-rtl .profile-menu-arrow {
  transform: scaleX(-1);
}

.notif-badge {
  top: 4px;
  right: 4px;
  border-color: #2f1656;
}

.hero-section {
  position: relative;
  min-height: 328px;
  padding: 10px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.page.home-screen .hero-section {
  min-height: calc(328px + var(--top-bar-height));
  padding-top: calc(var(--top-bar-height) + 10px);
}

.home-screen--starter .hero-section {
  min-height: calc(308px + var(--top-bar-height));
  padding-top: calc(var(--top-bar-height) + 6px);
  margin-bottom: -4px;
}

.hero-aura {
  position: absolute;
  inset: 4px 0 38px;
  background: radial-gradient(circle at 50% 34%, rgba(229, 150, 255, 0.28) 0%, rgba(144, 74, 219, 0.18) 26%, transparent 62%);
  filter: blur(12px);
}

.hero-stars {
  position: absolute;
  width: 80px;
  height: 160px;
  top: 16px;
  opacity: 0.45;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.9) 0 1px, transparent 1.8px),
    radial-gradient(circle at 74% 46%, rgba(255,255,255,.8) 0 1px, transparent 1.6px),
    radial-gradient(circle at 54% 72%, rgba(255,255,255,.7) 0 1.2px, transparent 1.8px);
}

.hero-stars-left {
  left: 0;
}

.hero-stars-right {
  right: 0;
}

.rocket-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.rocket-profit-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
}

.rocket-profit-pulse {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.04) 100%),
    linear-gradient(135deg, rgba(106, 244, 166, 0.94) 0%, rgba(170, 255, 214, 0.88) 100%);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 10px 22px rgba(22, 76, 49, 0.24),
    0 0 22px rgba(126, 255, 196, 0.18);
  color: #123d26;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(var(--profit-tilt, 0deg));
  transform-origin: 50% 50%;
  opacity: 0;
  animation: rocketProfitPulse var(--profit-dur, 2.2s) ease-out forwards;
}

.rocket-profit-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(158, 255, 208, 0.22) 0%, transparent 72%);
  filter: blur(8px);
  z-index: -1;
}

.rocket-container::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 248px;
  height: 52px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(241, 187, 255, 0.48) 0%, rgba(163, 103, 255, 0.2) 46%, transparent 76%);
  filter: blur(10px);
  opacity: 0.92;
  z-index: 1;
}

.rocket-ship {
  position: relative;
  z-index: 3;
  width: 176px;
  height: 236px;
  margin-bottom: 82px;
  overflow: visible;
  animation: floatAnim 3.4s ease-in-out infinite;
}

.rocket-image {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 195px;
  display: block;
  object-fit: contain;
  transform: translate3d(0, -20px, 0);
  filter:
    drop-shadow(0 16px 30px rgba(22, 8, 46, 0.58))
    drop-shadow(0 0 24px rgba(207, 140, 255, 0.18));
}

.rocket-launcher {
  cursor: default;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.rocket-launcher__halo {
  position: absolute;
  left: 50%;
  bottom: 62px;
  width: 144px;
  height: 144px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 226, 255, 0.22) 0%, rgba(238, 151, 255, 0.12) 36%, rgba(150, 88, 255, 0.02) 68%, transparent 82%);
  opacity: 0.45;
  filter: blur(14px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 0;
  pointer-events: none;
}

.rocket-launcher__trail {
  position: absolute;
  left: 50%;
  bottom: 38px;
  width: 36px;
  height: 232px;
  transform: translateX(-50%) scaleY(0.1);
  transform-origin: 50% 100%;
  background:
    linear-gradient(180deg,
      rgba(255, 251, 236, 0.98) 0%,
      rgba(255, 208, 124, 0.92) 12%,
      rgba(255, 146, 73, 0.84) 26%,
      rgba(235, 120, 255, 0.54) 52%,
      rgba(161, 84, 255, 0.18) 76%,
      transparent 100%);
  opacity: 0;
  filter: blur(12px);
  z-index: 1;
  pointer-events: none;
}

.rocket-launcher__embers {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 104px;
  height: 140px;
  transform: translateX(-50%);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 245, 226, 0.98) 0 7%, transparent 8%),
    radial-gradient(circle at 22% 32%, rgba(255, 196, 116, 0.82) 0 6%, transparent 7%),
    radial-gradient(circle at 78% 36%, rgba(255, 176, 99, 0.78) 0 5%, transparent 6%),
    radial-gradient(circle at 34% 58%, rgba(255, 128, 79, 0.58) 0 5%, transparent 6%),
    radial-gradient(circle at 66% 64%, rgba(224, 116, 255, 0.48) 0 4%, transparent 5%),
    radial-gradient(circle at 52% 88%, rgba(173, 88, 255, 0.24) 0 6%, transparent 7%);
  filter: blur(2px);
}

.rocket-launcher::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 68px;
  height: 170px;
  transform: translateX(-50%) scaleY(0.16);
  transform-origin: 50% 100%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 249, 227, 0.98) 0%, rgba(255, 203, 111, 0.88) 18%, rgba(255, 148, 66, 0.74) 34%, rgba(214, 111, 255, 0.34) 58%, transparent 82%);
  filter: blur(18px);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.rocket-launcher:hover .rocket-launcher__halo {
  opacity: 0.7;
  transform: translateX(-50%) scale(1.04);
}

.rocket-image--static {
  z-index: 2;
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
  will-change: opacity, transform, filter;
}

.rocket-container.is-launching::after {
  width: 286px;
  height: 68px;
  opacity: 1;
  background: radial-gradient(ellipse, rgba(255, 206, 162, 0.48) 0%, rgba(232, 144, 255, 0.26) 42%, transparent 78%);
  filter: blur(14px);
}

.rocket-container.is-launching .platform-image {
  animation: rocketPlatformPulse 2.5s ease-out forwards;
}

.rocket-container.is-launching .rocket-launcher__halo {
  animation: rocketHaloBurst 2.4s ease-out forwards;
}

.rocket-launcher.is-launching {
  animation: rocketLaunchSequence 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.rocket-launcher.is-launching::before {
  animation: rocketThrusterGlow 2.1s ease-out forwards;
}

.rocket-launcher.is-launching .rocket-launcher__trail {
  animation: rocketTrail 2.2s ease-out forwards;
}

.rocket-launcher.is-launching .rocket-launcher__embers {
  animation: rocketEmbers 2.2s ease-out forwards;
}

.rocket-launcher.is-launching .rocket-image--static {
  animation: rocketLaunchImage 2.8s ease-out forwards;
}

.platform-image {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  width: 312px;
  max-width: none;
  transform: translateX(-50%);
  filter:
    drop-shadow(0 18px 30px rgba(11, 4, 28, 0.52))
    drop-shadow(0 0 18px rgba(207, 140, 255, 0.12));
}

@keyframes rocketProfitPulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--profit-tilt, 0deg)) scale(0.72);
    filter: blur(3px);
  }
  18% {
    opacity: 1;
    transform: translate(calc(-50% + (var(--profit-drift-x, 0px) * 0.16)), calc(-50% + (var(--profit-drift-y, -32px) * 0.18))) rotate(var(--profit-tilt, 0deg)) scale(1);
    filter: blur(0);
  }
  76% {
    opacity: 0.98;
    transform: translate(calc(-50% + (var(--profit-drift-x, 0px) * 0.82)), calc(-50% + (var(--profit-drift-y, -32px) * 0.82))) rotate(calc(var(--profit-tilt, 0deg) * 0.55)) scale(1.02);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--profit-drift-x, 0px)), calc(-50% + var(--profit-drift-y, -32px))) rotate(calc(var(--profit-tilt, 0deg) * 0.25)) scale(0.94);
    filter: blur(2px);
  }
}

@keyframes rocketThrusterGlow {
  0% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.14) scaleX(0.88);
  }
  8% {
    opacity: 0.74;
    transform: translateX(-50%) scaleY(0.54) scaleX(0.96);
  }
  20% {
    opacity: 0.88;
    transform: translateX(-50%) scaleY(1.04) scaleX(1);
  }
  36% {
    opacity: 0.98;
    transform: translateX(-50%) scaleY(1.66) scaleX(1.05);
  }
  58% {
    opacity: 0.86;
    transform: translateX(-50%) scaleY(1.92) scaleX(1.08);
  }
  82% {
    opacity: 0.7;
    transform: translateX(-50%) scaleY(1.5) scaleX(1.02);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.2) scaleX(0.9);
  }
}

@keyframes rocketHaloBurst {
  0% {
    opacity: 0.45;
    transform: translateX(-50%) scale(1);
  }
  16% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }
  42% {
    opacity: 0.94;
    transform: translateX(-50%) scale(1.42);
  }
  78% {
    opacity: 0.54;
    transform: translateX(-50%) scale(1.7);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(1.92);
  }
}

@keyframes rocketTrail {
  0% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.08) scaleX(0.88);
  }
  12% {
    opacity: 0.86;
    transform: translateX(-50%) scaleY(0.72) scaleX(0.96);
  }
  34% {
    opacity: 0.9;
    transform: translateX(-50%) scaleY(1.42) scaleX(1.02);
  }
  58% {
    opacity: 0.84;
    transform: translateX(-50%) scaleY(1.86) scaleX(1.06);
  }
  82% {
    opacity: 0.44;
    transform: translateX(-50%) scaleY(1.18) scaleX(0.98);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.18) scaleX(0.82);
  }
}

@keyframes rocketEmbers {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0) scale(0.72);
  }
  14% {
    opacity: 0.94;
    transform: translateX(-50%) translateY(2px) scale(1);
  }
  38% {
    opacity: 0.92;
    transform: translateX(-50%) translateY(10px) scale(1.08);
  }
  62% {
    opacity: 0.72;
    transform: translateX(-50%) translateY(18px) scale(1.14);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(28px) scale(0.82);
  }
}

@keyframes rocketLaunchSequence {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  6% {
    transform: translate3d(0, -3px, 0) scale(1.006) rotate(-0.2deg);
  }
  12% {
    transform: translate3d(0, -8px, 0) scale(1.01) rotate(0.18deg);
  }
  24% {
    transform: translate3d(0, -28px, 0) scale(1.016) rotate(-0.08deg);
  }
  40% {
    transform: translate3d(0, -92px, 0) scale(1.014) rotate(0.04deg);
  }
  58% {
    transform: translate3d(0, -208px, 0) scale(0.984) rotate(0deg);
  }
  78% {
    transform: translate3d(0, -376px, 0) scale(0.91) rotate(0deg);
  }
  100% {
    transform: translate3d(0, -590px, 0) scale(0.78) rotate(0deg);
    opacity: 0;
  }
}

@keyframes rocketLaunchImage {
  0%,
  18% {
    opacity: 1;
    transform: translate3d(0, -20px, 0) scale(1);
    filter:
      drop-shadow(0 16px 30px rgba(22, 8, 46, 0.58))
      drop-shadow(0 0 24px rgba(207, 140, 255, 0.18));
  }
  36% {
    opacity: 1;
    transform: translate3d(0, -24px, 0) scale(1.02);
    filter:
      brightness(1.08)
      saturate(1.1)
      drop-shadow(0 30px 42px rgba(22, 8, 46, 0.44))
      drop-shadow(0 0 30px rgba(255, 190, 124, 0.26));
  }
  62% {
    opacity: 0.96;
    transform: translate3d(0, -12px, 0) scale(0.98);
    filter:
      brightness(1.1)
      saturate(1.1)
      drop-shadow(0 28px 42px rgba(22, 8, 46, 0.38))
      drop-shadow(0 0 26px rgba(255, 181, 121, 0.22));
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.88);
    filter:
      brightness(1.18)
      saturate(1.14)
      drop-shadow(0 24px 34px rgba(22, 8, 46, 0.16))
      drop-shadow(0 0 20px rgba(255, 181, 121, 0.12));
  }
}

@keyframes rocketPlatformPulse {
  0% {
    transform: translateX(-50%) scale(1);
    filter:
      drop-shadow(0 18px 30px rgba(11, 4, 28, 0.52))
      drop-shadow(0 0 18px rgba(207, 140, 255, 0.12));
  }
  34% {
    transform: translateX(-50%) scale(1.04);
    filter:
      drop-shadow(0 24px 42px rgba(11, 4, 28, 0.62))
      drop-shadow(0 0 34px rgba(255, 184, 131, 0.24));
  }
  62% {
    transform: translateX(-50%) scale(1.02);
    filter:
      drop-shadow(0 22px 36px rgba(11, 4, 28, 0.56))
      drop-shadow(0 0 28px rgba(245, 153, 255, 0.2));
  }
  100% {
    transform: translateX(-50%) scale(1);
    filter:
      drop-shadow(0 18px 30px rgba(11, 4, 28, 0.52))
      drop-shadow(0 0 18px rgba(207, 140, 255, 0.12));
  }
}

.home-launch-card,
.home-steps-card {
  margin-top: 0;
}

.home-starter-flow {
  position: relative;
  display: grid;
  gap: 14px;
}

.home-starter-flow::before {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  bottom: 10px;
  border-radius: 32px;
  border: 1px solid rgba(178, 126, 255, 0.05);
  pointer-events: none;
  opacity: 0.9;
}

.home-starter-support {
  display: grid;
  gap: 12px;
}

.home-launch-card {
  position: relative;
  overflow: hidden;
  padding: 20px 18px 18px;
  border-radius: 28px;
  border: 1px solid rgba(220, 186, 255, 0.16);
  background:
    radial-gradient(188px 108px at 8% -6%, rgba(240, 139, 255, 0.16) 0%, rgba(240, 139, 255, 0) 72%),
    radial-gradient(216px 138px at 100% 100%, rgba(143, 123, 255, 0.18) 0%, rgba(143, 123, 255, 0) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 15%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(48, 27, 108, 0.97) 0%, rgba(22, 11, 57, 0.99) 100%);
  box-shadow:
    0 18px 34px rgba(6, 4, 18, 0.32),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 28px rgba(176,108,255,0.08);
}

.home-launch-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(180px 66px at 50% -4%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.02) 46%, transparent 74%),
    linear-gradient(120deg, rgba(255,255,255,0) 38%, rgba(255,255,255,0.04) 49%, rgba(255,255,255,0) 58%);
  pointer-events: none;
}

.home-launch-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -12px 24px rgba(9, 5, 23, 0.16);
  pointer-events: none;
}

.home-launch-card > * {
  position: relative;
  z-index: 1;
}

.home-launch-card__hero {
  display: grid;
  gap: 10px;
}

.home-launch-card__eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 224, 255, 0.68);
}

.home-launch-card__title {
  margin: 0;
  font-size: 25px;
  line-height: 0.96;
  font-weight: 900;
  color: #fff6ff;
  max-width: 280px;
  text-shadow: 0 10px 28px rgba(20, 8, 44, 0.32);
}

.home-launch-card__text {
  font-size: 12.5px;
  line-height: 1.52;
  color: rgba(236, 226, 255, 0.78);
  max-width: 300px;
  margin: 0;
}

.home-launch-card__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.home-launch-card__fact {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 10px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(214, 178, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.home-launch-card__fact span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(235, 225, 255, 0.62);
}

.home-launch-card__fact strong {
  font-size: 15px;
  line-height: 1.05;
  font-weight: 800;
  color: #fff8ff;
}

.home-launch-card__market {
  margin-top: 14px;
  padding: 12px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.018) 18%, rgba(255,255,255,0) 44%),
    linear-gradient(180deg, rgba(58, 32, 123, 0.76) 0%, rgba(29, 16, 77, 0.82) 100%);
  border: 1px solid rgba(214, 178, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 20px rgba(10, 5, 24, 0.16);
}

.home-launch-card__market-title {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(235, 224, 255, 0.62);
}

.home-launch-card__market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.home-launch-card__market-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 9px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 178, 255, 0.08);
}

.home-launch-card__market-item strong {
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  color: #fff8ff;
  letter-spacing: -0.03em;
}

.home-launch-card__market-item span {
  font-size: 9px;
  line-height: 1.25;
  color: rgba(234, 223, 255, 0.68);
}

.home-launch-plan {
  position: relative;
  margin-top: 16px;
  padding: 17px 16px 16px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 16%, rgba(255,255,255,0) 44%),
    linear-gradient(180deg, rgba(62, 34, 129, 0.97) 0%, rgba(30, 16, 80, 0.99) 100%);
  border: 1px solid rgba(229, 198, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 14px 28px rgba(9, 5, 24, 0.22),
    0 0 22px rgba(210, 124, 255, 0.08);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.home-launch-plan:active {
  transform: translateY(1px);
}

.home-launch-plan:hover {
  filter: brightness(1.02) saturate(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    0 16px 30px rgba(9, 5, 24, 0.24),
    0 0 24px rgba(210, 124, 255, 0.1);
}

.home-launch-plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.home-launch-plan__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.03) 100%),
    linear-gradient(135deg, rgba(224, 171, 92, 0.88) 0%, rgba(243, 217, 139, 0.84) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 0 14px rgba(235, 196, 106, 0.14);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #4e2d09;
  text-transform: uppercase;
}

.home-launch-plan__label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(237, 226, 255, 0.68);
  text-align: right;
}

.home-launch-plan__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.home-launch-plan__copy {
  min-width: 0;
}

.home-launch-plan__name {
  font-size: 19px;
  line-height: 1.04;
  font-weight: 800;
  color: #fff6ff;
}

.home-launch-plan__subline {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(236, 226, 255, 0.66);
}

.home-launch-plan__price-block {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.home-launch-plan__price {
  font-size: 27px;
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff3d6;
  text-shadow: 0 0 20px rgba(233, 193, 102, 0.14);
}

.home-launch-plan__price-note {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 225, 182, 0.72);
}

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

.home-launch-plan__metric {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 10px 11px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(223, 191, 255, 0.1);
}

.home-launch-plan__metric span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(235, 225, 255, 0.64);
}

.home-launch-plan__metric strong {
  font-size: 13px;
  line-height: 1.1;
  font-weight: 800;
  color: #fff7ff;
}

.home-launch-plan__footer {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(236, 227, 255, 0.78);
}

.home-launch-plan__footer span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(223, 191, 255, 0.08);
}

.home-launch-card__actions {
  margin-top: 16px;
  padding-top: 0;
  grid-template-columns: 1fr;
  gap: 0;
}

.home-launch-card__actions .home-action-btn {
  min-height: 68px;
}

.home-launch-card__cta-note {
  margin-top: 10px;
  font-size: 10.5px;
  line-height: 1.45;
  color: rgba(236, 225, 255, 0.72);
}

.home-launch-card__confidence {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.home-launch-card__confidence-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 0 11px 0 12px;
  border-radius: 15px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 178, 255, 0.1);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(242, 234, 255, 0.78);
}

.home-launch-card__confidence-item::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.96) 0%, rgba(228, 180, 255, 0.92) 34%, rgba(165, 111, 255, 0.86) 68%, rgba(165, 111, 255, 0) 100%);
  box-shadow: 0 0 12px rgba(206, 145, 255, 0.28);
}

.home-launch-card__link-btn {
  min-height: 0;
  margin-top: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(239, 228, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  justify-content: flex-start;
  box-shadow: none;
}

.home-launch-card__link-btn:hover {
  color: #fff6ff;
  text-shadow: 0 0 10px rgba(204, 156, 255, 0.14);
}

.home-launch-card__link-btn:active {
  transform: none;
  opacity: 0.9;
}

.home-launch-card__trustline {
  margin-top: 10px;
  font-size: 10.5px;
  line-height: 1.5;
  color: rgba(235, 224, 255, 0.74);
}

.home-launch-card__footnote {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(226, 215, 247, 0.56);
}

.home-steps-card {
  position: relative;
  overflow: hidden;
  padding: 15px 14px 14px;
  border-radius: 24px;
  border: 1px solid rgba(208, 172, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 16%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(42, 24, 95, 0.94) 0%, rgba(19, 10, 49, 0.98) 100%);
  box-shadow:
    0 14px 28px rgba(6, 4, 18, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.home-steps-card__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 12px;
}

.home-steps-card__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7f0ff;
}

.home-steps-card__text {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(229, 219, 250, 0.72);
  max-width: 260px;
}

.home-steps-card__grid {
  display: grid;
  gap: 10px;
  position: relative;
}

.home-steps-card__grid::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(226, 195, 255, 0) 0%, rgba(226, 195, 255, 0.26) 14%, rgba(170, 118, 255, 0.24) 50%, rgba(226, 195, 255, 0.18) 84%, rgba(226, 195, 255, 0) 100%);
  pointer-events: none;
}

.home-step-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(214, 176, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.home-step-card + .home-step-card {
  margin-top: 2px;
}

.home-step-card__num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(207,116,255,0.32) 0%, rgba(110,74,214,0.2) 100%);
  border: 1px solid rgba(241, 218, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
  color: #fff8ff;
}

.home-step-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.home-step-card__title {
  font-size: 13px;
  font-weight: 800;
  color: #f7f0ff;
}

.home-step-card__text {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(231, 222, 249, 0.7);
}

.energy-profit-card {
  position: relative;
  margin: -4px 0 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: 86px 1px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 12px;
  overflow: hidden;
  isolation: isolate;
  min-height: 108px;
  padding: 10px 13px 9px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.048) 0%, rgba(255,255,255,0.016) 18%, rgba(255,255,255,0) 42%),
    radial-gradient(118px 56px at 49% 34%, rgba(201, 179, 229, 0.072) 0%, rgba(201, 179, 229, 0.028) 48%, transparent 78%),
    linear-gradient(92deg,
      rgba(102, 79, 135, 0.42) 0%,
      rgba(90, 67, 125, 0.34) 14%,
      rgba(74, 53, 104, 0.28) 29%,
      rgba(143, 121, 181, 0.16) 48.8%,
      rgba(61, 56, 112, 0.21) 58%,
      rgba(56, 46, 96, 0.28) 75%,
      rgba(77, 62, 117, 0.31) 100%),
    linear-gradient(90deg,
      rgba(102, 79, 135, 0.74) 0%,
      rgba(90, 67, 125, 0.76) 12%,
      rgba(74, 53, 104, 0.78) 30%,
      rgba(66, 48, 93, 0.76) 43%,
      rgba(74, 58, 109, 0.74) 50%,
      rgba(60, 47, 93, 0.76) 58%,
      rgba(56, 46, 96, 0.78) 72%,
      rgba(61, 56, 112, 0.8) 86%,
      rgba(77, 62, 117, 0.78) 100%),
    linear-gradient(180deg, rgba(90, 67, 125, 0.14) 0%, rgba(66, 48, 93, 0.11) 40%, rgba(47, 33, 70, 0.28) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.095),
    inset 0 -10px 15px rgba(17, 10, 31, 0.22),
    0 11px 18px rgba(8, 5, 18, 0.24),
    0 0 14px rgba(113, 90, 196, 0.038);
  backdrop-filter: blur(20px) saturate(128%);
  -webkit-backdrop-filter: blur(20px) saturate(128%);
}

.energy-profit-card:active {
  transform: translateY(1px);
}

.energy-profit-card--starter {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -10px 15px rgba(17, 10, 31, 0.2),
    0 14px 22px rgba(8, 5, 18, 0.26),
    0 0 22px rgba(176, 108, 255, 0.1);
}

.energy-profit-card--starter .energy-profit-card__amount,
.energy-profit-card--starter .energy-profit-card__amount-note {
  color: #efe2ff;
}

.energy-profit-card__status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.02) 100%),
    linear-gradient(135deg, rgba(156, 93, 255, 0.82) 0%, rgba(240, 139, 255, 0.78) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff7ff;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 0 18px rgba(220, 128, 255, 0.2);
}

.energy-profit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(242, 201, 255, 0.13) 0%, rgba(217, 176, 255, 0.058) 2.5%, rgba(255,255,255,0) 11%),
    radial-gradient(168px 28px at 50% -1%, rgba(255,255,255,0.084) 0%, rgba(255,255,255,0.03) 44%, transparent 84%),
    linear-gradient(120deg,
      rgba(255,255,255,0) 43.6%,
      rgba(201, 179, 229, 0.048) 48.5%,
      rgba(255,255,255,0.014) 49.4%,
      rgba(255,255,255,0.03) 50.1%,
      rgba(255,255,255,0) 55.8%),
    radial-gradient(148px 104px at -2% 51%, rgba(199, 121, 255, 0.13) 0%, rgba(199, 121, 255, 0.048) 42%, transparent 78%),
    radial-gradient(126px 90px at 22% 44%, rgba(242, 182, 255, 0.052) 0%, transparent 74%),
    radial-gradient(134px 96px at 50% 47%, rgba(201, 179, 229, 0.11) 0%, rgba(169, 141, 203, 0.046) 44%, transparent 74%),
    radial-gradient(136px 104px at 103% 8%, rgba(255,255,255,0.078) 0%, rgba(244, 235, 255, 0.03) 34%, transparent 74%),
    radial-gradient(148px 114px at 102% 100%, rgba(255,255,255,0.095) 0%, rgba(244, 235, 255, 0.036) 32%, transparent 74%),
    radial-gradient(128px 64px at 83% 100%, rgba(255,255,255,0.068) 0%, rgba(255,255,255,0.018) 36%, transparent 74%),
    radial-gradient(78px 70px at 100% 0%, rgba(154, 177, 255, 0.046) 0%, transparent 76%);
  opacity: 0.96;
  pointer-events: none;
}

.energy-profit-card::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(244, 235, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -12px 15px rgba(255,255,255,0.014),
    inset 0 -10px 14px rgba(245, 184, 255, 0.022),
    inset 1px 0 0 rgba(199, 121, 255, 0.075),
    inset -1px 0 0 rgba(244, 235, 255, 0.072),
    0 0 14px rgba(140, 110, 236, 0.038);
  pointer-events: none;
}

.energy-profit-card > * {
  position: relative;
  z-index: 2;
}

.energy-profit-card__header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
  padding-left: 1px;
}

.energy-profit-card__value-side {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
  padding: 3px 0 8px 1px;
}

.energy-profit-card__divider {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  align-self: center;
  justify-self: center;
  width: 1px;
  height: 64px;
  transform: translateX(-14px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(255,255,255,0.12) 36%, rgba(255,255,255,0.045) 72%, rgba(255,255,255,0) 100%);
  box-shadow: 0 0 7px rgba(226, 218, 255, 0.06);
  opacity: 0.62;
}

.energy-profit-card__divider::after {
  content: '';
  position: absolute;
  inset: -3px -4px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.04) 0%, transparent 70%);
  filter: blur(2.5px);
}

.energy-profit-card__info-side {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  padding: 5px 0 0 0;
}

.energy-profit-card__amount-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 8px;
}

.energy-profit-card__amount {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: "SF Pro Display", "SF Pro Text", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  color: #b4a3c5;
  text-shadow:
    0 0 8px rgba(203, 183, 232, 0.06),
    0 1px 0 rgba(255,255,255,0.04);
}

.energy-profit-card__amount-currency {
  font-size: 27px;
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.energy-profit-card__amount-number {
  font-size: 27px;
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

.energy-profit-card__amount-note {
  margin-top: 3px;
  font-size: 10.2px;
  font-family: "SF Pro Display", "SF Pro Text", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #b4a3c5;
}

.energy-profit-card__title {
  color: #ccaadc;
  font-size: 14.2px;
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-shadow: 0 0 5px rgba(222, 204, 255, 0.06);
}

.energy-profit-card__arrow {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(236, 228, 255, 0.8);
}

.energy-profit-card__arrow .ui-icon {
  width: 17px;
  height: 17px;
}

.energy-profit-card__meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.energy-profit-card__subtitle {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(205, 184, 229, 0.66);
}

.energy-profit-card__slots {
  width: 100%;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: rgba(248, 243, 255, 0.9);
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.energy-profit-card__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(205, 184, 229, 0.64);
}

.energy-profit-card__progress-meta strong {
  color: rgba(248, 243, 255, 0.9);
  font-variant-numeric: tabular-nums;
}

.energy-profit-card__progress {
  position: relative;
  height: 9px;
  width: 100%;
  margin-top: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(47, 35, 76, 0.84) 0%, rgba(28, 20, 47, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -2px 4px rgba(0,0,0,0.34),
    0 0 0 1px rgba(255,255,255,0.025),
    0 0 8px rgba(110, 90, 201, 0.06);
}

.energy-profit-card__progress::before {
  content: '';
  position: absolute;
  left: 7px;
  right: 7px;
  top: 1px;
  height: 34%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.energy-profit-card__progress-fill {
  position: absolute;
  left: 1px;
  top: 1px;
  bottom: 1px;
  width: max(0px, calc((var(--energy-fill) * 1%) - 2px));
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(142, 107, 255, 0.92) 0%, rgba(181, 155, 255, 0.92) 60%, rgba(235, 229, 255, 0.96) 100%);
  box-shadow:
    0 0 8px rgba(153, 126, 255, 0.18),
    0 0 14px rgba(212, 198, 255, 0.1);
}

.energy-profit-card__progress-fill::before {
  content: '';
  position: absolute;
  left: 7px;
  right: 12px;
  top: 1px;
  height: 38%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.03) 100%);
}

.energy-profit-card__progress-fill::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -1px;
  width: 14px;
  bottom: -3px;
  background: radial-gradient(circle at 34% 50%, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.38) 24%, rgba(243,238,255,0.12) 46%, transparent 74%);
  filter: blur(1.3px);
}

.energy-profit-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 7px;
  margin-top: 7px;
  padding-right: 0;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(232, 220, 244, 0.7);
}

.energy-profit-card__footer-text {
  color: rgba(231, 219, 243, 0.72);
}

.energy-profit-card__footer-text--strong {
  color: rgba(245, 238, 255, 0.84);
  text-shadow: 0 0 6px rgba(246, 198, 255, 0.08);
}

.action-buttons-premium {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 0 0;
}

.action-buttons-premium .home-action-btn {
  --btn-image: none;
  --btn-glow: rgba(223, 173, 67, 0.18);
  --btn-text: #4a2b13;
  --btn-text-highlight: rgba(255, 250, 232, 0.22);
  --btn-text-shadow: rgba(90, 56, 12, 0.18);
  --icon-color: #3b240b;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 70px;
  padding: 11px 18px 11px 19px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  white-space: normal;
  text-align: left;
  border: 0;
  background: transparent;
  box-shadow:
    0 10px 18px rgba(16, 5, 33, 0.2),
    0 0 12px var(--btn-glow);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.action-buttons-premium .home-action-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--btn-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
}

.action-buttons-premium .home-action-btn::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 16%, rgba(255,255,255,0) 34%),
    radial-gradient(circle at 82% 50%, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0) 28%);
  pointer-events: none;
  z-index: 0;
}

.action-buttons-premium .home-action-btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.02) brightness(1.02);
  box-shadow:
    0 12px 20px rgba(16, 5, 33, 0.22),
    0 0 14px var(--btn-glow);
}

.action-buttons-premium .home-action-btn:active {
  transform: translateY(0);
  filter: brightness(0.99);
}

.action-buttons-premium .home-action-btn:disabled {
  opacity: 0.78;
  transform: none;
  filter: saturate(0.92);
}

.action-buttons-premium .home-action-btn .btn-copy,
.action-buttons-premium .home-action-btn .btn-icon-badge {
  position: relative;
  z-index: 1;
}

.action-buttons-premium .home-action-btn .btn-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  color: var(--btn-text);
  font-family: "SF Pro Display", "SF Pro Text", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  line-height: 0.98;
  letter-spacing: -0.012em;
  text-shadow:
    0 1px 0 var(--btn-text-highlight),
    0 -1px 0 var(--btn-text-shadow),
    0 1px 4px rgba(255,255,255,0.04);
}

.action-buttons-premium .home-action-btn .btn-copy span {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.action-buttons-premium .home-action-btn .btn-copy span:last-child {
  opacity: 0.97;
}

.action-buttons-premium .home-action-btn .btn-icon-badge {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
  border: 0;
  background: none;
  box-shadow: none;
}

.action-buttons-premium .home-action-btn .btn-icon-badge::before {
  content: none;
}

.action-buttons-premium .home-action-btn .btn-icon,
.action-buttons-premium .home-action-btn .bonus-clock-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.action-buttons-premium .home-action-btn .btn-icon {
  color: var(--icon-color);
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,0.18))
    drop-shadow(0 1px 3px rgba(0,0,0,0.12));
}

.action-buttons-premium .home-action-btn .btn-loading {
  font-size: 38px;
  line-height: 1;
  color: var(--icon-color);
}

.action-buttons-premium .home-action-btn--gold {
  --btn-image: url('/assets/img/gold.webp');
  --btn-glow: rgba(223, 173, 67, 0.16);
  --btn-text: #4a2b13;
  --btn-text-highlight: rgba(255, 248, 228, 0.18);
  --btn-text-shadow: rgba(92, 56, 12, 0.18);
  --icon-color: #6b4011;
}

.action-buttons-premium .home-action-btn--silver {
  --btn-image: url('/assets/img/silver.webp');
  --btn-glow: rgba(199, 183, 222, 0.16);
  --btn-text: #493952;
  --btn-text-highlight: rgba(255,255,255,0.2);
  --btn-text-shadow: rgba(84, 66, 96, 0.18);
  --icon-color: #68556f;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
}

.daily-bonus-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 14px 0 0;
  min-height: 70px;
  aspect-ratio: 3.35 / 1;
  padding: 0;
  border: 0;
  border-radius: 22px;
  cursor: pointer;
  background: url('/assets/img/bountybg.webp') center / cover no-repeat;
  box-shadow: 0 16px 34px rgba(11, 4, 28, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.daily-bonus-banner--starter {
  margin: 0;
  min-height: 76px;
  border-radius: 24px;
  box-shadow:
    0 14px 28px rgba(11, 4, 28, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.daily-bonus-banner--starter::before {
  background: linear-gradient(90deg, rgba(22,8,49,0.08) 0%, rgba(22,8,49,0.18) 32%, rgba(22,8,49,0.72) 72%, rgba(22,8,49,0.88) 100%);
}

.daily-bonus-banner--starter .daily-bonus-banner__content {
  right: 16px;
}

.daily-bonus-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(11, 4, 28, 0.34);
}

.daily-bonus-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22,8,49,0.04) 0%, rgba(22,8,49,0.12) 34%, rgba(22,8,49,0.68) 72%, rgba(22,8,49,0.88) 100%);
}

.daily-bonus-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  pointer-events: none;
}

.daily-bonus-banner__content {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 215px;
  margin: 0;
}

.daily-bonus-banner__title {
  font-size: clamp(14px, 3.8vw, 15px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff7f0;
  text-shadow: 0 4px 18px rgba(15, 6, 35, 0.38);
}

.daily-bonus-banner__status {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 0;
}

.daily-bonus-banner__label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 239, 208, 0.78);
}

.daily-bonus-banner__value {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff7e4;
  white-space: nowrap;
}

.daily-bonus-banner__value:empty {
  display: none;
}

@media (max-width: 380px) {
  .daily-bonus-banner {
    min-height: 118px;
  }

  .daily-bonus-banner__content {
    right: 14px;
    width: 132px;
  }
}

.bottom-nav {
  width: 100vw;
  max-width: none;
  left: 0;
  right: 0;
  transform: none;
  bottom: 0;
  height: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px));
  padding: 8px 12px calc(env(safe-area-inset-bottom, 0px) + 10px);
  background:
    radial-gradient(110% 180% at 50% -70%, rgba(238, 194, 255, 0.24) 0%, rgba(238, 194, 255, 0) 34%),
    radial-gradient(84% 132% at 50% 0%, rgba(119, 92, 255, 0.18) 0%, rgba(119, 92, 255, 0) 52%),
    linear-gradient(180deg, rgba(43, 22, 87, 0.92) 0%, rgba(19, 9, 42, 0.975) 56%, rgba(9, 4, 23, 0.995) 100%);
  border-top: 1px solid rgba(236, 204, 255, 0.18);
  box-shadow:
    0 -24px 44px rgba(5, 2, 16, 0.42),
    0 -1px 0 rgba(255,255,255,0.07),
    inset 0 1px 0 rgba(255,255,255,0.07);
  overflow: visible;
}

.bottom-nav::before {
  inset: 1px 0 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0) 18%, rgba(255,255,255,0.015) 100%);
  opacity: 0.82;
}

.bottom-nav::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 1px;
  width: min(58vw, 240px);
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(246, 201, 255, 0), rgba(246, 201, 255, 0.96), rgba(196, 157, 255, 0.94), rgba(246, 201, 255, 0));
  box-shadow:
    0 0 16px rgba(228, 156, 255, 0.58),
    0 0 34px rgba(135, 93, 255, 0.28);
}

.nav-item {
  color: rgba(238, 228, 255, 0.46);
  position: relative;
  min-width: 0;
  padding: 4px 2px 2px;
}

.nav-item__core {
  position: relative;
  isolation: isolate;
  gap: 5px;
  border-radius: 26px;
  padding: 8px 2px 6px;
  overflow: visible;
  transition: transform 0.28s ease;
}

.nav-item__core::before,
.nav-item__core::after {
  content: '';
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.nav-item__core::before {
  left: 4%;
  right: 4%;
  top: -10px;
  bottom: 4px;
  border-radius: 24px;
  transform: translateY(10px) scaleY(0.72);
  background:
    radial-gradient(46% 20% at 50% 100%, rgba(255,255,255,0.28) 0%, rgba(235, 194, 255, 0.24) 18%, rgba(159, 116, 255, 0.16) 46%, rgba(159, 116, 255, 0.04) 66%, rgba(159, 116, 255, 0) 100%),
    linear-gradient(180deg, rgba(104, 68, 201, 0) 0%, rgba(104, 68, 201, 0.02) 18%, rgba(138, 97, 245, 0.08) 42%, rgba(215, 168, 255, 0.22) 78%, rgba(255,255,255,0.26) 100%);
  clip-path: polygon(16% 0, 84% 0, 58% 100%, 42% 100%);
  filter: blur(10px);
}

.nav-item__core::after {
  left: 14%;
  right: 14%;
  bottom: -6px;
  height: 28px;
  border-radius: 999px;
  filter: blur(16px);
  transform: scaleX(0.7);
  background: radial-gradient(ellipse at center, rgba(255, 246, 255, 0.76) 0%, rgba(234, 177, 255, 0.72) 18%, rgba(152, 102, 255, 0.4) 46%, rgba(152, 102, 255, 0) 76%);
}

.nav-item.active {
  color: #fbf3ff;
}

.nav-item.active::after {
  display: none;
}

.nav-item.active .nav-item__core {
  transform: translateY(-1px);
}

.nav-item.active .nav-item__core::before,
.nav-item.active .nav-item__core::after {
  opacity: 1;
  transform: none;
}

.nav-icon-shell {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0) 100%);
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.nav-icon-shell::before {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  top: 3px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.16), rgba(255,255,255,0) 72%);
  opacity: 0.36;
}

.nav-icon-shell::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: 10px;
  bottom: 2px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0) 34%, rgba(129, 88, 234, 0.08) 72%, rgba(229, 180, 255, 0.2) 100%);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.nav-icon {
  width: 23px;
  height: 23px;
  font-size: 0;
  position: relative;
  z-index: 1;
  transition: filter 0.24s ease, transform 0.24s ease, color 0.24s ease;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.nav-label {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.8;
  transition: color 0.24s ease, opacity 0.24s ease, transform 0.24s ease, text-shadow 0.24s ease;
}

.nav-item.active .nav-icon-shell {
  transform: translateY(-1px) scale(1.05);
  border-color: rgba(236, 204, 255, 0.08);
  background:
    radial-gradient(ellipse at 50% 86%, rgba(255,255,255,0.24) 0%, rgba(225, 179, 255, 0.22) 24%, rgba(114, 72, 214, 0.16) 56%, rgba(114, 72, 214, 0) 80%),
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    0 12px 20px rgba(47, 25, 104, 0.16),
    0 0 22px rgba(195, 128, 255, 0.16);
}

.nav-item.active .nav-icon-shell::after {
  opacity: 1;
  transform: none;
}

.nav-item.active .nav-icon {
  filter:
    drop-shadow(0 0 8px rgba(240, 180, 255, 0.54))
    drop-shadow(0 0 18px rgba(180, 120, 255, 0.28));
  transform: translateY(-1px) scale(1.06);
}

.nav-item.active .nav-label {
  color: #fff8ff;
  opacity: 1;
  transform: translateY(1px);
  text-shadow: 0 0 12px rgba(234, 173, 255, 0.3);
}

.nav-item:not(.active):hover .nav-icon-shell {
  background:
    radial-gradient(circle at 50% 34%, rgba(252, 219, 255, 0.11) 0%, rgba(252, 219, 255, 0.02) 38%, rgba(255,255,255,0) 72%);
}

.nav-item:not(.active):hover .nav-icon {
  filter: drop-shadow(0 0 6px rgba(200,160,255,0.3));
  transform: translateY(-1px) scale(1.02);
}

.nav-item:not(.active):hover .nav-label {
  color: rgba(244, 237, 255, 0.74);
  opacity: 1;
}

@media (min-width: 520px) {
  :root {
    --shell-outer-pad: 24px;
  }

  body {
    padding: var(--shell-outer-pad) 0 calc(var(--shell-outer-pad) + 2px);
  }

  #app {
    width: min(calc(100vw - (var(--shell-outer-pad) * 2)), var(--max-width));
    max-width: var(--max-width);
    min-height: calc(100dvh - (var(--shell-outer-pad) * 2));
    border-radius: 38px;
    border: 1px solid rgba(214, 176, 255, 0.18);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.14),
      0 32px 70px rgba(4, 1, 14, 0.68),
      0 0 0 6px rgba(118, 74, 196, 0.08);
  }

  #app::before {
    inset: 10px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.05);
  }

  .top-bar,
  .bottom-nav {
    width: min(calc(100vw - (var(--shell-outer-pad) * 2)), var(--max-width));
    max-width: calc(var(--max-width) - 2px);
  }

  .top-bar {
    top: var(--shell-outer-pad);
    padding-top: 18px;
  }

  .bottom-nav {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: calc(var(--shell-outer-pad) + 2px);
  }
}

@media (max-width: 380px) {
  .top-bar {
    column-gap: 6px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .top-bar-center {
    width: min(100%, 138px);
    min-height: 42px;
    padding: 6px 8px;
  }

  .lang-toggle {
    min-height: 42px;
    padding-left: 4px;
  }

  .lang-toggle__icon {
    display: none;
  }

  .lang-btn {
    min-width: 28px;
    height: 34px;
    padding: 0 7px;
    font-size: 9px;
  }

  .lang-btn--current {
    min-width: 36px;
    padding: 0 10px;
  }

  .top-bar-coin {
    width: 26px;
    height: 26px;
  }

  .top-bar-balance {
    font-size: 13px;
  }

  .top-bar-balance-arrow {
    display: none;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
  }

  .rocket-ship {
    width: 160px;
    height: 214px;
    margin-bottom: 56px;
  }

  .home-screen--starter .hero-section {
    min-height: 290px;
    margin-bottom: -2px;
  }

  .home-launch-card {
    padding: 18px 15px 15px;
    border-radius: 26px;
  }

  .home-launch-card__title {
    font-size: 23px;
    max-width: 246px;
  }

  .home-launch-card__text {
    max-width: none;
  }

  .home-launch-card__facts {
    gap: 7px;
  }

  .home-launch-card__fact {
    padding: 10px 8px;
  }

  .home-launch-card__fact strong {
    font-size: 13px;
  }

  .home-launch-card__market {
    padding: 11px;
  }

  .home-launch-card__market-grid {
    gap: 7px;
  }

  .home-launch-card__market-item {
    padding: 9px 8px;
  }

  .home-launch-card__market-item strong {
    font-size: 14px;
  }

  .home-launch-plan {
    padding: 15px 14px 14px;
  }

  .home-launch-plan__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .home-launch-plan__label {
    text-align: left;
  }

  .home-launch-plan__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .home-launch-plan__price-block {
    align-items: flex-start;
  }

  .home-launch-plan__price {
    font-size: 25px;
  }

  .home-launch-plan__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-launch-plan__metric {
    padding: 10px 9px;
  }

  .home-launch-plan__metric strong {
    font-size: 12px;
  }

  .home-launch-plan__footer {
    gap: 7px;
  }

  .home-launch-plan__footer span {
    min-height: 26px;
    padding: 0 9px;
    font-size: 10px;
  }

  .home-launch-card__actions .home-action-btn {
    min-height: 62px;
  }

  .home-launch-card__cta-note {
    font-size: 10px;
  }

  .home-launch-card__confidence {
    gap: 6px;
  }

  .home-launch-card__confidence-item {
    min-height: 30px;
    font-size: 9.5px;
    padding: 0 10px 0 11px;
  }

  .home-launch-card__link-btn {
    margin-top: 9px;
    font-size: 10.5px;
  }

  .home-launch-card__trustline {
    font-size: 9.5px;
  }

  .home-launch-card__footnote {
    font-size: 10px;
  }

  .home-steps-card {
    padding: 14px 13px 13px;
  }

  .home-step-card {
    padding: 11px;
  }

  .home-steps-card__head {
    display: grid;
    gap: 8px;
  }

  .home-steps-card__text {
    max-width: none;
  }

  .daily-bonus-banner--starter {
    min-height: 74px;
  }

  .energy-profit-card {
    min-height: 108px;
    grid-template-columns: 78px 1px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 9px;
    padding: 9px 11px 10px;
    border-radius: 22px;
  }

  .energy-profit-card__header {
    margin-bottom: 1px;
  }

  .energy-profit-card__slots {
    font-size: 11px;
  }

  .energy-profit-card__subtitle {
    font-size: 9.5px;
  }

  .energy-profit-card__amount-currency {
    font-size: 24px;
  }

  .energy-profit-card__amount-number {
    font-size: 24px;
  }

  .energy-profit-card__divider {
    height: 58px;
  }

  .energy-profit-card__info-side {
    padding-top: 12px;
  }

  .energy-profit-card__footer {
    font-size: 8px;
    gap: 6px;
  }

  .btn {
    min-height: 68px;
    font-size: 13px;
    padding: 10px 12px 10px 14px;
  }

  .reactor-plan-card {
    min-height: 256px;
  }

  .reactor-plan-card__yield {
    font-size: 7.5px;
  }

  .reactor-plan-card__meta-row {
    font-size: 8px;
  }

  .nav-label {
    font-size: 7.5px;
    letter-spacing: 0.09em;
  }

  .platform-image {
    width: 286px;
  }
}

body.starter-home-shell {
  background:
    radial-gradient(circle at 50% -8%, rgba(185, 115, 255, 0.22) 0%, rgba(185, 115, 255, 0) 28%),
    linear-gradient(180deg, #120b2d 0%, #160d37 36%, #0d071f 100%);
}

#app.starter-home-shell {
  background:
    radial-gradient(circle at 50% -8%, rgba(98, 255, 46, 0.16) 0%, rgba(98, 255, 46, 0) 28%),
    radial-gradient(circle at 12% 18%, rgba(15, 102, 59, 0.12) 0%, rgba(15, 102, 59, 0) 28%),
    radial-gradient(circle at 88% 26%, rgba(9, 66, 40, 0.16) 0%, rgba(9, 66, 40, 0) 34%),
    linear-gradient(180deg, #07171c 0%, #06181d 34%, #051116 100%);
}

#app.starter-home-shell::after {
  background:
    radial-gradient(circle at 50% 10%, rgba(188, 119, 255, 0.18) 0%, rgba(188, 119, 255, 0) 22%),
    radial-gradient(circle at 20% 30%, rgba(240, 139, 255, 0.1) 0%, rgba(240, 139, 255, 0) 18%),
    radial-gradient(circle at 84% 38%, rgba(152, 120, 255, 0.1) 0%, rgba(152, 120, 255, 0) 20%),
    linear-gradient(180deg, rgba(23, 12, 48, 0) 0%, rgba(18, 10, 40, 0.06) 18%, rgba(16, 8, 36, 0.24) 44%, rgba(15, 7, 33, 0.68) 100%);
}

.starter-home-shell .top-bar {
  column-gap: 10px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
}

.starter-home-shell .top-bar::before {
  width: 78%;
  height: 106px;
  top: -10px;
  background: radial-gradient(ellipse at center top, rgba(189, 121, 255, 0.34) 0%, rgba(123, 69, 211, 0.16) 34%, transparent 76%);
  filter: blur(12px);
}

.starter-home-shell .top-bar::after {
  display: none;
}

.starter-home-shell .lang-toggle,
.starter-home-shell .top-bar-center,
.starter-home-shell .icon-btn {
  border-color: rgba(226, 194, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 24%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(50, 27, 111, 0.86) 0%, rgba(28, 14, 63, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 14px 28px rgba(8, 4, 20, 0.26),
    0 0 24px rgba(176, 108, 255, 0.08);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.starter-home-shell .lang-toggle {
  min-height: 42px;
  padding: 3px 4px 3px 8px;
  border-radius: 17px;
}

.starter-home-shell .lang-toggle__icon {
  display: none;
}

.starter-home-shell .lang-btn {
  min-width: 32px;
  height: 34px;
  border-radius: 13px;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.starter-home-shell .lang-btn--current {
  min-width: 38px;
  padding: 0 10px;
}

.starter-home-shell .lang-btn.active {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 18px rgba(183, 120, 255, 0.14);
}

.starter-home-shell .top-bar-center {
  width: min(100%, 164px);
  min-height: 42px;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 18px;
}

.starter-home-shell .top-bar-coin {
  width: 26px;
  height: 26px;
  border-radius: 10px;
}

.starter-home-shell .top-bar-balance-copy {
  align-items: center;
  text-align: center;
  gap: 2px;
}

.starter-home-shell .top-bar-balance-label {
  font-size: 7px;
  letter-spacing: 0.16em;
}

.starter-home-shell .top-bar-balance {
  font-size: 13px;
}

.starter-home-shell .top-bar-balance-arrow {
  display: none;
}

.starter-home-shell .icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 17px;
}

.page.home-screen.home-screen--starter {
  position: relative;
  padding-top: calc(var(--top-bar-height) + 6px);
  overflow-x: clip;
}

.page.home-screen.home-screen--starter::before,
.page.home-screen.home-screen--starter::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.page.home-screen.home-screen--starter::before {
  top: 64px;
  height: 460px;
  background:
    radial-gradient(circle at 50% 0%, rgba(180, 112, 255, 0.18) 0%, rgba(180, 112, 255, 0) 48%),
    radial-gradient(circle at 16% 22%, rgba(240, 139, 255, 0.1) 0%, rgba(240, 139, 255, 0) 28%),
    radial-gradient(circle at 84% 26%, rgba(143, 123, 255, 0.1) 0%, rgba(143, 123, 255, 0) 30%);
  filter: blur(10px);
  z-index: 0;
}

.page.home-screen.home-screen--starter::after {
  top: 152px;
  height: 340px;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.055) 44%, rgba(255,255,255,0) 58%);
  opacity: 0.55;
  z-index: 0;
}

.home-screen--starter .home-page-content {
  position: relative;
  z-index: 1;
  gap: 16px;
  padding: 0 16px calc(var(--nav-height) + 28px);
}

.hero-section--starter-ui {
  min-height: 278px;
  padding: 0;
  margin-bottom: -2px;
}

.starter-hero-scene {
  position: relative;
  width: 100%;
  height: 278px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.starter-hero-scene__backdrop {
  position: absolute;
  inset: 18px 14px 32px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 24%, rgba(226, 152, 255, 0.18) 0%, rgba(226, 152, 255, 0) 28%),
    radial-gradient(circle at 50% 52%, rgba(130, 90, 255, 0.18) 0%, rgba(130, 90, 255, 0) 48%),
    linear-gradient(180deg, rgba(44, 23, 96, 0.42) 0%, rgba(24, 11, 55, 0.16) 100%);
  border: 1px solid rgba(214, 178, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 28px rgba(8, 4, 20, 0.18);
}

.starter-hero-scene__orbital {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 262px;
  height: 224px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(214, 178, 255, 0.16);
  background:
    radial-gradient(circle at 50% 36%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.015) 24%, rgba(255,255,255,0) 60%),
    radial-gradient(circle at 50% 54%, rgba(169, 114, 255, 0.28) 0%, rgba(169, 114, 255, 0.08) 32%, rgba(169, 114, 255, 0) 62%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 0 38px rgba(171, 107, 255, 0.18);
}

.starter-hero-scene__orbital::before,
.starter-hero-scene__orbital::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(214, 178, 255, 0.12);
}

.starter-hero-scene__orbital::before {
  inset: 18px;
}

.starter-hero-scene__orbital::after {
  inset: 44px;
  opacity: 0.6;
}

.starter-hero-placeholder {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(224, 191, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 20%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(56, 31, 121, 0.9) 0%, rgba(29, 14, 64, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 32px rgba(8, 4, 20, 0.22),
    0 0 22px rgba(176, 108, 255, 0.12);
}

.starter-hero-placeholder::before,
.starter-hero-placeholder::after,
.starter-placeholder::before,
.starter-placeholder::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.starter-hero-placeholder::before,
.starter-placeholder::before {
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 42%);
}

.starter-hero-placeholder::after,
.starter-placeholder::after {
  left: 14%;
  right: 14%;
  top: 10%;
  bottom: 18%;
  border-radius: inherit;
  border: 1px dashed rgba(240, 226, 255, 0.18);
  opacity: 0.72;
}

.starter-hero-placeholder--rocket {
  left: 50%;
  bottom: 66px;
  width: 138px;
  height: 176px;
  transform: translateX(-50%);
  border-radius: 42px 42px 30px 30px;
}

.starter-hero-placeholder--badge {
  right: 20px;
  bottom: 54px;
  width: 84px;
  height: 84px;
  border-radius: 26px;
  transform: rotate(-8deg);
}

.starter-hero-scene__rocket-visual {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
}

.starter-hero-scene__rocket-visual .rocket-ship {
  width: 158px;
  height: 214px;
  margin-bottom: 70px;
  animation: floatAnim 3.8s ease-in-out infinite;
}

.starter-hero-scene__rocket-visual .rocket-launcher__halo {
  bottom: 56px;
  width: 136px;
  height: 136px;
  opacity: 0.54;
}

.starter-hero-scene__rocket-visual .rocket-image {
  height: 186px;
  transform: translate3d(0, -12px, 0);
  filter:
    drop-shadow(0 20px 36px rgba(14, 6, 34, 0.52))
    drop-shadow(0 0 26px rgba(212, 154, 255, 0.24));
}

.starter-hero-scene .platform-image {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 248px;
  height: 58px;
  transform: translateX(-50%);
  border-radius: 999px;
  width: 254px;
  height: auto;
  max-width: none;
  z-index: 2;
  filter:
    drop-shadow(0 18px 30px rgba(11, 4, 28, 0.46))
    drop-shadow(0 0 22px rgba(207, 140, 255, 0.16));
}

.starter-copy-block {
  display: grid;
  gap: 10px;
  padding: 0 6px;
  text-align: center;
}

.starter-copy-block__eyebrow,
.starter-panel__eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(233, 218, 255, 0.62);
}

.starter-copy-block__title {
  margin: 0;
  font-size: 31px;
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #faf2ff;
  text-shadow: 0 12px 26px rgba(10, 5, 24, 0.28);
}

.starter-copy-block__title br {
  display: block;
}

.starter-copy-block__text {
  margin: 0 auto;
  max-width: 318px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(235, 224, 255, 0.74);
}

.home-starter-flow {
  display: grid;
  gap: 16px;
}

.home-starter-flow::before {
  content: none;
}

.starter-panel {
  position: relative;
  overflow: visible;
  padding: 18px 16px 16px;
  border-radius: 30px;
  border: 1px solid rgba(215, 182, 255, 0.14);
  background:
    radial-gradient(220px 110px at 0% 0%, rgba(240, 139, 255, 0.1) 0%, rgba(240, 139, 255, 0) 72%),
    radial-gradient(220px 140px at 100% 100%, rgba(143, 123, 255, 0.14) 0%, rgba(143, 123, 255, 0) 70%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 16%, rgba(255,255,255,0) 40%),
    linear-gradient(180deg, rgba(44, 23, 98, 0.94) 0%, rgba(18, 9, 45, 0.98) 100%);
  box-shadow:
    0 18px 36px rgba(6, 4, 18, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 0 24px rgba(176, 108, 255, 0.08);
}

.starter-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  pointer-events: none;
}

.starter-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.starter-panel__head--solo {
  margin-bottom: 16px;
}

.starter-panel__title {
  margin: 5px 0 0;
  font-size: 19px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8efff;
}

.starter-panel__link {
  appearance: none;
  -webkit-appearance: none;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(215, 182, 255, 0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: rgba(240, 227, 255, 0.84);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  cursor: pointer;
}

.starter-mission-list,
.starter-benefits,
.starter-step-list {
  display: grid;
  gap: 12px;
}

.starter-mission-card {
  position: relative;
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 26px;
  border: 1px solid rgba(216, 182, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.015) 22%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(50, 28, 108, 0.94) 0%, rgba(24, 12, 58, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 14px 28px rgba(8, 4, 20, 0.18);
  cursor: pointer;
}

.starter-mission-card--featured {
  border-color: rgba(241, 205, 132, 0.38);
  background:
    radial-gradient(160px 96px at 92% 8%, rgba(245, 210, 135, 0.14) 0%, rgba(245, 210, 135, 0) 70%),
    radial-gradient(180px 120px at 8% 100%, rgba(210, 126, 255, 0.14) 0%, rgba(210, 126, 255, 0) 74%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.018) 22%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(66, 36, 124, 0.94) 0%, rgba(31, 16, 73, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 30px rgba(8, 4, 20, 0.22),
    0 0 26px rgba(228, 186, 99, 0.14);
}

.starter-mission-card--ion {
  border-color: rgba(132, 239, 255, 0.34);
  background:
    radial-gradient(176px 108px at 92% 8%, rgba(118, 232, 255, 0.18) 0%, rgba(118, 232, 255, 0) 72%),
    radial-gradient(180px 120px at 8% 100%, rgba(119, 170, 255, 0.16) 0%, rgba(119, 170, 255, 0) 74%),
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.02) 22%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(19, 72, 112, 0.96) 0%, rgba(11, 31, 72, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 34px rgba(4, 19, 38, 0.28),
    0 0 30px rgba(115, 224, 255, 0.16);
}

.starter-mission-card--ion .starter-mission-card__flag {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 100%),
    linear-gradient(135deg, rgba(139, 242, 255, 0.96) 0%, rgba(193, 255, 234, 0.92) 100%);
  color: #0b4254;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 0 18px rgba(132, 239, 255, 0.22);
}

.starter-mission-card--ion .starter-mission-card__price strong {
  color: #eefcff;
  text-shadow: 0 0 18px rgba(132, 239, 255, 0.18);
}

.starter-mission-card--ion .starter-mission-card__price-label,
.starter-mission-card--ion .mining-featured-plan__eyebrow {
  color: rgba(214, 248, 255, 0.7);
}

.starter-mission-card--ion .starter-mission-card__metric {
  background: rgba(255,255,255,0.05);
  border-color: rgba(152, 231, 255, 0.14);
}

.starter-mission-card--ion .starter-mission-card__art {
  width: 125%;
  filter:
    drop-shadow(0 12px 22px rgba(4, 22, 38, 0.26))
    drop-shadow(0 0 18px rgba(132, 239, 255, 0.14));
}

.starter-mission-card--flare {
  border-color: rgba(255, 179, 120, 0.38);
  background:
    radial-gradient(176px 108px at 92% 8%, rgba(255, 180, 118, 0.2) 0%, rgba(255, 180, 118, 0) 72%),
    radial-gradient(180px 120px at 8% 100%, rgba(255, 120, 120, 0.18) 0%, rgba(255, 120, 120, 0) 74%),
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.02) 22%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(122, 42, 30, 0.96) 0%, rgba(74, 21, 29, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 34px rgba(38, 10, 14, 0.3),
    0 0 30px rgba(255, 157, 103, 0.18);
}

.starter-mission-card--flare .starter-mission-card__flag {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 100%),
    linear-gradient(135deg, rgba(255, 214, 146, 0.96) 0%, rgba(255, 170, 120, 0.92) 100%);
  color: #5b2b12;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 0 18px rgba(255, 179, 120, 0.2);
}

.starter-mission-card--flare .starter-mission-card__price strong {
  color: #fff4ea;
  text-shadow: 0 0 18px rgba(255, 179, 120, 0.18);
}

.starter-mission-card--flare .starter-mission-card__price-label,
.starter-mission-card--flare .mining-featured-plan__eyebrow {
  color: rgba(255, 227, 205, 0.72);
}

.starter-mission-card--flare .starter-mission-card__metric {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255, 198, 158, 0.14);
}

.starter-mission-card--flare .starter-mission-card__art {
  width: 132%;
  filter:
    drop-shadow(0 12px 22px rgba(38, 10, 14, 0.28))
    drop-shadow(0 0 18px rgba(255, 179, 120, 0.16));
}

.starter-mission-card__flag {
  position: absolute;
  top: -10px;
  left: 16px;
  min-height: 24px;
  padding: 0 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 100%),
    linear-gradient(135deg, rgba(225, 183, 92, 0.92) 0%, rgba(243, 217, 139, 0.88) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  color: #54340c;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 0 16px rgba(238, 198, 109, 0.18);
}

.starter-mission-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  border-radius: 22px;
  background: transparent;
  border: 0;
}

.starter-mission-card__art {
  width: 180%;
  max-width: 200px;
  height: 138px;
  display: block;
  object-fit: contain;
  transform: translateY(-6px);
  filter:
    drop-shadow(0 12px 22px rgba(9, 4, 24, 0.2))
    drop-shadow(0 0 16px rgba(214, 152, 255, 0.1));
}

.starter-mission-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.starter-mission-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.starter-mission-card__copy {
  min-width: 0;
  flex: 1 1 auto;
}

.starter-mission-card__name {
  font-size: 18px;
  line-height: 1.04;
  font-weight: 800;
  color: #fbf3ff;
}

.starter-mission-card__subtitle {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(234, 223, 255, 0.68);
}

.starter-mission-card__price {
  flex-shrink: 0;
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 2px;
  min-width: max-content;
  margin-top: 1px;
}

.starter-mission-card__price strong {
  font-size: 23px;
  line-height: 0.92;
  font-weight: 900;
  color: #fff7ea;
  letter-spacing: -0.03em;
  text-shadow: 0 0 16px rgba(243, 217, 139, 0.12);
}

.starter-mission-card__price-label {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 229, 194, 0.56);
}

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

.starter-mission-card__metrics--quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.starter-mission-card__metric {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 10px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(220, 190, 255, 0.08);
}

.starter-mission-card__metric span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(233, 221, 255, 0.62);
  overflow-wrap: anywhere;
}

.starter-mission-card__metric strong {
  font-size: 12px;
  line-height: 1.15;
  font-weight: 800;
  color: #fef8ff;
}

.starter-mission-card__notice {
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 10px;
  line-height: 1.45;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.045);
  color: rgba(244, 235, 255, 0.78);
}

.starter-mission-card__notice--urgent {
  border-color: rgba(255, 190, 132, 0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255, 169, 120, 0.08);
  color: #fff2e4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.home-featured-mission {
  margin-top: -4px;
}

.home-starter-actions {
  padding-top: 16px;
}

.starter-main-cta {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 88px;
  padding: 18px 18px 18px 92px;
  border: 0;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 18%, rgba(255,255,255,0) 52%),
    linear-gradient(135deg, rgba(211, 164, 84, 0.96) 0%, rgba(233, 189, 111, 0.98) 50%, rgba(243, 217, 139, 0.94) 100%);
  color: #4b2f10;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 16px 34px rgba(25, 9, 44, 0.28),
    0 0 28px rgba(235, 191, 103, 0.18);
  cursor: pointer;
}

.starter-main-cta__medallion {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0) 72%),
    linear-gradient(180deg, rgba(133, 77, 22, 0.22) 0%, rgba(133, 77, 22, 0.1) 100%);
  border: 1px solid rgba(116, 69, 22, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 12px 20px rgba(94, 56, 12, 0.18);
}

.starter-main-cta__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.starter-main-cta__copy strong {
  font-size: 15px;
  line-height: 1.05;
  font-weight: 900;
  color: #4a2b13;
  text-align: left;
}

.starter-main-cta__copy span {
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  color: rgba(84, 49, 14, 0.82);
  text-align: left;
}

.starter-main-cta__badge {
  position: absolute;
  top: -10px;
  right: 16px;
  min-height: 24px;
  padding: 0 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(90, 53, 12, 0.18) 0%, rgba(90, 53, 12, 0.04) 100%),
    linear-gradient(135deg, rgba(255, 244, 222, 0.96) 0%, rgba(246, 221, 171, 0.92) 100%);
  border: 1px solid rgba(114, 69, 22, 0.2);
  color: #6a4012;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.starter-benefit-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(216, 182, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.01) 100%),
    linear-gradient(180deg, rgba(50, 28, 108, 0.72) 0%, rgba(26, 13, 61, 0.84) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.starter-benefit-card__num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.02) 42%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(108, 63, 194, 0.86) 0%, rgba(64, 34, 124, 0.92) 100%);
  border: 1px solid rgba(224, 191, 255, 0.14);
  color: #fff7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.starter-benefit-card__text {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  line-height: 1.42;
  font-weight: 600;
  color: rgba(242, 234, 255, 0.82);
}

.starter-benefit-card__visual {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.starter-funding-card {
  appearance: none;
  -webkit-appearance: none;
  min-height: 92px;
  padding: 12px 8px 10px;
  border: 1px solid rgba(216, 182, 255, 0.1);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%),
    linear-gradient(180deg, rgba(52, 29, 112, 0.84) 0%, rgba(27, 14, 63, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 12px 22px rgba(8, 4, 20, 0.16);
  cursor: pointer;
}

.starter-funding-card__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.starter-funding-card__label {
  font-size: 10px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(241, 233, 255, 0.86);
}

.starter-funding-button {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  margin-top: 14px;
  border: 0;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 18%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, rgba(214, 168, 88, 0.94) 0%, rgba(243, 217, 139, 0.96) 100%);
  color: #482a11;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 14px 26px rgba(23, 9, 40, 0.24),
    0 0 22px rgba(235, 191, 103, 0.14);
  cursor: pointer;
}

.starter-funding-button__medallion {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(97, 58, 15, 0.12);
}

.starter-funding-button__copy {
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.starter-funding-note {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(232, 221, 255, 0.68);
  text-align: center;
}

.starter-step-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 118px;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(216, 182, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.01) 100%),
    linear-gradient(180deg, rgba(50, 28, 108, 0.82) 0%, rgba(25, 12, 59, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 14px 28px rgba(8, 4, 20, 0.16);
}

.starter-step-card__side {
  width: 78px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.starter-step-card__num {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.02) 42%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(118, 74, 214, 0.9) 0%, rgba(64, 34, 124, 0.94) 100%);
  border: 1px solid rgba(224, 191, 255, 0.14);
  color: #fff8ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.starter-step-card__visual {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.starter-step-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.starter-step-card__title {
  font-size: 15px;
  line-height: 1.06;
  font-weight: 800;
  color: #f8efff;
}

.starter-step-card__text {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(234, 223, 255, 0.72);
}

.starter-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(224, 191, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 20%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(58, 32, 123, 0.94) 0%, rgba(27, 13, 62, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 20px rgba(8, 4, 20, 0.18),
    0 0 18px rgba(176, 108, 255, 0.1);
}

.starter-placeholder--mission {
  width: 76px;
  height: 76px;
  border-radius: 26px;
}

.starter-placeholder--medallion {
  width: 34px;
  height: 34px;
}

.starter-placeholder--medallion-sm {
  width: 22px;
  height: 22px;
}

.starter-placeholder--benefit,
.starter-placeholder--token,
.starter-placeholder--step,
.starter-placeholder--gift {
  width: 44px;
  height: 44px;
}

.starter-placeholder--gift {
  width: 78px;
  height: 78px;
  border-radius: 24px;
}

.daily-bonus-banner--starter {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 126px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(216, 182, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(180px 90px at 12% 20%, rgba(240, 139, 255, 0.12) 0%, rgba(240, 139, 255, 0) 70%),
    radial-gradient(160px 90px at 100% 100%, rgba(143, 123, 255, 0.14) 0%, rgba(143, 123, 255, 0) 70%),
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.015) 20%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(40, 21, 88, 0.94) 0%, rgba(19, 9, 45, 0.98) 100%);
  box-shadow:
    0 18px 36px rgba(8, 4, 20, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.daily-bonus-banner--starter::before {
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 14, 64, 0.04) 0%, rgba(30, 14, 64, 0.18) 44%, rgba(30, 14, 64, 0.34) 100%);
}

.daily-bonus-banner--starter::after {
  border-color: rgba(255,255,255,0.08);
}

.daily-bonus-banner__media {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 42%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(62, 34, 129, 0.82) 0%, rgba(30, 16, 80, 0.92) 100%);
  border: 1px solid rgba(220, 190, 255, 0.08);
}

.daily-bonus-banner__gift-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f6edff;
  filter:
    drop-shadow(0 0 16px rgba(238, 169, 255, 0.24))
    drop-shadow(0 8px 18px rgba(11, 4, 28, 0.22));
}

.daily-bonus-banner__gift-icon .ui-icon {
  width: 100%;
  height: 100%;
}

.daily-bonus-banner--starter .daily-bonus-banner__content {
  position: relative;
  inset: auto;
  top: auto;
  right: auto;
  transform: none;
  width: auto;
  margin: 0;
  flex: 1;
  gap: 8px;
}

.daily-bonus-banner--starter .daily-bonus-banner__title {
  font-size: 18px;
  line-height: 1.08;
}

.daily-bonus-banner--starter .daily-bonus-banner__status {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.daily-bonus-banner--starter .daily-bonus-banner__label {
  font-size: 10px;
  letter-spacing: 0.1em;
}

.daily-bonus-banner--starter .daily-bonus-banner__value {
  font-size: 14px;
}

.starter-home-shell .bottom-nav {
  background:
    radial-gradient(108% 160% at 50% -54%, rgba(238, 194, 255, 0.2) 0%, rgba(238, 194, 255, 0) 34%),
    linear-gradient(180deg, rgba(42, 22, 86, 0.94) 0%, rgba(15, 7, 34, 0.985) 62%, rgba(9, 4, 23, 0.995) 100%);
  border-top-color: rgba(236, 204, 255, 0.16);
  box-shadow:
    0 -24px 44px rgba(5, 2, 16, 0.38),
    0 -1px 0 rgba(255,255,255,0.05),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.starter-home-shell .bottom-nav::after {
  width: min(52vw, 210px);
  background: linear-gradient(90deg, rgba(246, 201, 255, 0), rgba(246, 201, 255, 0.72), rgba(196, 157, 255, 0.78), rgba(246, 201, 255, 0));
  box-shadow:
    0 0 14px rgba(228, 156, 255, 0.38),
    0 0 26px rgba(135, 93, 255, 0.18);
}

.starter-home-shell .nav-item__core {
  gap: 6px;
  padding: 7px 2px 6px;
}

.starter-home-shell .nav-item__core::before {
  left: 16%;
  right: 16%;
  top: auto;
  bottom: -8px;
  height: 54px;
  border-radius: 999px 999px 28px 28px;
  transform: scaleY(0.72);
  background:
    radial-gradient(ellipse at center bottom, rgba(255,255,255,0.2) 0%, rgba(230, 180, 255, 0.22) 18%, rgba(162, 110, 255, 0.16) 42%, rgba(162, 110, 255, 0.02) 76%, rgba(162, 110, 255, 0) 100%);
  clip-path: none;
  filter: blur(12px);
}

.starter-home-shell .nav-item__core::after {
  left: 28%;
  right: 28%;
  bottom: -10px;
  height: 66px;
  transform: scaleX(0.84);
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(227, 176, 255, 0.16) 42%, rgba(227, 176, 255, 0.38) 100%);
  clip-path: polygon(50% 0, 90% 100%, 10% 100%);
  filter: blur(14px);
}

.starter-home-shell .nav-icon-shell {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);
}

.starter-home-shell .nav-item.active .nav-icon-shell {
  border-color: rgba(236, 204, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 18px rgba(47, 25, 104, 0.14),
    0 0 18px rgba(195, 128, 255, 0.12);
}

.starter-home-shell .nav-item.active .nav-icon {
  filter:
    drop-shadow(0 0 7px rgba(240, 180, 255, 0.42))
    drop-shadow(0 0 14px rgba(180, 120, 255, 0.22));
}

@media (max-width: 380px) {
  .starter-home-shell .top-bar {
    padding-left: 12px;
    padding-right: 12px;
  }

  .starter-home-shell .top-bar-center {
    width: min(100%, 150px);
  }

  .hero-section--starter-ui {
    min-height: 256px;
  }

  .starter-hero-scene {
    height: 256px;
  }

  .starter-hero-scene__backdrop {
    inset: 16px 8px 34px;
  }

  .starter-hero-scene__orbital {
    width: 236px;
    height: 206px;
  }

  .starter-hero-placeholder--badge {
    width: 74px;
    height: 74px;
    right: 10px;
    bottom: 52px;
  }

  .starter-hero-scene__rocket-visual .rocket-ship {
    width: 146px;
    height: 198px;
    margin-bottom: 66px;
  }

  .starter-hero-scene__rocket-visual .rocket-image {
    height: 172px;
  }

  .starter-hero-scene .platform-image {
    width: 224px;
  }

  .starter-copy-block__title {
    font-size: 28px;
  }

  .starter-panel {
    padding: 16px 14px 14px;
    border-radius: 28px;
  }

  .starter-panel__title {
    font-size: 17px;
  }

  .starter-mission-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
  }

  .starter-mission-card__media {
    min-height: 100px;
  }

  .starter-placeholder--mission {
    width: 66px;
    height: 66px;
  }

  .starter-mission-card__price strong {
    font-size: 21px;
  }

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

  .starter-mission-card__metrics--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .starter-main-cta {
    min-height: 82px;
    padding: 16px 16px 16px 82px;
  }

  .starter-main-cta__medallion {
    left: 14px;
    width: 52px;
    height: 52px;
  }

  .starter-main-cta__copy strong {
    font-size: 14px;
  }

  .starter-benefit-card {
    min-height: 68px;
    padding: 9px 10px;
  }

  .starter-benefit-card__num {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .starter-benefit-card__text {
    font-size: 11px;
  }

  .starter-funding-grid {
    gap: 8px;
  }

  .starter-funding-card {
    min-height: 84px;
    padding: 10px 6px 9px;
  }

  .starter-funding-card__label {
    font-size: 9px;
  }

  .starter-step-card {
    min-height: 110px;
    padding: 13px;
  }

  .starter-step-card__side {
    width: 70px;
  }

  .starter-step-card__visual {
    width: 52px;
    height: 52px;
  }

  .starter-step-card__title {
    font-size: 14px;
  }

  .starter-step-card__text {
    font-size: 11px;
  }

  .daily-bonus-banner--starter {
    min-height: 116px;
    padding: 14px;
  }

  .daily-bonus-banner__media {
    width: 82px;
    height: 82px;
  }

  .starter-placeholder--gift {
    width: 70px;
    height: 70px;
  }

  .daily-bonus-banner__gift-icon {
    width: 56px;
    height: 56px;
  }

  .daily-bonus-banner--starter .daily-bonus-banner__title {
    font-size: 16px;
  }
}

.faq-page__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: calc(var(--nav-height) + 28px);
}

.faq-hero,
.faq-section,
.faq-contact-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(214, 178, 255, 0.14);
  background:
    radial-gradient(220px 110px at 0% 0%, rgba(240, 139, 255, 0.08) 0%, rgba(240, 139, 255, 0) 72%),
    radial-gradient(240px 140px at 100% 100%, rgba(143, 123, 255, 0.12) 0%, rgba(143, 123, 255, 0) 70%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 16%, rgba(255,255,255,0) 40%),
    linear-gradient(180deg, rgba(40, 21, 88, 0.94) 0%, rgba(19, 9, 45, 0.98) 100%);
  box-shadow:
    0 18px 34px rgba(7, 4, 19, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 0 24px rgba(176, 108, 255, 0.08);
}

.faq-hero::before,
.faq-section::before,
.faq-contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  pointer-events: none;
}

.faq-hero {
  padding: 20px 18px 18px;
}

.faq-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  pointer-events: none;
}

.faq-hero__glow--one {
  left: -22px;
  top: -18px;
  width: 138px;
  height: 138px;
  background: radial-gradient(circle, rgba(240, 139, 255, 0.18) 0%, rgba(240, 139, 255, 0) 72%);
}

.faq-hero__glow--two {
  right: -26px;
  bottom: -20px;
  width: 154px;
  height: 154px;
  background: radial-gradient(circle, rgba(143, 123, 255, 0.18) 0%, rgba(143, 123, 255, 0) 72%);
}

.faq-hero__eyebrow,
.faq-section__eyebrow,
.faq-contact-card__eyebrow {
  position: relative;
  z-index: 1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(233, 218, 255, 0.62);
}

.faq-hero__headline {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #faf2ff;
  text-shadow: 0 12px 28px rgba(14, 7, 32, 0.26);
}

.faq-hero__text {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.58;
  color: rgba(236, 226, 255, 0.76);
}

.faq-hero__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.faq-chip {
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(220, 190, 255, 0.1);
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  color: rgba(244, 235, 255, 0.8);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.faq-section {
  padding: 16px;
}

.faq-section__head {
  margin-bottom: 14px;
}

.faq-section__title {
  margin: 6px 0 0;
  font-size: 19px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8efff;
}

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

.faq-item {
  border-radius: 22px;
  border: 1px solid rgba(218, 184, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.01) 100%),
    linear-gradient(180deg, rgba(52, 29, 112, 0.82) 0%, rgba(25, 12, 59, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 20px rgba(8, 4, 20, 0.14);
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(224, 191, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 14px 24px rgba(8, 4, 20, 0.16),
    0 0 22px rgba(176, 108, 255, 0.08);
}

.faq-item__summary {
  list-style: none;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 14px 12px;
  cursor: pointer;
}

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

.faq-item__index {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.02) 42%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(116, 73, 210, 0.88) 0%, rgba(64, 34, 124, 0.92) 100%);
  border: 1px solid rgba(224, 191, 255, 0.14);
  color: #fff8ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.faq-item__question {
  min-width: 0;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  color: #f7f0ff;
}

.faq-item__chevron {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(241, 228, 255, 0.7);
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-item__chevron .ui-icon {
  width: 18px;
  height: 18px;
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(90deg);
  color: #fff7ff;
}

.faq-item__answer {
  padding: 0 16px 16px 56px;
}

.faq-item__answer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.62;
  color: rgba(232, 221, 255, 0.72);
}

.faq-contact-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 16px;
}

.faq-contact-card__visual {
  position: relative;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-contact-card__orb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  background:
    radial-gradient(circle at 50% 24%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.03) 36%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(214, 168, 88, 0.92) 0%, rgba(243, 217, 139, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 14px 24px rgba(23, 9, 40, 0.2),
    0 0 20px rgba(235, 191, 103, 0.14);
}

.faq-contact-card__icon {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 247, 255, 0.96);
  filter:
    drop-shadow(0 6px 14px rgba(32, 14, 52, 0.18))
    drop-shadow(0 0 12px rgba(255, 241, 197, 0.18));
}

.faq-contact-card__icon .ui-icon {
  width: 28px;
  height: 28px;
}

.faq-contact-card__body {
  min-width: 0;
}

.faq-contact-card__title {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.08;
  font-weight: 800;
  color: #f8efff;
}

.faq-contact-card__text {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.58;
  color: rgba(232, 221, 255, 0.72);
}

.faq-contact-card__action {
  grid-column: 1 / -1;
  min-height: 58px;
  margin-top: 2px;
  border: 0;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 18%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, rgba(214, 168, 88, 0.94) 0%, rgba(243, 217, 139, 0.96) 100%);
  color: #482a11;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 14px 24px rgba(23, 9, 40, 0.22),
    0 0 20px rgba(235, 191, 103, 0.12);
}

@media (max-width: 380px) {
  .faq-hero {
    padding: 18px 15px 16px;
  }

  .faq-hero__headline {
    font-size: 25px;
  }

  .faq-hero__text {
    font-size: 12px;
  }

  .faq-section {
    padding: 14px;
  }

  .faq-section__title {
    font-size: 17px;
  }

  .faq-item__summary {
    grid-template-columns: 32px minmax(0, 1fr) 18px;
    padding: 13px 12px 13px 11px;
  }

  .faq-item__index {
    width: 32px;
    height: 32px;
    font-size: 10px;
  }

  .faq-item__question {
    font-size: 12px;
  }

  .faq-item__answer {
    padding: 0 13px 14px 52px;
  }

  .faq-contact-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 14px;
  }

  .faq-contact-card__visual,
  .faq-contact-card__orb {
    width: 48px;
    height: 48px;
  }

  .faq-contact-card__icon .ui-icon {
    width: 24px;
    height: 24px;
  }

  .faq-contact-card__title {
    font-size: 16px;
  }
}

.faq-ref-page__content {
  gap: 12px;
  padding: 4px 14px calc(var(--nav-height) + 28px);
}

.faq-ref-hero,
.faq-ref-card,
.faq-ref-support {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(154, 255, 71, 0.16);
  background:
    radial-gradient(circle at 82% 8%, rgba(206, 255, 42, 0.12) 0%, rgba(206, 255, 42, 0) 32%),
    radial-gradient(circle at 12% 0%, rgba(59, 255, 99, 0.12) 0%, rgba(59, 255, 99, 0) 30%),
    linear-gradient(180deg, rgba(12, 33, 31, 0.98) 0%, rgba(4, 15, 18, 0.99) 100%);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 28px rgba(92, 255, 69, 0.05);
}

.faq-ref-hero {
  min-height: 190px;
  padding: 18px 16px 14px;
  border-radius: 28px;
}

.faq-ref-hero__halo {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.78;
}

.faq-ref-hero__halo--left {
  left: -42px;
  top: 28px;
  width: 142px;
  height: 142px;
  background: radial-gradient(circle, rgba(54, 255, 95, 0.22) 0%, rgba(54, 255, 95, 0) 70%);
}

.faq-ref-hero__halo--right {
  right: -54px;
  top: -26px;
  width: 166px;
  height: 166px;
  background: radial-gradient(circle, rgba(219, 255, 55, 0.18) 0%, rgba(219, 255, 55, 0) 72%);
}

.faq-ref-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 66%;
}

.faq-ref-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(178, 255, 58, 0.18);
  background: rgba(123, 255, 62, 0.08);
  color: #d9ff3a;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.faq-ref-eyebrow .ref-icon {
  width: 14px;
  height: 14px;
}

.faq-ref-hero h1 {
  margin: 12px 0 0;
  color: #f7ffe9;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(154, 255, 24, 0.12);
}

.faq-ref-hero p {
  margin: 10px 0 0;
  color: rgba(224, 255, 196, 0.72);
  font-size: 12px;
  line-height: 1.45;
}

.faq-ref-hero__visual {
  position: absolute;
  z-index: 1;
  right: 8px;
  top: 18px;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
}

.faq-ref-hero__ring {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(190, 255, 50, 0.24);
  background:
    radial-gradient(circle at 50% 42%, rgba(88, 255, 72, 0.2) 0%, rgba(88, 255, 72, 0.04) 42%, rgba(88, 255, 72, 0) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0));
  box-shadow:
    inset 0 0 24px rgba(116, 255, 52, 0.14),
    0 0 28px rgba(116, 255, 52, 0.14);
}

.faq-ref-hero__bot {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(211, 255, 64, 0.18);
  background: linear-gradient(180deg, rgba(28, 58, 43, 0.94), rgba(7, 20, 20, 0.98));
  color: #d9ff3a;
  box-shadow: 0 0 22px rgba(117, 255, 64, 0.18);
}

.faq-ref-hero__bot .ref-icon {
  width: 34px;
  height: 34px;
}

.faq-ref-hero__spark {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  color: #d9ff3a;
  filter: drop-shadow(0 0 12px rgba(217, 255, 58, 0.45));
}

.faq-ref-hero__spark--one {
  right: 12px;
  top: 4px;
}

.faq-ref-hero__spark--two {
  left: 7px;
  bottom: 15px;
  color: #48ffe0;
}

.faq-ref-hero__spark .ref-icon {
  width: 21px;
  height: 21px;
}

.faq-ref-hero__stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 16px;
}

.faq-ref-hero__stats span {
  min-height: 42px;
  padding: 7px 8px;
  border-radius: 16px;
  border: 1px solid rgba(141, 255, 67, 0.12);
  background: rgba(3, 14, 17, 0.58);
  color: rgba(224, 255, 196, 0.62);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}

.faq-ref-hero__stats b {
  display: block;
  color: #f5ffe4;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1;
}

.faq-ref-index {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 0 3px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.faq-ref-index::-webkit-scrollbar {
  display: none;
}

.faq-ref-index__pill {
  --faq-tone: #9cff18;
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px 0 10px;
  border: 1px solid color-mix(in srgb, var(--faq-tone) 35%, transparent);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--faq-tone) 16%, transparent) 0%, transparent 56%),
    rgba(8, 24, 25, 0.82);
  color: color-mix(in srgb, var(--faq-tone) 78%, #ffffff);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.faq-ref-index__pill .ref-icon,
.faq-ref-index__pill .deposit-ui-icon {
  width: 19px;
  height: 19px;
}

.faq-ref-card {
  --faq-tone: #9cff18;
  scroll-margin-top: 96px;
  border-color: color-mix(in srgb, var(--faq-tone) 24%, transparent);
  border-radius: 26px;
  padding: 14px;
  background:
    radial-gradient(circle at 86% -6%, color-mix(in srgb, var(--faq-tone) 17%, transparent) 0%, transparent 38%),
    radial-gradient(circle at 5% 5%, color-mix(in srgb, var(--faq-tone) 10%, transparent) 0%, transparent 28%),
    linear-gradient(180deg, rgba(9, 28, 28, 0.98) 0%, rgba(4, 15, 18, 0.99) 100%);
}

.faq-ref-card.tone-lime,
.faq-ref-index__pill.tone-lime {
  --faq-tone: #a9ff18;
}

.faq-ref-card.tone-cyan,
.faq-ref-index__pill.tone-cyan {
  --faq-tone: #47ffe1;
}

.faq-ref-card.tone-gold,
.faq-ref-index__pill.tone-gold {
  --faq-tone: #ffd63f;
}

.faq-ref-card.tone-blue,
.faq-ref-index__pill.tone-blue {
  --faq-tone: #59a8ff;
}

.faq-ref-card.tone-violet,
.faq-ref-index__pill.tone-violet {
  --faq-tone: #bd78ff;
}

.faq-ref-card__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.045) 38%, transparent 56%);
  opacity: 0.5;
}

.faq-ref-card__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.faq-ref-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  border: 1px solid color-mix(in srgb, var(--faq-tone) 34%, transparent);
  background:
    radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--faq-tone) 22%, transparent) 0%, transparent 56%),
    rgba(4, 16, 18, 0.82);
  color: color-mix(in srgb, var(--faq-tone) 82%, #ffffff);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 0 20px color-mix(in srgb, var(--faq-tone) 13%, transparent);
}

.faq-ref-card__icon .ref-icon,
.faq-ref-card__icon .deposit-ui-icon {
  width: 27px;
  height: 27px;
}

.faq-ref-card__titlebox {
  min-width: 0;
}

.faq-ref-card__titlebox span {
  color: color-mix(in srgb, var(--faq-tone) 76%, #ffffff);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.faq-ref-card__titlebox h2 {
  margin: 4px 0 0;
  color: #f6ffe9;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.faq-ref-card__lead {
  position: relative;
  z-index: 1;
  margin: 11px 0 12px;
  color: rgba(224, 255, 196, 0.64);
  font-size: 12px;
  line-height: 1.45;
}

.faq-ref-card__items {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.faq-ref-item {
  border-radius: 18px;
  border: 1px solid rgba(151, 255, 79, 0.09);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
    rgba(2, 12, 15, 0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
  overflow: hidden;
}

.faq-ref-item[open] {
  border-color: color-mix(in srgb, var(--faq-tone) 24%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.045),
    0 0 18px color-mix(in srgb, var(--faq-tone) 7%, transparent);
}

.faq-ref-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 18px;
  gap: 9px;
  align-items: center;
  min-height: 54px;
  padding: 9px 11px 9px 10px;
  cursor: pointer;
}

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

.faq-ref-item__num {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--faq-tone) 13%, rgba(0,0,0,0.58));
  color: color-mix(in srgb, var(--faq-tone) 82%, #ffffff);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 950;
}

.faq-ref-item strong {
  min-width: 0;
  color: #edf8e4;
  font-size: 12px;
  line-height: 1.28;
  font-weight: 900;
}

.faq-ref-item i {
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--faq-tone) 64%, #ffffff);
  transition: transform 0.2s ease;
}

.faq-ref-item i .ui-icon {
  width: 16px;
  height: 16px;
}

.faq-ref-item[open] i {
  transform: rotate(90deg);
}

.faq-ref-item__body {
  padding: 0 13px 13px 51px;
  color: rgba(224, 255, 196, 0.66);
  font-size: 11px;
  line-height: 1.5;
}

.faq-ref-support {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 26px;
  padding: 15px;
}

.faq-ref-support__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(217, 255, 58, 0.24);
  background: radial-gradient(circle at 50% 20%, rgba(217,255,58,0.22), rgba(4,16,18,0.8) 62%);
  color: #d9ff3a;
}

.faq-ref-support__icon .ref-icon {
  width: 29px;
  height: 29px;
}

.faq-ref-support__body {
  min-width: 0;
}

.faq-ref-support__body span {
  color: #d9ff3a;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.faq-ref-support__body h2 {
  margin: 4px 0 0;
  color: #f6ffe9;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.faq-ref-support__body p {
  margin: 8px 0 0;
  color: rgba(224, 255, 196, 0.66);
  font-size: 11px;
  line-height: 1.45;
}

.faq-ref-support__button {
  grid-column: 1 / -1;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.06) 24%, rgba(255,255,255,0) 64%),
    linear-gradient(135deg, #d9ff3a 0%, #7fff20 100%);
  color: #173000;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.32),
    0 14px 26px rgba(73, 255, 100, 0.14);
}

.faq-ref-support__button .ref-icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 380px) {
  .faq-ref-page__content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .faq-ref-hero {
    min-height: 182px;
    padding: 16px 14px 13px;
  }

  .faq-ref-hero__copy {
    max-width: 68%;
  }

  .faq-ref-hero h1 {
    font-size: 24px;
  }

  .faq-ref-hero__visual {
    right: 0;
    width: 108px;
    height: 108px;
  }

  .faq-ref-hero__stats span {
    padding: 7px 6px;
    font-size: 8px;
  }

  .faq-ref-card {
    padding: 13px;
  }

  .faq-ref-card__head {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }

  .faq-ref-card__icon {
    width: 44px;
    height: 44px;
  }

  .faq-ref-card__titlebox h2 {
    font-size: 17px;
  }
}

/* ================================================================
   LOCK//IN Refresh
   ================================================================ */
:root {
  --bg-primary: #051119;
  --bg-secondary: #081720;
  --bg-card: rgba(7, 23, 32, 0.74);
  --bg-card-hover: rgba(14, 31, 42, 0.88);
  --bg-input: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(4, 15, 22, 0.92);
  --purple-primary: #9cff18;
  --purple-light: #dbff37;
  --purple-glow: #49ff64;
  --purple-dark: #1c8f39;
  --purple-muted: rgba(110, 255, 55, 0.16);
  --gold: #ffd63f;
  --gold-light: #fff17c;
  --gold-glow: rgba(255, 214, 63, 0.34);
  --gold-muted: rgba(255, 214, 63, 0.14);
  --cyan: #2ab9ff;
  --green: #36ff5f;
  --red: #ff5a5f;
  --orange: #ffae2f;
  --text-primary: #f8f7f2;
  --text-secondary: rgba(248, 247, 242, 0.7);
  --text-muted: rgba(248, 247, 242, 0.42);
  --text-disabled: rgba(248, 247, 242, 0.26);
  --border: rgba(98, 255, 46, 0.16);
  --border-hover: rgba(98, 255, 46, 0.35);
  --border-gold: rgba(255, 214, 63, 0.28);
  --shadow-purple: 0 0 24px rgba(73, 255, 100, 0.18), 0 0 58px rgba(73, 255, 100, 0.08);
  --shadow-gold: 0 0 22px rgba(255, 214, 63, 0.24), 0 0 58px rgba(255, 214, 63, 0.08);
  --shadow-card: 0 18px 34px rgba(0, 0, 0, 0.42);
  --shadow-deep: 0 28px 90px rgba(0, 0, 0, 0.58);
  --font-display: 'Rajdhani', 'Exo 2', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-height: 90px;
  --top-bar-height: 60px;
  --max-width: 430px;
}

body {
  background: #07171b;
}

body::before {
  background: none;
}

#app {
  width: min(100vw, var(--max-width));
  max-width: var(--max-width);
  min-height: 100vh;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(calc(100vw - 18px), var(--max-width));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  padding: 8px 10px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(114, 255, 31, 0.12);
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, rgba(2, 10, 16, 0.9) 0%, rgba(1, 7, 12, 0.98) 100%);
  box-shadow: 0 -12px 38px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(22px);
  z-index: 1200;
  pointer-events: auto;
}

.bottom-nav::before,
.bottom-nav::after,
.nav-item__core::before,
.nav-item__core::after,
.nav-item.active::after {
  display: none !important;
}

.nav-item {
  min-width: 0;
}

.nav-item__core {
  min-height: 72px;
  padding: 11px 5px 9px;
  border-radius: 23px;
  gap: 9px;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.nav-icon-shell {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-icon {
  width: 22px;
  height: 22px;
}

.nav-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(248, 247, 242, 0.52);
}

.nav-item.active .nav-item__core {
  background:
    radial-gradient(circle at 50% 0%, rgba(82, 255, 46, 0.18), transparent 72%),
    linear-gradient(180deg, rgba(16, 77, 58, 0.92) 0%, rgba(5, 42, 34, 0.96) 100%);
  box-shadow: inset 0 0 0 1px rgba(114, 255, 31, 0.16), 0 16px 30px rgba(0, 0, 0, 0.28);
}

.nav-item.active .nav-icon-shell {
  background: rgba(114, 255, 31, 0.14);
  border-color: rgba(114, 255, 31, 0.2);
}

.nav-item.active .nav-icon,
.nav-item.active .nav-label {
  color: var(--purple-light);
}

.nav-item:not(.active):hover .nav-item__core {
  transform: translateY(-2px);
}

.lockin-home-shell .top-bar,
.lockin-home-shell #app > .top-bar {
  display: none;
}

.lockin-home-screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 0;
  padding-bottom: calc(var(--nav-height) + 24px + env(safe-area-inset-bottom));
}

.lockin-home-screen__content {
  padding: max(14px, env(safe-area-inset-top)) 14px 0;
}

.lockin-home {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.lockin-home::before,
.lockin-home::after {
  display: none;
}

.lockin-home__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 218px;
  align-items: start;
  gap: 16px;
}

.lockin-home__brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding-top: 0;
}

.lockin-home__wordmark {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.02em;
  font-family: var(--font-display);
  font-size: clamp(38px, 10.4vw, 56px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.016em;
  text-transform: uppercase;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.26);
}

.lockin-home__wordmark-lock {
  color: #fffaf1;
  display: block;
  letter-spacing: -0.032em;
}

.lockin-home__wordmark-slash,
.lockin-home__wordmark-in {
  color: var(--purple-light);
  display: block;
}

.lockin-home__wordmark-slash {
  margin: 0 -0.025em 0 0.008em;
  transform: translateY(-0.01em);
}

.lockin-home__wordmark-in {
  margin-left: -0.004em;
  letter-spacing: -0.024em;
}

.lockin-home__member-badge {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 128px;
  height: 26px;
  max-width: 100%;
  padding: 1px 8px;
  border-radius: 12px;
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, rgba(29, 31, 10, 0.86) 0%, rgba(12, 17, 11, 0.96) 100%);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--gold);
  white-space: nowrap;
}

.lockin-home__member-icon {
  width: 15px;
  height: 15px;
  margin-right: 4px;
  flex: 0 0 15px;
  align-self: center;
  transform: translateY(-0.5px);
  filter: drop-shadow(0 0 5px rgba(255, 216, 89, 0.35));
}

.lockin-home-icon,
.lockin-home-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lockin-home__header-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 8px;
  width: 218px;
  min-width: 218px;
  max-width: 218px;
  justify-self: end;
  margin-top: 0;
  align-items: start;
}

.lockin-home__balance-card,
.lockin-home__gift-card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(4, 12, 18, 0.98) 0%, rgba(4, 8, 14, 0.98) 100%);
  border: 1px solid rgba(70, 255, 70, 0.08);
  box-shadow: var(--shadow-card);
}

.lockin-home__balance-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3px;
  min-height: 52px;
  padding: 4px 11px 4px;
  align-self: start;
  text-align: left;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(9, 25, 31, 0.99) 0%, rgba(6, 16, 21, 0.99) 100%);
  border-color: rgba(114, 255, 66, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 24px rgba(0, 0, 0, 0.24);
}

.lockin-home__balance-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 100% 0%, rgba(102, 255, 64, 0.16), rgba(102, 255, 64, 0) 40%);
  pointer-events: none;
}

.lockin-home__balance-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.lockin-home__balance-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.lockin-home__balance-label,
.lockin-home__balance-pending span,
.lockin-stat-card__label {
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(248, 247, 242, 0.58);
}

.lockin-home__balance-label,
.lockin-home__balance-pending span {
  line-height: 1;
}

.lockin-home__balance-value {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  font-size: clamp(22px, 4.9vw, 26px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #fffdf8;
}

.lockin-home__balance-currency {
  display: inline-flex;
  align-items: baseline;
  color: rgba(222, 255, 93, 0.82);
  font-size: 0.42em;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.lockin-home__balance-plus {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  align-self: flex-start;
  border-radius: 50%;
  background: rgba(74, 255, 42, 0.14);
  border: 1px solid rgba(105, 255, 69, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--green);
}

.lockin-home__balance-plus-icon {
  width: 16px;
  height: 16px;
}

.lockin-home__balance-pending {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: none;
  border: 0;
}

.lockin-home__balance-pending strong {
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  color: var(--green);
}

.lockin-home__balance-pending-label {
  font-size: 8px;
  flex: 0 0 auto;
}

.lockin-home__gift-card {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 6px;
  align-self: start;
}

.lockin-home__gift-card.has-alert::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px rgba(4, 8, 14, 0.95);
}

.lockin-home__gift-icon {
  width: 20px;
  height: 20px;
  color: var(--purple-light);
}

.lockin-home__quick-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lockin-home__quick-action {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(8, 22, 29, 0.97) 0%, rgba(4, 10, 16, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 24px rgba(0, 0, 0, 0.2);
  color: #fffdf8;
  text-align: left;
}

.lockin-home__quick-action::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 48%);
  pointer-events: none;
}

.lockin-home__quick-action--deposit {
  border-color: rgba(114, 255, 66, 0.18);
  background:
    radial-gradient(circle at 18% 50%, rgba(115, 255, 72, 0.16), rgba(115, 255, 72, 0) 36%),
    linear-gradient(180deg, rgba(9, 25, 31, 0.99) 0%, rgba(6, 16, 21, 0.99) 100%);
}

.lockin-home__quick-action--withdraw {
  border-color: rgba(103, 255, 135, 0.12);
  background:
    radial-gradient(circle at 18% 50%, rgba(77, 208, 129, 0.12), rgba(77, 208, 129, 0) 34%),
    linear-gradient(180deg, rgba(8, 20, 27, 0.98) 0%, rgba(4, 10, 16, 0.99) 100%);
}

.lockin-home__quick-action-icon {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(95, 255, 78, 0.2), rgba(12, 68, 24, 0.16));
  border: 1px solid rgba(101, 255, 76, 0.16);
  color: #c9ffb6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lockin-home__quick-action--withdraw .lockin-home__quick-action-icon {
  background: linear-gradient(180deg, rgba(76, 230, 126, 0.16), rgba(8, 54, 22, 0.16));
  color: #e9fff0;
}

.lockin-home__quick-action-icon-svg {
  width: 15px;
  height: 15px;
}

.lockin-home__quick-action-label {
  position: relative;
  z-index: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  color: #fffdf8;
}

.lockin-wheel-stage {
  --wheel-size: min(78vw, 340px);
  position: relative;
  padding-top: 14px;
  padding-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  isolation: isolate;
}

.lockin-wheel-stage__glow {
  position: absolute;
  top: calc(30px + (var(--wheel-size) / 2));
  left: 50%;
  width: calc(var(--wheel-size) + 132px);
  height: calc(var(--wheel-size) + 132px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.lockin-wheel-stage__glow > span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.lockin-wheel-stage__glow-base {
  width: calc(var(--wheel-size) + 118px);
  height: calc(var(--wheel-size) + 118px);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(245, 255, 196, 0.1) 0%, rgba(178, 255, 82, 0.16) 20%, rgba(102, 255, 34, 0.13) 40%, rgba(102, 255, 34, 0.05) 56%, rgba(102, 255, 34, 0) 74%);
  filter: blur(42px);
  opacity: 0.68;
}

.lockin-wheel-stage__glow-tight {
  width: calc(var(--wheel-size) + 42px);
  height: calc(var(--wheel-size) + 42px);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 220, 0.08) 0%, rgba(232, 255, 154, 0.18) 26%, rgba(137, 255, 52, 0.18) 48%, rgba(104, 255, 38, 0.08) 58%, rgba(104, 255, 38, 0) 72%);
  filter: blur(16px);
  opacity: 0.88;
}

.lockin-wheel-stage__glow-rays {
  width: calc(var(--wheel-size) + 62px);
  height: calc(var(--wheel-size) + 62px);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from -90deg, rgba(247, 255, 197, 0.46) 0deg 1.3deg, rgba(175, 255, 74, 0.18) 1.3deg 2.9deg, rgba(175, 255, 74, 0) 2.9deg 18deg);
  filter: blur(8px);
  mask: radial-gradient(circle, transparent 0 67%, rgba(0, 0, 0, 0.92) 73%, transparent 82%);
  -webkit-mask: radial-gradient(circle, transparent 0 67%, rgba(0, 0, 0, 0.92) 73%, transparent 82%);
  opacity: 0.34;
}

.lockin-wheel-stage__glow-rays--alt {
  width: calc(var(--wheel-size) + 54px);
  height: calc(var(--wheel-size) + 54px);
  background:
    repeating-conic-gradient(from -78deg, rgba(255, 255, 205, 0.28) 0deg 1deg, rgba(148, 255, 68, 0.1) 1deg 2.2deg, rgba(148, 255, 68, 0) 2.2deg 20deg);
  filter: blur(5px);
  transform: translate(-50%, -50%) rotate(8deg);
  mask: radial-gradient(circle, transparent 0 69%, rgba(0, 0, 0, 0.9) 75%, transparent 82%);
  -webkit-mask: radial-gradient(circle, transparent 0 69%, rgba(0, 0, 0, 0.9) 75%, transparent 82%);
  opacity: 0.18;
}

.lockin-wheel-stage__glow-floor {
  top: calc(50% + (var(--wheel-size) * 0.43));
  width: calc(var(--wheel-size) + 38px);
  height: calc(var(--wheel-size) * 0.18);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(155, 255, 66, 0.18) 0%, rgba(95, 255, 35, 0.08) 48%, rgba(95, 255, 35, 0) 76%);
  filter: blur(14px);
  opacity: 0.42;
}

.lockin-wheel-stage__profit-layer {
  position: absolute;
  inset: 24% 14% 19%;
  pointer-events: none;
  z-index: 2;
}

.lockin-wheel-stage__sparkle {
  position: absolute;
  width: var(--spark-size);
  height: var(--spark-size);
  color: #deff7a;
  transform: rotate(var(--spark-rot));
  opacity: 0.68;
  filter: drop-shadow(0 0 6px rgba(164, 255, 54, 0.22));
  pointer-events: none;
  z-index: 2;
}

.lockin-wheel-stage__sparkle-svg {
  width: 100%;
  height: 100%;
}

.lockin-wheel {
  position: relative;
  width: var(--wheel-size);
  height: var(--wheel-size);
  margin-top: 30px;
  z-index: 3;
  filter: drop-shadow(0 0 14px rgba(108, 255, 34, 0.12));
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lockin-wheel.is-spinning {
  filter: drop-shadow(0 0 18px rgba(121, 255, 48, 0.2));
}

.lockin-wheel.is-celebrating {
  filter: drop-shadow(0 0 22px rgba(164, 255, 54, 0.28));
}

.lockin-wheel__pointer {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 60px;
  height: 66px;
  transform: translateX(-50%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background: linear-gradient(180deg, #f8ff8d 0%, #beff12 100%);
  border-radius: 18px 18px 28px 28px;
  box-shadow: 0 22px 28px rgba(115, 255, 41, 0.22), 0 0 24px rgba(255, 214, 63, 0.42);
  z-index: 4;
}

.lockin-wheel.is-spinning .lockin-wheel__pointer {
  animation: lockinWheelPointerGlow 0.52s ease-in-out infinite;
}

.lockin-wheel.is-celebrating .lockin-wheel__pointer {
  animation: lockinWheelPointerGlow 0.3s ease-in-out infinite;
}

.lockin-wheel__rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 214, 63, 0.82);
  background: radial-gradient(circle at 50% 50%, #132029 0%, #081218 58%, #040a0e 100%);
  box-shadow:
    0 0 0 6px rgba(13, 21, 27, 0.8),
    0 0 0 1px rgba(210, 255, 134, 0.14),
    0 0 12px rgba(112, 255, 39, 0.12),
    0 0 24px rgba(112, 255, 39, 0.06),
    0 24px 48px rgba(0, 0, 0, 0.42);
  z-index: 1;
}

.lockin-wheel__rim::before {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 58%);
  box-shadow:
    inset 0 0 0 12px rgba(4, 13, 18, 0.74),
    inset 0 0 16px rgba(126, 255, 46, 0.08);
  pointer-events: none;
}

.lockin-wheel__rim::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(204, 255, 109, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(247, 255, 185, 0.24),
    0 0 12px rgba(110, 255, 42, 0.04);
  opacity: 0.9;
  pointer-events: none;
}

.lockin-wheel__spin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: rotate(var(--wheel-rotation, 0deg));
  transform-origin: center center;
  will-change: transform;
}

.lockin-wheel__face {
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from -105deg, rgba(255, 255, 255, 0) 0 28.4deg, rgba(255, 239, 183, 0.86) 28.4deg 30deg),
    conic-gradient(from -105deg,
      #6b27e8 0deg 30deg,
      #17ba41 30deg 60deg,
      #f0a71e 60deg 90deg,
      #ffd343 90deg 120deg,
      #2298ff 120deg 150deg,
      #38d0ff 150deg 180deg,
      #f01856 180deg 210deg,
      #ff5d79 210deg 240deg,
      #9de307 240deg 270deg,
      #d3ff16 270deg 300deg,
      #00b84f 300deg 330deg,
      #21ff72 330deg 360deg);
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.08),
    inset 0 -20px 30px rgba(0, 0, 0, 0.2),
    0 0 16px rgba(103, 255, 46, 0.08);
}

.lockin-wheel__light {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffde8 0%, #f6ff97 38%, #d4ff3f 76%, #a7ff15 100%);
  box-shadow:
    0 0 0 2px rgba(163, 255, 16, 0.12),
    0 0 8px rgba(255, 244, 135, 0.64),
    0 0 14px rgba(134, 255, 42, 0.32);
  transform: rotate(calc(var(--i) * 15deg)) translateY(calc(var(--wheel-size) / -2 + 18px));
  transform-origin: center center;
  z-index: 3;
}

.lockin-wheel.is-spinning .lockin-wheel__light {
  animation: lockinWheelLightPulse 0.38s linear infinite;
  animation-delay: calc(var(--i) * -0.028s);
}

.lockin-wheel.is-celebrating .lockin-wheel__light {
  animation: lockinWheelLightCelebrate 0.22s linear infinite;
  animation-delay: calc(var(--i) * -0.018s);
}

.lockin-wheel__label {
  position: absolute;
  top: calc(50% + var(--offset-y));
  left: calc(50% + var(--offset-x));
  min-width: 0;
  transform: translate(-50%, -50%) rotate(var(--label-rotate));
  z-index: 4;
}

.lockin-wheel__label-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  transition: transform 0.28s ease, filter 0.28s ease, opacity 0.28s ease;
}

.lockin-wheel__label-title {
  font-family: var(--font-display);
  font-size: clamp(14px, 3vw, 20px);
  font-weight: 900;
  line-height: 0.9;
  white-space: nowrap;
  color: #fffef8;
  -webkit-text-stroke: 0.45px rgba(3, 18, 12, 0.72);
  text-shadow:
    0 2px 0 rgba(2, 16, 10, 0.68),
    0 4px 10px rgba(0, 0, 0, 0.62),
    0 0 10px rgba(238, 255, 180, 0.2);
}

.lockin-wheel__label-icon {
  width: 30px;
  height: 30px;
  color: #fff8a5;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.2));
}

.lockin-wheel__label--cash {
  width: 72px;
}

.lockin-wheel__label--cash .lockin-wheel__label-title {
  font-size: clamp(21px, 5vw, 32px);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.lockin-wheel__label--cash.lockin-wheel__label--long {
  width: 72px;
}

.lockin-wheel__label--cash.lockin-wheel__label--long .lockin-wheel__label-title {
  font-size: clamp(12px, 2.75vw, 16px);
  letter-spacing: -0.035em;
}

.lockin-wheel__label--minor:not(.lockin-wheel__label--cash) .lockin-wheel__label-title {
  font-size: clamp(14px, 3vw, 20px);
  letter-spacing: -0.035em;
}

.lockin-wheel__label--major {
  width: 88px;
}

.lockin-wheel__label--major .lockin-wheel__label-body {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.lockin-wheel__label--major .lockin-wheel__label-title {
  font-size: clamp(19px, 4.35vw, 28px);
  line-height: 0.88;
  letter-spacing: -0.095em;
}

.lockin-wheel__label--long {
  width: 60px;
}

.lockin-wheel__label--long .lockin-wheel__label-title {
  max-width: 58px;
  font-size: clamp(13px, 3vw, 18px);
  line-height: 0.86;
  letter-spacing: -0.065em;
  overflow-wrap: normal;
}

.lockin-wheel__label--major .lockin-wheel__label-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  filter:
    drop-shadow(0 2px 0 rgba(0, 0, 0, 0.54))
    drop-shadow(0 0 8px rgba(236, 255, 150, 0.22));
}

.lockin-wheel__label--bonus .lockin-wheel__label-icon,
.lockin-wheel__label--gold .lockin-wheel__label-icon {
  color: #ffd95e;
}

.lockin-wheel__label--boost .lockin-wheel__label-icon {
  color: #fff4bf;
}

.lockin-wheel__label--shield .lockin-wheel__label-icon {
  color: #d7ecff;
}

.lockin-wheel__label.is-hit .lockin-wheel__label-body {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(236, 255, 162, 0.28)) drop-shadow(0 0 18px rgba(102, 255, 34, 0.24));
}

.lockin-wheel__label.is-hit .lockin-wheel__label-title {
  color: #fffef1;
  text-shadow:
    0 0 14px rgba(255, 250, 190, 0.28),
    0 0 20px rgba(114, 255, 31, 0.24);
}

.lockin-wheel__core {
  position: absolute;
  inset: 35.5%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #10222b 0%, #030b12 100%);
  box-shadow: inset 0 0 0 4px rgba(188, 255, 33, 0.3), 0 0 0 10px rgba(23, 41, 19, 0.34), 0 14px 28px rgba(0, 0, 0, 0.32);
  z-index: 5;
}

.lockin-wheel__core-icon {
  width: 62px;
  height: 62px;
  color: var(--purple-light);
}

.lockin-wheel-stage__robot {
  position: absolute;
  left: -10px;
  bottom: 38px;
  width: min(36vw, 132px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.34)) drop-shadow(0 0 18px rgba(138, 255, 46, 0.16));
  pointer-events: none;
  z-index: 4;
}

.lockin-home__status-chip {
  margin: 12px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(4, 15, 22, 0.82);
  border: 1px solid rgba(114, 255, 31, 0.12);
  color: var(--text-primary);
}

.lockin-home__status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(54, 255, 95, 0.68);
}

.lockin-home__status-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

.lockin-home__status-copy strong {
  color: rgba(248, 247, 242, 0.78);
  font-size: 16px;
}

#bonus-status-label,
#bonus-subtitle {
  font-size: 16px;
  font-weight: 700;
}

#bonus-subtitle {
  color: var(--green);
}

.lockin-home__headline {
  margin-top: 18px;
  text-align: center;
  position: relative;
}

.lockin-home__headline h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.lockin-home__headline p {
  margin-top: 12px;
  font-size: 18px;
  color: var(--text-secondary);
}

.lockin-home__spin-wrap {
  position: relative;
  z-index: 6;
  width: 100%;
  margin-top: 12px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lockin-home__spin-button {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 22px 24px;
  border-radius: 34px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #f3ff41 0%, #b9ff00 100%);
  box-shadow: 0 18px 34px rgba(168, 255, 0, 0.22), inset 0 -8px 0 rgba(0, 0, 0, 0.08);
  font-family: var(--font-display);
  font-size: clamp(36px, 7.2vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #193100;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease, filter 0.22s ease;
}

.lockin-home__spin-main {
  display: inline-flex;
  align-items: center;
  line-height: 0.9;
}

.lockin-home__spin-meta {
  display: inline-flex;
  align-items: center;
  padding-top: 0;
  font-size: 1em;
  line-height: 0.9;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.lockin-home__spin-button.is-loading,
.lockin-home__spin-button.is-locked,
.lockin-home__spin-button:disabled {
  opacity: 0.96;
  filter: saturate(1.08);
  cursor: default;
  box-shadow:
    0 22px 42px rgba(168, 255, 0, 0.26),
    inset 0 -8px 0 rgba(0, 0, 0, 0.08);
}

.lockin-home__spin-button.is-loading {
  animation: lockinSpinButtonPulse 0.78s ease-in-out infinite;
}

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

.lockin-stat-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 11px 10px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(7, 20, 28, 0.96) 0%, rgba(3, 10, 16, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-card);
}

.lockin-stat-card[role="button"] {
  cursor: pointer;
}

.lockin-stat-card[role="button"]:focus-visible {
  outline: 2px solid rgba(114, 255, 31, 0.44);
  outline-offset: 2px;
}

.lockin-stat-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 18px rgba(0, 0, 0, 0.18);
}

.lockin-stat-card__icon--box {
  background: linear-gradient(180deg, rgba(81, 255, 78, 0.22), rgba(14, 88, 28, 0.22));
  border: 1px solid rgba(101, 255, 76, 0.14);
}

.lockin-stat-card__icon--cycle {
  background: linear-gradient(180deg, rgba(41, 255, 103, 0.18), rgba(17, 73, 34, 0.22));
  border: 1px solid rgba(102, 255, 86, 0.12);
}

.lockin-stat-card__icon--coins {
  background: linear-gradient(180deg, rgba(255, 214, 63, 0.2), rgba(107, 76, 8, 0.22));
  border: 1px solid rgba(255, 214, 63, 0.12);
}

.lockin-stat-card__icon-svg {
  width: 25px;
  height: 25px;
}

.lockin-stat-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lockin-stat-card__label {
  font-size: 10px;
  letter-spacing: 0.07em;
  line-height: 1.05;
  white-space: nowrap;
}

.lockin-stat-card__value-row {
  margin-top: 4px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
}

.lockin-stat-card__value-row strong {
  font-family: var(--font-display);
  font-size: clamp(16px, 3.4vw, 22px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lockin-stat-card__value-row span,
.lockin-stat-card__meta {
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.1;
}

.lockin-stat-card__progress {
  width: 100%;
  height: 8px;
  margin-top: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.lockin-stat-card__progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #60ff2f 0%, #d6ff26 100%);
  box-shadow: 0 0 18px rgba(114, 255, 31, 0.36);
}

.lockin-stat-card__meta {
  margin-top: 5px;
}

.lockin-stat-card__value-row--claim strong {
  color: var(--gold);
}

.lockin-stat-card__action {
  margin-top: 6px;
  align-self: flex-start;
  min-width: 0;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(114, 255, 31, 0.14);
  background: rgba(11, 34, 18, 0.92);
  color: #baff3a;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (max-width: 860px) {
  .lockin-stat-card {
    grid-template-columns: 36px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .nav-item__core {
    min-height: 64px;
    padding: 9px 4px 7px;
    gap: 7px;
  }

  .nav-label {
    font-size: 9.5px;
  }

  .nav-icon-shell {
    width: 33px;
    height: 33px;
    border-radius: 12px;
  }

  .nav-icon {
    width: 19px;
    height: 19px;
  }
}

@keyframes lockinWheelPointerGlow {
  0%, 100% {
    box-shadow: 0 22px 28px rgba(115, 255, 41, 0.22), 0 0 24px rgba(255, 214, 63, 0.42);
  }
  50% {
    box-shadow: 0 26px 34px rgba(115, 255, 41, 0.28), 0 0 34px rgba(255, 241, 120, 0.56);
  }
}

@keyframes lockinWheelLightPulse {
  0%, 100% {
    opacity: 0.72;
    filter: brightness(1);
  }
  50% {
    opacity: 1;
    filter: brightness(1.28);
  }
}

@keyframes lockinWheelLightCelebrate {
  0%, 100% {
    opacity: 0.56;
    filter: brightness(0.98) saturate(1.05);
  }
  50% {
    opacity: 1;
    filter: brightness(1.62) saturate(1.18);
  }
}

@keyframes lockinSpinButtonPulse {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

  .lockin-home__header {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 8px;
  }

  .lockin-home__header-actions {
    width: 204px;
    min-width: 204px;
    max-width: 204px;
    grid-template-columns: minmax(0, 1fr) 40px;
    margin-top: 0;
  }

  .lockin-home__balance-card {
    min-height: 48px;
    padding: 3px 9px 3px;
  }

  .lockin-home__wordmark {
    font-size: clamp(36px, 9.8vw, 48px);
  }

  .lockin-home__brand {
    gap: 4px;
  }

  .lockin-home__member-badge {
    width: 124px;
    height: 24px;
    padding: 1px 7px;
    font-size: 10px;
  }

  .lockin-home__member-icon {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
    margin-right: 4px;
  }

  .lockin-home__balance-label,
  .lockin-home__balance-pending span {
    font-size: 7px;
  }

  .lockin-home__balance-value {
    font-size: clamp(20px, 4.7vw, 23px);
  }

  .lockin-home__balance-pending {
    gap: 3px;
  }

  .lockin-home__balance-plus {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .lockin-home__balance-plus-icon {
    width: 14px;
    height: 14px;
  }

  .lockin-home__gift-card {
    padding: 5px;
  }

  .lockin-home__gift-card.has-alert::after {
    top: 6px;
    right: 6px;
    width: 10px;
    height: 10px;
  }

  .lockin-home__gift-icon {
    width: 18px;
    height: 18px;
  }

  .lockin-home__quick-actions {
    margin-top: 8px;
    gap: 7px;
  }

  .lockin-home__quick-action {
    gap: 8px;
    padding: 8px 10px;
    border-radius: 16px;
  }

  .lockin-home__quick-action-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 10px;
  }

  .lockin-home__quick-action-icon-svg {
    width: 14px;
    height: 14px;
  }

  .lockin-home__quick-action-label {
    font-size: 13px;
  }

  .lockin-home__balance-label,
  .lockin-stat-card__label {
    font-size: 12px;
  }

  .lockin-home__balance-pending-label,
  .lockin-home__balance-pending strong {
    font-size: 8px;
  }

  .lockin-wheel-stage {
    --wheel-size: min(79vw, 328px);
  }

  .lockin-wheel-stage__robot {
    width: min(48vw, 218px);
    bottom: -90px;
    left: -50px;
  }

  .lockin-home__headline p {
    font-size: 15px;
  }

  .lockin-home__spin-button {
    padding: 18px 18px;
    font-size: clamp(32px, 6.8vw, 46px);
  }

  .lockin-wheel__label--major {
    width: 78px;
  }

  .lockin-wheel__label--major .lockin-wheel__label-body {
    flex-direction: row;
    gap: 3px;
  }

  .lockin-wheel__label--major .lockin-wheel__label-title {
    font-size: 21px;
  }

  .lockin-wheel__label--major .lockin-wheel__label-icon {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
  }

  .lockin-wheel__label--cash {
    width: 66px;
  }

  .lockin-wheel__label--cash .lockin-wheel__label-title {
    font-size: 24px;
  }

  .lockin-wheel__label--long {
    width: 55px;
  }

  .lockin-wheel__label--long .lockin-wheel__label-title {
    max-width: 54px;
    font-size: 14px;
  }

  .lockin-home__stats {
    gap: 7px;
  }

  .lockin-stat-card {
    padding: 10px 8px 9px;
    gap: 7px;
    border-radius: 16px;
  }

  .lockin-stat-card__icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .lockin-stat-card__icon-svg {
    width: 22px;
    height: 22px;
  }

  .lockin-stat-card__value-row strong {
    font-size: 16px;
  }

  .lockin-stat-card__label {
    font-size: 8px;
  }

  .lockin-stat-card__progress {
    height: 7px;
    margin-top: 6px;
  }

  .lockin-stat-card__meta,
  .lockin-stat-card__value-row span {
    font-size: 10px;
  }

  .lockin-stat-card__action {
    margin-top: 5px;
    padding: 4px 9px;
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .lockin-home-screen__content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .lockin-home__member-badge {
    font-size: 11px;
    padding: 4px 8px;
  }

  .lockin-home__status-copy strong,
  #bonus-status-label,
  #bonus-subtitle {
    font-size: 14px;
  }

  .lockin-wheel__label-title {
    font-size: 11px;
  }

  .lockin-wheel__label-icon {
    width: 20px;
    height: 20px;
  }

  .lockin-wheel__label--major {
    width: 70px;
  }

  .lockin-wheel__label--major .lockin-wheel__label-body {
    flex-direction: row;
    gap: 2px;
  }

  .lockin-wheel__label--major .lockin-wheel__label-title {
    font-size: 18px;
  }

  .lockin-wheel__label--major .lockin-wheel__label-icon {
    width: 11px;
    height: 11px;
    flex-basis: 11px;
  }

  .lockin-wheel__label--cash {
    width: 58px;
  }

  .lockin-wheel__label--cash .lockin-wheel__label-title {
    font-size: 21px;
  }

  .lockin-wheel__label--cash.lockin-wheel__label--long .lockin-wheel__label-title {
    font-size: 11px;
  }

  .lockin-wheel__label--long {
    width: 50px;
  }

  .lockin-wheel__label--long .lockin-wheel__label-title {
    max-width: 48px;
    font-size: 12px;
  }

  .lockin-wheel__label--minor:not(.lockin-wheel__label--cash) .lockin-wheel__label-title {
    font-size: 12px;
  }

  .lockin-stat-card {
    padding: 9px 7px 8px;
  }
}

/* ── LOCK//IN Global Background Override ───────────────────── */
:root {
  --lockin-app-bg:
    radial-gradient(circle at 50% 34%, rgba(92, 255, 42, 0.14) 0%, rgba(92, 255, 42, 0.07) 16%, rgba(92, 255, 42, 0) 40%),
    radial-gradient(circle at 50% 100%, rgba(9, 67, 39, 0.54) 0%, rgba(9, 67, 39, 0) 56%),
    radial-gradient(circle at 50% 0%, rgba(4, 38, 29, 0.5) 0%, rgba(4, 38, 29, 0) 42%),
    linear-gradient(180deg, #04131a 0%, #04171b 44%, #061216 100%);
  --lockin-app-surface:
    radial-gradient(circle at 50% 22%, rgba(83, 255, 46, 0.08) 0%, rgba(83, 255, 46, 0) 32%),
    linear-gradient(180deg, rgba(5, 20, 25, 0.98) 0%, rgba(3, 13, 17, 0.99) 100%);
}

body,
body.starter-home-shell {
  background: var(--lockin-app-bg);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(98, 255, 46, 0.08) 0%, rgba(98, 255, 46, 0.03) 18%, rgba(98, 255, 46, 0) 46%),
    radial-gradient(circle at 16% 14%, rgba(18, 96, 57, 0.18) 0%, rgba(18, 96, 57, 0) 34%),
    radial-gradient(circle at 86% 86%, rgba(7, 62, 41, 0.16) 0%, rgba(7, 62, 41, 0) 32%);
  pointer-events: none;
  opacity: 1;
  z-index: 0;
}

body::after {
  display: none;
}

#app,
#app.starter-home-shell {
  background: var(--lockin-app-surface);
  box-shadow:
    0 0 0 1px rgba(77, 255, 101, 0.05),
    0 22px 64px rgba(0, 0, 0, 0.42);
}

#app::after,
#app.starter-home-shell::after {
  display: none;
}

#app-space-effects,
.stars,
.app-stars-layer,
.shooting-stars-layer {
  display: none;
}

#splash {
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  padding:
    max(18px, env(safe-area-inset-top))
    14px
    max(12px, env(safe-area-inset-bottom));
  background: #02090a;
}

#splash.is-ready .splash-bottom {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  filter: blur(8px);
}

#splash .splash-bg {
  position: absolute;
  inset: 0;
  background: #02090a;
  opacity: 1;
  transform: none;
}

#splash .splash-bg__image {
  position: absolute;
  left: 0;
  right: 0;
  top: -5.5%;
  bottom: 0;
  width: 100%;
  height: 105.5%;
  object-fit: contain;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.26s ease;
}

#splash.has-bg .splash-bg__image {
  opacity: 1;
}

#splash .splash-bg::after {
  content: '';
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -7%;
  height: 44%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(202,255,33,0.18), rgba(202,255,33,0) 48%),
    linear-gradient(180deg, rgba(2,9,10,0), rgba(2,9,10,0.96) 58%, #02090a 100%);
  pointer-events: none;
}

.splash-bottom {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  margin: 0 auto -8px;
  display: grid;
  gap: 11px;
  opacity: 0;
  transform: translateY(12px);
  transition: transform 0.32s ease, opacity 0.32s ease, filter 0.32s ease;
}

#splash.has-bg .splash-bottom {
  opacity: 1;
  transform: translateY(0);
}

.splash-session-copy {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  text-transform: uppercase;
}

.splash-session-copy span {
  font-family: var(--font-display);
  font-size: clamp(19px, 5.2vw, 28px);
  line-height: 0.95;
  letter-spacing: 0.28em;
  color: rgba(244,248,239,0.8);
  text-shadow: 0 0 12px rgba(255,255,255,0.12);
}

.splash-session-copy strong {
  font-family: var(--font-display);
  font-size: clamp(42px, 12vw, 70px);
  line-height: 0.82;
  letter-spacing: -0.055em;
  color: #cfff16;
  text-shadow:
    0 0 12px rgba(207,255,22,0.3),
    0 0 28px rgba(120,255,32,0.18);
}

.splash-mini-divider {
  width: min(72%, 300px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.splash-mini-divider span {
  height: 1px;
  background: linear-gradient(90deg, rgba(207,255,22,0), rgba(207,255,22,0.76));
  box-shadow: 0 0 10px rgba(207,255,22,0.3);
}

.splash-mini-divider span:last-child {
  background: linear-gradient(90deg, rgba(207,255,22,0.76), rgba(207,255,22,0));
}

.splash-mini-divider i {
  width: 20px;
  height: 20px;
  display: block;
  background: url('https://cdn.jsdelivr.net/npm/@tabler/icons@3.34.1/icons/outline/star.svg') center / 17px 17px no-repeat;
  filter:
    brightness(0)
    invert(1)
    sepia(1)
    saturate(7)
    hue-rotate(36deg)
    drop-shadow(0 0 8px rgba(207,255,22,0.8));
}

#splash .splash-loader-wrap {
  width: 100%;
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#splash .splash-loader-wrap::before {
  display: none;
}

.splash-loader-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px;
  gap: 14px;
  align-items: center;
}

#splash .splash-loader {
  height: 34px;
  padding: 4px;
  border-radius: 999px;
  border: 2px solid rgba(207,255,22,0.64);
  background: rgba(4, 18, 13, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 0 22px rgba(207,255,22,0.25),
    0 0 42px rgba(105,255,34,0.12);
}

#splash .splash-loader__fill {
  height: 100%;
  min-width: 28px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16) 0 18%, transparent 18% 50%, rgba(255,255,255,0.14) 50% 68%, transparent 68%) 0 0 / 28px 28px,
    linear-gradient(90deg, #96ff10 0%, #d7ff15 62%, #fff461 100%);
  box-shadow:
    0 0 18px rgba(207,255,22,0.55),
    0 0 30px rgba(105,255,34,0.22);
}

#splash .splash-loader__fill::after {
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.8), rgba(255,255,255,0));
}

#splash .splash-loader-value {
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(27px, 7vw, 38px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: #d7ff15;
  text-align: left;
  text-shadow: 0 0 18px rgba(207,255,22,0.34);
}

#splash .splash-loader-meta {
  justify-content: center;
}

#splash .splash-loader-step {
  display: none;
}

#splash .splash-subtitle {
  max-width: none;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(17px, 4.8vw, 27px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: none;
  color: rgba(235,240,236,0.7);
}

.splash-status-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.splash-status-grid::before {
  content: '';
  position: absolute;
  left: 17%;
  right: 17%;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, rgba(207,255,22,0.85) 0 4px, transparent 4px 10px);
  filter: drop-shadow(0 0 8px rgba(207,255,22,0.38));
  opacity: 0.68;
}

.splash-status-card {
  position: relative;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 13px 12px;
  border-radius: 22px;
  border: 1px solid rgba(111,255,70,0.24);
  background:
    radial-gradient(circle at 22% 12%, rgba(111,255,70,0.18), rgba(111,255,70,0) 44%),
    rgba(5, 20, 16, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 14px 24px rgba(0,0,0,0.28);
  backdrop-filter: blur(8px);
}

.splash-status-card__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #64ff48;
}

.splash-status-card__icon svg {
  width: 31px;
  height: 31px;
  filter: drop-shadow(0 0 8px rgba(100,255,72,0.45));
}

.splash-status-card strong {
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(15px, 3.8vw, 20px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: rgba(244,248,239,0.88);
}

.splash-status-card b {
  position: absolute;
  right: -8px;
  top: -10px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #70ff3f;
  color: #173000;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1;
  box-shadow: 0 0 15px rgba(112,255,63,0.54);
}

.splash-status-card.is-loading {
  border-color: rgba(255,233,47,0.48);
}

.splash-status-card.is-loading .splash-status-card__icon {
  color: #ffe82f;
}

.splash-status-card.is-loading b {
  border: 3px solid rgba(255,232,47,0.9);
  border-left-color: transparent;
  background: transparent;
  animation: splashStatusSpin 1s linear infinite;
}

.splash-secure {
  width: min(76%, 300px);
  margin: 12px auto 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.splash-secure span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #d7ff15;
  background: radial-gradient(circle, rgba(207,255,22,0.18), rgba(207,255,22,0.04) 62%, transparent 63%);
  box-shadow: 0 0 18px rgba(207,255,22,0.2);
}

.splash-secure svg {
  width: 21px;
  height: 21px;
}

.splash-secure strong {
  font-family: var(--font-display);
  font-size: clamp(12px, 3.3vw, 17px);
  line-height: 1;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #bfff1d;
}

body.session-expired-open {
  overflow: hidden;
}

body.session-expired-open .top-bar,
body.session-expired-open .bottom-nav,
body.session-expired-open .lockin-shared-topbar,
body.session-expired-open .lockin-home__header-actions {
  display: none !important;
}

.session-expired {
  position: fixed;
  inset: 0;
  z-index: 50000;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end center;
  padding:
    max(18px, env(safe-area-inset-top))
    14px
    max(18px, env(safe-area-inset-bottom));
  background: #02090a;
  overflow: hidden;
}

.session-expired__bg {
  position: absolute;
  inset: 0;
  background: #02090a;
}

.session-expired__bg-image {
  position: absolute;
  left: 0;
  right: 0;
  top: -5.5%;
  width: 100%;
  height: 105.5%;
  object-fit: contain;
  object-position: center top;
  opacity: 0.58;
  filter: saturate(1.04) brightness(0.72);
}

.session-expired__bg::after {
  content: '';
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -7%;
  height: 58%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(207,255,22,0.2), rgba(207,255,22,0) 46%),
    linear-gradient(180deg, rgba(2,9,10,0), rgba(2,9,10,0.94) 48%, #02090a 100%);
}

.session-expired__panel {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 22px 16px 18px;
  border: 1px solid rgba(207,255,22,0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(207,255,22,0.16), rgba(207,255,22,0) 42%),
    linear-gradient(180deg, rgba(7, 29, 22, 0.92), rgba(2, 10, 10, 0.96));
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 -18px 55px rgba(207,255,22,0.12),
    0 22px 58px rgba(0,0,0,0.48);
  backdrop-filter: blur(14px);
  animation: sessionExpiredIn 0.34s ease both;
}

.session-expired__badge {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #d7ff15;
  border: 1px solid rgba(207,255,22,0.42);
  background:
    radial-gradient(circle, rgba(207,255,22,0.18), rgba(207,255,22,0.04) 64%),
    rgba(4, 18, 13, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 22px rgba(207,255,22,0.28);
}

.session-expired__badge svg {
  width: 29px;
  height: 29px;
  filter: drop-shadow(0 0 8px rgba(207,255,22,0.58));
}

.session-expired__copy {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.session-expired__copy span {
  font-family: var(--font-display);
  font-size: clamp(15px, 4.1vw, 20px);
  line-height: 1;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244,248,239,0.68);
}

.session-expired__copy strong {
  font-family: var(--font-display);
  font-size: clamp(36px, 10.8vw, 58px);
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: #d7ff15;
  text-shadow:
    0 0 14px rgba(207,255,22,0.34),
    0 0 30px rgba(112,255,63,0.18);
}

.session-expired__copy p {
  max-width: 310px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 4.4vw, 22px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: rgba(235,240,236,0.72);
}

.session-expired__divider {
  width: min(76%, 310px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.session-expired__divider span {
  height: 1px;
  background: linear-gradient(90deg, rgba(207,255,22,0), rgba(207,255,22,0.74));
  box-shadow: 0 0 10px rgba(207,255,22,0.3);
}

.session-expired__divider span:last-child {
  background: linear-gradient(90deg, rgba(207,255,22,0.74), rgba(207,255,22,0));
}

.session-expired__divider i {
  width: 20px;
  height: 20px;
  display: block;
  background: url('https://cdn.jsdelivr.net/npm/@tabler/icons@3.34.1/icons/outline/bolt.svg') center / 18px 18px no-repeat;
  filter:
    brightness(0)
    invert(1)
    sepia(1)
    saturate(7)
    hue-rotate(36deg)
    drop-shadow(0 0 8px rgba(207,255,22,0.8));
}

.session-expired__button {
  width: min(100%, 310px);
  height: 54px;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #e9ff36 0%, #bbff0e 50%, #77ec18 100%);
  color: #102000;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 0 20px rgba(207,255,22,0.34),
    0 14px 28px rgba(0,0,0,0.3);
}

.session-expired__button:active {
  transform: translateY(1px) scale(0.99);
}

@keyframes sessionExpiredIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes splashStatusSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 420px) {
  #splash {
    padding:
      max(14px, env(safe-area-inset-top))
      12px
      max(8px, env(safe-area-inset-bottom));
  }

  #splash .splash-bg__image {
    top: -6.5%;
    height: 106.5%;
  }

  .splash-bottom {
    gap: 9px;
    margin-bottom: -10px;
  }

  .splash-loader-row {
    grid-template-columns: minmax(0, 1fr) 54px;
    gap: 10px;
  }

  #splash .splash-loader {
    height: 30px;
    padding: 3px;
  }

  .splash-status-grid {
    gap: 8px;
  }

  .splash-status-card {
    min-height: 66px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    padding: 10px 7px;
    border-radius: 18px;
    text-align: center;
  }

  .splash-status-card__icon {
    width: 28px;
    height: 28px;
  }

  .splash-status-card__icon svg {
    width: 25px;
    height: 25px;
  }

  .splash-status-card b {
    right: -5px;
    top: -8px;
    width: 22px;
    height: 22px;
    font-size: 14px;
  }

  .splash-secure {
    margin-top: 8px;
  }
}

@media (max-height: 760px) {
  .splash-bottom {
    gap: 9px;
  }

  .splash-session-copy span {
    font-size: clamp(15px, 4.2vw, 20px);
  }

  .splash-session-copy strong {
    font-size: clamp(34px, 10vw, 52px);
  }

  #splash .splash-subtitle {
    font-size: clamp(14px, 3.8vw, 19px);
  }

  .splash-secure span {
    width: 34px;
    height: 34px;
  }
}

.onboarding--simple,
.onboarding--clean {
  background:
    radial-gradient(circle at 50% 20%, rgba(78, 255, 46, 0.1) 0%, rgba(78, 255, 46, 0) 26%),
    linear-gradient(180deg, rgba(5, 18, 22, 0.92) 0%, rgba(3, 11, 15, 0.96) 100%);
}

/* ── LOCK//IN Interior Pages ───────────────────────────────── */
.page:not(.lockin-home-screen) {
  background: transparent;
}

.page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 16px 0;
  padding: 12px 14px;
  border-radius: 22px;
  border: 1px solid rgba(127, 255, 94, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%),
    linear-gradient(180deg, rgba(5, 21, 25, 0.98) 0%, rgba(3, 12, 16, 0.99) 100%);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.back-btn,
.lockin-panel-header__back {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(132, 255, 104, 0.12);
  background: linear-gradient(180deg, rgba(17, 40, 35, 0.92), rgba(7, 20, 18, 0.98));
  color: #edffd3;
  font-size: 18px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.back-btn:hover,
.lockin-panel-header__back:hover {
  background: linear-gradient(180deg, rgba(22, 50, 44, 0.94), rgba(8, 22, 20, 0.99));
}

.page-header-title,
.lockin-panel-header__title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #efffde;
}

.page-header-title .payment-method-icon,
.page-header-title .ref-icon,
.page-header-title .deposit-ui-icon,
.lockin-panel-header__title .payment-method-icon,
.lockin-panel-header__title .ref-icon,
.lockin-panel-header__title .deposit-ui-icon {
  width: 16px;
  height: 16px;
  margin-right: 0;
}

.lockin-panel-header__action {
  margin-left: auto;
  min-width: 32px;
  display: flex;
  justify-content: flex-end;
}

.lockin-panel-page__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 14px;
  padding-bottom: 22px;
}

.lockin-panel-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(128, 255, 93, 0.12);
  background:
    radial-gradient(circle at 18% 16%, rgba(93, 255, 47, 0.11) 0%, rgba(93, 255, 47, 0) 30%),
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.014) 100%),
    linear-gradient(180deg, rgba(6, 21, 25, 0.98) 0%, rgba(3, 12, 16, 0.99) 100%);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.lockin-panel-card::before {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(195,255,144,0), rgba(195,255,144,0.36), rgba(195,255,144,0));
}

.lockin-panel-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 18px 18px;
  border-radius: 28px;
  border: 1px solid rgba(129, 255, 97, 0.14);
  background:
    radial-gradient(circle at 70% 0%, rgba(215,255,146,0.12) 0%, rgba(215,255,146,0) 30%),
    radial-gradient(circle at 12% 10%, rgba(81,255,63,0.12) 0%, rgba(81,255,63,0) 28%),
    linear-gradient(180deg, rgba(8, 28, 29, 0.98) 0%, rgba(4, 15, 18, 0.99) 100%);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 0 0 1px rgba(88, 255, 54, 0.04);
}

.lockin-panel-hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -36% auto;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83,255,45,0.12) 0%, rgba(83,255,45,0) 70%);
  filter: blur(18px);
  pointer-events: none;
}

.lockin-panel-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(225,255,186,0.64);
}

.lockin-panel-hero__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #f3ffe1;
}

.lockin-panel-hero__text {
  margin-top: 10px;
  max-width: 32rem;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(224,255,195,0.68);
}

.lockin-panel-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.lockin-panel-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(161,255,113,0.11);
  background: rgba(8, 28, 20, 0.58);
  color: rgba(237,255,212,0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lockin-panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.lockin-panel-metric {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
  padding: 13px 12px;
  border-radius: 18px;
  border: 1px solid rgba(153,255,117,0.08);
  background: rgba(6, 19, 17, 0.78);
}

.lockin-panel-metric.tone-accent {
  border-color: rgba(167,255,104,0.16);
  box-shadow: 0 0 0 1px rgba(91,255,43,0.04);
}

.lockin-panel-metric.tone-warn {
  border-color: rgba(244, 214, 92, 0.14);
}

.lockin-panel-metric__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(105,255,72,0.16), rgba(13,63,26,0.18));
  color: #daffba;
}

.lockin-panel-metric__icon .deposit-ui-icon,
.lockin-panel-metric__icon .ref-icon {
  width: 16px;
  height: 16px;
}

.lockin-panel-metric__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lockin-panel-metric__label,
.lockin-panel-metric__note {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(224,255,196,0.56);
}

.lockin-panel-metric__value {
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f3ffe5;
}

.lockin-panel-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.lockin-panel-section__copy {
  min-width: 0;
}

.lockin-panel-section__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #efffde;
}

.lockin-panel-section__title .deposit-ui-icon,
.lockin-panel-section__title .ref-icon {
  width: 14px;
  height: 14px;
}

.lockin-panel-section__text {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(224,255,196,0.58);
}

.lockin-panel-section__pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(162,255,112,0.12);
  background: rgba(8, 22, 19, 0.72);
  color: rgba(237,255,212,0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lockin-panel-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 4px 4px;
  text-align: center;
}

.lockin-panel-empty__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(96,255,62,0.14), rgba(8,47,18,0.16));
  color: #e6ffd0;
  font-size: 24px;
}

.lockin-panel-empty__title {
  font-size: 18px;
  font-weight: 800;
  color: #efffde;
}

.lockin-panel-empty__text {
  max-width: 28rem;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(224,255,196,0.6);
}

/* Rewards */
.lockin-rewards-command__grid,
.lockin-profile-nav__grid {
  display: grid;
  gap: 10px;
}

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

.lockin-rewards-command__tile,
.lockin-profile-nav__item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(140,255,98,0.1);
  background: linear-gradient(180deg, rgba(9, 28, 24, 0.94), rgba(4, 14, 15, 0.99));
  color: #f0ffe0;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.lockin-rewards-command__tile-icon,
.lockin-profile-nav__item-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(104,255,71,0.17), rgba(12,61,25,0.18));
  color: #daffba;
}

.lockin-rewards-command__tile-icon .deposit-ui-icon,
.lockin-rewards-command__tile-icon .ref-icon,
.lockin-profile-nav__item-icon .deposit-ui-icon,
.lockin-profile-nav__item-icon .ref-icon {
  width: 17px;
  height: 17px;
}

.lockin-rewards-command__tile-copy,
.lockin-profile-nav__item-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lockin-rewards-command__tile-copy strong,
.lockin-profile-nav__item-copy strong {
  font-size: 14px;
  line-height: 1.1;
  color: #f3ffe5;
}

.lockin-rewards-command__tile-copy span,
.lockin-profile-nav__item-copy span {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(224,255,196,0.58);
}

.lockin-rewards-stack,
.lockin-history-list,
.lockin-notifications-list,
.lockin-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lockin-task-node {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(139,255,95,0.1);
  background:
    radial-gradient(circle at 86% 0%, rgba(228,255,176,0.06) 0%, rgba(228,255,176,0) 34%),
    linear-gradient(180deg, rgba(8, 24, 22, 0.96), rgba(4, 13, 14, 0.99));
}

.lockin-task-node.is-claimable {
  border-color: rgba(160,255,110,0.18);
  box-shadow: 0 0 0 1px rgba(97,255,49,0.04);
}

.lockin-task-node.is-claimed {
  opacity: 0.88;
}

.lockin-task-node__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: flex-start;
}

.lockin-task-node__badge {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(95,255,60,0.17), rgba(10,58,22,0.2));
  color: #dbffbf;
}

.lockin-task-node__badge .deposit-ui-icon,
.lockin-task-node__badge .ref-icon {
  width: 20px;
  height: 20px;
}

.lockin-task-node__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lockin-task-node__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.lockin-task-node__type,
.lockin-task-node__state {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lockin-task-node__type {
  border: 1px solid rgba(157,255,114,0.1);
  background: rgba(10, 28, 22, 0.7);
  color: rgba(225,255,186,0.68);
}

.lockin-task-node__state {
  border: 1px solid rgba(218,255,169,0.12);
  background: rgba(67, 93, 21, 0.24);
  color: #e8ffb5;
}

.lockin-task-node__headline {
  font-size: 16px;
  line-height: 1.18;
  font-weight: 800;
  color: #f3ffe5;
}

.lockin-task-node__desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(224,255,196,0.6);
}

.lockin-task-node__copy {
  min-width: 0;
}

.lockin-task-node:not(.is-expanded) .lockin-task-node__headline,
.lockin-task-node:not(.is-expanded) .lockin-task-node__desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.lockin-task-node:not(.is-expanded) .lockin-task-node__headline {
  -webkit-line-clamp: 2;
}

.lockin-task-node:not(.is-expanded) .lockin-task-node__desc {
  -webkit-line-clamp: 3;
}

.lockin-task-node__toggle {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #caff90;
}

.lockin-task-node__reward {
  min-width: 88px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.lockin-task-node__reward span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(224,255,196,0.54);
}

.lockin-task-node__reward strong {
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  color: #efffde;
}

.lockin-task-node__progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lockin-task-node__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: rgba(224,255,196,0.6);
}

.lockin-task-node__progress-meta strong {
  color: #efffde;
  font-size: 12px;
}

.lockin-task-node__progress-bar {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.lockin-task-node__progress-bar span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #65ff28, #d8ff72);
  box-shadow: 0 0 16px rgba(111,255,51,0.22);
}

.lockin-task-node__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lockin-task-node__action,
.lockin-task-node__claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lockin-task-node__action {
  border: 1px solid rgba(154,255,112,0.1);
  background: rgba(8, 22, 19, 0.72);
  color: #eaffc3;
}

.lockin-task-node__action--primary,
.lockin-task-node__claim {
  border: 1px solid rgba(173,255,110,0.16);
  background: linear-gradient(180deg, #dfff67 0%, #98ff23 100%);
  color: #173100;
  box-shadow: 0 14px 28px rgba(141,255,40,0.16);
}

.lockin-task-node__claimed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(160,255,111,0.1);
  background: rgba(8, 28, 19, 0.7);
  color: #cbff90;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* History / notifications / news / profile */
.lockin-history-item,
.lockin-notification-item,
.lockin-news-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(139,255,95,0.09);
  background: linear-gradient(180deg, rgba(8, 24, 22, 0.96), rgba(4, 13, 14, 0.99));
}

.lockin-history-item__icon,
.lockin-notification-item__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(96,255,62,0.16), rgba(10,58,22,0.18));
  font-size: 20px;
}

.lockin-history-item__copy,
.lockin-notification-item__body {
  min-width: 0;
  flex: 1 1 auto;
}

.lockin-history-item__title,
.lockin-notification-item__title,
.lockin-news-item__title {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  color: #f2ffe3;
}

.lockin-history-item__meta,
.lockin-notification-item__text,
.lockin-news-item__text,
.lockin-news-item__date {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(224,255,196,0.6);
}

.lockin-history-item__side {
  min-width: 92px;
  text-align: right;
}

.lockin-history-item__amount {
  font-size: 15px;
  font-weight: 900;
  color: #f2ffe3;
}

.lockin-history-item.tone-positive .lockin-history-item__amount {
  color: #9fff52;
}

.lockin-history-item.tone-negative .lockin-history-item__amount {
  color: #ffcb62;
}

.lockin-history-item__status,
.tx-status,
.status-completed,
.status-pending,
.status-failed,
.status-canceled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  margin-top: 6px;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lockin-notification-item__time {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(224,255,196,0.46);
}

.lockin-news-item {
  flex-direction: column;
}

.lockin-profile-card__identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lockin-profile-card__avatar {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(98,255,57,0.18), rgba(8,51,18,0.18));
  color: #efffde;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.lockin-profile-card__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.lockin-profile-card__copy {
  min-width: 0;
}

.lockin-profile-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  color: #f2ffe4;
}

.lockin-profile-card__username,
.lockin-profile-card__id {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(224,255,196,0.58);
}

/* Existing page overrides so the rest of the app follows the new shell */
.wallet-card,
.wallet-action-tile,
.wallet-method-pill,
.funding-method-card,
.referrals-panel,
.faq-hero,
.faq-section,
.faq-contact-card,
.support-ticket-modal,
.ticket-item,
.notif-item,
.news-item,
.tx-item,
.reactor-plan-card,
.reactor-owned-card,
.reactor-empty-panel,
.withdraw-card,
.withdraw-history-card,
.withdraw-quote-card,
.deposit-plan-card,
.deposit-result-card,
.deposit-info-card,
.deposit-address-box,
.deposit-stage,
.plan-purchase-modal {
  border-color: rgba(132,255,98,0.1) !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(95,255,58,0.09) 0%, rgba(95,255,58,0) 28%),
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.012) 100%),
    linear-gradient(180deg, rgba(6, 21, 25, 0.98) 0%, rgba(3, 12, 16, 0.99) 100%) !important;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

.wallet-hub,
.withdraw-hero,
.referrals-hero,
.mining-hero {
  border-radius: 28px;
  border: 1px solid rgba(132,255,98,0.12);
  background:
    radial-gradient(circle at 80% 0%, rgba(220,255,154,0.12) 0%, rgba(220,255,154,0) 30%),
    radial-gradient(circle at 16% 10%, rgba(95,255,58,0.11) 0%, rgba(95,255,58,0) 28%),
    linear-gradient(180deg, rgba(8, 28, 29, 0.98) 0%, rgba(4, 15, 18, 0.99) 100%);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.wallet-page__content,
.withdraw-page__content,
.referrals-page__content,
.faq-page__content,
.mining-page-content,
.page-content {
  gap: 14px;
}

.ticket-item,
.notif-item,
.news-item,
.tx-item {
  border-radius: 20px;
}

@media (max-width: 560px) {
  .lockin-panel-metrics,
  .lockin-rewards-command__grid,
  .lockin-profile-nav__grid {
    grid-template-columns: 1fr;
  }

  .lockin-task-node__top {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .lockin-task-node__reward {
    grid-column: 2;
    min-width: 0;
    text-align: left;
  }

  .lockin-panel-hero__title {
    font-size: 28px;
  }
}

/* ── LOCK//IN Interior Rebuild Overrides ───────────────────── */
body.lockin-interior-shell .top-bar,
#app.lockin-interior-shell > .top-bar {
  display: none;
}

body.lockin-interior-shell .page,
#app.lockin-interior-shell .page {
  padding-top: 0;
}

body.lockin-interior-shell .page-header,
#app.lockin-interior-shell .page-header {
  margin-top: max(12px, env(safe-area-inset-top));
}

body.lockin-interior-shell .page-content,
#app.lockin-interior-shell .page-content {
  padding-top: 12px;
}

.lockin-panel-header__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(155,255,108,0.12);
  background: rgba(8, 22, 19, 0.72);
  color: #eaffc3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lockin-command-row,
.lockin-ref-hub__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lockin-command-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(138,255,98,0.11);
  background:
    radial-gradient(circle at 100% 0%, rgba(215,255,146,0.08) 0%, rgba(215,255,146,0) 36%),
    linear-gradient(180deg, rgba(9, 28, 24, 0.96), rgba(4, 14, 15, 0.99));
  color: #efffde;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.lockin-command-card.is-accent {
  border-color: rgba(163,255,103,0.18);
  box-shadow: 0 0 0 1px rgba(95,255,46,0.04), inset 0 1px 0 rgba(255,255,255,0.04);
}

.lockin-command-card.is-gold {
  border-color: rgba(255,214,63,0.18);
}

.lockin-command-card:disabled {
  opacity: 0.46;
}

.lockin-command-card__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(104,255,71,0.18), rgba(12,61,25,0.18));
  color: #daffba;
}

.lockin-command-card__icon .deposit-ui-icon,
.lockin-command-card__icon .ref-icon,
.lockin-method-option__icon .payment-method-icon,
.lockin-method-line__icon .payment-method-icon,
.lockin-pulse-item__icon .deposit-ui-icon,
.lockin-pulse-item__icon .ref-icon,
.lockin-reactor-plan__cta .deposit-ui-icon,
.lockin-reactor-plan__cta .ref-icon {
  width: 18px;
  height: 18px;
}

.lockin-command-card__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lockin-command-card__copy strong {
  font-size: 14px;
  line-height: 1.1;
  color: #f4ffe6;
}

.lockin-command-card__copy span {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(224,255,196,0.58);
}

.lockin-stat-grid,
.lockin-ref-levels__grid,
.lockin-pulse-summary__grid,
.lockin-owned-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lockin-stat-tile,
.lockin-pulse-summary__card,
.lockin-reactor-note {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(147,255,102,0.1);
  background: rgba(7, 20, 18, 0.78);
}

.lockin-stat-tile span,
.lockin-pulse-summary__card span,
.lockin-ref-level-card__label,
.lockin-reactor-note span,
.lockin-terminal-field > span,
.lockin-payment-receipt__copy span,
.lockin-payment-receipt__status-text,
.lockin-method-line__body span,
.lockin-ref-balance__copy span,
.lockin-ref-note__text,
.lockin-flow-item__meta,
.lockin-owned-card__meta,
.lockin-owned-card__stat span,
.lockin-reactor-plan__desc,
.lockin-reactor-plan__stat span,
.lockin-ref-member__stat span,
.lockin-ref-member__meta,
.lockin-pulse-item__text,
.lockin-pulse-item__meta {
  color: rgba(224,255,196,0.62);
}

.lockin-stat-tile strong,
.lockin-pulse-summary__card strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  color: #f2ffe4;
}

.lockin-method-list,
.lockin-method-stack,
.lockin-flow-list,
.lockin-ref-directory__list,
.lockin-pulse-list,
.lockin-owned-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lockin-method-line,
.lockin-method-option,
.lockin-flow-item,
.lockin-ref-member,
.lockin-pulse-item,
.lockin-owned-card {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(139,255,95,0.1);
  background: linear-gradient(180deg, rgba(8, 24, 22, 0.96), rgba(4, 13, 14, 0.99));
}

.lockin-method-option {
  width: 100%;
  text-align: left;
}

.lockin-method-option.is-selected {
  border-color: rgba(159,255,108,0.18);
  box-shadow: 0 0 0 1px rgba(95,255,46,0.05);
}

.lockin-method-option__icon,
.lockin-method-line__icon,
.lockin-flow-item__icon,
.lockin-pulse-item__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(96,255,62,0.16), rgba(10,58,22,0.18));
  color: #daffba;
}

.lockin-method-option__body,
.lockin-method-line__body,
.lockin-flow-item__copy,
.lockin-pulse-item__body,
.lockin-ref-member__main {
  min-width: 0;
  flex: 1 1 auto;
}

.lockin-method-option__body strong,
.lockin-method-line__body strong,
.lockin-flow-item__title,
.lockin-ref-member__name,
.lockin-pulse-item__title,
.lockin-ref-balance__copy strong,
.lockin-reactor-plan__title,
.lockin-owned-card__title,
.lockin-payment-receipt__status-title {
  font-size: 15px;
  line-height: 1.18;
  font-weight: 800;
  color: #f3ffe5;
}

.lockin-method-option__rail,
.lockin-method-line__meta,
.lockin-payment-receipt__chip,
.lockin-ref-member__level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(160,255,111,0.12);
  background: rgba(8, 28, 19, 0.74);
  color: #cbff90;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lockin-method-line__meta {
  flex-direction: column;
  gap: 4px;
  min-width: 62px;
}

.lockin-terminal-card,
.lockin-payment-receipt,
.lockin-ref-hub,
.lockin-ref-balance,
.lockin-ref-directory-card {
  overflow: hidden;
}

.lockin-terminal-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lockin-terminal-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lockin-terminal-field small,
.lockin-ref-directory__meta,
.lockin-pulse-item__time,
.lockin-pulse-item__meta,
.lockin-flow-item__meta,
.lockin-owned-card__expires {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(224,255,196,0.56);
}

.lockin-terminal-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 18px;
  border: 1px solid rgba(145,255,105,0.1);
  background: rgba(6, 18, 16, 0.84);
}

.lockin-terminal-input .form-input {
  padding-left: 0;
  padding-right: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.lockin-terminal-input__icon {
  width: 18px;
  height: 18px;
  color: #cbff90;
  display: inline-flex;
}

.lockin-note-card {
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid rgba(159,255,107,0.1);
  background: rgba(9, 26, 22, 0.72);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(227,255,197,0.7);
}

.lockin-quote-grid__cells {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lockin-quote-grid__placeholder {
  padding: 14px;
  border-radius: 18px;
  border: 1px dashed rgba(154,255,113,0.16);
  background: rgba(6, 18, 16, 0.56);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(224,255,196,0.6);
}

.lockin-quote-cell {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(145,255,105,0.1);
  background: rgba(6, 18, 16, 0.8);
}

.lockin-quote-cell span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(224,255,196,0.52);
}

.lockin-quote-cell strong {
  display: block;
  margin-top: 7px;
  font-size: 16px;
  line-height: 1.2;
  color: #f4ffe6;
}

.lockin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lockin-inline-actions > * {
  flex: 1 1 180px;
}

.lockin-trust-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lockin-trust-card__item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(145,255,105,0.1);
  background: rgba(7, 20, 18, 0.76);
  color: rgba(227,255,197,0.72);
  font-size: 13px;
  line-height: 1.55;
}

.lockin-trust-card__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(96,255,62,0.16), rgba(10,58,22,0.18));
}

.lockin-deposit-focus {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(170,255,112,0.14);
  background: rgba(8, 22, 19, 0.7);
}

.lockin-deposit-focus__title {
  font-size: 14px;
  font-weight: 800;
  color: #f4ffe6;
}

.lockin-deposit-focus__value {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  color: #deff8d;
}

.lockin-deposit-focus__note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(227,255,197,0.64);
}

.lockin-payment-receipt {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lockin-payment-receipt__status,
.lockin-payment-receipt__address {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(155,255,108,0.1);
  background: rgba(8, 22, 19, 0.72);
}

.lockin-payment-receipt__hero {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.lockin-payment-receipt__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(105,255,72,0.16), rgba(13,63,26,0.18));
}

.lockin-payment-receipt__copy strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  line-height: 1;
  color: #efffde;
}

.lockin-payment-receipt__note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(227,255,197,0.66);
}

.lockin-payment-receipt__address-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(227,255,197,0.72);
}

.lockin-payment-receipt__address-value {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-all;
  color: #f4ffe6;
}

.lockin-payment-receipt__qr {
  display: flex;
  justify-content: center;
}

.lockin-payment-receipt__qr img {
  width: min(220px, 62vw);
  height: auto;
  border-radius: 24px;
  background: #fff;
  padding: 10px;
}

.lockin-payment-receipt__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lockin-payment-receipt__timer,
.lockin-payment-receipt__waiting {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(160,255,111,0.1);
  background: rgba(8, 28, 19, 0.72);
  color: #daffba;
  font-size: 12px;
  font-weight: 700;
}

.lockin-ref-hub__layout,
.lockin-ref-balance__row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lockin-ref-hub__link {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(159,255,107,0.14);
  background: rgba(7, 20, 18, 0.8);
  font-size: 14px;
  line-height: 1.55;
  color: #f1ffe1;
  word-break: break-all;
}

.lockin-ref-balance__copy strong {
  display: block;
  margin-bottom: 6px;
}

.lockin-ref-level-card {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(145,255,105,0.1);
  background: linear-gradient(180deg, rgba(8, 24, 22, 0.96), rgba(4, 13, 14, 0.99));
}

.lockin-ref-level-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lockin-ref-level-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(98,255,57,0.14);
  color: #e3ffb0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.lockin-ref-level-card__top strong,
.lockin-ref-member__profit {
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  color: #efffde;
}

.lockin-ref-level-card__count {
  margin-top: 12px;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  color: #dbff8a;
}

.lockin-ref-level-card__meta {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
}

.lockin-ref-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.lockin-ref-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(156,255,111,0.1);
  background: rgba(8, 22, 19, 0.72);
  color: rgba(237,255,212,0.76);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lockin-ref-filter-chip.is-active {
  background: linear-gradient(180deg, #dfff67 0%, #98ff23 100%);
  color: #173100;
  border-color: rgba(173,255,110,0.18);
}

.lockin-ref-note {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.lockin-ref-note__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(105,255,72,0.16), rgba(13,63,26,0.18));
  color: #daffba;
}

.lockin-ref-directory__pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.lockin-ref-directory__page {
  font-size: 12px;
  color: rgba(224,255,196,0.58);
}

.lockin-ref-member {
  flex-direction: column;
}

.lockin-ref-member__top,
.lockin-ref-member__identity,
.lockin-owned-card__top,
.lockin-pulse-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.lockin-ref-member__identity {
  flex: 1 1 auto;
  min-width: 0;
}

.lockin-ref-member__avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(104,255,71,0.18), rgba(12,61,25,0.18));
  color: #efffde;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.lockin-ref-member__stats,
.lockin-owned-card__stats,
.lockin-reactor-plan__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lockin-ref-member__stat,
.lockin-owned-card__stat,
.lockin-reactor-plan__stat {
  padding: 12px;
  border-radius: 16px;
  background: rgba(6, 18, 16, 0.78);
}

.lockin-ref-member__stat strong,
.lockin-owned-card__stat strong,
.lockin-reactor-plan__stat strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.2;
  color: #f3ffe5;
}

.lockin-pulse-list {
  gap: 0;
}

.lockin-pulse-item {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  padding-left: 24px;
}

.lockin-pulse-item:first-child {
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  border-top: 1px solid rgba(139,255,95,0.1);
}

.lockin-pulse-item:last-child {
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}

.lockin-pulse-item__line {
  position: absolute;
  left: 13px;
  top: -1px;
  bottom: -1px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(132,255,94,0), rgba(132,255,94,0.5), rgba(132,255,94,0));
}

.lockin-pulse-item__time {
  white-space: nowrap;
}

.lockin-pulse-item__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Futuristic notifications */
.notif-ref-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(95,255,58,0.14), rgba(95,255,58,0) 30%),
    radial-gradient(circle at 82% 22%, rgba(48,255,189,0.1), rgba(48,255,189,0) 32%),
    #041112;
}

.notif-ref-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 14px;
  padding-bottom: 24px;
}

.notif-ref-hero {
  position: relative;
  overflow: hidden;
  min-height: 252px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: 30px;
  border: 1px solid rgba(128,255,93,0.18);
  background:
    radial-gradient(circle at 18% 12%, rgba(217,255,45,0.18), rgba(217,255,45,0) 34%),
    radial-gradient(circle at 86% 16%, rgba(55,255,196,0.2), rgba(55,255,196,0) 32%),
    linear-gradient(145deg, rgba(8, 34, 28, 0.98), rgba(3, 13, 16, 0.99));
  box-shadow:
    0 24px 48px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 38px rgba(92,255,58,0.08);
}

.notif-ref-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(255,255,255,0.055) 46%, transparent 52%),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 9px);
  opacity: 0.48;
  pointer-events: none;
}

.notif-ref-hero__copy,
.notif-ref-hero__radar,
.notif-ref-hero__stats {
  position: relative;
  z-index: 1;
}

.notif-ref-hero__copy {
  min-width: 0;
}

.notif-ref-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  border: 1px solid rgba(157,255,93,0.18);
  background: rgba(5, 22, 19, 0.66);
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d9ff2d;
}

.notif-ref-hero__eyebrow .notif-ref-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
}

.notif-ref-hero__eyebrow .notif-ref-icon img {
  width: 14px;
  height: 14px;
}

.notif-ref-hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 8vw, 64px);
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-transform: uppercase;
  color: #f6ffe9;
  text-shadow: 0 0 24px rgba(169,255,81,0.16);
}

.notif-ref-hero p {
  max-width: 420px;
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.42;
  color: rgba(230,255,214,0.7);
}

.notif-ref-hero__radar {
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(217,255,45,0.12) 0 12%, transparent 13%),
    repeating-radial-gradient(circle, rgba(159,255,85,0.2) 0 1px, transparent 1px 24px),
    rgba(5, 22, 19, 0.52);
  box-shadow:
    inset 0 0 24px rgba(159,255,85,0.12),
    0 0 34px rgba(159,255,85,0.16);
}

.notif-ref-hero__radar span {
  position: absolute;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(156,255,54,0.26);
  border-radius: inherit;
}

.notif-ref-hero__radar span:nth-child(2) {
  width: 46px;
  height: 46px;
}

.notif-ref-hero__radar i {
  width: 58px;
  height: 2px;
  transform-origin: 0 50%;
  transform: translateX(29px) rotate(0deg);
  border-radius: 999px;
  background: linear-gradient(90deg, #9cff36, transparent);
  animation: notifRadar 4s linear infinite;
}

@keyframes notifRadar {
  to { transform: translateX(29px) rotate(360deg); }
}

.notif-ref-hero__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.notif-ref-hero__stats article,
.notif-ref-category,
.notif-ref-stream,
.notif-ref-item,
.notif-ref-empty {
  border: 1px solid rgba(138,255,95,0.12);
  background:
    radial-gradient(circle at 14% 0%, rgba(128,255,93,0.09), rgba(128,255,93,0) 42%),
    rgba(5, 20, 18, 0.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.notif-ref-hero__stats article {
  min-height: 66px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px;
  border-radius: 18px;
}

.notif-ref-hero__stats article.is-hot {
  border-color: rgba(217,255,45,0.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 0 24px rgba(217,255,45,0.08);
}

.notif-ref-hero__stats span,
.notif-ref-category span,
.notif-ref-stream__head span,
.notif-ref-item__top span,
.notif-ref-item__meta {
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 0.95;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(230,255,214,0.54);
}

.notif-ref-hero__stats strong {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #f5ffe9;
}

.notif-ref-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.notif-ref-category {
  min-height: 108px;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 12px;
  border-radius: 22px;
}

.notif-ref-category > .notif-ref-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

.notif-ref-category > .notif-ref-icon img {
  width: 20px;
  height: 20px;
}

.notif-ref-category strong {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 0.86;
  letter-spacing: -0.055em;
  color: #f6ffe9;
}

.notif-ref-stream {
  overflow: hidden;
  padding: 14px;
  border-radius: 26px;
}

.notif-ref-stream__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.notif-ref-stream__head h2 {
  max-width: 280px;
  margin: 5px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #f5ffe9;
}

.notif-ref-stream__head strong {
  flex: 0 0 auto;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(157,255,93,0.16);
  background: rgba(4, 18, 16, 0.74);
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #d9ff2d;
}

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

.notif-ref-item {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 20px;
}

.notif-ref-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 62%, rgba(255,255,255,0.035), transparent 78%);
  pointer-events: none;
}

.notif-ref-item.is-unread {
  border-color: rgba(217,255,45,0.28);
  background:
    radial-gradient(circle at 18% 0%, rgba(217,255,45,0.14), rgba(217,255,45,0) 42%),
    rgba(7, 25, 20, 0.88);
}

.notif-ref-item__beam {
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: #9cff36;
  box-shadow: 0 0 14px rgba(156,255,54,0.54);
}

.notif-ref-item.tone-money .notif-ref-item__beam {
  background: #5ad9ff;
  box-shadow: 0 0 14px rgba(90,217,255,0.5);
}

.notif-ref-item.tone-error .notif-ref-item__beam {
  background: #ff526b;
  box-shadow: 0 0 14px rgba(255,82,107,0.5);
}

.notif-ref-item__icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 16px;
}

.notif-ref-item__body {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 6px;
}

.notif-ref-item__top,
.notif-ref-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.notif-ref-item__top time {
  flex: 0 0 auto;
  font-size: 11px;
  color: rgba(230,255,214,0.5);
}

.notif-ref-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: #f5ffe9;
}

.notif-ref-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.38;
  color: rgba(230,255,214,0.68);
}

.notif-ref-item__meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 2px;
}

.notif-ref-item__meta b {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(217,255,45,0.12);
  color: #d9ff2d;
  font-size: 9px;
  line-height: 1;
}

.notif-ref-empty {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 24px 16px;
  border-radius: 22px;
  text-align: center;
}

.notif-ref-empty strong {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: #f5ffe9;
}

.notif-ref-empty span {
  max-width: 280px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(230,255,214,0.62);
}

@media (max-width: 560px) {
  #toast-container {
    top: 58px;
    width: calc(100% - 18px);
  }

  .toast {
    min-height: 66px;
    padding: 10px 12px 10px 10px;
    border-radius: 18px;
  }

  .toast-orb {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .toast .notif-ref-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .toast .notif-ref-icon img {
    width: 20px;
    height: 20px;
  }

  .toast-title {
    font-size: 13px;
  }

  .toast-message {
    font-size: 11px;
  }

  .notif-ref-content {
    gap: 12px;
    padding-top: 12px;
  }

  .notif-ref-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 10px;
    padding: 16px;
    border-radius: 24px;
  }

  .notif-ref-hero h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .notif-ref-hero p {
    font-size: 11px;
  }

  .notif-ref-hero__radar {
    width: 88px;
    height: 88px;
  }

  .notif-ref-hero__radar span {
    width: 62px;
    height: 62px;
  }

  .notif-ref-hero__radar span:nth-child(2) {
    width: 34px;
    height: 34px;
  }

  .notif-ref-hero__radar i {
    width: 42px;
    transform: translateX(21px) rotate(0deg);
  }

  @keyframes notifRadar {
    to { transform: translateX(21px) rotate(360deg); }
  }

  .notif-ref-hero__stats,
  .notif-ref-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .notif-ref-hero__stats article {
    min-height: 58px;
    padding: 10px 8px;
    border-radius: 15px;
  }

  .notif-ref-hero__stats span,
  .notif-ref-category span,
  .notif-ref-stream__head span,
  .notif-ref-item__top span,
  .notif-ref-item__meta {
    font-size: 8px;
  }

  .notif-ref-hero__stats strong {
    font-size: 20px;
  }

  .notif-ref-category {
    min-height: 92px;
    padding: 10px;
    border-radius: 18px;
  }

  .notif-ref-category > .notif-ref-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .notif-ref-category strong {
    font-size: 25px;
  }

  .notif-ref-stream {
    padding: 12px;
    border-radius: 22px;
  }

  .notif-ref-stream__head h2 {
    font-size: 18px;
  }

  .notif-ref-stream__head strong {
    min-height: 24px;
    padding-inline: 7px;
    font-size: 9px;
  }

  .notif-ref-item {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    border-radius: 17px;
  }

  .notif-ref-item__icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .notif-ref-item__icon img {
    width: 20px;
    height: 20px;
  }

  .notif-ref-item h3 {
    font-size: 15px;
  }

  .notif-ref-item p {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .notif-ref-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .notif-ref-hero__radar {
    display: none;
  }
}

.lockin-reactor-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lockin-reactor-tabs__btn {
  min-height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(145,255,105,0.1);
  background: rgba(8, 22, 19, 0.72);
  color: rgba(237,255,212,0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lockin-reactor-tabs__btn.is-active {
  background: linear-gradient(180deg, #dfff67 0%, #98ff23 100%);
  color: #173100;
  border-color: rgba(173,255,110,0.16);
}

.lockin-mining-page #mining-content {
  padding-top: 16px;
}

.lockin-reactor-grid {
  display: grid;
  gap: 12px;
}

.lockin-reactor-plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(145,255,105,0.1);
  background:
    radial-gradient(circle at 100% 0%, rgba(215,255,146,0.08) 0%, rgba(215,255,146,0) 36%),
    linear-gradient(180deg, rgba(8, 24, 22, 0.96), rgba(4, 13, 14, 0.99));
}

.lockin-reactor-plan.is-featured {
  border-color: rgba(166,255,107,0.18);
  box-shadow: 0 0 0 1px rgba(95,255,46,0.04);
}

.lockin-reactor-plan__eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(227,255,197,0.58);
}

.lockin-reactor-plan__price {
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  color: #deff8d;
}

.lockin-reactor-plan__cta {
  min-height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(173,255,110,0.16);
  background: linear-gradient(180deg, #dfff67 0%, #98ff23 100%);
  color: #173100;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lockin-reactor-notes {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.lockin-reactor-note strong {
  display: block;
  margin-bottom: 6px;
  color: #f3ffe5;
}

.lockin-reactor-empty {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lockin-owned-card {
  flex-direction: column;
}

.lockin-owned-card__progress {
  position: relative;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.lockin-owned-card__progress span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #65ff28, #d8ff72);
  box-shadow: 0 0 16px rgba(111,255,51,0.22);
}

.miners-ref-page {
  min-height: 100%;
  color: #f4ffe7;
}

.miners-ref-page__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 24px 116px;
}

.miners-ref-icon {
  display: inline-grid;
  place-items: center;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.miners-ref-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.miners-ref-hero,
.miners-ref-quick,
.miners-ref-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(142, 255, 76, 0.16);
  background:
    radial-gradient(circle at 18% 0%, rgba(164, 255, 61, 0.13), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(40, 255, 160, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(9, 29, 25, 0.96), rgba(3, 14, 15, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(233, 255, 210, 0.06);
}

.miners-ref-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
}

.miners-ref-hero::after,
.miners-ref-quick::after,
.miners-ref-section::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(206, 255, 80, 0.08) 42%, transparent 62%);
  opacity: 0.75;
}

.miners-ref-hero__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.miners-ref-hero__eyebrow,
.miners-ref-section__head span,
.miners-ref-quick__copy span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ccff1f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.miners-ref-hero__eyebrow .miners-ref-icon,
.miners-ref-section__head .miners-ref-icon {
  width: 17px;
  height: 17px;
  filter: drop-shadow(0 0 9px rgba(205, 255, 31, 0.45));
}

.miners-ref-hero h2,
.miners-ref-section__head h3,
.miners-ref-quick__copy h3 {
  margin: 7px 0 0;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #f8ffe9;
  text-shadow: 0 0 18px rgba(205, 255, 31, 0.12);
}

.miners-ref-hero p,
.miners-ref-quick__copy p {
  margin: 8px 0 0;
  max-width: 260px;
  color: rgba(224, 239, 221, 0.68);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.miners-ref-hero__orb {
  position: relative;
  z-index: 1;
  align-self: start;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 28px;
  color: #dfff67;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(46, 255, 67, 0.22), rgba(4, 18, 16, 0.92));
  border: 1px solid rgba(166, 255, 107, 0.2);
  box-shadow: 0 0 28px rgba(125, 255, 53, 0.2);
}

.miners-ref-hero__orb .miners-ref-icon {
  width: 42px;
  height: 42px;
}

.miners-ref-hero__stats {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.miners-ref-hero__stats article,
.miners-ref-plan__metrics span,
.miners-ref-active-card__stats span {
  border: 1px solid rgba(156, 255, 98, 0.1);
  background: rgba(1, 13, 14, 0.52);
}

.miners-ref-hero__stats article {
  min-width: 0;
  padding: 10px 9px;
  border-radius: 18px;
}

.miners-ref-hero__stats span,
.miners-ref-hero__stats em,
.miners-ref-plan__metrics em,
.miners-ref-active-card__stats em {
  display: block;
  color: rgba(214, 231, 212, 0.52);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.miners-ref-hero__stats strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #f7ffe9;
  font-size: 17px;
  line-height: 1;
  font-weight: 950;
  text-overflow: ellipsis;
}

.miners-ref-quick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 24px;
}

.miners-ref-quick--my {
  border-color: rgba(213, 255, 77, 0.24);
  background:
    radial-gradient(circle at 12% 18%, rgba(213, 255, 77, 0.18), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(75, 255, 157, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(11, 35, 27, 0.98), rgba(2, 13, 15, 0.99));
}

.miners-ref-quick--my .miners-ref-quick__cta {
  min-width: 112px;
}

.miners-ref-quick__copy,
.miners-ref-quick__cta {
  position: relative;
  z-index: 1;
}

.miners-ref-quick__copy h3 {
  font-size: 20px;
}

.miners-ref-quick__cta,
.miners-ref-plan__cta,
.miners-ref-empty__cta,
.miners-ref-section__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(202, 255, 63, 0.22);
  background: linear-gradient(180deg, #dfff67 0%, #9cff19 100%);
  color: #173100;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 26px rgba(122, 255, 43, 0.18);
}

.miners-ref-quick__cta {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 17px;
  font-size: 11px;
  white-space: nowrap;
}

.miners-ref-quick__cta .miners-ref-icon {
  width: 15px;
  height: 15px;
}

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

.miners-ref-tabs__item {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 76px;
  padding: 12px;
  border-radius: 24px 24px 12px 12px;
  border: 1px solid rgba(142, 255, 76, 0.14);
  background:
    radial-gradient(circle at 18% 0%, rgba(142, 255, 76, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(6, 25, 24, 0.9), rgba(1, 11, 14, 0.96));
  color: rgba(241, 255, 229, 0.7);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(236, 255, 214, 0.04);
}

.miners-ref-tabs__item::after {
  content: "";
  position: absolute;
  inset: auto 12px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: rgba(204, 255, 31, 0);
  box-shadow: none;
}

.miners-ref-tabs__item > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  border-radius: 12px;
  color: #dfff67;
  background: rgba(142, 255, 76, 0.1);
  border: 1px solid rgba(142, 255, 76, 0.16);
}

.miners-ref-tabs__item strong,
.miners-ref-tabs__item em {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.miners-ref-tabs__item strong {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #f8ffe9;
}

.miners-ref-tabs__item em {
  margin-top: 5px;
  color: rgba(220, 237, 216, 0.52);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.miners-ref-tabs__item.is-active {
  border-color: rgba(213, 255, 77, 0.42);
  background:
    radial-gradient(circle at 14% 0%, rgba(213, 255, 77, 0.22), transparent 42%),
    radial-gradient(circle at 90% 100%, rgba(88, 255, 153, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(13, 42, 28, 0.98), rgba(2, 14, 14, 0.99));
  box-shadow: 0 16px 34px rgba(92, 255, 42, 0.12), inset 0 1px 0 rgba(241, 255, 216, 0.07);
}

.miners-ref-tabs__item.is-active::after {
  background: #ccff1f;
  box-shadow: 0 0 18px rgba(204, 255, 31, 0.46);
}

.miners-ref-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 14px;
  border-radius: 26px;
}

.miners-ref-section__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.miners-ref-section__head h3 {
  font-size: 21px;
}

.miners-ref-section__head > em {
  flex: 0 0 auto;
  color: rgba(217, 236, 212, 0.55);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.miners-ref-section__link {
  position: relative;
  z-index: 1;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(21, 55, 36, 0.7);
  color: #ccff1f;
  box-shadow: none;
  font-size: 9px;
}

.miners-ref-plans {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  overflow: visible;
  margin: 0;
  padding: 0;
}

.miners-ref-plans::-webkit-scrollbar {
  display: none;
}

.miners-ref-plans.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;
}

.miners-ref-plan {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-height: 0;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(158, 255, 94, 0.13);
  background:
    radial-gradient(circle at 85% 0%, rgba(180, 255, 60, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(6, 28, 24, 0.97), rgba(2, 12, 15, 0.99));
}

.miners-ref-plan.tone-lime {
  border-color: rgba(209, 255, 38, 0.36);
  box-shadow: 0 0 0 1px rgba(209, 255, 38, 0.08), 0 0 32px rgba(117, 255, 48, 0.16);
}

.miners-ref-plan.tone-cyan {
  background: radial-gradient(circle at 88% 0%, rgba(57, 255, 232, 0.12), transparent 34%), linear-gradient(180deg, rgba(6, 28, 28, 0.97), rgba(2, 12, 15, 0.99));
}

.miners-ref-plan.tone-gold {
  background: radial-gradient(circle at 88% 0%, rgba(255, 214, 61, 0.13), transparent 34%), linear-gradient(180deg, rgba(31, 27, 8, 0.96), rgba(8, 13, 10, 0.99));
}

.miners-ref-plan.tone-violet {
  background: radial-gradient(circle at 88% 0%, rgba(171, 95, 255, 0.13), transparent 34%), linear-gradient(180deg, rgba(21, 12, 35, 0.96), rgba(7, 10, 18, 0.99));
}

.miners-ref-plan__shine {
  position: absolute;
  top: -36px;
  right: -38px;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  background: rgba(205, 255, 31, 0.12);
  filter: blur(24px);
}

.miners-ref-plan__top,
.miners-ref-plan__footer,
.miners-ref-active-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.miners-ref-plan__icon,
.miners-ref-active-card__icon,
.miners-ref-deposit-row__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #dfff67;
  background: rgba(142, 255, 76, 0.1);
  border: 1px solid rgba(142, 255, 76, 0.16);
}

.miners-ref-plan__icon .miners-ref-icon,
.miners-ref-active-card__icon .miners-ref-icon,
.miners-ref-deposit-row__icon .miners-ref-icon {
  width: 24px;
  height: 24px;
}

.miners-ref-plan__badge,
.miners-ref-active-card__head em,
.miners-ref-deposit-row__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(202, 255, 63, 0.18);
  background: rgba(202, 255, 63, 0.08);
  color: #dfff67;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.miners-ref-plan__name {
  color: #f9ffe9;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.miners-ref-plan__desc {
  min-height: 38px;
  color: rgba(220, 237, 216, 0.62);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.miners-ref-plan__price {
  color: #dfff67;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.miners-ref-plan__profit {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid rgba(208, 255, 44, 0.22);
  background:
    radial-gradient(circle at 24% 0%, rgba(219, 255, 47, 0.2), transparent 46%),
    linear-gradient(135deg, rgba(143, 255, 36, 0.12), rgba(16, 41, 24, 0.72));
  box-shadow: inset 0 1px 0 rgba(244, 255, 207, 0.08), 0 18px 34px rgba(144, 255, 35, 0.12);
}

.miners-ref-plan__profit-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 10px;
  border-radius: 16px;
  background: rgba(1, 14, 12, 0.48);
  border: 1px solid rgba(218, 255, 93, 0.08);
}

.miners-ref-plan__profit-item--primary {
  background:
    linear-gradient(180deg, rgba(221, 255, 42, 0.18), rgba(37, 68, 18, 0.28)),
    rgba(1, 14, 12, 0.5);
  border-color: rgba(221, 255, 42, 0.24);
}

.miners-ref-plan__profit-item em {
  color: rgba(232, 245, 220, 0.64);
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.miners-ref-plan__profit-item strong {
  overflow: hidden;
  color: #efff62;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(208, 255, 46, 0.24);
}

.miners-ref-plan__profit-item small {
  overflow: hidden;
  color: rgba(240, 255, 214, 0.66);
  font-size: 9px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.miners-ref-plan__metrics,
.miners-ref-active-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.miners-ref-plan__metrics span,
.miners-ref-active-card__stats span {
  min-width: 0;
  padding: 9px;
  border-radius: 14px;
}

.miners-ref-plan__metrics strong,
.miners-ref-active-card__stats strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #f8ffe9;
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.miners-ref-active-card__stat-profit {
  border-color: rgba(220, 255, 44, 0.2);
  background:
    radial-gradient(circle at 20% 0%, rgba(220, 255, 44, 0.18), transparent 48%),
    rgba(144, 255, 48, 0.08);
  box-shadow: inset 0 1px 0 rgba(244, 255, 207, 0.06);
}

.miners-ref-active-card__stat-profit strong {
  color: #efff62;
  text-shadow: 0 0 16px rgba(208, 255, 46, 0.2);
}

.miners-ref-plan__footer {
  margin-top: auto;
}

.miners-ref-plan__footer > span {
  color: rgba(224, 239, 221, 0.62);
  font-size: 10px;
  font-weight: 800;
}

.miners-ref-plan__cta {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 9px;
  white-space: nowrap;
}

.miners-ref-active-grid,
.miners-ref-deposit-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.miners-ref-active-summary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.miners-ref-active-summary article {
  min-width: 0;
  padding: 10px 9px;
  border-radius: 16px;
  border: 1px solid rgba(156, 255, 98, 0.11);
  background: rgba(1, 13, 14, 0.56);
}

.miners-ref-active-summary span,
.miners-ref-active-card__hero span,
.miners-ref-active-card__hero em,
.miners-ref-active-card__timeline span {
  display: block;
  color: rgba(214, 231, 212, 0.52);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.miners-ref-active-summary strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #f7ffe9;
  font-size: 16px;
  line-height: 1;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.miners-ref-active-card,
.miners-ref-deposit-row,
.miners-ref-empty {
  border: 1px solid rgba(142, 255, 76, 0.12);
  background: rgba(2, 17, 17, 0.72);
}

.miners-ref-active-card {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border-radius: 22px;
}

.miners-ref-active-card--premium {
  background:
    radial-gradient(circle at 16% 0%, rgba(213, 255, 77, 0.12), transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(71, 255, 156, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(5, 28, 24, 0.92), rgba(1, 12, 14, 0.98));
  box-shadow: inset 0 1px 0 rgba(237, 255, 214, 0.05), 0 14px 30px rgba(0, 0, 0, 0.18);
}

.miners-ref-active-card__beam {
  position: absolute;
  top: -46px;
  right: -38px;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: rgba(213, 255, 77, 0.13);
  filter: blur(22px);
  pointer-events: none;
}

.miners-ref-active-card__head {
  position: relative;
  z-index: 1;
  align-items: flex-start;
}

.miners-ref-active-card__head > div {
  min-width: 0;
  margin-right: auto;
}

.miners-ref-active-card__head strong {
  display: block;
  overflow: hidden;
  color: #f7ffe9;
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.miners-ref-active-card__head span {
  display: block;
  margin-top: 3px;
  color: rgba(220, 237, 216, 0.58);
  font-size: 10px;
  font-weight: 800;
}

.miners-ref-active-card__hero {
  position: relative;
  z-index: 1;
  margin: 13px 0 10px;
  padding: 13px;
  border-radius: 18px;
  border: 1px solid rgba(213, 255, 77, 0.16);
  background:
    radial-gradient(circle at 18% 10%, rgba(213, 255, 77, 0.12), transparent 44%),
    rgba(1, 13, 14, 0.62);
}

.miners-ref-active-card__hero strong {
  display: block;
  margin-top: 5px;
  color: #dfff67;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.miners-ref-active-card__hero em {
  margin-top: 5px;
  color: rgba(220, 237, 216, 0.58);
  font-style: normal;
}

.miners-ref-active-card__progress {
  position: relative;
  z-index: 1;
  height: 7px;
  margin: 12px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 8, 10, 0.7);
}

.miners-ref-active-card__progress span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #66ff34, #dfff67);
  box-shadow: 0 0 18px rgba(124, 255, 55, 0.22);
}

.miners-ref-active-card__date {
  margin-top: 9px;
  color: rgba(220, 237, 216, 0.5);
  font-size: 10px;
  font-weight: 800;
}

.miners-ref-active-card__timeline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.miners-ref-active-card__timeline span:last-child {
  text-align: right;
}

.miners-ref-deposit-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  grid-template-areas:
    "icon copy amount"
    "icon copy status";
  align-items: center;
  gap: 5px 10px;
  padding: 10px;
  border-radius: 19px;
}

.miners-ref-deposit-row__icon {
  grid-area: icon;
}

.miners-ref-deposit-row__copy {
  grid-area: copy;
  min-width: 0;
}

.miners-ref-deposit-row__copy strong,
.miners-ref-deposit-row__copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.miners-ref-deposit-row__copy strong {
  color: #f7ffe9;
  font-size: 13px;
  font-weight: 950;
}

.miners-ref-deposit-row__copy em {
  margin-top: 3px;
  color: rgba(220, 237, 216, 0.52);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.miners-ref-deposit-row__amount {
  grid-area: amount;
  color: #dfff67;
  font-size: 14px;
  font-weight: 950;
}

.miners-ref-deposit-row__status {
  grid-area: status;
  justify-self: end;
  min-height: 20px;
  font-size: 7px;
}

.miners-ref-deposit-row__status.tone-success {
  color: #58ff65;
  background: rgba(35, 255, 82, 0.08);
}

.miners-ref-deposit-row__status.tone-warn {
  color: #ffd95d;
  background: rgba(255, 217, 93, 0.08);
}

.miners-ref-deposit-row__status.tone-danger {
  color: #ff6c7b;
  background: rgba(255, 86, 112, 0.08);
}

.miners-ref-empty {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 14px;
  border-radius: 22px;
  text-align: center;
}

.miners-ref-empty .miners-ref-icon {
  width: 30px;
  height: 30px;
  color: #dfff67;
}

.miners-ref-empty strong {
  color: #f7ffe9;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.miners-ref-empty span {
  max-width: 260px;
  color: rgba(220, 237, 216, 0.58);
  font-size: 11px;
  font-weight: 750;
}

.miners-ref-empty__cta {
  min-height: 34px;
  margin-top: 4px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 9px;
}

@media (max-width: 380px) {
  .miners-ref-page__content {
    gap: 13px;
    padding: 14px 18px 108px;
  }

  .miners-ref-hero {
    grid-template-columns: minmax(0, 1fr) 66px;
    padding: 14px;
    border-radius: 24px;
  }

  .miners-ref-hero h2 {
    font-size: 24px;
  }

  .miners-ref-hero__orb {
    width: 64px;
    height: 64px;
    border-radius: 22px;
  }

  .miners-ref-hero__orb .miners-ref-icon {
    width: 34px;
    height: 34px;
  }

  .miners-ref-hero__stats {
    gap: 6px;
  }

  .miners-ref-hero__stats article {
    padding: 8px 7px;
    border-radius: 15px;
  }

  .miners-ref-hero__stats strong {
    font-size: 14px;
  }

  .miners-ref-quick {
    grid-template-columns: minmax(0, 1fr);
  }

  .miners-ref-quick__cta {
    width: 100%;
  }

  .miners-ref-quick--my .miners-ref-quick__cta {
    min-width: 0;
  }

  .miners-ref-section__head {
    align-items: flex-start;
  }

  .miners-ref-section__head h3 {
    font-size: 18px;
  }

  .miners-ref-plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .miners-ref-plan__name {
    font-size: 21px;
  }

  .miners-ref-plan__profit {
    grid-template-columns: minmax(0, 1fr);
  }

  .miners-ref-plan__profit-item strong {
    font-size: 20px;
  }

  .miners-ref-deposit-row {
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-areas:
      "icon copy"
      "icon amount"
      "icon status";
  }

  .miners-ref-deposit-row__status,
  .miners-ref-deposit-row__amount {
    justify-self: start;
  }
}

.lockin-flow-item__side {
  min-width: 98px;
  text-align: right;
}

.lockin-flow-item__amount {
  font-size: 15px;
  font-weight: 900;
  color: #f2ffe3;
}

.lockin-flow-item__amount.is-negative {
  color: #ffcb62;
}

@media (max-width: 560px) {
  .lockin-command-row,
  .lockin-ref-hub__actions,
  .lockin-stat-grid,
  .lockin-ref-levels__grid,
  .lockin-pulse-summary__grid,
  .lockin-quote-grid__cells,
  .lockin-ref-member__stats,
  .lockin-owned-card__stats,
  .lockin-reactor-plan__stats,
  .lockin-owned-summary {
    grid-template-columns: 1fr;
  }

  .lockin-payment-receipt__hero,
  .lockin-ref-note {
    grid-template-columns: 1fr;
  }

  .lockin-payment-receipt__chip {
    justify-self: flex-start;
  }

  .lockin-ref-directory__pagination,
  .lockin-payment-receipt__footer {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ── Rewards Zero ──────────────────────────────────────────── */
.rewards-zero-page {
  background: transparent;
}

.rewards-zero-page__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-bottom: 26px;
}

.rewards-zero-hud {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 32px;
  border: 1px solid rgba(142,255,94,0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(216,255,132,0.14) 0%, rgba(216,255,132,0) 34%),
    radial-gradient(circle at 0% 24%, rgba(74,255,120,0.1) 0%, rgba(74,255,120,0) 28%),
    linear-gradient(180deg, rgba(8, 28, 29, 0.98) 0%, rgba(4, 15, 18, 0.99) 100%);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.rewards-zero-hud::after {
  content: '';
  position: absolute;
  inset: auto -14% -24% auto;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93,255,45,0.16) 0%, rgba(93,255,45,0) 72%);
  filter: blur(18px);
  pointer-events: none;
}

.rewards-zero-hud__grid,
.rewards-zero-hud__stats,
.rewards-zero-gateway,
.rewards-zero-zone__stream {
  position: relative;
  z-index: 1;
}

.rewards-zero-hud__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 14px;
  align-items: start;
}

.rewards-zero-hud__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(225,255,186,0.66);
}

.rewards-zero-hud__eyebrow svg,
.rewards-zero-gateway__icon svg,
.rewards-zero-ticket__sigil svg,
.rewards-zero-ticket__claim svg,
.rewards-zero-ticket__done svg {
  width: 18px;
  height: 18px;
}

.rewards-zero-hud__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(30px, 7vw, 40px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #f3ffe1;
}

.rewards-zero-hud__text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.58;
  color: rgba(224,255,195,0.7);
}

.rewards-zero-hud__vault {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(164,255,106,0.14);
  background:
    linear-gradient(180deg, rgba(223,255,103,0.12) 0%, rgba(223,255,103,0.02) 20%, rgba(0,0,0,0) 100%),
    rgba(6, 21, 17, 0.82);
}

.rewards-zero-hud__vault span,
.rewards-zero-hud__vault small,
.rewards-zero-hud__stat span,
.rewards-zero-zone__label,
.rewards-zero-ticket__type,
.rewards-zero-ticket__prize span,
.rewards-zero-ticket__meter-meta span,
.rewards-zero-ticket__band,
.rewards-zero-ticket__band-metric {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rewards-zero-hud__vault span,
.rewards-zero-hud__vault small,
.rewards-zero-hud__stat span {
  color: rgba(227,255,197,0.62);
}

.rewards-zero-hud__vault strong {
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  color: #deff8d;
}

.rewards-zero-hud__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.rewards-zero-hud__stat {
  padding: 13px;
  border-radius: 18px;
  border: 1px solid rgba(153,255,117,0.08);
  background: rgba(6, 19, 17, 0.78);
}

.rewards-zero-hud__stat strong {
  display: block;
  margin-top: 6px;
  font-size: 19px;
  line-height: 1;
  font-weight: 900;
  color: #f3ffe5;
}

.rewards-zero-gateway {
  display: grid;
  gap: 10px;
}

.rewards-zero-gateway__item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border-radius: 24px;
  border: 1px solid rgba(140,255,98,0.1);
  background:
    radial-gradient(circle at 100% 0%, rgba(226,255,176,0.08) 0%, rgba(226,255,176,0) 30%),
    linear-gradient(180deg, rgba(9, 28, 24, 0.94), rgba(4, 14, 15, 0.99));
  color: #f0ffe0;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.rewards-zero-gateway__icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(104,255,71,0.17), rgba(12,61,25,0.18));
  color: #daffba;
}

.rewards-zero-gateway__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rewards-zero-gateway__copy strong {
  font-size: 15px;
  line-height: 1.1;
  color: #f3ffe5;
}

.rewards-zero-gateway__copy span {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(224,255,196,0.58);
}

.rewards-zero-zone {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rewards-zero-zone__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.rewards-zero-zone__copy {
  min-width: 0;
}

.rewards-zero-zone__label {
  color: rgba(225,255,186,0.52);
}

.rewards-zero-zone__title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #f1ffe0;
}

.rewards-zero-zone__text {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(224,255,196,0.6);
}

.rewards-zero-zone__tally {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(162,255,112,0.12);
  background: rgba(8, 22, 19, 0.72);
  color: rgba(237,255,212,0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rewards-zero-zone__stream {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rewards-zero-ticket {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(139,255,95,0.1);
  background:
    radial-gradient(circle at 100% 0%, rgba(228,255,176,0.06) 0%, rgba(228,255,176,0) 34%),
    linear-gradient(180deg, rgba(8, 24, 22, 0.96), rgba(4, 13, 14, 0.99));
}

.rewards-zero-ticket.is-hot {
  border-color: rgba(160,255,110,0.18);
  box-shadow: 0 0 0 1px rgba(97,255,49,0.04);
}

.rewards-zero-ticket.is-closed {
  opacity: 0.82;
}

.rewards-zero-ticket__rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 100%;
  padding: 14px 12px;
  border-radius: 22px;
  background: rgba(7, 20, 18, 0.72);
}

.rewards-zero-ticket__rail.tone-gold {
  background: linear-gradient(180deg, rgba(68,54,12,0.94), rgba(27,22,8,0.98));
}

.rewards-zero-ticket__rail.tone-lime {
  background: linear-gradient(180deg, rgba(16,51,24,0.94), rgba(8,24,12,0.98));
}

.rewards-zero-ticket__rail.tone-cyan {
  background: linear-gradient(180deg, rgba(12,42,56,0.94), rgba(7,20,28,0.98));
}

.rewards-zero-ticket__rail.tone-blue {
  background: linear-gradient(180deg, rgba(12,30,59,0.94), rgba(8,17,30,0.98));
}

.rewards-zero-ticket__rail.tone-amber {
  background: linear-gradient(180deg, rgba(61,34,13,0.94), rgba(26,16,8,0.98));
}

.rewards-zero-ticket__rail.tone-violet {
  background: linear-gradient(180deg, rgba(42,18,59,0.94), rgba(19,11,29,0.98));
}

.rewards-zero-ticket__band,
.rewards-zero-ticket__band-metric {
  color: rgba(241,255,229,0.72);
}

.rewards-zero-ticket__core {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rewards-zero-ticket__top {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.rewards-zero-ticket__sigil {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(96,255,62,0.16), rgba(10,58,22,0.18));
  color: #daffba;
}

.rewards-zero-ticket__copy {
  min-width: 0;
}

.rewards-zero-ticket__type {
  color: rgba(224,255,196,0.52);
}

.rewards-zero-ticket__title {
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
  color: #f3ffe5;
}

.rewards-zero-ticket__desc {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.58;
  color: rgba(224,255,196,0.62);
}

.rewards-zero-ticket:not(.is-expanded) .rewards-zero-ticket__title,
.rewards-zero-ticket:not(.is-expanded) .rewards-zero-ticket__desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.rewards-zero-ticket:not(.is-expanded) .rewards-zero-ticket__title {
  -webkit-line-clamp: 2;
}

.rewards-zero-ticket:not(.is-expanded) .rewards-zero-ticket__desc {
  -webkit-line-clamp: 3;
}

.rewards-zero-ticket__prize {
  min-width: 92px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.rewards-zero-ticket__prize span {
  color: rgba(224,255,196,0.54);
}

.rewards-zero-ticket__prize strong {
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  color: #efffde;
}

.rewards-zero-ticket__expand {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbff90;
}

.rewards-zero-ticket__meter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rewards-zero-ticket__meter-track {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.rewards-zero-ticket__meter-track span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #65ff28, #d8ff72);
  box-shadow: 0 0 18px rgba(111,255,51,0.22);
}

.rewards-zero-ticket__meter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rewards-zero-ticket__meter-meta span {
  color: rgba(224,255,196,0.54);
}

.rewards-zero-ticket__meter-meta strong {
  font-size: 13px;
  font-weight: 800;
  color: #efffde;
}

.rewards-zero-ticket__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rewards-zero-ticket__action,
.rewards-zero-ticket__claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rewards-zero-ticket__action {
  border: 1px solid rgba(154,255,112,0.1);
  background: rgba(8, 22, 19, 0.72);
  color: #eaffc3;
}

.rewards-zero-ticket__action--ghost {
  background: rgba(8, 22, 19, 0.58);
}

.rewards-zero-ticket__action--primary,
.rewards-zero-ticket__claim {
  border: 1px solid rgba(173,255,110,0.16);
  background: linear-gradient(180deg, #dfff67 0%, #98ff23 100%);
  color: #173100;
  box-shadow: 0 14px 28px rgba(141,255,40,0.16);
}

.rewards-zero-ticket__claim,
.rewards-zero-ticket__done {
  align-self: flex-start;
}

.rewards-zero-ticket__done {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(160,255,111,0.1);
  background: rgba(8, 28, 19, 0.7);
  color: #cbff90;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rewards-zero-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 4px 4px;
  text-align: center;
}

.rewards-zero-empty__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(96,255,62,0.14), rgba(8,47,18,0.16));
  color: #e6ffd0;
}

.rewards-zero-empty__title {
  font-size: 18px;
  font-weight: 800;
  color: #efffde;
}

.rewards-zero-empty__text {
  max-width: 28rem;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(224,255,196,0.6);
}

@media (max-width: 560px) {
  .rewards-zero-hud__grid,
  .rewards-zero-hud__stats,
  .rewards-zero-ticket,
  .rewards-zero-ticket__top {
    grid-template-columns: 1fr;
  }

  .rewards-zero-ticket__rail {
    flex-direction: row;
    align-items: center;
  }

  .rewards-zero-ticket__prize {
    min-width: 0;
    text-align: left;
  }

  .rewards-zero-zone__head,
  .rewards-zero-ticket__meter-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Rewards Matrix ────────────────────────────────────────── */
.rewards-matrix-page {
  background: transparent;
}

.rewards-matrix-page__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-bottom: 26px;
}

.rewards-matrix-shell {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 32px;
  border: 1px solid rgba(142,255,94,0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(219,255,136,0.11) 0%, rgba(219,255,136,0) 28%),
    radial-gradient(circle at 0% 20%, rgba(61,255,121,0.08) 0%, rgba(61,255,121,0) 24%),
    linear-gradient(180deg, rgba(7, 23, 22, 0.98) 0%, rgba(4, 13, 15, 0.99) 100%);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.rewards-matrix-shell::after {
  content: '';
  position: absolute;
  right: -14%;
  top: -24%;
  width: 56%;
  height: 56%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93,255,45,0.16) 0%, rgba(93,255,45,0) 72%);
  filter: blur(22px);
  pointer-events: none;
}

.rewards-matrix-shell > * {
  position: relative;
  z-index: 1;
}

.rewards-matrix-shell__signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(160,255,111,0.1);
  background: rgba(8, 24, 19, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(225,255,186,0.72);
}

.rewards-matrix-shell__signal svg,
.rewards-matrix-dock__icon svg,
.rewards-matrix-vault__icon svg,
.rewards-matrix-feed__icon svg,
.rewards-matrix-ledger__icon svg,
.rewards-matrix-vault__claim svg,
.rewards-matrix-empty__icon svg,
.rewards-matrix-feed__empty-icon svg,
.rewards-matrix-vault__empty-icon svg {
  width: 18px;
  height: 18px;
}

.rewards-matrix-shell__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 16px;
  align-items: start;
  margin-top: 14px;
}

.rewards-matrix-shell__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 7vw, 42px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: #f3ffe1;
}

.rewards-matrix-shell__text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(224,255,195,0.66);
}

.rewards-matrix-shell__amount {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(164,255,106,0.12);
  background:
    linear-gradient(180deg, rgba(223,255,103,0.1) 0%, rgba(223,255,103,0.01) 20%, rgba(0,0,0,0) 100%),
    rgba(5, 18, 15, 0.84);
}

.rewards-matrix-shell__amount span,
.rewards-matrix-shell__amount small,
.rewards-matrix-shell__stat span,
.rewards-matrix-vault__label,
.rewards-matrix-feed__label,
.rewards-matrix-feed__eyebrow,
.rewards-matrix-feed__reward span,
.rewards-matrix-feed__progress-meta span,
.rewards-matrix-feed__capsule,
.rewards-matrix-feed__status,
.rewards-matrix-ledger__label,
.rewards-matrix-vault__kicker,
.rewards-matrix-vault__hint,
.rewards-matrix-ledger__meta {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rewards-matrix-shell__amount span,
.rewards-matrix-shell__amount small,
.rewards-matrix-shell__stat span {
  color: rgba(227,255,197,0.62);
}

.rewards-matrix-shell__amount strong {
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  color: #deff8d;
}

.rewards-matrix-shell__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.rewards-matrix-shell__stat {
  padding: 13px 14px;
  border-radius: 19px;
  border: 1px solid rgba(153,255,117,0.08);
  background: rgba(6, 19, 17, 0.72);
}

.rewards-matrix-shell__stat strong {
  display: block;
  margin-top: 6px;
  font-size: 19px;
  line-height: 1;
  font-weight: 900;
  color: #f3ffe5;
}

.rewards-matrix-shell__modes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.rewards-matrix-shell__mode {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  min-height: 62px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(139,255,95,0.08);
  background: rgba(7, 21, 18, 0.74);
  color: rgba(233,255,208,0.82);
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.rewards-matrix-shell__mode span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rewards-matrix-shell__mode strong {
  font-size: 16px;
  font-weight: 900;
  color: #f5ffe8;
}

.rewards-matrix-shell__mode.is-active {
  border-color: rgba(171,255,111,0.18);
  background:
    linear-gradient(180deg, rgba(218,255,104,0.14), rgba(218,255,104,0.02) 26%, rgba(0,0,0,0) 100%),
    rgba(8, 24, 18, 0.88);
  transform: translateY(-1px);
}

.rewards-matrix-dock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rewards-matrix-dock__item {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 16px 14px;
  border-radius: 26px;
  border: 1px solid rgba(140,255,98,0.1);
  background:
    radial-gradient(circle at 100% 0%, rgba(226,255,176,0.08) 0%, rgba(226,255,176,0) 28%),
    linear-gradient(180deg, rgba(8, 24, 21, 0.95), rgba(4, 12, 14, 0.99));
  color: #f0ffe0;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 10px 24px rgba(0,0,0,0.18);
}

.rewards-matrix-dock__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(104,255,71,0.17), rgba(12,61,25,0.18));
  color: #daffba;
}

.rewards-matrix-dock__title {
  font-size: 15px;
  line-height: 1.05;
  font-weight: 900;
  color: #f3ffe5;
}

.rewards-matrix-dock__text {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(224,255,196,0.56);
}

.rewards-matrix-vault,
.rewards-matrix-feed,
.rewards-matrix-ledger {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rewards-matrix-vault__head,
.rewards-matrix-feed__head,
.rewards-matrix-ledger__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.rewards-matrix-vault__label,
.rewards-matrix-feed__label,
.rewards-matrix-ledger__label {
  color: rgba(225,255,186,0.52);
}

.rewards-matrix-vault__heading,
.rewards-matrix-feed__heading,
.rewards-matrix-ledger__heading {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #f1ffe0;
}

.rewards-matrix-vault__hint,
.rewards-matrix-feed__hint,
.rewards-matrix-ledger__hint {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(162,255,112,0.12);
  background: rgba(8, 22, 19, 0.72);
  color: rgba(237,255,212,0.78);
}

.rewards-matrix-vault__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
  scroll-snap-type: x proximity;
}

.rewards-matrix-vault__track::-webkit-scrollbar {
  display: none;
}

.rewards-matrix-vault__cell {
  min-width: min(85vw, 286px);
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border-radius: 28px;
  border: 1px solid rgba(139,255,95,0.1);
  background:
    radial-gradient(circle at 100% 0%, rgba(228,255,176,0.08) 0%, rgba(228,255,176,0) 32%),
    linear-gradient(180deg, rgba(8, 24, 22, 0.96), rgba(4, 13, 14, 0.99));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.rewards-matrix-vault__cell.tone-gold { border-color: rgba(255, 221, 124, 0.16); }
.rewards-matrix-vault__cell.tone-lime { border-color: rgba(134, 255, 108, 0.16); }
.rewards-matrix-vault__cell.tone-cyan { border-color: rgba(97, 224, 255, 0.16); }
.rewards-matrix-vault__cell.tone-blue { border-color: rgba(105, 161, 255, 0.16); }
.rewards-matrix-vault__cell.tone-amber { border-color: rgba(255, 181, 86, 0.16); }
.rewards-matrix-vault__cell.tone-violet { border-color: rgba(188, 122, 255, 0.16); }

.rewards-matrix-vault__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(96,255,62,0.16), rgba(10,58,22,0.18));
  color: #daffba;
}

.rewards-matrix-vault__copy {
  min-width: 0;
}

.rewards-matrix-vault__title {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  color: #f3ffe5;
}

.rewards-matrix-vault__kicker {
  margin-top: 6px;
  color: rgba(224,255,196,0.54);
}

.rewards-matrix-vault__side {
  min-width: 92px;
  display: grid;
  gap: 8px;
  justify-items: end;
}

.rewards-matrix-vault__side strong {
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  color: #efffde;
}

.rewards-matrix-vault__claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 13px;
  border-radius: 14px;
  border: 1px solid rgba(173,255,110,0.16);
  background: linear-gradient(180deg, #dfff67 0%, #98ff23 100%);
  color: #173100;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(141,255,40,0.15);
}

.rewards-matrix-vault__empty,
.rewards-matrix-feed__empty,
.rewards-matrix-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(140,255,98,0.08);
  background: rgba(7, 20, 18, 0.68);
}

.rewards-matrix-vault__empty-icon,
.rewards-matrix-feed__empty-icon,
.rewards-matrix-empty__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(96,255,62,0.14), rgba(8,47,18,0.16));
  color: #e6ffd0;
  flex: 0 0 54px;
}

.rewards-matrix-vault__empty-copy strong,
.rewards-matrix-feed__empty-title,
.rewards-matrix-empty__title {
  display: block;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
  color: #efffde;
}

.rewards-matrix-vault__empty-copy span,
.rewards-matrix-feed__empty-text,
.rewards-matrix-empty__text {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(224,255,196,0.6);
}

.rewards-matrix-feed__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rewards-matrix-feed__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.rewards-matrix-feed__rail {
  position: relative;
}

.rewards-matrix-feed__rail::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 999px;
  background: rgba(106,255,64,0.16);
}

.rewards-matrix-feed__rail span {
  position: absolute;
  left: 0;
  top: 24px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(14, 31, 20, 0.98);
  background: #76ff34;
  box-shadow: 0 0 0 4px rgba(120,255,63,0.12);
}

.rewards-matrix-feed__item.tone-gold .rewards-matrix-feed__rail span { background: #f6cf66; }
.rewards-matrix-feed__item.tone-cyan .rewards-matrix-feed__rail span { background: #70ddff; }
.rewards-matrix-feed__item.tone-blue .rewards-matrix-feed__rail span { background: #6b9cff; }
.rewards-matrix-feed__item.tone-amber .rewards-matrix-feed__rail span { background: #ffb556; }
.rewards-matrix-feed__item.tone-violet .rewards-matrix-feed__rail span { background: #bc7aff; }

.rewards-matrix-feed__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 28px;
  border: 1px solid rgba(139,255,95,0.1);
  background:
    radial-gradient(circle at 100% 0%, rgba(228,255,176,0.06) 0%, rgba(228,255,176,0) 34%),
    linear-gradient(180deg, rgba(8, 24, 22, 0.96), rgba(4, 13, 14, 0.99));
}

.rewards-matrix-feed__item.is-review .rewards-matrix-feed__body {
  border-color: rgba(188, 122, 255, 0.16);
}

.rewards-matrix-feed__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rewards-matrix-feed__capsule,
.rewards-matrix-feed__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
}

.rewards-matrix-feed__capsule {
  border: 1px solid rgba(157,255,114,0.1);
  background: rgba(10, 28, 22, 0.7);
  color: rgba(225,255,186,0.68);
}

.rewards-matrix-feed__status {
  border: 1px solid rgba(218,255,169,0.12);
  background: rgba(67, 93, 21, 0.24);
  color: #e8ffb5;
}

.rewards-matrix-feed__row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.rewards-matrix-feed__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(96,255,62,0.16), rgba(10,58,22,0.18));
  color: #daffba;
}

.rewards-matrix-feed__copy {
  min-width: 0;
}

.rewards-matrix-feed__eyebrow {
  color: rgba(224,255,196,0.52);
}

.rewards-matrix-feed__title {
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
  color: #f3ffe5;
}

.rewards-matrix-feed__desc {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.58;
  color: rgba(224,255,196,0.62);
}

.rewards-matrix-feed__item:not(.is-expanded) .rewards-matrix-feed__title,
.rewards-matrix-feed__item:not(.is-expanded) .rewards-matrix-feed__desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.rewards-matrix-feed__item:not(.is-expanded) .rewards-matrix-feed__title {
  -webkit-line-clamp: 2;
}

.rewards-matrix-feed__item:not(.is-expanded) .rewards-matrix-feed__desc {
  -webkit-line-clamp: 3;
}

.rewards-matrix-feed__reward {
  min-width: 92px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.rewards-matrix-feed__reward span {
  color: rgba(224,255,196,0.54);
}

.rewards-matrix-feed__reward strong {
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  color: #efffde;
}

.rewards-matrix-feed__expand {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbff90;
}

.rewards-matrix-feed__progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rewards-matrix-feed__progress-track {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.rewards-matrix-feed__progress-track span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #65ff28, #d8ff72);
  box-shadow: 0 0 18px rgba(111,255,51,0.22);
}

.rewards-matrix-feed__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rewards-matrix-feed__progress-meta span {
  color: rgba(224,255,196,0.54);
}

.rewards-matrix-feed__progress-meta strong {
  font-size: 13px;
  font-weight: 800;
  color: #efffde;
}

.rewards-matrix-feed__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rewards-matrix-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(154,255,112,0.1);
  background: rgba(8, 22, 19, 0.72);
  color: #eaffc3;
}

.rewards-matrix-action--ghost {
  background: rgba(8, 22, 19, 0.58);
}

.rewards-matrix-action--primary {
  border: 1px solid rgba(173,255,110,0.16);
  background: linear-gradient(180deg, #dfff67 0%, #98ff23 100%);
  color: #173100;
  box-shadow: 0 14px 28px rgba(141,255,40,0.16);
}

.rewards-matrix-ledger__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rewards-matrix-ledger__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 22px;
  border: 1px solid rgba(139,255,95,0.08);
  background: rgba(7, 20, 18, 0.74);
}

.rewards-matrix-ledger__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(10, 28, 22, 0.76);
  color: #dcffbb;
}

.rewards-matrix-ledger__copy {
  min-width: 0;
  flex: 1;
}

.rewards-matrix-ledger__title {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  color: #f4ffe7;
}

.rewards-matrix-ledger__meta {
  margin-top: 4px;
  color: rgba(224,255,196,0.54);
}

.rewards-matrix-ledger__value {
  font-size: 16px;
  font-weight: 900;
  color: #e9ffcb;
}

.rewards-matrix-empty {
  text-align: left;
}

@media (max-width: 560px) {
  .rewards-matrix-shell__main,
  .rewards-matrix-shell__stats,
  .rewards-matrix-shell__modes,
  .rewards-matrix-dock,
  .rewards-matrix-vault__cell,
  .rewards-matrix-feed__row {
    grid-template-columns: 1fr;
  }

  .rewards-matrix-vault__side,
  .rewards-matrix-feed__reward {
    min-width: 0;
    justify-items: start;
    text-align: left;
  }

  .rewards-matrix-vault__head,
  .rewards-matrix-feed__head,
  .rewards-matrix-ledger__head,
  .rewards-matrix-feed__progress-meta,
  .rewards-matrix-vault__empty,
  .rewards-matrix-empty {
    flex-direction: column;
    align-items: flex-start;
  }

  .rewards-matrix-feed__item {
    grid-template-columns: 1fr;
  }

  .rewards-matrix-feed__rail {
    display: none;
  }
}

/* ── Shared Interior Topbar ────────────────────────────────── */
.lockin-shared-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 228px;
  gap: 8px;
  align-items: start;
  margin-bottom: 10px;
}

.lockin-shared-topbar.is-compact {
  grid-template-columns: minmax(0, 1fr) 228px;
}

.lockin-shared-topbar.is-rewards {
  grid-template-columns: minmax(0, 1fr) 228px;
  gap: 8px;
  margin-bottom: 12px;
}

.lockin-shared-topbar__titlebox {
  min-width: 0;
  padding-top: 6px;
}

.lockin-shared-topbar__titleline {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.lockin-shared-topbar__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 6.6vw, 38px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #f6f7ef;
  text-transform: uppercase;
}

.lockin-shared-topbar.is-compact .lockin-shared-topbar__title {
  font-size: clamp(18px, 4.9vw, 28px);
  line-height: 0.94;
}

.lockin-shared-topbar__sparkles {
  position: relative;
  width: 34px;
  height: 38px;
  flex: 0 0 34px;
}

.lockin-shared-topbar__sparkle {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  color: #d7ff2c;
  filter: drop-shadow(0 0 10px rgba(197,255,27,0.44));
}

.lockin-shared-topbar__sparkle--mini {
  width: 12px;
  height: 12px;
  top: 22px;
  left: 7px;
  opacity: 0.94;
}

.lockin-shared-topbar.is-rewards .lockin-shared-topbar__titlebox {
  padding-top: 9px;
}

.lockin-shared-topbar.is-rewards .lockin-shared-topbar__title {
  font-size: clamp(30px, 7vw, 40px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.lockin-shared-topbar.is-rewards .lockin-shared-topbar__sparkles {
  width: 38px;
  height: 40px;
  flex-basis: 38px;
}

.lockin-shared-topbar.is-rewards .lockin-shared-topbar__sparkle {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 11px rgba(197,255,27,0.5));
}

.lockin-shared-topbar.is-rewards .lockin-shared-topbar__sparkle--mini {
  width: 12px;
  height: 12px;
  top: 24px;
  left: 7px;
}

.lockin-shared-topbar.is-referrals {
  grid-template-columns: minmax(0, 1fr) 228px;
  gap: 8px;
  margin-bottom: 12px;
}

.lockin-shared-topbar.is-referrals .lockin-shared-topbar__titlebox {
  padding-top: 10px;
}

.lockin-shared-topbar.is-referrals .lockin-shared-topbar__title {
  font-size: clamp(30px, 7vw, 40px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.lockin-shared-topbar__header-actions {
  align-self: start;
  justify-self: end;
  width: 228px;
  min-width: 228px;
  max-width: 228px;
}

.lockin-shared-topbar + .page-header {
  margin-top: 6px;
}

/* ── Referrals Reference ───────────────────────────────────── */
.refka-page {
  background: transparent;
}

.refka-page__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 14px 24px;
}

.refka-hero,
.refka-link-card,
.refka-code-card,
.refka-inviter-card,
.refka-stat,
.refka-section,
.refka-grow {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(169, 255, 28, 0.22);
  background:
    radial-gradient(circle at 8% 12%, rgba(127, 255, 40, 0.12), transparent 31%),
    radial-gradient(circle at 100% 0%, rgba(215, 255, 38, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(7, 28, 25, 0.96), rgba(3, 17, 17, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 14px 30px rgba(0,0,0,0.28);
}

.refka-hero {
  min-height: 96px;
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr) 88px;
  gap: 8px;
  align-items: center;
  margin-top: 0;
  padding: 8px 10px 8px 0;
  border-radius: 19px;
  overflow: visible;
  clip-path: inset(-140px -28px 0 -28px);
}

.refka-hero::before,
.refka-grow::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 50%, rgba(202,255,24,0.11) 50.5%, transparent 52%),
    radial-gradient(circle at 21% 79%, rgba(209,255,21,0.2), transparent 18%);
  opacity: 0.7;
  pointer-events: none;
}

.refka-hero__robot {
  position: relative;
  align-self: end;
  z-index: 2;
  height: 154px;
  margin: -124px -10px 0 -22px;
  display: grid;
  align-items: end;
  filter:
    drop-shadow(0 0 12px rgba(207,255,22,0.34))
    drop-shadow(0 7px 14px rgba(0,0,0,0.34));
}

.refka-hero__robot::before {
  content: '';
  position: absolute;
  left: -18px;
  right: -12px;
  bottom: 2px;
  height: 116px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 58%, rgba(207,255,22,0.22), transparent 62%),
    radial-gradient(ellipse at 42% 72%, rgba(58,255,77,0.18), transparent 58%);
  filter: blur(4px);
  z-index: -1;
}

.refka-hero__robot img {
  width: 166px;
  max-width: none;
  display: block;
}

.refka-hero__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.refka-hero__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 5.6vw, 31px);
  line-height: 0.93;
  letter-spacing: -0.045em;
  color: #f5f6ef;
  white-space: nowrap;
}

.refka-hero__copy h2 span {
  color: #c9ff16;
  text-shadow: 0 0 16px rgba(201,255,22,0.32);
}

.refka-hero__copy p {
  max-width: 190px;
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.28;
  color: rgba(233, 238, 231, 0.76);
}

.refka-hero__rate {
  position: relative;
  z-index: 1;
  min-height: 70px;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 9px 6px 7px;
  border-radius: 16px;
  border: 1px solid rgba(204,255,22,0.52);
  background:
    radial-gradient(circle at 70% 0%, rgba(210,255,24,0.2), transparent 34%),
    linear-gradient(180deg, rgba(9,34,26,0.96), rgba(5,18,19,0.98));
  color: #d5ff17;
  box-shadow: 0 0 18px rgba(202,255,24,0.16), inset 0 1px 0 rgba(255,255,255,0.08);
}

.refka-hero__rate span,
.refka-hero__rate em {
  font-family: var(--font-display);
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
}

.refka-hero__rate strong {
  margin: 1px 0 4px;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 0.82;
  font-weight: 900;
  letter-spacing: -0.065em;
}

.refka-hero__rate b {
  position: absolute;
  right: -9px;
  top: -8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(213,255,23,0.64);
  background: #092014;
}

.refka-hero__rate b .ref-icon {
  width: 14px;
  height: 14px;
}

.refka-link-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(188px, 1.1fr);
  gap: 8px;
}

.refka-link-card,
.refka-code-card,
.refka-inviter-card {
  min-width: 0;
  padding: 10px;
  border-radius: 16px;
}

.refka-card-label {
  margin: 0 0 6px 2px;
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  color: rgba(232,238,231,0.68);
}

.refka-link-card__box,
.refka-code-card__value,
.refka-inviter-card__value {
  min-height: 42px;
  display: grid;
  align-items: center;
  border-radius: 13px;
  border: 1px solid rgba(204,255,22,0.2);
  background: rgba(4, 20, 18, 0.78);
}

.refka-inviter-card {
  grid-column: 1 / -1;
}

.refka-inviter-card__value {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  padding: 7px 9px;
}

.refka-inviter-card__value.is-empty {
  border-color: rgba(151, 169, 161, 0.18);
  background: rgba(5, 20, 19, 0.62);
}

.refka-inviter-card__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #d7ff16;
  background: linear-gradient(180deg, rgba(206,255,22,0.14), rgba(44,255,75,0.06));
  box-shadow: inset 0 0 0 1px rgba(204,255,22,0.14);
}

.refka-inviter-card__icon .ref-icon {
  width: 17px;
  height: 17px;
}

.refka-inviter-card__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.refka-inviter-card__copy strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  color: #f5f6ef;
}

.refka-inviter-card__copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
  font-size: 10px;
  line-height: 1.1;
  color: rgba(232,238,231,0.6);
}

.refka-link-card__box {
  grid-template-columns: 20px minmax(0, 1fr) 54px;
  gap: 6px;
  padding: 5px 6px;
}

.refka-link-card__icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #d7ff16;
}

.refka-link-card__box strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 12px;
  color: #f5f6ef;
}

.refka-copy-btn,
.refka-share-btn,
.refka-section__head button,
.refka-pagination button {
  border: 0;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
}

.refka-copy-btn,
.refka-share-btn {
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 999px;
  font-size: 10px;
}

.refka-copy-btn {
  color: #102000;
  background: linear-gradient(180deg, #eeff34, #afff0f);
  box-shadow: 0 0 14px rgba(207,255,22,0.32);
}

.refka-share-btn {
  display: none;
  color: #edf7e6;
  border: 1px solid rgba(207,255,22,0.2);
  background: rgba(6,25,22,0.96);
}

.refka-copy-btn .ref-icon,
.refka-share-btn .ref-icon {
  width: 14px;
  height: 14px;
}

.refka-code-card__value {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 5px 6px 5px 10px;
  color: #baff19;
  border-style: dashed;
  border-color: rgba(204,255,22,0.3);
}

.refka-code-card__value strong {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(13px, 2.7vw, 17px);
  line-height: 1;
  letter-spacing: 0.02em;
}

.refka-code-card__value button {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #d7ff16;
  background: rgba(207,255,22,0.08);
}

.refka-code-card__actions {
  display: inline-grid;
  grid-template-columns: repeat(2, 24px);
  gap: 5px;
}

.refka-code-card__value button .ref-icon {
  width: 14px;
  height: 14px;
}

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

.refka-stat {
  min-height: 68px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 8px;
  align-items: center;
  padding: 9px 8px;
  border-radius: 14px;
}

.refka-stat__icon {
  grid-row: 1 / 4;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--refka-tone, #d7ff16);
  background: color-mix(in srgb, var(--refka-tone, #d7ff16) 20%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--refka-tone, #d7ff16) 26%, transparent);
}

.refka-stat__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  color: rgba(232,238,231,0.62);
}

.refka-stat strong {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 0.92;
  color: #f5f6ef;
}

.refka-stat em {
  font-style: normal;
  font-size: 9px;
  color: rgba(232,238,231,0.62);
}

.refka-stat.tone-money { --refka-tone: #4dff5f; }
.refka-stat.tone-blue { --refka-tone: #4b9dff; }
.refka-stat.tone-purple { --refka-tone: #c34fff; }
.refka-stat.tone-gold { --refka-tone: #ffc72d; }

.refka-section {
  padding: 10px;
  border-radius: 16px;
}

.refka-section__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.refka-section__head h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  color: rgba(245,246,239,0.84);
}

.refka-section__head strong,
.refka-section__head button {
  flex: 0 0 auto;
  color: rgba(245,246,239,0.64);
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1;
}

.refka-section__head button {
  color: #baff19;
  background: transparent;
  padding: 0;
}

.refka-levels__track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.refka-levels__track::before,
.refka-levels__track::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28px;
  height: 3px;
  background: repeating-linear-gradient(90deg, #d6ff17 0 4px, transparent 4px 8px);
  filter: drop-shadow(0 0 5px rgba(214,255,23,0.55));
  transform: translateY(-50%);
}

.refka-levels__track::before {
  left: calc(33.333% - 14px);
}

.refka-levels__track::after {
  left: calc(66.666% - 14px);
  background: repeating-linear-gradient(90deg, #b047ff 0 4px, transparent 4px 8px);
}

.refka-level-card {
  position: relative;
  min-height: 86px;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 8px;
  padding: 9px;
  border-radius: 13px;
  border: 1px solid var(--refka-level, #c9ff16);
  background:
    radial-gradient(circle at 15% 18%, color-mix(in srgb, var(--refka-level, #c9ff16) 18%, transparent), transparent 45%),
    rgba(4, 19, 17, 0.86);
}

.refka-level-card.tone-1 { --refka-level: #c9ff16; }
.refka-level-card.tone-2 { --refka-level: #4da1ff; }
.refka-level-card.tone-3 { --refka-level: #b34cff; }

.refka-level-card__badge {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--refka-level);
  color: #102000;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
}

.refka-level-card__body {
  min-width: 0;
}

.refka-level-card__body span,
.refka-level-card__body em,
.refka-level-card__body small {
  display: block;
  font-style: normal;
  line-height: 1.1;
}

.refka-level-card__body span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  color: var(--refka-level);
}

.refka-level-card__body strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 0.85;
  color: #f5f6ef;
}

.refka-level-card__body em {
  margin-top: 7px;
  font-size: 11px;
  color: rgba(245,246,239,0.78);
}

.refka-level-card__body small {
  margin-top: 2px;
  font-size: 10px;
  color: rgba(245,246,239,0.56);
}

.refka-level-card__people {
  position: absolute;
  left: 9px;
  bottom: 7px;
  color: var(--refka-level);
  opacity: 0.8;
}

.refka-actions__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.refka-action {
  min-width: 0;
  min-height: 57px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 0 9px;
  align-items: center;
  padding: 9px;
  border-radius: 13px;
  border: 1px solid color-mix(in srgb, var(--refka-action, #c9ff16) 32%, transparent);
  background:
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--refka-action, #c9ff16) 18%, transparent), transparent 48%),
    rgba(4, 20, 18, 0.84);
  text-align: left;
}

.refka-action > span {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--refka-action, #c9ff16);
  background: color-mix(in srgb, var(--refka-action, #c9ff16) 18%, transparent);
}

.refka-action strong,
.refka-action em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: normal;
}

.refka-action strong {
  align-self: end;
  font-size: 12px;
  line-height: 1;
  color: #f5f6ef;
}

.refka-action em {
  align-self: start;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(245,246,239,0.62);
}

.refka-action.tone-link { --refka-action: #70ff35; }
.refka-action.tone-qr { --refka-action: #39caff; }
.refka-action.tone-materials { --refka-action: #b34cff; }

.refka-loading,
.refka-empty {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed rgba(201,255,22,0.18);
  color: rgba(245,246,239,0.64);
  text-align: center;
}

.refka-empty {
  gap: 6px;
}

.refka-empty__icon {
  color: #c9ff16;
}

.refka-empty__title {
  font-family: var(--font-display);
  font-size: 15px;
  color: #f5f6ef;
}

.refka-empty p {
  margin: 0;
  font-size: 12px;
}

.refka-activity-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.refka-referral-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.refka-directory-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: -2px 0 8px;
  color: rgba(245,246,239,0.56);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.refka-directory-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.refka-activity-item {
  min-height: 49px;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 82px 72px 45px 18px;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(137,255,66,0.12);
  background: rgba(5, 24, 21, 0.82);
}

.refka-activity-item__icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--refka-row, #70ff35);
  background: color-mix(in srgb, var(--refka-row, #70ff35) 18%, transparent);
}

.refka-activity-item.tone-1 { --refka-row: #70ff35; }
.refka-activity-item.tone-2 { --refka-row: #4da1ff; }
.refka-activity-item.tone-3 { --refka-row: #b34cff; }
.refka-activity-item.tone-4 { --refka-row: #ffc72d; }

.refka-activity-item__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.refka-activity-item__copy strong,
.refka-activity-item__copy em,
.refka-activity-item time,
.refka-activity-item__amount,
.refka-activity-item__status {
  font-family: var(--font-display);
}

.refka-activity-item__copy strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1;
  color: #f5f6ef;
}

.refka-activity-item__copy em {
  font-style: normal;
  font-size: 11px;
  color: rgba(245,246,239,0.62);
}

.refka-activity-item__amount {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
  color: #62ff4c;
  text-align: right;
}

.refka-activity-item__amount-label {
  display: block;
  margin-bottom: 2px;
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(245,246,239,0.48);
}

.refka-activity-item__amount span {
  font-size: 9px;
}

.refka-activity-item__status {
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 900;
}

.refka-activity-item__status.tone-complete {
  color: #80ff55;
  border: 1px solid rgba(83,255,61,0.22);
  background: rgba(36,112,30,0.28);
}

.refka-activity-item__status.tone-pending {
  color: #ffe435;
  border: 1px solid rgba(255,211,44,0.22);
  background: rgba(121,84,0,0.28);
}

.refka-activity-item time {
  font-size: 11px;
  color: rgba(245,246,239,0.62);
  text-align: right;
}

.refka-activity-item__arrow {
  color: rgba(245,246,239,0.46);
}

.refka-referral-card {
  --refka-row: #70ff35;
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  min-height: 96px;
  padding: 11px 10px;
  border-radius: 15px;
  border: 1px solid color-mix(in srgb, var(--refka-row) 24%, transparent);
  background:
    radial-gradient(circle at 7% 12%, color-mix(in srgb, var(--refka-row) 14%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(6, 28, 24, 0.94), rgba(4, 19, 18, 0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

.refka-referral-card.tone-1 { --refka-row: #70ff35; }
.refka-referral-card.tone-2 { --refka-row: #4da1ff; }
.refka-referral-card.tone-3 { --refka-row: #b34cff; }
.refka-referral-card.tone-4 { --refka-row: #ffc72d; }

.refka-referral-card__avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  align-self: start;
  border-radius: 14px;
  color: #071411;
  background: linear-gradient(180deg, var(--refka-row), color-mix(in srgb, var(--refka-row) 68%, #051815));
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 950;
  box-shadow: 0 0 18px color-mix(in srgb, var(--refka-row) 26%, transparent);
}

.refka-referral-card__main {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.refka-referral-card__top,
.refka-referral-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.refka-referral-card__top strong {
  min-width: 0;
  overflow: hidden;
  color: #f5f6ef;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.refka-referral-card__top span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
}

.refka-referral-card__top span.tone-complete {
  color: #80ff55;
  border: 1px solid rgba(83,255,61,0.22);
  background: rgba(36,112,30,0.28);
}

.refka-referral-card__top span.tone-pending {
  color: #ffe435;
  border: 1px solid rgba(255,211,44,0.22);
  background: rgba(121,84,0,0.28);
}

.refka-referral-card__meta span {
  min-width: 0;
  overflow: hidden;
  color: rgba(245,246,239,0.58);
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.refka-referral-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.refka-referral-card__stats div {
  min-width: 0;
  padding: 7px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.035);
}

.refka-referral-card__stats em,
.refka-referral-card__stats b {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.refka-referral-card__stats em {
  margin-bottom: 4px;
  color: rgba(245,246,239,0.48);
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.refka-referral-card__stats b {
  color: #f5f6ef;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

.refka-referral-card__stats b.is-profit {
  color: #70ff35;
}

.refka-referral-card__stats small {
  font-size: 8px;
  color: rgba(245,246,239,0.52);
}

.refka-referral-card__arrow {
  color: rgba(245,246,239,0.42);
}

.refka-pagination {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.refka-pagination button {
  height: 32px;
  border-radius: 999px;
  color: #d7ff16;
  border: 1px solid rgba(207,255,22,0.2);
  background: rgba(4,20,18,0.78);
}

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

.refka-pagination span {
  font-family: var(--font-display);
  font-size: 12px;
  color: rgba(245,246,239,0.7);
  text-align: center;
}

.refka-grow {
  min-height: 109px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 178px;
  gap: 8px;
  align-items: center;
  padding: 13px 16px;
  border-radius: 17px;
}

.refka-grow__copy {
  position: relative;
  z-index: 1;
}

.refka-grow__copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 0.98;
  color: #f5f6ef;
}

.refka-grow__copy h3 span {
  color: #c9ff16;
}

.refka-grow__copy p {
  margin: 11px 0 0;
  font-size: 13px;
  line-height: 1.25;
  color: rgba(245,246,239,0.66);
}

.refka-grow__art {
  position: relative;
  z-index: 1;
  height: 88px;
}

.refka-grow__art::before {
  content: '';
  position: absolute;
  left: 5%;
  right: 2%;
  bottom: 2px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(207,255,22,0.22), rgba(207,255,22,0) 70%);
  filter: blur(6px);
}

.refka-grow__chest {
  position: absolute;
  right: -10px;
  bottom: -46px;
  width: 178px;
  height: auto;
  max-width: none;
  display: block;
  filter:
    saturate(1.06)
    drop-shadow(0 0 16px rgba(207,255,22,0.27))
    drop-shadow(0 16px 22px rgba(0,0,0,0.36));
}

.refka-qr-modal,
.refka-code-modal {
  background:
    radial-gradient(circle at 50% 0%, rgba(207,255,22,0.14), transparent 42%),
    linear-gradient(180deg, rgba(7,29,23,0.98), rgba(2,10,10,0.98));
  border: 1px solid rgba(207,255,22,0.22);
}

.refka-qr-modal h3,
.refka-code-modal h3 {
  color: #d7ff16;
}

.refka-code-modal__intro {
  margin: 8px 0 14px;
  color: rgba(245,246,239,0.68);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.refka-code-modal__field {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.refka-code-modal__field span,
.refka-code-modal__preview span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(245,246,239,0.58);
}

.refka-code-modal__field input {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(207,255,22,0.3);
  background:
    radial-gradient(circle at 100% 0%, rgba(207,255,22,0.12), transparent 42%),
    rgba(4,20,18,0.86);
  color: #d7ff16;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  outline: none;
  text-transform: uppercase;
}

.refka-code-modal__field input:focus {
  box-shadow: 0 0 0 3px rgba(207,255,22,0.12), 0 0 24px rgba(207,255,22,0.18);
}

.refka-code-modal__preview {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px dashed rgba(207,255,22,0.22);
  background: rgba(4,20,18,0.58);
}

.refka-code-modal__preview strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f5f6ef;
  font-family: var(--font-display);
  font-size: 15px;
}

.refka-qr-modal__frame {
  width: 214px;
  height: 214px;
  margin: 12px auto;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 24px;
  background: #f7ffe7;
  box-shadow: 0 0 24px rgba(207,255,22,0.24);
}

.refka-qr-modal__frame img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 16px;
}

.refka-qr-modal__code {
  width: fit-content;
  margin: 0 auto 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px dashed rgba(207,255,22,0.32);
  color: #c9ff16;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
}

.refka-qr-modal p {
  margin: 0 0 14px;
  color: rgba(245,246,239,0.68);
  text-align: center;
}

@media (max-width: 420px) {
  .lockin-shared-topbar.is-referrals {
    grid-template-columns: minmax(0, 1fr) 206px;
  }

  .lockin-shared-topbar.is-referrals .lockin-shared-topbar__header-actions {
    width: 206px;
    min-width: 206px;
    max-width: 206px;
  }

  .refka-page__content {
    padding-inline: 12px;
  }

  .refka-hero {
    grid-template-columns: 126px minmax(0, 1fr) 74px;
    min-height: 88px;
    margin-top: 0;
    padding: 7px 8px 7px 0;
    clip-path: inset(-128px -24px 0 -24px);
  }

  .refka-hero__robot {
    height: 144px;
    margin: -113px -8px 0 -20px;
  }

  .refka-hero__robot img {
    width: 146px;
  }

  .refka-hero__copy h2 {
    font-size: clamp(19px, 5.8vw, 25px);
  }

  .refka-hero__copy p {
    max-width: 148px;
    margin-top: 5px;
    font-size: 10.5px;
  }

  .refka-hero__rate {
    min-height: 62px;
  }

  .refka-hero__rate strong {
    font-size: 27px;
  }

  .refka-link-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(168px, 1.18fr);
  }

  .refka-link-card__box {
    grid-template-columns: 18px minmax(0, 1fr) 48px;
  }

  .refka-copy-btn {
    font-size: 9px;
  }

  .refka-code-card__value strong {
    font-size: 12.5px;
  }

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

  .refka-levels__track {
    gap: 8px;
  }

  .refka-levels__track::before,
  .refka-levels__track::after {
    display: none;
  }

  .refka-level-card {
    grid-template-columns: 27px minmax(0, 1fr);
    min-height: 82px;
    padding: 8px 7px;
  }

  .refka-level-card__badge {
    width: 27px;
    height: 27px;
    font-size: 14px;
  }

  .refka-level-card__body strong {
    font-size: 22px;
  }

  .refka-actions__grid {
    gap: 7px;
  }

  .refka-action {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center;
    text-align: center;
    gap: 5px;
    min-height: 72px;
    padding: 8px 6px;
  }

  .refka-action > span {
    grid-row: auto;
    width: 31px;
    height: 31px;
  }

  .refka-action strong {
    font-size: 10px;
  }

  .refka-action em {
    margin-top: 0;
    font-size: 10px;
  }

  .refka-activity-item {
    grid-template-columns: 33px minmax(0, 1fr) 74px 18px;
  }

  .refka-activity-item__status,
  .refka-activity-item time {
    display: none;
  }

  .refka-referral-card {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 92px;
    gap: 9px;
    padding: 10px;
  }

  .refka-referral-card__avatar {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    font-size: 18px;
  }

  .refka-referral-card__top strong {
    font-size: 14px;
  }

  .refka-referral-card__meta {
    display: grid;
    gap: 3px;
  }

  .refka-referral-card__stats {
    gap: 4px;
  }

  .refka-referral-card__stats div {
    padding: 6px 5px;
  }

  .refka-referral-card__stats b {
    font-size: 10px;
  }

  .refka-referral-card__arrow {
    display: none;
  }

  .refka-grow {
    grid-template-columns: minmax(0, 1fr) 136px;
    min-height: 100px;
    padding: 12px;
  }

  .refka-grow__copy h3 {
    font-size: 17px;
  }

  .refka-grow__copy p {
    font-size: 12px;
  }

  .refka-grow__chest {
    right: -18px;
    bottom: -46px;
    width: 150px;
  }
}

@media (max-width: 370px) {
  .lockin-shared-topbar.is-referrals {
    grid-template-columns: minmax(0, 1fr) 188px;
  }

  .lockin-shared-topbar.is-referrals .lockin-shared-topbar__header-actions {
    width: 188px;
    min-width: 188px;
    max-width: 188px;
  }

  .refka-hero {
    grid-template-columns: 103px minmax(0, 1fr) 68px;
  }

  .refka-hero__robot img {
    width: 126px;
  }

  .refka-hero__copy h2 {
    font-size: 18px;
  }

  .refka-hero__copy p {
    display: none;
  }

  .refka-hero__rate strong {
    font-size: 26px;
  }

  .refka-link-grid {
    grid-template-columns: 1fr;
  }

  .refka-link-card__box {
    grid-template-columns: 20px minmax(0, 1fr) 54px;
  }

  .refka-code-card__value strong {
    font-size: 15px;
  }

  .refka-levels__track {
    grid-template-columns: 1fr;
  }

  .refka-level-card__people {
    left: auto;
    right: 9px;
  }

  .refka-grow {
    grid-template-columns: 1fr 108px;
  }
}

/* ── Rewards Reference ─────────────────────────────────────── */
.rewards-ref-page {
  background: transparent;
}

.rewards-ref-page__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 6px;
  padding-bottom: 24px;
}

.rewards-ref-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  margin-bottom: 0;
  padding-top: 2px;
  overflow: visible;
}

.rewards-ref-tabs::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(123,188,79,0.02) 0%, rgba(123,188,79,0.5) 10%, rgba(123,188,79,0.28) 100%);
  z-index: 0;
}

.rewards-ref-tabs__item {
  position: relative;
  overflow: visible;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 0;
  padding: 9px 18px 8px;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(126,167,62,0.18);
  border-bottom-color: transparent;
  background:
    radial-gradient(circle at 50% 112%, rgba(197,255,41,0.04), rgba(197,255,41,0) 40%),
    linear-gradient(180deg, rgba(13, 28, 27, 0.98) 0%, rgba(8, 18, 22, 0.99) 100%);
  color: rgba(225,229,234,0.72);
  font-family: var(--font-display);
  font-size: clamp(18px, 2.7vw, 24px);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.rewards-ref-tabs__item > * {
  position: relative;
  z-index: 1;
}

.rewards-ref-tabs__item::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -8px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(211,255,41,0.26), rgba(211,255,41,0) 72%);
  opacity: 0;
  pointer-events: none;
}

.rewards-ref-tabs__item.is-active {
  color: #d9ff2d;
  border-color: rgba(165,255,58,0.28);
  z-index: 2;
  background:
    radial-gradient(circle at 50% 108%, rgba(197,255,41,0.18), rgba(197,255,41,0) 48%),
    linear-gradient(180deg, rgba(15, 37, 24, 0.98) 0%, rgba(10, 22, 18, 0.99) 100%);
}

.rewards-ref-tabs__item.is-active::before {
  opacity: 1;
}

.rewards-ref-tabs__item.is-active::after {
  content: '';
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(215,255,45,0.2), #d7ff2d, rgba(215,255,45,0.2));
  box-shadow: 0 0 18px rgba(215,255,45,0.24);
}

.rewards-ref-tabs__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: currentColor;
}

.rewards-ref-tabs__icon svg {
  width: 100%;
  height: 100%;
}

.rewards-ref-tabs__text {
  white-space: nowrap;
}

.rewards-ref-tabs__badge {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(26%, -30%);
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #ffd83b;
  color: #14160c;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  z-index: 4;
  box-shadow: 0 10px 20px rgba(255,216,59,0.2);
}

.rewards-ref-divider {
  display: none;
}

.rewards-ref-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rewards-ref-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rewards-ref-section__headline {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.rewards-ref-section__headline h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 38px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #eef0ea;
  text-transform: uppercase;
}

.rewards-ref-section__headline span,
.rewards-ref-section__total {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.56);
}

.rewards-ref-section__headline strong,
.rewards-ref-section__total strong {
  color: #37f43d;
  font-size: 1.2em;
}

.rewards-ref-section__total svg {
  width: 18px;
  height: 18px;
  color: #ffcc3a;
}

.rewards-ref-section__claimall {
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 18px;
  border: 1px solid rgba(79,164,54,0.26);
  background: rgba(11, 38, 28, 0.94);
  color: #39f33f;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.rewards-ref-section__claimall.is-disabled,
.rewards-ref-section__claimall:disabled {
  opacity: 0.46;
}

.rewards-ref-cards,
.rewards-ref-history {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rewards-ref-card,
.rewards-ref-history-card {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 82px 96px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 22px;
  border: 1px solid rgba(114,168,58,0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(198,255,46,0.06) 0%, rgba(198,255,46,0) 34%),
    linear-gradient(180deg, rgba(13, 28, 27, 0.98) 0%, rgba(8, 18, 22, 0.99) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.rewards-ref-card.is-claimable {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 1px rgba(188,255,78,0.06),
    0 18px 30px rgba(8,18,16,0.12);
}

.rewards-ref-history-card {
  grid-template-columns: 66px minmax(0, 1fr) auto;
}

.rewards-ref-card__icon,
.rewards-ref-history-card__icon {
  position: relative;
  overflow: hidden;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #c8ffd8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.rewards-ref-card__icon svg,
.rewards-ref-history-card__icon svg {
  width: 30px;
  height: 30px;
}

.rewards-ref-card.tone-green .rewards-ref-card__icon,
.rewards-ref-history-card.tone-green .rewards-ref-history-card__icon {
  border: 1px solid rgba(83,194,65,0.22);
  background: linear-gradient(180deg, rgba(17, 47, 31, 0.96), rgba(12, 31, 22, 0.96));
  color: #52ff63;
}

.rewards-ref-card.tone-pink .rewards-ref-card__icon,
.rewards-ref-history-card.tone-pink .rewards-ref-history-card__icon {
  border: 1px solid rgba(208,80,140,0.22);
  background: linear-gradient(180deg, rgba(50, 16, 33, 0.96), rgba(31, 12, 21, 0.96));
  color: #ff5c9b;
}

.rewards-ref-card.tone-blue .rewards-ref-card__icon,
.rewards-ref-history-card.tone-blue .rewards-ref-history-card__icon {
  border: 1px solid rgba(81,120,255,0.22);
  background: linear-gradient(180deg, rgba(16, 31, 60, 0.96), rgba(9, 20, 40, 0.96));
  color: #5b97ff;
}

.rewards-ref-card.tone-purple .rewards-ref-card__icon,
.rewards-ref-history-card.tone-purple .rewards-ref-history-card__icon {
  border: 1px solid rgba(158,87,255,0.24);
  background: linear-gradient(180deg, rgba(42, 18, 68, 0.96), rgba(26, 12, 42, 0.96));
  color: #b85fff;
}

.rewards-ref-card.tone-gold .rewards-ref-card__icon,
.rewards-ref-history-card.tone-gold .rewards-ref-history-card__icon {
  border: 1px solid rgba(255,187,66,0.22);
  background: linear-gradient(180deg, rgba(58, 42, 14, 0.96), rgba(36, 26, 10, 0.96));
  color: #ffcd52;
}

.rewards-ref-card.tone-cyan .rewards-ref-card__icon,
.rewards-ref-history-card.tone-cyan .rewards-ref-history-card__icon {
  border: 1px solid rgba(82,239,255,0.22);
  background: linear-gradient(180deg, rgba(12, 42, 44, 0.96), rgba(8, 28, 30, 0.96));
  color: #75f4ff;
}

.rewards-ref-card__body,
.rewards-ref-history-card__copy {
  min-width: 0;
}

.rewards-ref-card__title,
.rewards-ref-history-card__title {
  font-size: 16px;
  line-height: 1.1;
  font-weight: 900;
  color: #f2f4ef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rewards-ref-card__desc,
.rewards-ref-history-card__meta {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.2;
  color: rgba(225,229,234,0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rewards-ref-card__progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.rewards-ref-card__progress-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(6, 15, 20, 0.9);
  overflow: hidden;
}

.rewards-ref-card__progress-track span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #d9ff2d 0%, #c7ff00 100%);
  box-shadow: 0 0 18px rgba(215,255,45,0.26);
}

.rewards-ref-card__progress-value {
  font-size: 11px;
  font-weight: 800;
  color: rgba(225,229,234,0.84);
  white-space: nowrap;
}

.rewards-ref-card__reward {
  position: relative;
  display: grid;
  gap: 3px;
  align-self: stretch;
  align-content: center;
  justify-items: start;
  padding-left: 12px;
}

.rewards-ref-card__reward::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.12), rgba(255,255,255,0));
}

.rewards-ref-card__reward-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.58);
}

.rewards-ref-card__reward strong {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #f4f5f0;
}

.rewards-ref-card__reward-badge {
  width: 26px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: linear-gradient(180deg, #ffd84f 0%, #c58617 100%);
  color: #50320d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

.rewards-ref-card__reward-badge svg {
  width: 14px;
  height: 14px;
}

.rewards-ref-card__cta,
.rewards-ref-card__statuspill {
  min-width: 88px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 17px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.rewards-ref-card__cta {
  border: 1px solid rgba(105,166,51,0.32);
  background: rgba(13, 34, 26, 0.96);
  color: #d8ff2d;
}

.rewards-ref-card__cta.is-accent {
  background: linear-gradient(180deg, #e5ff2f 0%, #cff70c 100%);
  color: #29310f;
  border-color: rgba(235,255,96,0.36);
  box-shadow: 0 12px 24px rgba(215,255,45,0.2);
}

.rewards-ref-card__statuspill {
  border: 1px solid rgba(111,174,57,0.2);
  background: rgba(10, 26, 20, 0.84);
  color: #c7ff59;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.rewards-ref-history-card__value {
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #f1f2ed;
  white-space: nowrap;
}

.rewards-ref-section--wins .rewards-ref-section__headline span svg {
  width: 18px;
  height: 18px;
  color: #d7ff2d;
}

.rewards-ref-wins {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 122px;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 4px;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}

.rewards-ref-wins::-webkit-scrollbar {
  display: none;
}

.rewards-ref-wins.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.rewards-ref-wins--empty {
  display: block;
  overflow: visible;
  padding: 0;
  cursor: default;
  user-select: auto;
  -webkit-user-select: auto;
  touch-action: manipulation;
}

.rewards-ref-wheel-empty {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(187,255,49,0.22);
  background:
    radial-gradient(circle at 12% 22%, rgba(200,255,36,0.16), rgba(200,255,36,0) 30%),
    linear-gradient(135deg, rgba(13, 37, 29, 0.98), rgba(6, 18, 20, 0.99));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 34px rgba(0,0,0,0.2);
}

.rewards-ref-wheel-empty::after {
  content: '';
  position: absolute;
  inset: auto -18px -34px 34%;
  height: 74px;
  background: radial-gradient(ellipse, rgba(187,255,49,0.16), rgba(187,255,49,0) 68%);
  pointer-events: none;
}

.rewards-ref-wheel-empty__icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #f6e85b;
  background: linear-gradient(180deg, rgba(242,255,81,0.18), rgba(70,54,6,0.3));
  box-shadow: inset 0 0 0 1px rgba(241,231,77,0.24), 0 0 24px rgba(208,255,42,0.12);
}

.rewards-ref-wheel-empty__icon svg {
  width: 26px;
  height: 26px;
}

.rewards-ref-wheel-empty__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rewards-ref-wheel-empty__copy strong {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #f5f7ef;
}

.rewards-ref-wheel-empty__copy span {
  max-width: 28ch;
  font-size: 11px;
  line-height: 1.25;
  color: rgba(225,229,234,0.68);
}

.rewards-ref-wheel-empty__cta {
  position: relative;
  z-index: 1;
  min-width: 92px;
  min-height: 38px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(180deg, #dfff25, #b8ff18);
  color: #12210d;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 0 22px rgba(194,255,30,0.22);
}

.rewards-ref-win-card {
  --win-rgb: 90, 255, 92;
  --win-accent: #dfff25;
  --win-dark: #071916;
  position: relative;
  overflow: hidden;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 12px 10px;
  border-radius: 18px;
  border: 1px solid rgba(var(--win-rgb), 0.3);
  background:
    radial-gradient(circle at 74% 18%, rgba(255,255,255,0.18), rgba(255,255,255,0) 20%),
    radial-gradient(circle at 28% 24%, rgba(var(--win-rgb),0.34), rgba(var(--win-rgb),0) 42%),
    linear-gradient(155deg, rgba(var(--win-rgb),0.24), rgba(7, 19, 20, 0.96) 54%, var(--win-dark));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -32px 46px rgba(0,0,0,0.22),
    0 14px 24px rgba(0,0,0,0.18);
  scroll-snap-align: start;
}

.rewards-ref-win-card::after {
  content: '';
  position: absolute;
  inset: auto -22px -36px 18px;
  height: 78px;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(var(--win-rgb),0.22), rgba(var(--win-rgb),0) 70%);
  pointer-events: none;
}

.rewards-ref-win-card__beam {
  position: absolute;
  top: 28px;
  right: -22px;
  width: 112px;
  height: 14px;
  transform: rotate(-44deg);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.42) 38%, rgba(var(--win-rgb),0.16) 72%, rgba(255,255,255,0) 100%);
  opacity: 0.68;
}

.rewards-ref-win-card__halo {
  position: absolute;
  width: 108px;
  height: 108px;
  right: -14px;
  top: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--win-rgb),0.28) 0%, rgba(255,255,255,0.1) 24%, rgba(255,255,255,0) 68%);
  opacity: 0.72;
}

.rewards-ref-win-card.tone-green {
  --win-rgb: 69, 255, 83;
  --win-accent: #e7ff47;
  --win-dark: #071f18;
}

.rewards-ref-win-card.tone-blue {
  --win-rgb: 70, 154, 255;
  --win-accent: #78baff;
  --win-dark: #07172e;
}

.rewards-ref-win-card.tone-red {
  --win-rgb: 255, 64, 132;
  --win-accent: #ff6aa9;
  --win-dark: #2c0718;
}

.rewards-ref-win-card.tone-gold {
  --win-rgb: 255, 213, 49;
  --win-accent: #ffe762;
  --win-dark: #2a2106;
}

.rewards-ref-win-card.tone-purple {
  --win-rgb: 166, 86, 255;
  --win-accent: #b970ff;
  --win-dark: #19072d;
}

.rewards-ref-win-card__icon {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--win-accent);
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(var(--win-rgb),0.18), 0 0 24px rgba(var(--win-rgb),0.2);
}

.rewards-ref-win-card__icon svg {
  width: 22px;
  height: 22px;
}

.rewards-ref-win-card__value {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #f7f8f1;
  text-shadow: 0 0 18px rgba(var(--win-rgb),0.22);
}

.rewards-ref-win-card.is-multiplier .rewards-ref-win-card__value {
  margin-top: 12px;
  font-size: 36px;
}

.rewards-ref-win-card__subtitle {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 700;
  color: rgba(244,245,240,0.84);
}

.rewards-ref-win-card__time {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-size: 10px;
  line-height: 1.35;
  color: rgba(225,229,234,0.64);
}

.rewards-ref-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 112px;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 22px;
  border: 1px solid rgba(122,172,51,0.22);
  background:
    radial-gradient(circle at 50% 100%, rgba(197,255,41,0.12), rgba(197,255,41,0) 46%),
    linear-gradient(180deg, rgba(12, 33, 27, 0.98), rgba(8, 20, 19, 0.99));
}

.rewards-ref-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 62%, rgba(201,255,59,0.1), rgba(201,255,59,0) 22%),
    radial-gradient(circle at 16% 100%, rgba(201,255,59,0.1), rgba(201,255,59,0) 26%);
  pointer-events: none;
}

.rewards-ref-banner__robot {
  align-self: center;
  justify-self: start;
}

.rewards-ref-banner__robot img {
  display: block;
  width: 82px;
  height: auto;
  object-fit: contain;
}

.rewards-ref-banner__copy {
  align-self: center;
  min-width: 0;
  padding-bottom: 0;
}

.rewards-ref-banner__eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #f3f5ed;
}

.rewards-ref-banner__title {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #b9ff2f;
}

.rewards-ref-banner__text {
  margin-top: 6px;
  max-width: 24ch;
  font-size: 11px;
  line-height: 1.28;
  color: rgba(225,229,234,0.7);
}

.rewards-ref-banner__treasure {
  position: relative;
  width: 112px;
  align-self: center;
  justify-self: end;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.22));
}

.rewards-ref-banner__treasure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.rewards-ref-emptyline,
.rewards-ref-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(112,164,56,0.16);
  background: rgba(11, 24, 23, 0.9);
  color: rgba(225,229,234,0.72);
}

.rewards-ref-empty {
  flex-direction: column;
  align-items: flex-start;
}

.rewards-ref-empty__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(96,255,62,0.14), rgba(8,47,18,0.16));
  color: #e6ffd0;
}

.rewards-ref-empty__icon svg {
  width: 24px;
  height: 24px;
}

.rewards-ref-empty__title {
  font-size: 18px;
  font-weight: 900;
  color: #f2f4ef;
}

.rewards-ref-empty__text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(225,229,234,0.68);
}

@media (max-width: 900px) {
  .lockin-shared-topbar,
  .lockin-shared-topbar.is-compact,
  .lockin-shared-topbar.is-rewards {
    grid-template-columns: minmax(0, 1fr) 228px;
    gap: 8px;
  }

  .rewards-ref-card {
    grid-template-columns: 68px minmax(0, 1fr) 82px 100px;
    gap: 12px;
  }

  .rewards-ref-history-card {
    grid-template-columns: 62px minmax(0, 1fr) auto;
  }
}

@media (max-width: 680px) {
  .lockin-shared-topbar,
  .lockin-shared-topbar.is-compact,
  .lockin-shared-topbar.is-rewards {
    grid-template-columns: minmax(0, 1fr) 208px;
    gap: 8px;
    margin-bottom: 10px;
  }

  .lockin-shared-topbar__header-actions {
    width: 208px;
    min-width: 208px;
    max-width: 208px;
  }

  .lockin-shared-topbar__title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .lockin-shared-topbar.is-compact .lockin-shared-topbar__title {
    font-size: clamp(16px, 4.8vw, 24px);
  }

  .lockin-shared-topbar.is-rewards .lockin-shared-topbar__title {
    font-size: clamp(26px, 7.2vw, 34px);
  }

  .lockin-shared-topbar__sparkles {
    width: 30px;
    height: 34px;
    flex-basis: 30px;
  }

  .lockin-shared-topbar__sparkle {
    width: 24px;
    height: 24px;
  }

  .lockin-shared-topbar__sparkle--mini {
    top: 20px;
    left: 6px;
  }

  .lockin-shared-topbar.is-rewards .lockin-shared-topbar__sparkles {
    width: 32px;
    height: 34px;
    flex-basis: 32px;
  }

  .lockin-shared-topbar.is-rewards .lockin-shared-topbar__sparkle {
    width: 26px;
    height: 26px;
  }

  .rewards-ref-tabs__item {
    min-height: 54px;
    gap: 8px;
    padding: 8px 14px 7px;
    border-radius: 14px 14px 0 0;
    font-size: 16px;
  }

  .rewards-ref-card {
    grid-template-columns: 54px minmax(0, 1fr) 66px 82px;
    gap: 9px;
    padding: 9px 10px;
  }

  .rewards-ref-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .rewards-ref-card__icon svg {
    width: 26px;
    height: 26px;
  }

  .rewards-ref-card__title {
    font-size: 14px;
  }

  .rewards-ref-card__desc {
    font-size: 10px;
  }

  .rewards-ref-card__progress-track {
    height: 8px;
  }

  .rewards-ref-card__progress-value {
    font-size: 10px;
  }

  .rewards-ref-card__reward {
    padding-left: 10px;
  }

  .rewards-ref-card__reward strong {
    font-size: 17px;
  }

  .rewards-ref-card__reward-badge {
    width: 22px;
    height: 16px;
  }

  .rewards-ref-card__cta,
  .rewards-ref-card__statuspill {
    min-width: 80px;
    min-height: 40px;
    font-size: 16px;
    border-radius: 15px;
  }

  .rewards-ref-history-card {
    grid-template-columns: 58px minmax(0, 1fr) auto;
  }

  .rewards-ref-history-card__icon {
    width: 58px;
    height: 58px;
  }

  .rewards-ref-banner {
    grid-template-columns: 72px minmax(0, 1fr) 94px;
    gap: 10px;
    padding: 9px 12px;
  }

  .rewards-ref-banner__robot img {
    width: 72px;
  }

  .rewards-ref-banner__treasure {
    width: 94px;
  }

  .rewards-ref-banner__eyebrow {
    font-size: 12px;
  }

  .rewards-ref-banner__title {
    font-size: 18px;
  }

  .rewards-ref-banner__text {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.24;
  }
}

@media (max-width: 560px) {
  .lockin-shared-topbar,
  .lockin-shared-topbar.is-compact,
  .lockin-shared-topbar.is-rewards {
    grid-template-columns: minmax(0, 1fr) 208px;
    gap: 8px;
  }

  .lockin-shared-topbar__titlebox,
  .lockin-shared-topbar.is-rewards .lockin-shared-topbar__titlebox {
    padding-top: 6px;
  }

  .lockin-shared-topbar__titleline {
    gap: 6px;
  }

  .lockin-shared-topbar__title {
    font-size: clamp(22px, 7vw, 28px);
  }

  .lockin-shared-topbar.is-compact .lockin-shared-topbar__title {
    font-size: clamp(15px, 4.8vw, 20px);
  }

  .lockin-shared-topbar.is-rewards .lockin-shared-topbar__title {
    font-size: clamp(24px, 7.4vw, 30px);
  }

  .lockin-shared-topbar__sparkles,
  .lockin-shared-topbar.is-rewards .lockin-shared-topbar__sparkles {
    width: 28px;
    height: 30px;
    flex-basis: 28px;
  }

  .lockin-shared-topbar__sparkle,
  .lockin-shared-topbar.is-rewards .lockin-shared-topbar__sparkle {
    width: 22px;
    height: 22px;
  }

  .lockin-shared-topbar__sparkle--mini,
  .lockin-shared-topbar.is-rewards .lockin-shared-topbar__sparkle--mini {
    width: 10px;
    height: 10px;
    top: 18px;
    left: 6px;
  }

  .rewards-ref-tabs {
    gap: 6px;
  }

  .rewards-ref-tabs__item {
    min-height: 48px;
    gap: 7px;
    margin-bottom: 0;
    padding: 7px 10px 6px;
    border-radius: 12px 12px 0 0;
    font-size: 14px;
  }

  .rewards-ref-tabs__icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .rewards-ref-tabs__badge {
    transform: translate(18%, -24%);
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    font-size: 12px;
  }

  .rewards-ref-section__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: end;
    flex-wrap: nowrap;
  }

  .rewards-ref-section__headline {
    min-width: 0;
    gap: 6px;
    align-items: baseline;
  }

  .rewards-ref-section__headline h2 {
    font-size: 18px;
  }

  .rewards-ref-section__headline span,
  .rewards-ref-section__total {
    gap: 4px;
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .rewards-ref-section__headline strong,
  .rewards-ref-section__total strong {
    font-size: 1.05em;
  }

  .rewards-ref-section__claimall {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 16px;
    white-space: nowrap;
  }

  .rewards-ref-card {
    grid-template-columns: 44px minmax(0, 1fr) 58px 72px;
    gap: 8px;
    padding: 8px 9px;
  }

  .rewards-ref-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .rewards-ref-card__icon svg {
    width: 22px;
    height: 22px;
  }

  .rewards-ref-card__reward {
    padding-left: 8px;
  }

  .rewards-ref-card__reward-label {
    font-size: 9px;
  }

  .rewards-ref-card__reward strong {
    font-size: 14px;
  }

  .rewards-ref-card__title {
    font-size: 13px;
  }

  .rewards-ref-card__desc,
  .rewards-ref-card__progress-value {
    font-size: 9px;
  }

  .rewards-ref-card__progress {
    gap: 6px;
    margin-top: 6px;
  }

  .rewards-ref-card__progress-track {
    height: 7px;
  }

  .rewards-ref-card__cta,
  .rewards-ref-card__statuspill {
    min-width: 70px;
    min-height: 34px;
    padding: 0 10px;
    font-size: 14px;
    border-radius: 13px;
  }

  .rewards-ref-card__statuspill {
    font-size: 11px;
  }

  .rewards-ref-wins {
    grid-auto-columns: 112px;
    gap: 8px;
  }

  .rewards-ref-wheel-empty {
    grid-template-columns: 46px minmax(0, 1fr) 82px;
    gap: 8px;
    min-height: 84px;
    padding: 12px;
    border-radius: 19px;
  }

  .rewards-ref-wheel-empty__icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .rewards-ref-wheel-empty__copy strong {
    font-size: 14px;
  }

  .rewards-ref-wheel-empty__copy span {
    font-size: 9px;
    line-height: 1.25;
  }

  .rewards-ref-wheel-empty__cta {
    min-width: 78px;
    min-height: 34px;
    border-radius: 13px;
    font-size: 12px;
  }

  .rewards-ref-banner {
    grid-template-columns: 58px minmax(0, 1fr) 82px;
    gap: 8px;
    padding: 8px 10px;
  }

  .rewards-ref-banner__robot img {
    width: 58px;
  }

  .rewards-ref-banner__treasure {
    width: 82px;
  }

  .rewards-ref-banner__eyebrow {
    font-size: 10px;
  }

  .rewards-ref-banner__title {
    font-size: 15px;
  }

.rewards-ref-banner__text {
    margin-top: 3px;
    max-width: 18ch;
    font-size: 9px;
    line-height: 1.2;
  }
}

/* ── History Reference ─────────────────────────────────────── */
.lockin-shared-topbar.is-history {
  grid-template-columns: minmax(0, 1fr) 228px;
  gap: 8px;
  margin-bottom: 12px;
}

.lockin-shared-topbar.is-history .lockin-shared-topbar__titlebox {
  padding-top: 9px;
}

.lockin-shared-topbar.is-history .lockin-shared-topbar__title {
  font-size: clamp(30px, 7vw, 40px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.lockin-shared-topbar.is-history .lockin-shared-topbar__sparkles {
  width: 38px;
  height: 40px;
  flex-basis: 38px;
}

.lockin-shared-topbar.is-history .lockin-shared-topbar__sparkle {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 11px rgba(197,255,27,0.5));
}

.lockin-shared-topbar.is-history .lockin-shared-topbar__sparkle--mini {
  width: 12px;
  height: 12px;
  top: 24px;
  left: 7px;
}

.history-ref-page {
  background: transparent;
}

.history-ref-page__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
  padding-bottom: 22px;
}

.history-ref-filters {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 60px;
  padding: 2px;
  border-radius: 20px;
  border: 1px solid rgba(112,165,56,0.2);
  background: linear-gradient(180deg, rgba(13, 28, 27, 0.98) 0%, rgba(8, 18, 22, 0.99) 100%);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.history-ref-filters::-webkit-scrollbar {
  display: none;
}

.history-ref-filters.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.history-ref-filter {
  position: relative;
  flex: 0 0 auto;
  min-width: 90px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 16px 16px 0 0;
  background: transparent;
  color: rgba(225,229,234,0.68);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  scroll-snap-align: start;
  white-space: nowrap;
}

.history-ref-filter[data-filter="all"] {
  min-width: 110px;
}

.history-ref-filter[data-filter="transactions"] {
  min-width: 154px;
}

.history-ref-filter[data-filter="wheel"] {
  min-width: 112px;
}

.history-ref-filter[data-filter="missions"] {
  min-width: 128px;
}

.history-ref-filter[data-filter="system"] {
  min-width: 112px;
}

.history-ref-filter + .history-ref-filter::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.12), rgba(255,255,255,0));
}

.history-ref-filter.is-active {
  color: #d8ff2d;
  border: 1px solid rgba(162,255,56,0.34);
  border-bottom-color: transparent;
  background:
    radial-gradient(circle at 50% 112%, rgba(197,255,41,0.12), rgba(197,255,41,0) 56%),
    linear-gradient(180deg, rgba(15, 37, 24, 0.98) 0%, rgba(10, 22, 18, 0.99) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.history-ref-filter.is-active::after {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(215,255,45,0.2), #d7ff2d, rgba(215,255,45,0.2));
  box-shadow: 0 0 18px rgba(215,255,45,0.18);
}

.history-ref-filter__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: currentColor;
}

.history-ref-filter__icon svg {
  width: 100%;
  height: 100%;
}

.history-ref-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 16px 6px;
  border-radius: 24px;
  border: 1px solid rgba(112,165,56,0.24);
  background: linear-gradient(180deg, rgba(13, 28, 27, 0.98) 0%, rgba(8, 18, 22, 0.99) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.history-ref-summary__metric {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 2px 18px 4px;
}

.history-ref-summary__metric + .history-ref-summary__metric::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.12), rgba(255,255,255,0));
}

.history-ref-summary__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.62);
}

.history-ref-summary__meta span:last-child {
  white-space: nowrap;
}

.history-ref-summary__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.history-ref-summary__icon svg {
  width: 100%;
  height: 100%;
}

.history-ref-summary__metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 4.3vw, 32px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: #f5f6ef;
}

.history-ref-summary__metric em {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.58);
}

.history-ref-summary__metric.tone-green .history-ref-summary__icon {
  color: #36ff54;
}

.history-ref-summary__metric.tone-gold .history-ref-summary__icon {
  color: #ffe03f;
}

.history-ref-summary__metric.tone-cyan .history-ref-summary__icon {
  color: #53f7ff;
}

.history-ref-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.history-ref-group__label {
  padding-inline: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.62);
}

.history-ref-group__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-ref-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 70px minmax(92px, auto) 14px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 20px;
  border: 1px solid rgba(112,165,56,0.16);
  background: linear-gradient(180deg, rgba(13, 28, 27, 0.98) 0%, rgba(8, 18, 22, 0.99) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.history-ref-item__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.history-ref-item__icon svg {
  width: 28px;
  height: 28px;
}

.history-ref-item__icon.tone-deposit,
.history-ref-item__icon.tone-withdrawal {
  border: 1px solid rgba(88,197,74,0.24);
  background: linear-gradient(180deg, rgba(16, 47, 27, 0.96), rgba(10, 30, 19, 0.96));
  color: #43ff5f;
}

.history-ref-item__icon.tone-wheel {
  border: 1px solid rgba(163,86,255,0.24);
  background: linear-gradient(180deg, rgba(44, 18, 68, 0.96), rgba(28, 12, 42, 0.96));
  color: #b05fff;
}

.history-ref-item__icon.tone-shield {
  border: 1px solid rgba(79,127,255,0.24);
  background: linear-gradient(180deg, rgba(18, 34, 72, 0.96), rgba(12, 20, 43, 0.96));
  color: #5b95ff;
}

.history-ref-item__icon.tone-mission {
  border: 1px solid rgba(255,188,66,0.24);
  background: linear-gradient(180deg, rgba(56, 40, 14, 0.96), rgba(34, 24, 10, 0.96));
  color: #ffcc45;
}

.history-ref-item__icon.tone-referral {
  border: 1px solid rgba(80,239,255,0.24);
  background: linear-gradient(180deg, rgba(12, 41, 43, 0.96), rgba(8, 28, 30, 0.96));
  color: #59f3ff;
}

.history-ref-item__icon.tone-system {
  border: 1px solid rgba(154,163,174,0.2);
  background: linear-gradient(180deg, rgba(30, 34, 40, 0.96), rgba(18, 23, 28, 0.96));
  color: #d7dce5;
}

.history-ref-item__copy {
  min-width: 0;
}

.history-ref-item__title {
  font-size: 16px;
  line-height: 1.04;
  font-weight: 900;
  color: #f2f4ef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-ref-item__subtitle {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.22;
  color: rgba(225,229,234,0.74);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-ref-item__time {
  justify-self: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  color: rgba(225,229,234,0.56);
  white-space: nowrap;
}

.history-ref-item__side {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 0;
}

.history-ref-item__value {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 4vw, 26px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.history-ref-item__value.tone-positive {
  color: #32ff45;
}

.history-ref-item__value.tone-negative,
.history-ref-item__value.tone-neutral {
  color: #f1f3ee;
}

.history-ref-item__value.tone-info {
  color: #4d97ff;
}

.history-ref-item__value-chip {
  width: 26px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: linear-gradient(180deg, #ffd84f 0%, #c58617 100%);
  color: #50320d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24);
}

.history-ref-item__value-chip svg {
  width: 14px;
  height: 14px;
}

.history-ref-item__badge {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.history-ref-item__badge.tone-success {
  border: 1px solid rgba(91,196,61,0.26);
  background: rgba(15, 46, 25, 0.94);
  color: #47ff53;
}

.history-ref-item__badge.tone-info {
  border: 1px solid rgba(76,132,255,0.26);
  background: rgba(12, 31, 64, 0.94);
  color: #59a1ff;
}

.history-ref-item__badge.tone-warn {
  border: 1px solid rgba(255,195,70,0.24);
  background: rgba(51, 39, 12, 0.94);
  color: #ffd353;
}

.history-ref-item__badge.tone-danger {
  border: 1px solid rgba(255,92,103,0.24);
  background: rgba(58, 18, 23, 0.94);
  color: #ff7280;
}

.history-ref-item__chevron {
  width: 14px;
  height: 14px;
  color: rgba(225,229,234,0.4);
}

.history-ref-item__chevron svg {
  width: 100%;
  height: 100%;
}

.history-ref-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(112,164,56,0.16);
  background: rgba(11, 24, 23, 0.9);
}

.history-ref-empty__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(96,255,62,0.14), rgba(8,47,18,0.16));
  color: #e6ffd0;
}

.history-ref-empty__icon svg {
  width: 24px;
  height: 24px;
}

.history-ref-empty__title {
  font-size: 18px;
  font-weight: 900;
  color: #f2f4ef;
}

.history-ref-empty__text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(225,229,234,0.68);
}

@media (max-width: 680px) {
  .lockin-shared-topbar.is-history {
    grid-template-columns: minmax(0, 1fr) 208px;
    gap: 8px;
    margin-bottom: 10px;
  }

  .lockin-shared-topbar.is-history .lockin-shared-topbar__title {
    font-size: clamp(26px, 7.2vw, 34px);
  }

  .lockin-shared-topbar.is-history .lockin-shared-topbar__sparkles {
    width: 32px;
    height: 34px;
    flex-basis: 32px;
  }

  .lockin-shared-topbar.is-history .lockin-shared-topbar__sparkle {
    width: 26px;
    height: 26px;
  }

  .history-ref-page__content {
    gap: 13px;
    padding-bottom: 20px;
  }

  .history-ref-filters {
    min-height: 56px;
    border-radius: 18px;
  }

  .history-ref-filter {
    min-width: 84px;
    min-height: 50px;
    gap: 7px;
    padding: 0 12px;
    font-size: 13px;
  }

  .history-ref-filter[data-filter="all"] {
    min-width: 98px;
  }

  .history-ref-filter[data-filter="transactions"] {
    min-width: 140px;
  }

  .history-ref-filter[data-filter="wheel"] {
    min-width: 102px;
  }

  .history-ref-filter[data-filter="missions"] {
    min-width: 118px;
  }

  .history-ref-filter[data-filter="system"] {
    min-width: 102px;
  }

  .history-ref-filter__icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .history-ref-summary {
    padding: 14px 4px;
    border-radius: 22px;
  }

  .history-ref-summary__metric {
    padding-inline: 14px;
  }

  .history-ref-summary__meta {
    gap: 8px;
    font-size: 7px;
  }

  .history-ref-summary__icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .history-ref-summary__metric strong {
    font-size: clamp(18px, 4vw, 24px);
  }

  .history-ref-summary__metric em {
    font-size: 10px;
  }

  .history-ref-group__label {
    font-size: 14px;
  }

  .history-ref-item {
    grid-template-columns: 50px minmax(0, 1fr) 62px minmax(78px, auto) 12px;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 18px;
  }

  .history-ref-item__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .history-ref-item__icon svg {
    width: 24px;
    height: 24px;
  }

  .history-ref-item__title {
    font-size: 14px;
  }

  .history-ref-item__subtitle {
    margin-top: 3px;
    font-size: 10px;
  }

  .history-ref-item__time {
    font-size: 10px;
  }

  .history-ref-item__value {
    gap: 6px;
    font-size: clamp(16px, 4vw, 22px);
  }

  .history-ref-item__value-chip {
    width: 22px;
    height: 16px;
    border-radius: 6px;
  }

  .history-ref-item__value-chip svg {
    width: 12px;
    height: 12px;
  }

  .history-ref-item__badge {
    min-height: 22px;
    padding: 0 8px;
    border-radius: 9px;
    font-size: 11px;
  }

  .history-ref-empty {
    padding: 16px;
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .lockin-shared-topbar.is-history {
    grid-template-columns: minmax(0, 1fr) 208px;
    gap: 8px;
  }

  .lockin-shared-topbar.is-history .lockin-shared-topbar__titlebox {
    padding-top: 6px;
  }

  .lockin-shared-topbar.is-history .lockin-shared-topbar__title {
    font-size: clamp(24px, 7.4vw, 30px);
  }

  .lockin-shared-topbar.is-history .lockin-shared-topbar__sparkles {
    width: 28px;
    height: 30px;
    flex-basis: 28px;
  }

  .lockin-shared-topbar.is-history .lockin-shared-topbar__sparkle {
    width: 22px;
    height: 22px;
  }

  .lockin-shared-topbar.is-history .lockin-shared-topbar__sparkle--mini {
    width: 10px;
    height: 10px;
    top: 18px;
    left: 6px;
  }

  .history-ref-page__content {
    gap: 12px;
  }

  .history-ref-filters {
    min-height: 54px;
    border-radius: 18px;
  }

  .history-ref-filter {
    min-width: 80px;
    min-height: 48px;
    gap: 6px;
    padding: 0 10px;
    font-size: 11px;
  }

  .history-ref-filter[data-filter="all"] {
    min-width: 88px;
  }

  .history-ref-filter[data-filter="transactions"] {
    min-width: 128px;
  }

  .history-ref-filter[data-filter="wheel"] {
    min-width: 94px;
  }

  .history-ref-filter[data-filter="missions"] {
    min-width: 110px;
  }

  .history-ref-filter[data-filter="system"] {
    min-width: 96px;
  }

  .history-ref-summary {
    padding: 12px 2px;
    border-radius: 20px;
  }

  .history-ref-summary__metric {
    gap: 7px;
    padding-inline: 11px;
  }

  .history-ref-summary__meta {
    gap: 6px;
    font-size: 6px;
  }

  .history-ref-summary__icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .history-ref-summary__metric strong {
    font-size: clamp(16px, 4.8vw, 22px);
  }

  .history-ref-summary__metric em {
    font-size: 9px;
  }

  .history-ref-group {
    gap: 8px;
  }

  .history-ref-group__label {
    padding-inline: 6px;
    font-size: 13px;
  }

  .history-ref-group__items {
    gap: 7px;
  }

  .history-ref-item {
    grid-template-columns: 46px minmax(0, 1fr) 58px minmax(70px, auto) 12px;
    gap: 8px;
    padding: 8px 9px;
    border-radius: 17px;
  }

  .history-ref-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .history-ref-item__icon svg {
    width: 22px;
    height: 22px;
  }

  .history-ref-item__title {
    font-size: 13px;
  }

  .history-ref-item__subtitle {
    font-size: 9px;
  }

  .history-ref-item__time {
    font-size: 9px;
  }

  .history-ref-item__value {
    font-size: clamp(15px, 4.5vw, 19px);
  }

  .history-ref-item__badge {
    min-height: 20px;
    padding: 0 7px;
    font-size: 10px;
  }

  .history-ref-empty__title {
    font-size: 17px;
  }

  .history-ref-empty__text {
    font-size: 12px;
  }
}

/* ── Profile Reference ─────────────────────────────────────── */
.lockin-shared-topbar.is-profile {
  grid-template-columns: minmax(0, 1fr) 228px;
  gap: 8px;
  margin-bottom: 12px;
}

.lockin-shared-topbar.is-profile .lockin-shared-topbar__titlebox {
  padding-top: 9px;
}

.lockin-shared-topbar.is-profile .lockin-shared-topbar__title {
  font-size: clamp(30px, 7vw, 40px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.lockin-shared-topbar.is-profile .lockin-shared-topbar__sparkles {
  width: 38px;
  height: 40px;
  flex-basis: 38px;
}

.lockin-shared-topbar.is-profile .lockin-shared-topbar__sparkle {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 11px rgba(197,255,27,0.5));
}

.lockin-shared-topbar.is-profile .lockin-shared-topbar__sparkle--mini {
  width: 12px;
  height: 12px;
  top: 24px;
  left: 7px;
}

.profile-ref-page {
  background: transparent;
}

.profile-ref-page__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
  padding-bottom: 22px;
}

.profile-ref-hero,
.profile-ref-stats,
.profile-ref-slots,
.profile-ref-menu {
  border-radius: 24px;
  border: 1px solid rgba(112,165,56,0.2);
  background: linear-gradient(180deg, rgba(13, 28, 27, 0.98) 0%, rgba(8, 18, 22, 0.99) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.profile-ref-hero {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr) 164px;
  grid-template-areas: "media main meta";
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
}

.profile-ref-hero__media {
  grid-area: media;
  position: relative;
  width: 156px;
  height: 156px;
  min-height: 0;
  display: grid;
  place-items: center;
  justify-self: start;
}

.profile-ref-hero__avatar {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
}

.profile-ref-hero__orb {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(214,255,52,0.28) 0%, rgba(214,255,52,0.08) 44%, rgba(214,255,52,0) 72%);
  filter: blur(10px);
}

.profile-ref-hero__ring {
  position: absolute;
  inset: 10px;
  border-radius: 999px;
  border: 5px solid #d8ff2d;
  box-shadow:
    0 0 0 2px rgba(216,255,45,0.06),
    0 0 30px rgba(191,255,44,0.32),
    inset 0 0 24px rgba(191,255,44,0.18);
}

.profile-ref-hero__robot {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,0.28));
}

.profile-ref-hero__edit {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(124,188,61,0.22);
  background: rgba(12, 27, 20, 0.96);
  color: #d7ff2d;
}

.profile-ref-hero__edit svg {
  width: 16px;
  height: 16px;
}

.profile-ref-hero__edit--orb {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
}

.profile-ref-hero__main {
  grid-area: main;
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: center;
}

.profile-ref-hero__namebar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.profile-ref-hero__name {
  min-width: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #f3f5ef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-ref-hero__badge {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 2px solid rgba(255,196,56,0.92);
  background: linear-gradient(180deg, rgba(33, 31, 10, 0.86) 0%, rgba(12, 17, 11, 0.96) 100%);
  color: #ffcf46;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-ref-hero__badge-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-ref-hero__badge-icon svg {
  width: 100%;
  height: 100%;
}

.profile-ref-hero__uidrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.profile-ref-hero__uid {
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(225,229,234,0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-ref-hero__copy {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(225,229,234,0.7);
}

.profile-ref-hero__copy svg {
  width: 18px;
  height: 18px;
}

.profile-ref-hero__meta {
  grid-area: meta;
  display: grid;
  gap: 22px;
  align-content: center;
}

.profile-ref-hero__meta-item {
  display: grid;
  gap: 6px;
}

.profile-ref-hero__meta-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.52);
}

.profile-ref-hero__meta-value {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  color: #f3f5ef;
}

.profile-ref-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: rgba(225,229,234,0.72);
}

.profile-ref-hero__live.is-online {
  color: #39ff4d;
}

.profile-ref-hero__live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

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

.profile-ref-stats__item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  padding: 10px 8px 8px;
  text-align: center;
}

.profile-ref-stats__item + .profile-ref-stats__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.12), rgba(255,255,255,0));
}

.profile-ref-stats__icon {
  width: 28px;
  height: 28px;
  color: #d8ff2d;
}

.profile-ref-stats__icon svg {
  width: 100%;
  height: 100%;
}

.profile-ref-stats__label {
  min-height: 30px;
  display: grid;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.58);
}

.profile-ref-stats__value {
  font-family: var(--font-display);
  font-size: clamp(22px, 4.2vw, 34px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #f5f6ef;
}

.profile-ref-slots {
  padding: 16px 16px 18px;
}

.profile-ref-slots__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.profile-ref-slots__titlebar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.profile-ref-slots__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.4vw, 34px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #f2f4ef;
  text-transform: uppercase;
}

.profile-ref-slots__count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(225,229,234,0.72);
  white-space: nowrap;
}

.profile-ref-slots__count span {
  color: #d7ff2d;
}

.profile-ref-slots__info {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(112,166,57,0.26);
  background: rgba(11, 33, 21, 0.92);
  color: #51ff61;
}

.profile-ref-slots__info svg {
  width: 15px;
  height: 15px;
}

.profile-ref-slots__upgrade,
.profile-ref-slots__unlock {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 18px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-ref-slots__upgrade {
  border: 1px solid rgba(123,186,61,0.28);
  background: rgba(12, 32, 24, 0.96);
  color: #d8ff2d;
}

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

.profile-ref-slots__card {
  position: relative;
  overflow: hidden;
  min-height: 244px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px 16px 14px;
  border-radius: 20px;
  border: 1px solid rgba(117,170,59,0.22);
  background: linear-gradient(180deg, rgba(12, 30, 23, 0.98) 0%, rgba(8, 20, 18, 0.99) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.profile-ref-slots__card.is-active {
  background:
    radial-gradient(circle at 76% 88%, rgba(193,255,55,0.12), rgba(193,255,55,0) 28%),
    linear-gradient(180deg, rgba(17, 48, 31, 0.98) 0%, rgba(11, 27, 20, 0.99) 100%);
}

.profile-ref-slots__card.is-locked {
  justify-items: center;
  align-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(14, 24, 31, 0.98) 0%, rgba(11, 18, 24, 0.99) 100%);
  border-color: rgba(121,133,147,0.18);
}

.profile-ref-slots__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.profile-ref-slots__card-title {
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.6vw, 30px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #f3f5ef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-ref-slots__status {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(49, 140, 36, 0.34);
  color: #52ff60;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.profile-ref-slots__card-copy {
  display: grid;
  gap: 8px;
}

.profile-ref-slots__card-line {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.18;
  color: rgba(225,229,234,0.74);
}

.profile-ref-slots__card-line--accent {
  color: #6dd521;
}

.profile-ref-slots__robot {
  position: absolute;
  right: 6px;
  bottom: -17px;
  pointer-events: none;
}

.profile-ref-slots__robot img {
  display: block;
  width: 126px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.28));
}

.profile-ref-slots__lock {
  width: 44px;
  height: 44px;
  color: #d7ff2d;
}

.profile-ref-slots__lock svg {
  width: 100%;
  height: 100%;
}

.profile-ref-slots__locked-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.08;
  color: #f2f4ef;
}

.profile-ref-slots__locked-text {
  max-width: 14ch;
  font-size: 11px;
  line-height: 1.24;
  color: rgba(225,229,234,0.62);
}

.profile-ref-slots__unlock {
  margin-top: 4px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(117,132,147,0.18);
  background: rgba(18, 28, 34, 0.96);
  color: rgba(225,229,234,0.58);
  font-size: 16px;
}

.profile-ref-menu {
  overflow: hidden;
  padding: 6px 0;
}

.profile-ref-menu__row {
  width: 100%;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.profile-ref-menu__row + .profile-ref-menu__row {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.profile-ref-menu__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(114,168,58,0.22);
  background: linear-gradient(180deg, rgba(17, 47, 31, 0.96), rgba(12, 31, 22, 0.96));
  color: #52ff63;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.profile-ref-menu__icon svg {
  width: 28px;
  height: 28px;
}

.profile-ref-menu__body {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.profile-ref-menu__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.8vw, 30px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #f3f5ef;
}

.profile-ref-menu__text {
  font-size: 13px;
  line-height: 1.24;
  color: rgba(225,229,234,0.64);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-ref-menu__side {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  color: rgba(225,229,234,0.44);
}

.profile-ref-menu__side-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: rgba(225,229,234,0.72);
  white-space: nowrap;
}

.profile-ref-menu__side-label svg {
  width: 15px;
  height: 15px;
  color: #49ff5d;
}

.profile-ref-menu__chevron {
  width: 16px;
  height: 16px;
}

.profile-ref-menu__chevron svg {
  width: 100%;
  height: 100%;
}

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

.profile-ref-sheet__intro {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(225,229,234,0.7);
}

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

.profile-ref-sheet__action {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(114,168,58,0.16);
  background: rgba(9, 23, 21, 0.94);
  color: inherit;
  text-align: left;
}

.profile-ref-sheet__action-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(114,168,58,0.2);
  background: linear-gradient(180deg, rgba(17, 47, 31, 0.96), rgba(12, 31, 22, 0.96));
  color: #52ff63;
}

.profile-ref-sheet__action-icon svg {
  width: 22px;
  height: 22px;
}

.profile-ref-sheet__action-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.profile-ref-sheet__action-title {
  font-size: 15px;
  font-weight: 800;
  color: #f3f5ef;
}

.profile-ref-sheet__action-text {
  font-size: 12px;
  line-height: 1.3;
  color: rgba(225,229,234,0.64);
}

.profile-ref-sheet__action-side {
  width: 16px;
  height: 16px;
  color: rgba(225,229,234,0.46);
}

.profile-ref-sheet__action-side svg {
  width: 100%;
  height: 100%;
}

.profile-ref-sheet__note {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(114,168,58,0.14);
  background: rgba(9, 23, 21, 0.92);
}

.profile-ref-sheet__note-item {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(225,229,234,0.68);
}

.profile-ref-name-modal {
  gap: 12px;
}

.profile-ref-name-modal__field {
  display: grid;
  gap: 8px;
}

.profile-ref-name-modal__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(225,229,234,0.6);
}

.profile-ref-name-modal__input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(116,170,58,0.2);
  background: rgba(9, 23, 21, 0.96);
  color: #f3f5ef;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.profile-ref-name-modal__input::placeholder {
  color: rgba(225,229,234,0.34);
}

.profile-ref-name-modal__input:focus {
  border-color: rgba(165,255,58,0.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 3px rgba(165,255,58,0.08);
}

.profile-ref-name-modal__hint {
  font-size: 12px;
  line-height: 1.42;
  color: rgba(225,229,234,0.62);
}

.profile-ref-name-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 680px) {
  .lockin-shared-topbar.is-profile {
    grid-template-columns: minmax(0, 1fr) 208px;
    gap: 8px;
    margin-bottom: 10px;
  }

  .lockin-shared-topbar.is-profile .lockin-shared-topbar__title {
    font-size: clamp(26px, 7.2vw, 34px);
  }

  .lockin-shared-topbar.is-profile .lockin-shared-topbar__sparkles {
    width: 32px;
    height: 34px;
    flex-basis: 32px;
  }

  .lockin-shared-topbar.is-profile .lockin-shared-topbar__sparkle {
    width: 26px;
    height: 26px;
  }

  .profile-ref-page__content {
    gap: 13px;
    padding-bottom: 20px;
  }

  .profile-ref-hero {
    grid-template-columns: 122px minmax(0, 1fr);
    grid-template-areas:
      "media main"
      "meta meta";
    gap: 12px;
    padding: 12px;
  }

  .profile-ref-hero__media {
    width: 122px;
    height: 122px;
  }

  .profile-ref-hero__orb {
    inset: 0;
  }

  .profile-ref-hero__ring {
    inset: 8px;
    border-width: 4px;
  }

  .profile-ref-hero__robot {
    width: calc(100% - 22px);
    height: calc(100% - 22px);
  }

  .profile-ref-hero__edit--orb {
    right: 10px;
    bottom: 10px;
  }

  .profile-ref-hero__main {
    gap: 8px;
  }

  .profile-ref-hero__name {
    font-size: clamp(20px, 5.6vw, 28px);
  }

  .profile-ref-hero__badge {
    min-height: 34px;
    padding: 0 12px;
    font-size: 15px;
  }

  .profile-ref-hero__uid {
    font-size: 11px;
  }

  .profile-ref-hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 2px;
  }

  .profile-ref-hero__meta-label {
    font-size: 10px;
  }

  .profile-ref-hero__meta-value,
  .profile-ref-hero__live {
    font-size: 14px;
  }

  .profile-ref-stats {
    padding: 8px 2px;
  }

  .profile-ref-stats__item {
    gap: 6px;
    padding-inline: 6px;
  }

  .profile-ref-stats__icon {
    width: 24px;
    height: 24px;
  }

  .profile-ref-stats__label {
    min-height: 26px;
    font-size: 9px;
  }

  .profile-ref-stats__value {
    font-size: clamp(18px, 4.4vw, 24px);
  }

  .profile-ref-slots {
    padding: 14px 12px 16px;
  }

  .profile-ref-slots__head {
    gap: 10px;
    margin-bottom: 12px;
  }

  .profile-ref-slots__title {
    font-size: clamp(20px, 5vw, 26px);
  }

  .profile-ref-slots__count {
    font-size: 14px;
  }

  .profile-ref-slots__upgrade,
  .profile-ref-slots__unlock {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 16px;
    font-size: 15px;
  }

  .profile-ref-slots__grid {
    gap: 10px;
  }

  .profile-ref-slots__card {
    min-height: 198px;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  .profile-ref-slots__card-title {
    font-size: clamp(18px, 4.2vw, 24px);
  }

  .profile-ref-slots__status {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
  }

  .profile-ref-slots__card-line {
    font-size: 11px;
  }

  .profile-ref-slots__robot img {
    width: 94px;
  }

  .profile-ref-menu__row {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 12px;
  }

  .profile-ref-menu__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .profile-ref-menu__icon svg {
    width: 24px;
    height: 24px;
  }

  .profile-ref-menu__title {
    font-size: clamp(18px, 4.2vw, 24px);
  }

  .profile-ref-menu__text {
    font-size: 11px;
  }

  .profile-ref-menu__side-label {
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  .lockin-shared-topbar.is-profile {
    grid-template-columns: minmax(0, 1fr) 208px;
    gap: 8px;
  }

  .lockin-shared-topbar.is-profile .lockin-shared-topbar__titlebox {
    padding-top: 6px;
  }

  .lockin-shared-topbar.is-profile .lockin-shared-topbar__title {
    font-size: clamp(24px, 7.4vw, 30px);
  }

  .lockin-shared-topbar.is-profile .lockin-shared-topbar__sparkles {
    width: 28px;
    height: 30px;
    flex-basis: 28px;
  }

  .lockin-shared-topbar.is-profile .lockin-shared-topbar__sparkle {
    width: 22px;
    height: 22px;
  }

  .lockin-shared-topbar.is-profile .lockin-shared-topbar__sparkle--mini {
    width: 10px;
    height: 10px;
    top: 18px;
    left: 6px;
  }

  .profile-ref-page__content {
    gap: 12px;
  }

  .profile-ref-hero {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .profile-ref-hero__media {
    width: 108px;
    height: 108px;
  }

  .profile-ref-hero__robot {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
  }

  .profile-ref-hero__edit,
  .profile-ref-hero__edit--orb {
    width: 30px;
    height: 30px;
  }

  .profile-ref-hero__namebar {
    gap: 6px;
  }

  .profile-ref-hero__name {
    font-size: clamp(18px, 5.4vw, 24px);
  }

  .profile-ref-hero__badge {
    min-height: 30px;
    gap: 6px;
    padding: 0 10px;
    font-size: 13px;
  }

  .profile-ref-hero__badge-icon {
    width: 14px;
    height: 14px;
  }

  .profile-ref-hero__uidrow {
    gap: 6px;
  }

  .profile-ref-hero__uid {
    font-size: 10px;
  }

  .profile-ref-hero__copy {
    width: 24px;
    height: 24px;
  }

  .profile-ref-hero__copy svg {
    width: 16px;
    height: 16px;
  }

  .profile-ref-hero__meta-label {
    font-size: 9px;
  }

  .profile-ref-hero__meta-value,
  .profile-ref-hero__live {
    font-size: 12px;
  }

  .profile-ref-hero__live-dot {
    width: 8px;
    height: 8px;
  }

  .profile-ref-stats__item {
    padding-inline: 4px;
  }

  .profile-ref-stats__label {
    min-height: 24px;
    font-size: 8px;
  }

  .profile-ref-stats__value {
    font-size: clamp(16px, 4.4vw, 20px);
  }

  .profile-ref-slots__head {
    align-items: flex-start;
  }

  .profile-ref-slots__titlebar {
    gap: 8px;
  }

  .profile-ref-slots__title {
    font-size: clamp(18px, 5vw, 22px);
  }

  .profile-ref-slots__count {
    font-size: 12px;
  }

  .profile-ref-slots__info {
    width: 26px;
    height: 26px;
  }

  .profile-ref-slots__upgrade,
  .profile-ref-slots__unlock {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 13px;
  }

  .profile-ref-slots__card {
    min-height: 182px;
    padding: 10px;
  }

  .profile-ref-slots__card-title {
    font-size: 16px;
  }

  .profile-ref-slots__status {
    min-height: 28px;
    padding: 0 9px;
    font-size: 11px;
  }

  .profile-ref-slots__robot img {
    width: 82px;
  }

  .profile-ref-slots__locked-title {
    font-size: 14px;
  }

  .profile-ref-slots__locked-text {
    font-size: 10px;
  }

  .profile-ref-menu__row {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 10px;
  }

  .profile-ref-menu__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .profile-ref-menu__icon svg {
    width: 22px;
    height: 22px;
  }

  .profile-ref-menu__title {
    font-size: 16px;
  }

  .profile-ref-menu__text {
    font-size: 10px;
  }

  .profile-ref-menu__side {
    gap: 8px;
  }

  .profile-ref-menu__side-label {
    font-size: 10px;
  }

  .profile-ref-sheet__action {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 12px;
  }

  .profile-ref-sheet__action-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .profile-ref-sheet__action-icon svg {
    width: 20px;
    height: 20px;
  }

  .profile-ref-name-modal__input {
    min-height: 48px;
    padding-inline: 14px;
    border-radius: 14px;
    font-size: 15px;
  }

  .profile-ref-name-modal__hint {
    font-size: 11px;
  }

  .profile-ref-name-modal__actions {
    gap: 8px;
  }
}
