/* Baseline · Big Friday hub — Figma sync (node 7:2795) */

#view-big_friday {
  background: #e2f5eb;
}
#view-big_friday > .scroll {
  background: #e2f5eb;
  padding-bottom: 0;
}
#view-big_friday_history {
  background: #f7f8fa;
}
#bf-home-body {
  position: relative;
  min-height: 100%;
  background: #e2f5eb;
  display: flex;
  flex-direction: column;
}

.bf-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-bottom: 28px;
}

.bf-hero {
  position: relative;
  /* Align with global .topbar status + nav inset (44px) */
  padding: 44px 16px 0;
}
.bf-back {
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  margin: 0 0 6px -8px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #111;
  cursor: pointer;
}
.bf-hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  min-height: 118px;
  margin-top: 0;
}
.bf-hero-copy {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}
.bf-title-img {
  display: block;
  width: min(178px, 52vw);
  height: auto;
  margin-left: -2px;
  aspect-ratio: 178 / 101;
  /* Source is ~4x; avoid browser softening */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.bf-tagline {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.85);
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}
.bf-em {
  color: #00b876;
  font-weight: 700;
}
.bf-hero-art-wrap {
  width: 125px;
  height: 125px;
  flex-shrink: 0;
  margin-right: -4px;
  margin-top: 0;
  pointer-events: none;
}
.bf-hero-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right top;
  display: block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.bf-earn-pill {
  margin-top: 10px;
  width: 100%;
  border: 0;
  background: #fff;
  border-radius: 24px;
  padding: 8px 10px 8px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.65);
  line-height: 16px;
  box-shadow: 0 2px 10px rgba(16, 80, 50, 0.06);
  cursor: pointer;
}
.bf-earn-pill > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bf-earn-pill--static { cursor: default; }
.bf-earn-pill b { font-weight: 600; }
.bf-earn-chev {
  flex-shrink: 0;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.35);
}
.bf-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ebf6f1;
  color: #00b876;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  overflow: hidden;
}

.bf-body {
  flex: 1;
  padding: 14px 0 72px;
}

.bf-section {
  padding: 4px 16px 12px;
}
.bf-h3 {
  margin: 4px 0 8px;
  padding: 0 2px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.85);
  letter-spacing: 0;
}

.bf-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: nowrap;
  padding: 0 2px;
}
.bf-card-head.tight { margin-bottom: 8px; align-items: center; }
.bf-card-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.85);
  line-height: 1.25;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.bf-card-title .bf-vol {
  color: #00b876;
  font-style: italic;
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
}
.bf-card-title.green { color: #00b876; }
.bf-card-sub {
  font-size: 10px;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 2px;
  font-weight: 500;
}
.bf-card-sub.teal { color: #00b876; }
.bf-live-at {
  font-size: 10px;
  color: #00b876;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.3;
  text-align: right;
  flex-shrink: 0;
}
.bf-live-prefix {
  color: rgba(0, 0, 0, 0.45);
  font-weight: 500;
}
.bf-live-at b { font-weight: 700; color: #00b876; }

.bf-countdown {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.bf-cd-box {
  min-width: 36px;
  height: 26px;
  padding: 0 6px;
  border-radius: 6px;
  background: #ebf6f1;
  color: #00b876;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.bf-cd-sep {
  color: #00b876;
  font-weight: 700;
  font-size: 14px;
  padding: 0 1px;
}

.bf-offer-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.bf-metrics-panel {
  background: #ebf6f1;
  border-radius: 12px;
  padding: 8px 12px;
  width: 100%;
}
.bf-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 206px;
  margin: 0 auto;
  gap: 0;
  position: relative;
}
.bf-metrics::after { content: none; }
.bf-metrics-divider {
  width: 0;
  height: 32px;
  border-left: 1px dashed rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  margin: 0 8px;
}
.bf-metrics > div:not(.bf-metrics-divider) {
  flex: 1;
  min-width: 0;
}
.bf-rate {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.bf-rate-main {
  font-size: 22px;
  font-weight: 700;
  color: #00b876;
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.bf-rate-main.opay { color: #00b876; }
.bf-rate-main.muted { color: #00b876; opacity: 0.55; }
.bf-rate-old {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  text-decoration: line-through;
  font-weight: 400;
  line-height: 22px;
}
.bf-duration {
  font-size: 16px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  letter-spacing: 0;
  line-height: 24px;
}
.bf-duration.muted { color: rgba(0, 0, 0, 0.55); }
.bf-metric-label {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.65);
  margin-top: 0;
  line-height: 17px;
}

.bf-quota {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.bf-quota-row {
  font-size: 10px;
  color: rgba(0, 0, 0, 0.85);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 16px;
}
.bf-quota-row b { color: rgba(0, 0, 0, 0.85); font-weight: 500; }
.bf-quota-dim { color: rgba(0, 0, 0, 0.35); font-weight: 400; }
.bf-quota-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e8f0ec;
  overflow: hidden;
}
.bf-quota-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00c48c, #00b876);
}
.bf-quota-mini {
  font-size: 10px;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.bf-cta-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}
.bf-cta {
  width: 280px;
  max-width: 100%;
  height: 48px !important;
  border-radius: 60px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  background: #00b876 !important;
  border: 0 !important;
  line-height: 24px !important;
}

.bf-offer-card--soldout .bf-inner-panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  position: relative;
  margin-bottom: 0;
}
.bf-offer-card--soldout .bf-metrics-panel {
  opacity: 0.85;
}
.bf-sold-stamp {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%) rotate(-18deg);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 3px solid rgba(160, 170, 165, 0.45);
  color: rgba(140, 150, 145, 0.55);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  pointer-events: none;
  z-index: 1;
}
.bf-sold-meta {
  text-align: center;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  margin: 0;
}
.bf-btn-disabled {
  width: 280px;
  max-width: 100%;
  height: 48px !important;
  border-radius: 60px !important;
  background: #9fe0c8 !important;
  color: #fff !important;
  border: 0;
  font-size: 16px !important;
  font-weight: 700 !important;
  opacity: 1;
}

.bf-next-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: none;
}
.bf-next-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 10px;
  flex-wrap: nowrap;
}
.bf-next-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}
.bf-next-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  flex: 1;
  min-width: 0;
  position: relative;
}
.bf-next-metrics::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 2px;
  bottom: 2px;
  border-left: 1px dashed rgba(0, 0, 0, 0.1);
  transform: translateX(-50%);
}
.bf-next-metrics > div {
  padding: 0 10px 0 0;
}
.bf-next-metrics > div:last-child {
  padding: 0 0 0 14px;
}
.bf-next-val {
  font-size: 16px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.85);
  line-height: 1.2;
  white-space: nowrap;
}
.bf-next-lab {
  margin-top: 2px;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.45);
  font-weight: 400;
}
.bf-remind-sm {
  flex-shrink: 0;
  height: 32px !important;
  padding: 0 12px !important;
  border-radius: 24px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  background: #00b876 !important;
  white-space: nowrap;
}

.bf-idle-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 14px;
  box-shadow: none;
}
.bf-idle-title { font-size: 15px; font-weight: 700; color: rgba(0, 0, 0, 0.85); }
.bf-idle-desc { margin: 8px 0 14px; font-size: 13px; color: rgba(0, 0, 0, 0.55); line-height: 1.45; }
.bf-idle-stats { display: grid; gap: 10px; }
.bf-idle-stats > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}
.bf-idle-stats .k { color: rgba(0, 0, 0, 0.45); }
.bf-idle-stats .v { font-weight: 700; color: rgba(0, 0, 0, 0.85); }

.bf-shelf {
  background: #fff;
  border-radius: 12px;
  padding: 4px 0 8px;
  box-shadow: none;
}
.bf-shelf-head,
.bf-shelf-row {
  display: grid;
  grid-template-columns: 90px 100px 1fr;
  align-items: center;
  column-gap: 12px;
  padding-left: 12px;
  padding-right: 12px;
}
.bf-shelf-head {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.85);
  font-weight: 400;
  text-align: left;
  border-bottom: 1px solid #f0f2f1;
}
.bf-shelf-head > span:last-child {
  justify-self: end;
}
.bf-shelf-row {
  height: 43px;
  padding-top: 0;
  padding-bottom: 0;
  border-top: 0;
}
.bf-shelf-rate {
  font-weight: 600;
  color: #00b876;
  text-align: left;
  white-space: nowrap;
}
.bf-shelf-pct { font-size: 14px; }
.bf-shelf-pa { font-size: 10px; }
.bf-shelf-dur {
  color: rgba(0, 0, 0, 0.85);
  text-align: left;
  white-space: nowrap;
}
.bf-shelf-dur-num {
  font-size: 14px;
  font-weight: 600;
}
.bf-shelf-dur-unit {
  font-size: 11px;
  font-weight: 400;
}
.bf-shelf-save {
  border: 0;
  background: #e2f5eb;
  color: #00b876;
  font-weight: 600;
  font-size: 11px;
  line-height: 18px;
  border-radius: 24px;
  height: 32px;
  padding: 0 12px;
  cursor: pointer;
  justify-self: end;
}

.bf-powered {
  text-align: center;
  font-size: 11px;
  color: #8a9390;
  padding: 14px 24px 8px;
  line-height: 1.45;
}
.bf-ndic {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 3px;
  background: #2c2a6b;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3px;
  vertical-align: 1px;
}

.bf-share-fab {
  position: absolute;
  right: 16px;
  top: 52%;
  z-index: 6;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: #00b876;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 184, 118, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
}
.bf-share-fab i { font-size: 18px; }
.bf-share-fab span { font-size: 10px; font-weight: 700; }

.bf-sheet-overlay { z-index: 40; }
.bf-sheet {
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 14px 16px 20px;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}
.bf-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.bf-sheet-head h3 { margin: 0; font-size: 16px; }
.bf-sheet-rows { display: grid; gap: 10px; padding: 8px 0 14px; }
.bf-sheet-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.bf-sheet-rows span { color: #888; }
.bf-sheet-rows b { font-weight: 600; color: #111; text-align: right; }
.bf-sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bf-hist-hero {
  margin: 8px 16px 4px;
  background: linear-gradient(160deg, #eaf8f1, #fff);
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.bf-hist-stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bf-hist-stat .k { font-size: 10px; color: #888; line-height: 1.2; }
.bf-hist-stat .v { font-size: 14px; font-weight: 800; color: #111; }
.bf-hist-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}
.bf-hist-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}
.bf-hist-status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2f0;
  color: #666;
  flex-shrink: 0;
}
.bf-hist-status.investing { background: #e8f8f0; color: #00b876; }
.bf-hist-status.paid { background: #eef6ff; color: #2f6bff; }
.bf-hist-status.liquidated { background: #f5f5f5; color: #888; }
.bf-hist-sub { font-size: 12px; color: #999; margin: 4px 0 10px; }
.bf-hist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.bf-hist-grid .k { display: block; font-size: 11px; color: #999; }
.bf-hist-grid .v { display: block; font-size: 14px; font-weight: 700; margin-top: 2px; }
.bf-hist-grid .v.green { color: #00b876; }
