/* Shared across root pages: page-load overlay + base screen colour */
html {
  background: #f5f5f5;
}

#page-tx {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#page-tx .tx-s {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(0, 135, 202, 0.22);
  border-top-color: #0087ca;
  animation: pageTxSpin 0.65s linear infinite;
}

#page-tx .tx-t {
  font: 500 0.8125rem system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #555;
  letter-spacing: 0.02em;
}

@keyframes pageTxSpin {
  to {
    transform: rotate(360deg);
  }
}

html.page-tx-ready #page-tx {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
