/* REQ-008 Asset Milestone Gift — branch-only styles (green primary, static) */

#view-balance_gift {
  position: relative;
  background: #2ad687;
}

#view-balance_gift .topbar {
  background: #2ad687 !important;
  color: #fff;
  border-bottom: none;
}
#view-balance_gift .topbar h1 { color: #fff; font-size: 16px; }
#view-balance_gift .topbar .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}
#view-balance_gift .scroll {
  background: transparent;
  padding-bottom: 88px;
}

#view-balance_gift .footer-bar {
  display: block !important;
  background: #fff;
  border-top: 1px solid #e4efe8;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 20px rgba(18, 53, 40, 0.06);
}

#view-balance_gift_result {
  background: #2ad687;
}
#view-balance_gift_result .topbar {
  background: #2ad687 !important;
  color: #fff;
  border-bottom: none;
}
#view-balance_gift_result .topbar h1 { color: #fff; }
#view-balance_gift_result .topbar .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

:root {
  --fbg-green: #2ad687;
  --fbg-green-mid: #1ec97a;
  --fbg-green-deep: #0d9f5c;
  --fbg-green-soft: #e8f9f0;
  --fbg-green-ink: #0a6b3f;
  --fbg-ink: #123528;
  --fbg-muted: #5f7a6a;
}

/* Finance Home entry banner */
.fbg-finance-entry {
  display: block;
  width: 100%;
  margin: 12px 0 4px;
  padding: 0;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #1ec97a, #3ee094);
  box-shadow: 0 8px 20px rgba(42, 214, 135, 0.28);
  cursor: pointer;
  text-align: left;
}
.fbg-finance-entry img {
  display: block;
  width: 100%;
  height: 108px;
  object-fit: cover;
}
.fbg-entry-fallback {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  color: #fff;
}
.fbg-entry-fallback strong { font-size: 16px; }
.fbg-entry-fallback span { font-size: 12px; opacity: 0.9; }
.fbg-finance-entry-cta {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: #fff;
  color: var(--fbg-green-deep);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
}

.fbg-page {
  padding-bottom: 16px;
  min-height: 100%;
  background:
    radial-gradient(110% 50% at 80% 0%, rgba(42, 214, 135, 0.16) 0%, transparent 52%),
    linear-gradient(180deg, #f0fbf5 0%, #f6faf8 48%, #f8faf9 100%);
  color: var(--fbg-ink);
}

/* Hero */
.fbg-hero {
  position: relative;
  padding: 2px 16px 14px;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, #2ad687 0%, #24d082 42%, #3ee094 100%);
  overflow: hidden;
}
.fbg-hero::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  right: -60px;
  top: -70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
.fbg-hero::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  left: -36px;
  bottom: -40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.fbg-hero-copy { position: relative; z-index: 2; }
.fbg-hero-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* Prize: amount-led, no dark block */
.fbg-hero-prize {
  position: relative;
  z-index: 2;
  margin: 8px auto 0;
  max-width: 260px;
  padding: 2px 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.fbg-hero-win-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.95);
}
.fbg-hero-win-amt {
  display: block;
  margin-top: 2px;
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(8, 70, 40, 0.22);
}
.fbg-hero-win-note {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

/* Large static coins in empty hero corners */
.fbg-hero-coins {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.fbg-coin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff6b0, #f0c94a 42%, #c99612 100%);
  box-shadow:
    inset 0 -2px 0 rgba(140, 100, 20, 0.35),
    inset 2px 2px 0 rgba(255, 255, 255, 0.35),
    0 3px 8px rgba(0, 0, 0, 0.12);
  transform: rotate(var(--rot, 0deg));
  opacity: 0.88;
}
.fbg-coin::after {
  content: '₦';
  position: absolute;
  inset: 0;
  font-size: 13px;
  font-weight: 900;
  color: #8a6520;
  line-height: 28px;
  text-align: center;
}
.fbg-coin-1 { left: 4%; top: 8%; width: 34px; height: 34px; --rot: -22deg; }
.fbg-coin-1::after { line-height: 34px; font-size: 15px; }
.fbg-coin-2 { left: 10%; top: 58%; width: 26px; height: 26px; --rot: 18deg; opacity: 0.7; }
.fbg-coin-2::after { line-height: 26px; font-size: 12px; }
.fbg-coin-3 { left: 2%; top: 78%; width: 30px; height: 30px; --rot: 40deg; opacity: 0.75; }
.fbg-coin-3::after { line-height: 30px; font-size: 13px; }
.fbg-coin-4 { right: 5%; top: 6%; left: auto; width: 36px; height: 36px; --rot: 16deg; }
.fbg-coin-4::after { line-height: 36px; font-size: 16px; }
.fbg-coin-5 { right: 3%; top: 44%; left: auto; width: 26px; height: 26px; --rot: -30deg; opacity: 0.72; }
.fbg-coin-5::after { line-height: 26px; font-size: 12px; }
.fbg-coin-6 { right: 8%; top: 72%; left: auto; width: 32px; height: 32px; --rot: 12deg; }
.fbg-coin-6::after { line-height: 32px; font-size: 14px; }
.fbg-coin-7 { left: 22%; top: 2%; width: 22px; height: 22px; --rot: 50deg; opacity: 0.6; }
.fbg-coin-7::after { line-height: 22px; font-size: 10px; }
.fbg-coin-8 { right: 24%; top: 84%; left: auto; width: 24px; height: 24px; --rot: -12deg; opacity: 0.65; }
.fbg-coin-8::after { line-height: 24px; font-size: 11px; }

.fbg-card {
  margin: 0 12px 12px;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(18, 53, 40, 0.05);
}

/* 3-step play flow — green */
.fbg-play-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: -8px;
  position: relative;
  z-index: 2;
  padding: 10px 10px 8px;
  background: linear-gradient(160deg, #f0fbf5, #fff);
  border: 1px solid rgba(42, 214, 135, 0.28);
}
.fbg-step {
  flex: 1;
  text-align: center;
  position: relative;
  min-width: 0;
}
.fbg-step-num {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--fbg-green-deep);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 14px;
  z-index: 1;
}
.fbg-step-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 4px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fbg-green-soft);
  color: var(--fbg-green-deep);
  font-size: 17px;
  border: 1px solid rgba(42, 214, 135, 0.3);
}
.fbg-step strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--fbg-ink);
  line-height: 1.2;
}
.fbg-step span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--fbg-muted);
  line-height: 1.3;
}
.fbg-step-rail {
  flex: 0 0 12px;
  height: 2px;
  margin-top: 16px;
  background: var(--fbg-green);
  border-radius: 2px;
  opacity: 0.55;
}

/* Shared tier card head */
.fbg-tier-card {
  padding: 10px 10px 10px;
  position: relative;
  z-index: 2;
}
.fbg-tier-head h3 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.fbg-tier-head p {
  margin: 0 0 8px;
  font-size: 11px;
  color: var(--fbg-muted);
  line-height: 1.35;
}
.fbg-tier-note {
  margin: 6px 2px 0;
  font-size: 10px;
  color: var(--fbg-muted);
  line-height: 1.35;
}

/* Shared rail dot */
.fbg-rail-dot {
  position: absolute;
  left: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--fbg-green);
  z-index: 1;
  box-sizing: border-box;
}
.fbg-rail-dot.here {
  border-color: var(--fbg-green-deep);
  background: var(--fbg-green);
  box-shadow: 0 0 0 3px rgba(42, 214, 135, 0.25);
  z-index: 2;
}
.fbg-tr.prev .fbg-rail-dot,
.fbg-band.prev .fbg-rail-dot,
.fbg-lad.prev .fbg-rail-dot,
.fbg-split-l.prev .fbg-rail-dot {
  background: var(--fbg-green-deep);
  border-color: var(--fbg-green-deep);
}
.fbg-tr.locked .fbg-rail-dot,
.fbg-tr.preview .fbg-rail-dot,
.fbg-band.locked .fbg-rail-dot,
.fbg-band.preview .fbg-rail-dot,
.fbg-lad.locked .fbg-rail-dot,
.fbg-lad.preview .fbg-rail-dot,
.fbg-split-l.locked .fbg-rail-dot,
.fbg-split-l.preview .fbg-rail-dot {
  border-color: #7bcfa3;
  background: #fff;
}
.fbg-rail-spacer {
  width: 18px;
  display: inline-block;
}

/* ========== A · Table + Rail (default) ========== */
.fbg-table-rail {
  position: relative;
  border: 1px solid #d8efe3;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.fbg-table-rail::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 28px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--fbg-green-deep), var(--fbg-green));
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
}
.fbg-tr {
  display: grid;
  grid-template-columns: 18px 1.15fr 1fr;
  gap: 4px;
  align-items: center;
  min-height: 40px;
  padding: 6px 10px 6px 0;
  position: relative;
  border-bottom: 1px solid #eef5f1;
}
.fbg-tr:last-child { border-bottom: none; }
.fbg-tr-head {
  min-height: 28px;
  padding-top: 6px;
  padding-bottom: 4px;
  background: var(--fbg-green-soft);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--fbg-muted);
}
.fbg-tr-head span:last-child { text-align: right; }
.fbg-td-asset strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--fbg-ink);
}
.fbg-td-asset em {
  display: block;
  font-style: normal;
  font-size: 9px;
  color: var(--fbg-muted);
  font-weight: 600;
}
.fbg-td-cash {
  text-align: right;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: var(--fbg-green-deep);
}
.fbg-td-cash strong {
  font-size: 15px;
  font-weight: 900;
  color: var(--fbg-green-deep);
}
.fbg-td-cash em {
  width: 100%;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  color: var(--fbg-muted);
}
.fbg-td-cash.is-unlocked {
  color: var(--fbg-green-deep);
}
.fbg-td-cash.is-unlocked strong {
  color: var(--fbg-green-deep);
}
.fbg-td-cash.is-unlocked em {
  color: var(--fbg-green-deep);
}
.fbg-tr.prev {
  background: #f2fbf6;
  opacity: 0.78;
}
.fbg-tr.prev.top {
  opacity: 0.95;
  background: #e5f8ee;
}
.fbg-tr.locked .fbg-td-cash strong,
.fbg-tr.preview .fbg-td-cash strong {
  color: var(--fbg-green-ink);
}
.fbg-tr-here {
  min-height: 24px;
  padding: 2px 10px 2px 0;
  background: #eaf8f1;
}
.fbg-tr-here-cap {
  grid-column: 2 / -1;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--fbg-green-deep);
  border: none;
  border-radius: 999px;
  padding: 5px 12px;
  width: fit-content;
  max-width: 100%;
  line-height: 1.35;
  box-shadow: 0 3px 10px rgba(13, 159, 92, 0.28);
}
.fbg-tr-here-cap strong {
  font-weight: 900;
  color: #fff;
}

/* ========== B · Green bands ========== */
.fbg-bands {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fbg-bands::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--fbg-green);
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
}
.fbg-band {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 5px 10px 5px 22px;
  border-radius: 10px;
  background: var(--fbg-green-soft);
}
.fbg-band.prev {
  background: #eaf7f0;
  border: 1px dashed #9fd9b8;
  opacity: 0.92;
}
.fbg-band.prev.top {
  background: #e4f5ec;
  border-style: solid;
  border-color: #8fd0ae;
}
.fbg-band.locked,
.fbg-band.preview {
  background: #fff;
  border: 1px solid #cfeeda;
  box-shadow: 0 2px 8px rgba(13, 159, 92, 0.06);
}
.fbg-band-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.fbg-band-asset em {
  display: block;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  color: var(--fbg-muted);
}
.fbg-band-asset strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--fbg-ink);
}
.fbg-band-cash {
  text-align: right;
  background: var(--fbg-green-deep);
  color: #fff;
  border-radius: 10px;
  padding: 5px 10px;
  min-width: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.fbg-band-cash i.ph-gift {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1;
}
.fbg-band-here-cap strong {
  font-weight: 900;
  color: #fff;
}
.fbg-band-cash strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
}
.fbg-band-cash em {
  display: block;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  opacity: 0.85;
}
/* Unlocked: no color block — green text + check */
.fbg-band-cash.is-unlocked {
  background: transparent;
  color: var(--fbg-green-deep);
  padding: 2px 0;
  min-width: 0;
  box-shadow: none;
  border: none;
}
.fbg-band-cash.is-unlocked i {
  font-size: 16px;
  color: var(--fbg-green-deep);
}
.fbg-band-cash.is-unlocked strong {
  color: var(--fbg-green-deep);
}
.fbg-band-cash.is-unlocked em {
  color: var(--fbg-green-deep);
  opacity: 1;
}
.fbg-band-here {
  z-index: 2;
  min-height: 22px;
  padding: 2px 10px 2px 22px;
  background: transparent;
}
.fbg-band-here-cap {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--fbg-green-deep);
  border: none;
  border-radius: 999px;
  padding: 5px 12px;
  max-width: 100%;
  line-height: 1.35;
  white-space: normal;
  box-shadow: 0 3px 10px rgba(13, 159, 92, 0.28);
}
.fbg-band-here-cap strong {
  font-weight: 900;
  color: #fff;
}

.fbg-band.fbg-band-omit {
  z-index: 1;
  min-height: 0;
  padding: 2px 10px;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fbg-omit-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  line-height: 1;
}
.fbg-omit-copy span {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--fbg-green-deep);
  line-height: 1;
  opacity: 0.75;
}
.fbg-tr.fbg-omit {
  min-height: 0;
  padding: 2px 0;
  background: transparent;
  border-bottom: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fbg-tr.fbg-omit .fbg-omit-copy {
  grid-column: 1 / -1;
}
.fbg-lad-omit {
  min-height: 0;
  padding: 2px 0;
  background: transparent;
  border-bottom: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fbg-split-omit {
  position: relative;
  min-height: 0;
  padding: 2px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fbg-split-omit-r {
  min-height: 0;
  padding: 2px 0;
}

.fbg-add-money {
  margin-top: 8px;
  background: #fff !important;
  color: var(--fbg-green-deep) !important;
  border: 1.5px solid var(--fbg-green) !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

/* ========== C · Dense ladder ========== */
.fbg-ladder {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d8efe3;
}
.fbg-ladder::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 22px;
  bottom: 8px;
  width: 2px;
  background: var(--fbg-green);
  z-index: 0;
  pointer-events: none;
}
.fbg-lad {
  display: grid;
  grid-template-columns: 18px 1fr auto auto;
  gap: 6px;
  align-items: center;
  min-height: 32px;
  padding: 3px 10px 3px 0;
  position: relative;
  border-bottom: 1px solid #eef5f1;
  background: #fff;
}
.fbg-lad:last-child { border-bottom: none; }
.fbg-lad-head {
  min-height: 24px;
  background: var(--fbg-green-soft);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--fbg-muted);
}
.fbg-lad-asset {
  font-size: 12px;
  font-weight: 800;
  color: var(--fbg-ink);
}
.fbg-lad-arrow {
  color: #9ab5a6;
  font-size: 12px;
}
.fbg-lad-cash {
  font-size: 13px;
  font-weight: 900;
  color: var(--fbg-green-deep);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.fbg-lad.prev {
  background: #f2fbf6;
  opacity: 0.75;
}
.fbg-lad.prev.top { opacity: 0.95; }
.fbg-lad.locked .fbg-lad-cash,
.fbg-lad.preview .fbg-lad-cash {
  color: var(--fbg-green-ink);
}
.fbg-lad-here {
  min-height: 22px;
  background: #eaf8f1;
}
.fbg-lad-cap {
  grid-column: 2 / -1;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--fbg-green-deep);
  border-radius: 999px;
  padding: 5px 12px;
  width: fit-content;
  max-width: 100%;
  line-height: 1.35;
  box-shadow: 0 3px 10px rgba(13, 159, 92, 0.28);
}
.fbg-lad-cap strong {
  font-weight: 900;
  color: #fff;
}

/* ========== D · Split pane ========== */
.fbg-split {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  align-items: stretch;
}
.fbg-split-left {
  position: relative;
  padding-right: 4px;
}
.fbg-split-left::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--fbg-green);
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
}
.fbg-split-l {
  position: relative;
  min-height: 40px;
  padding: 4px 0 4px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fbg-split-l strong {
  font-size: 12px;
  font-weight: 800;
  color: var(--fbg-ink);
  line-height: 1.15;
}
.fbg-split-l em {
  font-style: normal;
  font-size: 9px;
  color: var(--fbg-muted);
  font-weight: 600;
}
.fbg-split-l.prev { opacity: 0.7; }
.fbg-split-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fbg-split-r {
  min-height: 40px;
  border-radius: 10px;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--fbg-green-soft);
  border: 1px solid #cfeeda;
}
.fbg-split-r.prev {
  opacity: 0.7;
  background: #e5f8ee;
}
.fbg-split-r.prev.top { opacity: 0.95; }
.fbg-split-r.locked,
.fbg-split-r.preview {
  background: var(--fbg-green-deep);
  border-color: var(--fbg-green-deep);
  color: #fff;
}
.fbg-split-r.locked strong,
.fbg-split-r.preview strong {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}
.fbg-split-r.locked em,
.fbg-split-r.preview em {
  color: rgba(255, 255, 255, 0.85);
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
}
.fbg-split-r.prev strong,
.fbg-split-r.top strong {
  color: var(--fbg-green-deep);
  font-size: 14px;
  font-weight: 800;
}
.fbg-split-r.prev em {
  color: var(--fbg-muted);
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
}
.fbg-split-here {
  position: relative;
  min-height: 24px;
  padding-left: 16px;
  display: flex;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--fbg-green-ink);
}
.fbg-split-here-r {
  min-height: 24px;
  display: flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--fbg-green-deep);
  border-radius: 999px;
  padding: 5px 12px;
  width: fit-content;
  max-width: 100%;
  line-height: 1.35;
  box-shadow: 0 3px 10px rgba(13, 159, 92, 0.28);
}
.fbg-split-here-r strong {
  font-weight: 900;
  color: #fff;
}

/* How / keep / footer / sheets */
.fbg-how h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
}
.fbg-how ol {
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 13px;
  color: var(--fbg-muted);
  line-height: 1.55;
}
.fbg-how li { margin-bottom: 8px; }
.fbg-how li strong { color: var(--fbg-ink); }

.fbg-keep p {
  margin: 0;
  font-size: 13px;
  color: var(--fbg-ink);
  line-height: 1.45;
}

.fbg-cta {
  background: linear-gradient(90deg, #1ec97a, #2ad687) !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 16px rgba(42, 214, 135, 0.32);
}
.fbg-cta-pending,
.fbg-cta-muted {
  opacity: 0.5 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none;
}
.fbg-footer-tip {
  margin: 0;
  padding: 10px 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--fbg-green-deep);
  background: #fff;
}
.fbg-footer-tip strong {
  font-weight: 800;
}

.fbg-disclaimer {
  margin: 4px 16px 12px;
  font-size: 10px;
  color: #8a9a90;
  line-height: 1.4;
}

.fbg-sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 40;
}
.fbg-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 41;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 12px 16px 24px;
  max-height: 70%;
  overflow: auto;
}
.fbg-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: #dde5e0;
  margin: 0 auto 12px;
}
.fbg-sheet h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 800;
}
.fbg-sheet ol {
  margin: 0 0 16px;
  padding-left: 18px;
  font-size: 13px;
  color: var(--fbg-muted);
  line-height: 1.55;
}
.fbg-sheet li { margin-bottom: 8px; }
.fbg-sheet li strong { color: var(--fbg-ink); }

.fbg-result {
  padding: 28px 20px;
  text-align: center;
  background: linear-gradient(180deg, #f2fdf7, #fff);
  min-height: 100%;
}
.fbg-result-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--fbg-green);
  color: #fff;
  font-size: 28px;
  line-height: 56px;
  font-weight: 700;
}
.fbg-result h2 { margin: 0 0 8px; font-size: 22px; }
.fbg-result-cash {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 900;
  color: var(--fbg-green-deep);
}
.fbg-result .fbg-muted,
.fbg-muted {
  color: var(--fbg-muted);
  font-size: 12px;
}

#fbg-debug-panel .fbg-dbg-group { margin-bottom: 8px; }
#fbg-debug-panel .fbg-dbg-label {
  font-size: 11px;
  font-weight: 700;
  color: #666;
  margin-bottom: 4px;
}
