/* Persistent selection status, separate from temporary notifications. */
#floodFrameStatus {
  position: fixed;
  left: 50%;
  bottom: var(--flood-status-bottom, 190px);
  transform: translateX(-50%);
  width: min(540px, calc(100vw - 40px));
  box-sizing: border-box;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 10px;
  background: #162235;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  z-index: 1500;
  pointer-events: none;
}
#floodFrameStatus[hidden] { display: none !important; }
#floodFrameStatus[data-state="error"] { background: #631f26; }

/* Short layouts reserve 180px for the dock, including open space above its key. */
@media (max-height: 360px) {
  html.county-compact #floodFrameStatus {
    bottom: calc(var(--cm-bottom, 8px) + 72px);
    width: min(440px, calc(100vw - 32px));
    padding: 5px 8px;
    font-size: 12px;
    line-height: 1.25;
    z-index: 6150;
  }
}
