.app-main:has(.contract-page) {
  padding: 0 0 calc(var(--tabbar-height) + var(--safe-bottom));
  background: #020302;
}

.contract-page {
  --c-bg: #020302;
  --c-card: rgba(14, 18, 12, 0.72);
  --c-border: rgba(182, 245, 58, 0.14);
  --c-accent: #b6f53a;
  --c-text: #f4f7ef;
  --c-muted: #8f9688;
  --c-sub: #dfe8d2;
  --c-panel: rgba(14, 18, 12, 0.75);
  position: relative;
  isolation: isolate;
  min-height: 100%;
  padding: 12px 0 20px;
  background:
    radial-gradient(120% 70% at 50% -8%, rgba(126, 201, 34, 0.14), transparent 55%),
    linear-gradient(180deg, #050805 0%, #020302 50%, #000 100%);
  color: var(--c-text);
  font-feature-settings: "tnum" 1;
}

.contract-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.contract-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.48;
  animation: contract-float 10s ease-in-out infinite;
}

.contract-orb-a {
  width: 210px;
  height: 210px;
  top: 8%;
  right: -70px;
  background: radial-gradient(circle, rgba(182, 245, 58, 0.3), transparent 68%);
}

.contract-orb-b {
  width: 240px;
  height: 240px;
  bottom: 18%;
  left: -90px;
  background: radial-gradient(circle, rgba(90, 160, 30, 0.22), transparent 70%);
  animation-delay: -3.5s;
}

.contract-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(182, 245, 58, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 245, 58, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 70%);
  opacity: 0.6;
}

@keyframes contract-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(14px) scale(1.05); }
}

.contract-header,
.contract-hero,
.contract-card {
  position: relative;
  z-index: 1;
}

.contract-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  z-index: 90;
}

.contract-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.contract-logo-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(182, 245, 58, 0.08);
  border: 1px solid rgba(182, 245, 58, 0.22);
  box-shadow: 0 0 16px rgba(182, 245, 58, 0.16);
  flex-shrink: 0;
}

.contract-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 5px;
}

.contract-brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.contract-wallet-wrap {
  position: relative;
  flex-shrink: 0;
}

.contract-wallet-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 118px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(12, 16, 10, 0.96);
  border: 1px solid rgba(182, 245, 58, 0.2);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 18px rgba(182, 245, 58, 0.08);
  z-index: 100;
  backdrop-filter: blur(12px);
}

.contract-wallet-menu[hidden] {
  display: none !important;
}

.contract-wallet-menu button {
  width: 100%;
  height: 34px;
  border: 0;
  background: transparent;
  color: #f2f2f2;
  font-size: 13px;
  padding: 0 10px;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
}

.contract-wallet-menu button:active {
  background: rgba(182, 245, 58, 0.12);
  color: var(--c-accent);
}

.contract-wallet.connected {
  border-color: rgba(182, 245, 58, 0.55);
  box-shadow: 0 0 16px rgba(182, 245, 58, 0.2);
}

.contract-lang,
.contract-wallet {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 34px;
  padding: 0 10px;
  border-radius: 11px;
  border: 1px solid rgba(182, 245, 58, 0.14);
  background: var(--c-panel);
  color: var(--c-text);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contract-lang img,
.contract-wallet img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.contract-lang-caret {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  display: block;
  color: #cfd8c2;
}

.contract-wallet {
  border-color: rgba(182, 245, 58, 0.45);
  background: rgba(182, 245, 58, 0.08);
  box-shadow: 0 0 14px rgba(182, 245, 58, 0.12);
}

.contract-hero {
  position: relative;
  margin: 8px 16px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(182, 245, 58, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.3),
    0 0 24px rgba(182, 245, 58, 0.08);
}

.contract-banner {
  display: block;
  width: 100%;
  height: 196px;
  object-fit: cover;
  object-position: right center;
}

.contract-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 3, 2, 0.72) 0%, rgba(2, 3, 2, 0.28) 55%, transparent 100%);
  pointer-events: none;
}

.contract-hero-text {
  position: absolute;
  left: 16px;
  top: 22px;
  right: 38%;
  z-index: 1;
}

.contract-hero-text h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.04em;
  text-shadow: 0 0 18px rgba(182, 245, 58, 0.25);
}

.contract-hero-text p {
  margin: 14px 0 0;
  font-size: 13px;
  color: #cfd8c2;
  line-height: 1.35;
}

.contract-card {
  margin: 14px 16px 0;
  padding: 16px 14px;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(182, 245, 58, 0.07), transparent 42%),
    var(--c-card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 28px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.contract-card-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  right: -40px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 245, 58, 0.18), transparent 70%);
  pointer-events: none;
}

.contract-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #dfe8d2;
}

.contract-card-title img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(182, 245, 58, 0.35));
}

.contract-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 8px;
}

.contract-stat {
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid rgba(182, 245, 58, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.contract-stat-label {
  font-size: 10px;
  color: var(--c-muted);
}

.contract-stat-value {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 650;
  color: var(--c-accent);
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(182, 245, 58, 0.2);
}

.contract-desc {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--c-muted);
}

.contract-hero .contract-apy {
  position: absolute;
  left: 12px;
  right: auto;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 95%;
  height: 60px;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(182, 245, 58, 0.22);
  background: rgba(8, 10, 6, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contract-apy.is-clickable {
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.contract-apy.is-clickable:active {
  transform: scale(0.985);
  border-color: rgba(182, 245, 58, 0.4);
  box-shadow: 0 0 16px rgba(182, 245, 58, 0.16);
}

.contract-apy-left {
  min-width: 0;
}

.contract-apy-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contract-apy-title {
  font-size: 13px;
  font-weight: 650;
  color: var(--c-sub);
}

.contract-apy-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--c-accent);
  filter: drop-shadow(0 0 6px rgba(182, 245, 58, 0.35));
}

.contract-apy-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.contract-apy-chevron {
  color: var(--c-muted);
  flex-shrink: 0;
}

.contract-apy-left p {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--c-muted);
  line-height: 1.35;
}

.contract-apy-value {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 750;
  color: var(--c-accent);
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(182, 245, 58, 0.35);
}

.contract-hero .contract-apy-left p {
  margin: 4px 0 0;
  font-size: 10px;
}

.contract-hero .contract-apy-title {
  font-size: 12px;
}

.contract-join-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  color: #dfe8d2;
}

.contract-join-title i {
  width: 3px;
  height: 14px;
  border-radius: 1.5px;
  background: var(--c-accent);
  box-shadow: 0 0 10px rgba(182, 245, 58, 0.45);
}

.contract-field-label {
  display: block;
  margin-top: 16px;
  font-size: 11px;
  color: var(--c-muted);
}

.contract-input-wrap {
  margin-top: 8px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(182, 245, 58, 0.35);
  background: rgba(8, 12, 6, 0.72);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
  box-shadow: 0 0 16px rgba(182, 245, 58, 0.08);
}

.contract-select-wrap {
  position: relative;
}

.contract-select-trigger {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--c-text);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.contract-select-trigger span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-select-trigger.is-placeholder span {
  color: var(--c-muted);
  font-weight: 400;
}

.contract-select-caret {
  flex-shrink: 0;
  color: var(--c-accent);
  transition: transform 0.18s ease;
}

.contract-select-trigger[aria-expanded="true"] .contract-select-caret {
  transform: rotate(180deg);
}

.contract-max {
  border: 0;
  background: rgba(182, 245, 58, 0.1);
  border: 1px solid rgba(182, 245, 58, 0.22);
  color: var(--c-accent);
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.ct-picker[hidden] {
  display: none !important;
}

.ct-picker {
  position: fixed;
  inset: 0;
  z-index: 1180;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: calc(var(--tabbar-height) + var(--safe-bottom));
}

.ct-picker-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.ct-picker-sheet {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: min(72vh, calc(100% - var(--tabbar-height) - var(--safe-bottom) - 24px));
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(180deg, rgba(182, 245, 58, 0.08), transparent 28%),
    rgba(10, 14, 8, 0.98);
  border: 1px solid rgba(182, 245, 58, 0.2);
  border-bottom: 0;
  padding: 14px 14px calc(14px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  min-height: 0;
  animation: ctPickerIn 0.22s ease;
  box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.45), 0 0 28px rgba(182, 245, 58, 0.08);
  backdrop-filter: blur(16px);
}

@keyframes ctPickerIn {
  from { transform: translateY(16px); opacity: 0.7; }
  to { transform: translateY(0); opacity: 1; }
}

.ct-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
}

.ct-picker-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(182, 245, 58, 0.08);
  border: 1px solid rgba(182, 245, 58, 0.16);
  color: #cfd8c2;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.ct-picker-grid {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.ct-picker-item {
  min-height: 48px;
  border: 1px solid rgba(182, 245, 58, 0.14);
  border-radius: 12px;
  background: rgba(8, 12, 6, 0.72);
  color: #d9d9d9;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ct-picker-item strong {
  font-size: 13px;
  font-weight: 650;
  color: #fff;
}

.ct-picker-item small {
  font-size: 10px;
  color: var(--c-muted);
}

.ct-picker-item.is-active {
  border-color: rgba(182, 245, 58, 0.55);
  background: rgba(182, 245, 58, 0.12);
  box-shadow: 0 0 14px rgba(182, 245, 58, 0.16);
}

.ct-picker-item.is-active strong {
  color: var(--c-accent);
}

.ct-picker-item.is-disabled {
  opacity: 0.45;
}

.ct-picker-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--c-muted);
  font-size: 12px;
  padding: 28px 0;
}

.ct-confirm[hidden] {
  display: none !important;
}

.ct-confirm {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

.ct-confirm-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.ct-confirm-card {
  position: relative;
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(182, 245, 58, 0.1), transparent 42%),
    rgba(12, 16, 10, 0.96);
  border: 1px solid rgba(182, 245, 58, 0.22);
  padding: 20px 18px 16px;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 28px rgba(182, 245, 58, 0.1);
  backdrop-filter: blur(14px);
}

.ct-confirm-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ct-confirm-desc {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--c-muted);
}

.ct-confirm-rows {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(182, 245, 58, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.ct-confirm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #9aa393;
}

.ct-confirm-row strong {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.ct-confirm-row strong.is-warn {
  color: #ff6b6b;
}

.ct-confirm-tip {
  margin: 12px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.22);
  color: #ff8e8e;
  font-size: 11px;
  line-height: 1.4;
}

.ct-confirm-tip[hidden] {
  display: none !important;
}

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

.ct-confirm-cancel,
.ct-confirm-ok {
  height: 42px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.ct-confirm-cancel {
  background: rgba(182, 245, 58, 0.06);
  border: 1px solid rgba(182, 245, 58, 0.14);
  color: #cfd8c2;
}

.ct-confirm-ok {
  background: linear-gradient(90deg, #7ec922, #c8ff4a);
  color: #0b1204;
  box-shadow: 0 0 18px rgba(182, 245, 58, 0.28);
}

.ct-confirm-ok:disabled,
.contract-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.app-toast {
  position: fixed;
  left: 50%;
  top: 42%;
  bottom: auto;
  transform: translate(-50%, -50%) scale(0.98);
  max-width: min(86vw, 360px);
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(10, 14, 8, 0.96);
  border: 1px solid rgba(182, 245, 58, 0.22);
  color: #f2f2f2;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1400;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(182, 245, 58, 0.1);
}

.app-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.contract-balance {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--c-muted);
}

.contract-balance-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-text);
  font-weight: 600;
}

.contract-balance-value img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(182, 245, 58, 0.2);
}

.contract-estimate {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(182, 245, 58, 0.1);
  background: rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--c-muted);
}

.contract-estimate strong {
  font-size: 13px;
  font-weight: 650;
  color: var(--c-accent);
  text-shadow: 0 0 10px rgba(182, 245, 58, 0.25);
}

.contract-submit {
  margin-top: 16px;
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #7ec922, #c8ff4a);
  color: #0b1204;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(182, 245, 58, 0.28);
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.contract-submit:active {
  transform: scale(0.99);
}

.contract-records {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  border-color: rgba(182, 245, 58, 0.42);
  background:
    linear-gradient(135deg, rgba(182, 245, 58, 0.18), rgba(182, 245, 58, 0.04) 52%, transparent 78%),
    rgba(14, 18, 12, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(182, 245, 58, 0.12),
    0 0 24px rgba(182, 245, 58, 0.14),
    0 10px 28px rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.contract-records:active {
  transform: scale(0.99);
  border-color: rgba(182, 245, 58, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(182, 245, 58, 0.16),
    0 0 28px rgba(182, 245, 58, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.3);
}

.contract-records-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(182, 245, 58, 0.55));
}

.contract-records-text {
  min-width: 0;
  flex: 1;
}

.contract-records-text h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 750;
  color: var(--c-accent);
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(182, 245, 58, 0.35);
}

.contract-records-text p {
  margin: 6px 0 0;
  font-size: 11px;
  color: #b8c4a8;
}

.contract-records > svg {
  color: var(--c-accent);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(182, 245, 58, 0.45));
}

.ct-yield[hidden] {
  display: none !important;
}

.ct-yield {
  --c-accent: #b6f53a;
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
}

.ct-yield-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.ct-yield-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  border-radius: 18px;
  padding: 18px 16px 16px;
  background:
    linear-gradient(145deg, rgba(182, 245, 58, 0.12), transparent 42%),
    rgba(10, 14, 8, 0.98);
  border: 1px solid rgba(182, 245, 58, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 32px rgba(182, 245, 58, 0.12);
  color: #fff;
}

.ct-yield-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #b8c4a8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ct-yield-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  padding: 0 24px;
}

.ct-yield-title img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ct-yield-stats {
  margin-top: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(182, 245, 58, 0.12);
  overflow: hidden;
}

.ct-yield-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 12px;
  color: #d8e2cb;
}

.ct-yield-stat + .ct-yield-stat {
  border-top: 1px solid rgba(182, 245, 58, 0.08);
}

.ct-yield-stat-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.ct-yield-stat-label {
  flex: 1;
  min-width: 0;
}

.ct-yield-stat strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent);
}

.ct-yield-hint {
  margin: 14px 0 10px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--c-muted);
}

.ct-yield-tiers {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(182, 245, 58, 0.12);
  overflow: hidden;
}

.ct-yield-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 12px;
  color: #d8e2cb;
}

.ct-yield-tier + .ct-yield-tier {
  border-top: 1px solid rgba(182, 245, 58, 0.08);
}

.ct-yield-tier.is-active {
  background: rgba(182, 245, 58, 0.08);
}

.ct-yield-tier strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent);
}

.ct-yield-invite {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  min-height: 46px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(90deg, #7ec922, #c8ff4a);
  color: #0b1204 !important;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(182, 245, 58, 0.28);
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.ct-yield-invite:active {
  transform: scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
  .contract-orb {
    animation: none !important;
  }
}
