/* Budget Streak pop-up (owner's handoff, 2026-10-18). Atlas Money colors. */
.bss-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.32);
  animation: bss-fade 0.25s ease;
}
.bss-sheet {
  touch-action: pan-y;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 201;
  background: #FFFFFF;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  font-family: "Inter Tight", system-ui, sans-serif;
  animation: bss-up 0.38s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.bss-grabber { width: 38px; height: 5px; border-radius: 3px; background: #D1D1D6; margin: 8px auto 0; }
.bss-top { display: flex; justify-content: flex-end; padding: 6px 18px 0; }
.bss-close {
  width: 40px; height: 40px; border: none; border-radius: 20px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 16px rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.bss-body { display: flex; flex-direction: column; align-items: center; margin-top: -26px; }

.bss-hero { position: relative; width: 176px; height: 176px; margin-top: 4px; margin-bottom: 30px; }
.bss-circle {
  position: absolute; inset: 0; border-radius: 50%;
  background: #FFFFFF; border: 1px solid #E5E5EA;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06), inset 0 -10px 20px rgba(0, 0, 0, 0.02);
}
.bss-flame { position: absolute; inset: 0; filter: drop-shadow(0 10px 12px rgba(255, 107, 44, 0.35)); }
.bss-count {
  position: absolute; left: 0; right: 0; bottom: -46px; text-align: center;
  font-size: 96px; font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  color: #10151F;
  text-shadow: 0 2px 0 #3A4150, 0 10px 18px rgba(16, 21, 31, 0.25);
  font-variant-numeric: tabular-nums;
}

.bss-title { margin: 36px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: #000000; }
.bss-line { margin: 6px 0 0; padding: 0 30px; text-align: center; font-size: 15px; font-weight: 500; color: #1C1C1E; }

.bss-months {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px;
  width: 100%; box-sizing: border-box; padding: 20px 16px 4px;
}
.bss-month { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bss-mlabel { font-size: 14px; font-weight: 500; color: #6E6E73; }
.bss-now { font-weight: 700; color: #000000; }
.bss-mnum {
  width: 44px; height: 44px; border-radius: 50%; background: #F2F2F7;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 500; color: #1C1C1E;
}
.bss-mnum-now { background: #FFD60A; font-weight: 700; }
.bss-dot { width: 6px; height: 6px; border-radius: 3px; background: transparent; }
.bss-dot-on { background: #33CC00; }

@keyframes bss-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes bss-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bss-sheet, .bss-backdrop { animation: none; } }
