/* DEV environment badge: large, unmissable, dev (.65) only.
   The badge element is injected by dev-badge.js, which only runs the
   injection when the page is served from a dev hostname. The same code
   ships to prod, but prod hostnames never match, so prod shows nothing. */
.env-badge {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  pointer-events: none;
  background: #dc2626;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  padding: 8px 14px 6px;
  text-align: center;
  font-family: system-ui, sans-serif;
  line-height: 1;
}
.env-badge .env-badge-main {
  display: block;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 3px;
}
.env-badge .env-badge-sub {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
  letter-spacing: 1px;
}
@media (max-width: 600px) {
  /* On phones the top-center spot covers the tab bar (e.g. the Dinners
     tab), so dock the badge bottom-right instead, as a compact pill
     with no sub-line. pointer-events is none, so it never blocks taps. */
  .env-badge { top: auto; bottom: 12px; left: auto; right: 12px; transform: none; padding: 6px 10px 5px; }
  .env-badge .env-badge-main { font-size: 14px; letter-spacing: 2px; }
  .env-badge .env-badge-sub { display: none; }
}
