/* Offline pill (offline.js): a quiet strip at the top, only while there is no connection or unsent changes. */
#offlineBar{ position:fixed; top:calc(8px + env(safe-area-inset-top, 0px)); left:50%; z-index:100001; transform:translate(-50%, -140%); max-width:calc(100% - 32px);
  padding:7px 14px; border-radius:999px; border:1px solid var(--line-strong, rgba(128,128,128,.4)); background:var(--panel, #161617); color:var(--text, #f3f1ec);
  font:600 12.5px/1.3 var(--font-ui, system-ui, sans-serif); text-align:center; opacity:0; pointer-events:none; transition:transform .25s ease, opacity .25s ease;
  box-shadow:0 4px 14px rgba(0,0,0,.28); }
#offlineBar::before{ content:''; display:inline-block; width:7px; height:7px; margin-right:8px; border-radius:50%; background:var(--gold, #F4B04A); vertical-align:1px; }
#offlineBar.show{ transform:translate(-50%, 0); opacity:1; }
@media (prefers-reduced-motion: reduce){ #offlineBar{ transition:none; } }

/* Data that could not be loaded (2026-10-20): a calm screen that retries by itself instead of an app that looks empty */
#dataRetry{ position:fixed; inset:0; z-index:9000; display:none; align-items:center; justify-content:center; padding:24px; background:var(--bg, #0e0e0f); }
#dataRetry.show{ display:flex; }
#dataRetry .dr-card{ max-width:360px; text-align:center; display:flex; flex-direction:column; gap:12px; color:var(--text, #f3f1ec); }
#dataRetry b{ font:400 26px/1.15 'Manrope', sans-serif; }
#dataRetry p{ margin:0; font:500 14.5px/1.55 var(--font-ui, system-ui); color:var(--text-dim, #9d998e); }
#dataRetry button{ height:48px; border:0; border-radius:999px; background:var(--gold, #F4B04A); color:#1a1408; font:800 15px var(--font-ui, system-ui); cursor:pointer; }
