/* The portal and naduwork paint this same surface during document navigation. */
html[data-naduwork-entry] {
  background: #173f37;
  color-scheme: dark;
}

.naduwork-entry {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background: #173f37;
  color: #f4f8fc;
  font: 600 1rem/1.4 system-ui, sans-serif;
  text-align: center;
}

#naduwork-entry[hidden] {
  display: none;
}

.naduwork-entry-icon {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 22%;
  box-shadow: 0 8px 24px #0b12265c;
}

.naduwork-entry p {
  position: absolute;
  inset: calc(50% + 66px) 1rem auto;
  margin: 0;
}

.naduwork-entry[data-reveal] {
  pointer-events: none;
  animation: naduwork-entry-reveal 150ms cubic-bezier(.22,1,.36,1) both;
}

@keyframes naduwork-entry-reveal {
  to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .naduwork-entry[data-reveal] { animation: none; }
}
