/* ═══════════════════════════════════════════════════════════════════════════
   PhantomCart — Layout (DoorDash/UberEats Inspired)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Page Shell ────────────────────────────────────────────────────────── */
.page-shell {
  display: flex;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 28px;
  gap: 24px;
  min-height: calc(100dvh - 180px);
}

#app-container {
  flex: 1;
  min-width: 0;
}

/* ── Restaurant Grid ───────────────────────────────────────────────────── */
.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* ── Menu Item List ────────────────────────────────────────────────────── */
.menu-items-list {
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
}

/* ── Cart Sidebar ──────────────────────────────────────────────────────── */
.cart-sidebar {
  width: 330px;
  flex-shrink: 0;
  position: sticky;
  top: 84px;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
}
.cart-sidebar.hidden { display: none; }

.cart-inner { padding: 20px; }

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--brand-surface-2);
  gap: 8px;
  font-size: 0.84rem;
}

.cart-item-info { flex: 1; min-width: 0; }

/* ── Receipt ───────────────────────────────────────────────────────────── */
.receipt-screen {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 0;
}

/* ── Illusion ──────────────────────────────────────────────────────────── */
.illusion-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 60px 20px;
  gap: 20px;
}

/* ── Countdown ─────────────────────────────────────────────────────────── */
.countdown-screen {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

/* ── Delivery Map ──────────────────────────────────────────────────────── */
.delivery-map-wrap {
  margin-bottom: 20px;
  background: #FAFAFA;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 10px 10px 6px;
}

.map-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 4px;
}

/* ── Menu ──────────────────────────────────────────────────────────────── */
.menu-back { margin-bottom: 16px; }

.menu-hero-banner {
  width: 100%;
  height: 200px;
  background: var(--brand-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.menu-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--brand-border);
}

.menu-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-restaurant-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

/* ── Menu Item Row (DoorDash style) ────────────────────────────────────── */
.menu-item-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--brand-border);
}

.menu-item-card:first-child {
  border-top: 1px solid var(--brand-border);
}

.menu-item-info {
  flex: 1;
  min-width: 0;
}

.menu-item-action {
  position: relative;
}

/* ── Cart (Desktop) ────────────────────────────────────────────────────── */
.cart-checkout-btn { width: 100%; }

/* ── Onboarding ────────────────────────────────────────────────────────── */
.onboarding-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.onboarding-reveal-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
}

/* ── Level Up Overlay ──────────────────────────────────────────────────── */
.levelup-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Bag Inbox ─────────────────────────────────────────────────────────── */
.bag-inbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bag-inbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bag-inbox-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Bag Result ────────────────────────────────────────────────────────── */
.bag-result-overlay-bg {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bag-result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

/* ── Profile ───────────────────────────────────────────────────────────── */
.profile-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.avatar-circle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Shop Frames (Task 1) ─────────────────────────────────────────────── */
.frame-border_neon_red {
  border: 3px solid #ff003c !important;
  box-shadow: 0 0 12px #ff003c, inset 0 0 8px #ff003c !important;
}
.frame-border_midnight_blue {
  border: 4px solid #0a1128 !important;
  box-shadow: 0 0 15px rgba(20, 40, 100, 0.8) !important;
}
.frame-border_gold_shimmer {
  position: relative;
  border: 3px solid #f5a623 !important;
  animation: shimmer-border 2s linear infinite;
}
@keyframes shimmer-border {
  0% { box-shadow: 0 0 5px #f5a623; border-color: #f5a623; }
  50% { box-shadow: 0 0 15px #fff2a8; border-color: #fff2a8; }
  100% { box-shadow: 0 0 5px #f5a623; border-color: #f5a623; }
}
.frame-border_void {
  border: 3px solid #111 !important;
  box-shadow: inset 0 0 20px #000 !important;
  filter: contrast(1.2) brightness(0.8);
}
.frame-border_phantom_gold_gt {
  border: 4px solid #ffd700 !important;
  box-shadow: 0 0 15px #ffd700, inset 0 0 15px #ffd700 !important;
  animation: pulse-gt-gold 1.5s ease-in-out infinite alternate;
}
@keyframes pulse-gt-gold {
  from { box-shadow: 0 0 10px #ffd700, inset 0 0 5px #ffd700; }
  to { box-shadow: 0 0 25px #ffaa00, inset 0 0 20px #ffaa00; }
}

.profile-header-info { flex: 1; }

.profile-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.profile-section { margin-bottom: 28px; }

.profile-section-title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--brand-border);
}

/* ── Featured Mascot ──────────────────────────────────────────────────── */
.featured-mascot-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

/* ── Mascot Grid ──────────────────────────────────────────────────────── */
.mascot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.mascot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

/* ── Achievements ──────────────────────────────────────────────────────── */
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.achievement-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.achievement-category { margin-bottom: 18px; }

/* ── Shop ──────────────────────────────────────────────────────────────── */
.shop-section { margin-bottom: 28px; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.shop-item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

/* ── Shop (Phase 4 — new shop screen) ────────────────────────────────── */
.shop-screen { padding: 1rem; max-width: 680px; margin: 0 auto; }

.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.shop-title { font-size: 1.3rem; font-weight: 800; }
.shop-balances { display: flex; gap: 0.75rem; font-weight: 700; font-size: 0.9rem; }
.shop-balance-bc { color: var(--color-primary, #FF3008); }
.shop-balance-gt { color: #f5a623; }

.shop-daily-special {
  background: linear-gradient(135deg, rgba(245,166,35,0.12), rgba(255,48,8,0.08));
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.shop-daily-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f5a623;
  margin-bottom: 0.75rem;
}

.shop-section { margin-bottom: 2rem; }
.shop-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.5;
  margin-bottom: 0.75rem;
}

.shop-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

/* Override the old shop-item-card for the new grid layout */
.shop-item-grid .shop-item-card,
.shop-daily-special .shop-item-card {
  background: var(--color-surface-raised, rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: stretch;
  text-align: left;
}
.shop-item-card--daily { border-color: rgba(245,166,35,0.4); }
.shop-item-card--equipped { border-color: rgba(52,211,153,0.5); }

.shop-item-header { display: flex; justify-content: space-between; align-items: center; }
.shop-item-icon { font-size: 1.4rem; }
.shop-item-rarity { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.shop-item-name { font-weight: 700; font-size: 0.9rem; margin-top: 0.2rem; }
.shop-item-desc { font-size: 0.78rem; opacity: 0.6; line-height: 1.4; flex: 1; }
.shop-wager-detail { font-size: 0.78rem; color: #f5a623; font-weight: 600; }
.shop-owned-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(52,211,153,0.15);
  color: #34d399;
  padding: 2px 6px;
  border-radius: 4px;
  align-self: flex-start;
}
.shop-item-action { margin-top: 0.5rem; }
.shop-action-btn { width: 100%; padding: 8px 12px; font-size: 0.82rem; }
.shop-btn-dim { opacity: 0.5; cursor: not-allowed; }
.shop-equipped-label { font-size: 0.82rem; color: #34d399; font-weight: 700; }

.shop-wager-banner {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.8rem 1rem;
  background: rgba(129,140,248,0.1);
  border: 1px solid rgba(129,140,248,0.3);
  border-radius: 10px;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
}
.shop-wager-icon { font-size: 1.4rem; flex-shrink: 0; }
.shop-wager-title { font-weight: 700; }
.shop-wager-progress { opacity: 0.7; font-size: 0.78rem; }

.shop-toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 3000;
  animation: toast-in 0.25s ease;
}
.shop-toast--error { background: #ef4444; color: #fff; }
.shop-toast--info  { background: #374151; color: #f9fafb; }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Order History ─────────────────────────────────────────────────────── */
.history-order-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-order-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3px;
}

/* ── Checkin Banner ────────────────────────────────────────────────────── */
.checkin-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.checkin-banner-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── Streak Milestone ──────────────────────────────────────────────────── */
.streak-milestone-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.streak-milestone-card {
  text-align: center;
}

/* ── Customization Modal ──────────────────────────────────────────────── */
.cust-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cust-modal-header {
  position: relative;
}

.cust-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
}

.cust-body { padding: 16px 20px; }

.cust-section { margin-bottom: 18px; }

.cust-size-options { display: flex; gap: 8px; }

.cust-size-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.cust-ing-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cust-ing-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.cust-footer {
  display: flex;
  flex-direction: column;
}

.cust-live-totals {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.cust-live-row {
  display: flex;
  justify-content: space-between;
}

.cust-live-row--total {
  padding-top: 6px;
  border-top: 1px solid var(--brand-border);
}

.cust-add-btn { width: 100%; }

/* ── Achievement Badge Drop ────────────────────────────────────────────── */
.phantom-badge {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 9999;
  pointer-events: none;
}

.phantom-badge-inner {
  text-align: center;
}

/* ── Active Order Widget ───────────────────────────────────────────────── */
.active-order-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 160;
  max-width: 560px;
  margin: 0 auto;
}

.aow-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
}

.aow-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.aow-right {
  flex: 1;
  min-width: 60px;
}

.aow-progress-wrap {
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}

/* ── HUD ───────────────────────────────────────────────────────────────── */
.hud-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hud-left { flex: 1; min-width: 0; }

.hud-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.hud-gt {
  font-size: 0.85rem;
  font-weight: 700;
  text-align: right;
  margin-bottom: 2px;
  color: #f5a623;
}
.hud-gt-val { font-variant-numeric: tabular-nums; }

/* ── Daily Quests ──────────────────────────────────────────────────────── */
.daily-quests-widget { margin-bottom: 16px; }

.daily-quest {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.daily-quest-info { flex: 1; min-width: 0; }

/* ── Restaurant Card Body ──────────────────────────────────────────────── */
.restaurant-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.restaurant-card-footer { margin-top: auto; }

/* ── Cart Cust Tags ───────────────────────────────────────────────────── */
.cart-cust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 4px;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .page-shell {
    padding: 12px 10px 100px;
    gap: 0;
  }

  .cart-sidebar { display: none !important; }

  .restaurant-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .achievement-grid { grid-template-columns: repeat(2, 1fr); }
  .mascot-grid { grid-template-columns: repeat(3, 1fr); }

  .profile-header {
    flex-direction: column;
    gap: 12px;
  }

  .receipt-screen { padding: 0; }

  .mobile-cart-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 150;
    gap: 12px;
  }

  .mobile-cart-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-cart-bar.hidden { display: none; }

  .cart-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
  }

  .cart-sheet-overlay.open { display: block; }

  .cart-sheet {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 201;
    max-height: 82dvh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .cart-sheet.open { transform: translateY(0); }

  .cart-sheet-handle {
    width: 38px;
    height: 4px;
    margin: 12px auto 0;
  }

  .cart-sheet-inner { padding: 14px 20px 32px; }

  .cart-sheet-title {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--brand-border);
  }

  .active-order-widget {
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
}

@media (max-width: 400px) {
  .restaurant-grid { grid-template-columns: 1fr; }
  .mascot-grid { grid-template-columns: repeat(2, 1fr); }
  .achievement-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Section 1.8 / 12: Mascot Category Grid
   ═══════════════════════════════════════════════════════════════════════════ */
.mascot-category-section {
  margin-bottom: 20px;
}
.mascot-category-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mascot-slot--unknown {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #9ca3af;
  filter: blur(3px);
  margin: 0 auto;
}
.category-unlock-banner {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  pointer-events: none;
}
.category-unlock-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.category-unlock-icon { font-size: 3rem; }
.category-unlock-title { font-size: 1.3rem; font-weight: 800; margin: 8px 0; }
.category-unlock-name { font-size: 1rem; color: var(--brand-muted); }

/* ═══════════════════════════════════════════════════════════════════════════
   Section 4.2: Shop Locked State
   ═══════════════════════════════════════════════════════════════════════════ */
.shop-locked-state {
  text-align: center;
  padding: 48px 24px;
}
.shop-locked-icon { font-size: 3rem; margin-bottom: 16px; }
.shop-locked-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.shop-locked-sub { color: var(--brand-muted); margin-bottom: 16px; }
.shop-locked-xp-wrap {
  width: 200px;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  margin: 0 auto 12px;
  overflow: hidden;
}
.shop-locked-xp-bar {
  height: 100%;
  background: var(--brand-primary);
  border-radius: 4px;
  transition: width 0.4s;
}
.shop-locked-hint { font-size: 0.8rem; color: var(--brand-muted); }

/* ═══════════════════════════════════════════════════════════════════════════
   Section 9: Gossip Feed
   ═══════════════════════════════════════════════════════════════════════════ */
.gossip-feed {
  background: #f9fafb;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 12px;
  min-height: 24px;
  overflow: hidden;
}
.gossip-entry {
  font-size: 0.78rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  opacity: 1;
}
.gossip-entry b { color: var(--brand-text); }

/* ═══════════════════════════════════════════════════════════════════════════
   Section 7: Minigame
   ═══════════════════════════════════════════════════════════════════════════ */
.minigame-area {
  background: #fefce8;
  border-radius: 12px;
  padding: 12px;
  margin-top: 12px;
  border: 2px dashed #fde68a;
}
.minigame-header {
  font-size: 0.82rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 8px;
  text-align: center;
}
.minigame-bubbles {
  position: relative;
  height: 140px;
  overflow: hidden;
}
.minigame-bubble {
  position: absolute;
  bottom: 0;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  transition: transform 0.1s;
  z-index: 2;
}
.minigame-bubble:active { transform: scale(1.2); }
.minigame-progress-wrap {
  margin-top: 8px;
  background: #e5e7eb;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
.minigame-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 5px;
  transition: width 0.3s;
}
.minigame-progress-label {
  font-size: 0.7rem;
  color: #6b7280;
  margin-top: 4px;
  text-align: center;
}
.minigame-complete {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #10b981;
  padding: 50px 0;
}
.minigame-time-saved {
  text-align: center;
  font-size: 0.85rem;
  color: #10b981;
  font-weight: 700;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Section 10: Delivery Quest Banner
   ═══════════════════════════════════════════════════════════════════════════ */
.delivery-quest-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.dq-left { display: flex; align-items: center; gap: 10px; }
.dq-icon { font-size: 1.5rem; }
.dq-title { font-size: 0.85rem; font-weight: 700; }
.dq-reward { font-size: 0.78rem; color: #92400e; }
.dq-go-btn { padding: 6px 16px; font-size: 0.8rem; white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════════════════
   Section 11.1: Onboarding Receipt Card
   ═══════════════════════════════════════════════════════════════════════════ */
.receipt-onboarding-card {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  text-align: center;
  border: 2px solid #fbbf24;
}
.onboarding-card-header { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.onboarding-card-body { font-size: 0.85rem; color: #6b7280; margin-bottom: 8px; }
.onboarding-card-vouchers { font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   Section 11.3: Streak Calendar
   ═══════════════════════════════════════════════════════════════════════════ */
.streak-calendar {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.streak-calendar-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 10px; }
.streak-calendar-days { display: flex; gap: 8px; justify-content: space-between; }
.streak-calendar-day {
  flex: 1;
  text-align: center;
  padding: 6px 2px;
  border-radius: 8px;
  background: #f3f4f6;
  font-size: 0.7rem;
  transition: all 0.3s;
}
.streak-day--done { background: #d1fae5; }
.streak-day--today { background: #fef3c7; border: 2px solid #fbbf24; }
.streak-day-icon { font-size: 1.2rem; }
.streak-day-num { font-weight: 600; }
.streak-day-label { font-size: 0.6rem; color: #92400e; font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════════
   Section 5.2: Locked Menu Items
   ═══════════════════════════════════════════════════════════════════════════ */
.menu-item-card--locked .menu-item-photo-wrap {
  filter: blur(8px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  min-height: 80px;
}
.lock-overlay-img {
  position: absolute;
  font-size: 2rem;
  z-index: 2;
  filter: none;
}
.menu-item-lock-info {
  font-size: 0.78rem;
  color: #92400e;
  font-weight: 600;
  margin-top: 6px;
}
.btn-unlock-item {
  background: #fbbf24;
  color: #78350f;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}
.btn-unlock-item:disabled { opacity: 0.5; cursor: not-allowed; }
