/* "A new version of BRIEFED is ready. [Update]" (js/updates.js). Top centre so it never covers a bottom bar.
   Both edges anchored + width:fit-content: translateX(-50%) with max-width squeezes it to one word on phones. */
.update-bar { position: fixed; left: 12px; right: 12px; margin: 0 auto; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 100000;
  display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 560px; box-sizing: border-box;
  padding: 8px 8px 8px 16px; border-radius: 16px; background: #0f1830; color: #fff; border: 1px solid rgba(226, 185, 59, .55);
  font: 600 14.5px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45); animation: upd-in .35s cubic-bezier(.2, .9, .3, 1); }
.update-bar button { flex: none; border: 0; border-radius: 999px; padding: 8px 16px; background: #e2b93b; color: #080e1f; font: inherit; font-weight: 800; cursor: pointer; }
.update-bar button:disabled { opacity: .7; cursor: default; }
@keyframes upd-in { from { opacity: 0; transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .update-bar { animation: none; } }
@media print { .update-bar { display: none; } }
/* Big screens: layouts are designed around a laptop-sized window, so on large monitors the whole page is
   scaled up (CSS zoom) until it fills the screen the same way. Media queries still see the real window size.
   Full-height boxes divide by --zf, because zoom also multiplies vh/vw units. */
:root{--zf:1}
@media(min-width:1800px) and (min-height:1000px){:root{--zf:1.12}}
@media(min-width:2200px) and (min-height:1200px){:root{--zf:1.25}}
@media(min-width:2500px) and (min-height:1350px){:root{--zf:1.4}}
@media(min-width:3000px) and (min-height:1650px){:root{--zf:1.65}}
@media(min-width:3500px) and (min-height:1900px){:root{--zf:1.9}}
html{zoom:var(--zf)}
