  /* The announcement banner (admin-activity.md §3, public/js/notice-banner.js): a slim card at the top under the safe area, over everything but the loading screen (z 40); the game's look: the ink border and drop, Nunito 800 */
  .annbar { position: fixed; top: calc(8px + env(safe-area-inset-top)); left: 50%; z-index: 35; width: min(calc(100% - 24px), 560px); box-sizing: border-box; display: none; align-items: center; gap: 8px; padding: 6px 4px 6px 12px; background: #FFF4D6; color: var(--ink2); border: 4px solid var(--ink2); border-radius: 18px; box-shadow: 0 4px 0 var(--ink2), 0 10px 24px rgba(0,0,0,.35); transform: translateX(-50%); }
  .annbar.on { display: flex; animation: annIn .22s ease-out; }
  .annbar[data-kind=warning] { background: #FFD93B; }
  .annbar .ico { flex: 0 0 auto; font-size: 22px; line-height: 1; }
  .annbar .txt { flex: 1 1 auto; min-width: 0; margin: 0; font: 800 16px/1.25 var(--nunito); color: var(--ink2); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
  .annbar .txt[data-size=s1] { font-size: 14.5px; } .annbar .txt[data-size=s2] { font-size: 13px; }
  .annbar .txt.cut { cursor: pointer; } .annbar .txt.open { display: block; -webkit-line-clamp: unset; }
  .annbar .x { flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; color: var(--ink2); font: 32px/1 var(--lilita); display: grid; place-items: center; }
  .annbar .x:hover:not(:disabled) { filter: none; background: rgba(27,18,6,.08); }
  body.annon #lobby, body.annon .page { padding-top: calc(var(--annh, 0px) + 8px); } /* the lobby and every page make room under it: it never covers their tops (the gear, the account chip, a page's back button); a table it overlays for its 10 s */
  body.annon:has(.modal.open) .annbar { z-index: 9; } /* a sheet opened over it: the banner waits under the sheet's dimmed backdrop */
  body.annon .notices { top: calc(var(--annh, 0px) + 16px + env(safe-area-inset-top)); } /* (a notice drops in under the banner, never under it) */
  @keyframes annIn { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .annbar.on { animation: none; } }
  body.rm .annbar.on { animation: none; }
