/* The landing page of depthdot.pages.dev: Chrome's dark "This site can't be reached" page
   (colours measured from the user's screenshot 2026-11-16), then the home page behind Reload. */
html, body { margin: 0; height: 100%; }
body { background: #1f2125; }

#nx {
  position: fixed; inset: 0; overflow: auto;
  background: #1f2125; color: #a2a6a9;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 15px; line-height: 1.6;
  cursor: none;            /* the page draws its own pointer (#nx-cursor) */
  user-select: none;
}
html.nx-touch #nx { cursor: auto; }
.nx-wrap {
  box-sizing: border-box; max-width: 600px; width: 100%;
  margin: 14vh auto 0; padding: 0 24px;
}
@media (min-width: 648px) { .nx-wrap { padding: 0; } }
.nx-icon { display: block; width: 36px; height: 44px; margin: 0 0 46px; fill: #abadae; }
#nx h1 { margin: 0 0 16px; font-size: 1.6em; line-height: 1.25em; font-weight: 400; color: #a2a6a9; }
#nx p { margin: 0; }
.nx-code { margin-top: 12px; font-size: .86667em; color: #9a9ea1; }
.nx-nav { margin-top: 51px; overflow: hidden; padding-bottom: 24px; }
#nx-reload {
  float: right; cursor: none;
  font: inherit; font-size: .875em; font-weight: 500; line-height: 20px;
  padding: 5px 16px; border: 0; border-radius: 20px;
  background: #8ab5f8; color: #202124;
}
html.nx-touch #nx-reload { cursor: pointer; }
#nx-reload.nx-hover { background: #a5c6fa; }
#nx-reload:focus { outline: none; }
#nx-reload:focus-visible { outline: 2px solid #a5c6fa; outline-offset: 2px; }

/* Ctrl+F look: every match yellow, the current one orange (Chrome's find colours). */
mark.nx-m { background: #ffff00; color: #000; padding: 0; }
mark.nx-m.nx-cur { background: #ff9632; }

#nx-cursor {
  position: fixed; left: 0; top: 0; z-index: 10; pointer-events: none;
  width: 12px; height: 19px; display: none;
}
#nx-cursor svg { display: block; fill: #000; stroke: #fff; stroke-width: 1; overflow: visible; }
html.nx-mouse #nx-cursor { display: block; }

/* The worker adds the site-wide corner buttons (theme, language: static/site.js) to every page;
   they would give the fake error page away, so they wait until Reload. */
html:not(.nx-pass) .rj-ui { display: none !important; }

/* After Reload: the home page (still blank, like before). */
#home { display: none; }
html.nx-pass #nx { display: none; }
html.nx-pass #home { display: block; }
