/* ===================================================================
   Build 30M — webapp uplift (Ram 2026-10-10)
   Imported by every webapp page via <link rel="stylesheet">.
   The permanent build badge is auto-injected by build30m-badge.js
   (also imported by every page via <script src>).
   =================================================================== */

/* --- Fix #3 + #4: Desktop CSS uplift (zoom 1.3x) via media query so
       live app visuals match the Recording captures. Mobile untouched
       (zoom only engages at >= 900px viewport). --- */
@media (min-width: 900px) {
  body { zoom: 1.3; }
}

/* --- Fix #2: Permanent build-version badge visible on every page.
       Fixed to bottom-right so it's unmissable but never obscures content. --- */
.build-30m-badge {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 2147483647;
  background: rgba(31, 58, 122, 0.92);
  color: #5EEAD4;
  padding: 5px 11px;
  border-radius: 5px;
  font: 700 11px/1.2 "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0.04em;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(94, 234, 212, 0.4);
  pointer-events: none;
}

/* --- Fix #1: Mode 1 / Mode 2 pill selector on reconstruct.html.
       Two-pill group replacing the single mode badge. --- */
.mode-pill-group {
  display: inline-flex;
  gap: 4px;
  margin-left: 6px;
  padding: 2px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}
.mode-pill {
  background: transparent;
  color: #8fb3b0;
  border: 1px solid transparent;
  padding: 4px 10px;
  font: 700 11px "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s;
  letter-spacing: 0.02em;
}
.mode-pill:hover {
  color: #5EEAD4;
  background: rgba(94, 234, 212, 0.08);
}
.mode-pill.active {
  background: #5EEAD4;
  color: #04211d;
  border-color: #5EEAD4;
  font-weight: 800;
}
.mode-pill[data-mode="2"].active {
  background: #FBBF24;
  color: #4A2A00;
  border-color: #FBBF24;
}

/* --- Build 30M: "Zero cost until November 1st" banner — reusable amberbox.
       Shown ONCE on the Welcome Screen (index.html). Not repeated elsewhere. --- */
.amberbox {
  background: rgba(251, 191, 36, 0.09);
  border: 1px solid #FBBF24;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 10px auto 18px;
  color: #f9e2a4;
  font: 500 13px/1.5 "Segoe UI", system-ui, sans-serif;
  max-width: 820px;
  text-align: center;
}
.amberbox b { color: #FBBF24; }
