@font-face {
  font-family: "TimesNewArialGX";
  src: url("../fonts/TimesNewArialGX.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ndx-font-sans: "TimesNewArialGX", sans-serif;
  --viewport-height: 100dvh;
  --breakpoint-mobile-max: 800px;
  --hazard-outline-thickness: 0.3vw;
  --menu-outline-stroke: calc(var(--hazard-outline-thickness) * 0.5);
  --menu-outline-dash: 0.8vw 0.8vw;
  --menu-outline-duration: 3s;
  --home-ui-inset: 1vw;
  --world-control-icon-half: 0.6vw;
  --joystick-hint-edge-overflow: calc(var(--menu-outline-stroke) + var(--world-control-icon-half));
  --world-control-circle-size: 3.25vw;
}

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: 0;
  font-family: var(--ndx-font-sans);
}

body,
html {
  height: 100%;
  width: 100vw;
  font-size: 16px;
  line-height: 22px;
  font-smooth: always;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-text-size-adjust: 100%;
  -webkit-touch-callout: none;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#content {
  background-color: lightcoral;
  padding: 1vw;
}

#content .item {
  margin-top: 1vw;
  padding: 1vw;
  background-color: lightgreen;
}

#content h1, #content p {
  margin-top: 1vw;
}

nav {
  background: transparent;
  padding: 0;
  display: block;
  pointer-events: none;
}

nav li {
  display: block;
}

nav li a,
a.menu-link {
  text-decoration: none;
  font-size: 5vw;
  line-height: 4.5vw;
  display: inline-block;
  pointer-events: auto;
  position: relative;
}

nav li a .menu-link__svg,
a.menu-link .menu-link__svg {
  display: block;
  width: auto;
  height: 1em;
  overflow: visible;
}

nav li a .menu-link__text,
a.menu-link .menu-link__text {
  font-family: var(--ndx-font-sans);
  font-size: 100px;
  letter-spacing: 2px;
  text-rendering: geometricPrecision;
}

nav li a .menu-link__text--base,
a.menu-link .menu-link__text--base {
  fill: transparent;
  stroke: none;
}

nav li a .menu-link__text--outline-black,
nav li a .menu-link__text--outline-yellow,
a.menu-link .menu-link__text--outline-black,
a.menu-link .menu-link__text--outline-yellow {
  fill: none;
  stroke-width: var(--menu-outline-stroke);
  vector-effect: non-scaling-stroke;
  paint-order: stroke fill;
}

nav li a .menu-link__text--outline-black,
a.menu-link .menu-link__text--outline-black {
  stroke: #000;
  stroke-dasharray: none;
}

nav li a .menu-link__text--outline-yellow,
a.menu-link .menu-link__text--outline-yellow {
  stroke: #ffd400;
  stroke-dasharray: var(--menu-outline-dash);
  stroke-dashoffset: 0;
  animation: none;
}

nav li a:hover .menu-link__text--outline-yellow,
nav li a:focus-visible .menu-link__text--outline-yellow,
a.menu-link:hover .menu-link__text--outline-yellow,
a.menu-link:focus-visible .menu-link__text--outline-yellow,
main[ndx--template=home] .world-sky-panel__inner .submit-form__submit:hover .menu-link__text--outline-yellow,
main[ndx--template=home] .world-sky-panel__inner .submit-form__submit:focus-visible .menu-link__text--outline-yellow {
  animation: menu-dash-outline var(--menu-outline-duration) linear infinite;
}

@keyframes menu-dash-outline {
  0% {
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  nav li a:hover .menu-link__text--outline-yellow,
  nav li a:focus-visible .menu-link__text--outline-yellow,
  a.menu-link:hover .menu-link__text--outline-yellow,
  a.menu-link:focus-visible .menu-link__text--outline-yellow,
  main[ndx--template=home] .world-sky-panel__inner .submit-form__submit:hover .menu-link__text--outline-yellow,
  main[ndx--template=home] .world-sky-panel__inner .submit-form__submit:focus-visible .menu-link__text--outline-yellow,
  .hazard-ring-host:hover .hazard-ring__yellow,
  .hazard-ring-host:focus-visible .hazard-ring__yellow,
  .hazard-frame-host:hover .hazard-ring__yellow,
  .hazard-frame-host:focus-within .hazard-ring__yellow,
  main[ndx--template=home] #world-joystick-wrap:hover .hazard-ring__yellow,
  main[ndx--template=home] #world-look-joystick-wrap:hover .hazard-ring__yellow,
  main[ndx--template=home] #world-joystick-wrap.is-interacting .hazard-ring__yellow,
  main[ndx--template=home] #world-look-joystick-wrap.is-interacting .hazard-ring__yellow {
    animation: none;
  }
}
.hazard-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% + 2 * var(--menu-outline-stroke));
  height: calc(100% + 2 * var(--menu-outline-stroke));
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: visible;
}

.hazard-ring circle,
.hazard-frame rect {
  fill: none;
  stroke-width: var(--menu-outline-stroke);
  vector-effect: non-scaling-stroke;
}

.hazard-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.hazard-frame-host {
  position: relative;
  display: block;
  box-sizing: border-box;
  isolation: isolate;
  padding: 0.5vw 2vw;
}

.hazard-ring__black {
  stroke: #000;
  stroke-dasharray: none;
}

.hazard-ring__yellow {
  stroke: #ffd400;
  stroke-dasharray: var(--menu-outline-dash);
  stroke-dashoffset: 0;
  animation: none;
}

.hazard-ring-host:hover .hazard-ring__yellow,
.hazard-ring-host:focus-visible .hazard-ring__yellow,
.hazard-frame-host:hover .hazard-ring__yellow,
.hazard-frame-host:focus-within .hazard-ring__yellow {
  animation: menu-dash-outline var(--menu-outline-duration) linear infinite;
}

nav li a .menu-link__fallback,
a.menu-link .menu-link__fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

nav ul li:nth-child(1) {
  justify-self: start;
  padding-left: 1vw;
}

nav ul li:nth-child(2) {
  justify-self: center;
}

nav ul li:nth-child(3) {
  justify-self: end;
}

@media (min-width: 801px) {
  nav ul li:nth-child(3) {
    padding-right: 1vw;
  }
}
main[ndx--template=home] .about-legal-nav {
  margin-top: 3vw;
  pointer-events: auto;
}

main[ndx--template=home] .about-legal-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

main[ndx--template=home] .about-legal-nav li {
  display: inline-block;
  margin-right: 2vw;
}

main[ndx--template=home] .about-legal-nav li:first-child {
  padding-left: 0;
}

main[ndx--template=projects] .projects-grid {
  margin-top: 1vw;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1vw;
}

main[ndx--template=projects] .project-tile {
  background-color: lightgreen;
  padding: 1vw;
}

main[ndx--template=projects] .project-tile__media {
  margin: 0;
}

main[ndx--template=projects] .project-tile__media img {
  display: block;
  width: 100%;
  height: auto;
}

main[ndx--template=projects] .project-tile__meta h2,
main[ndx--template=projects] .project-tile__meta p {
  margin-top: 0.6vw;
}

main[ndx--template=home] #world3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #111;
}

main[ndx--template=home] .world-sky-panel {
  position: absolute;
  inset: 0;
  z-index: 5;
  color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: none;
  -webkit-overflow-scrolling: touch;
}

body.world-sky-open main[ndx--template=home] .world-sky-panel {
  pointer-events: auto;
}

main[ndx--template=home] .world-sky-panel[hidden] {
  display: none !important;
}

main[ndx--template=home] .world-sky-panel__page {
  opacity: var(--sky-content-opacity, 0);
  pointer-events: none;
}

main[ndx--template=home] .world-sky-panel__page[hidden] {
  display: none !important;
}

main[ndx--template=home] .world-sky-panel__inner {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0 7vw 5vw 20vw;
  font-size: 4vw;
  line-height: 3.75vw;
  color: #ffd400;
}

main[ndx--template=home] .world-sky-panel__inner :where(p, li, a:not(.menu-link), label, button:not(.submit-form__submit), .submit-form__error, div),
main[ndx--template=home] .world-sky-panel__inner > div {
  -webkit-text-stroke: var(--menu-outline-stroke) #000;
  -webkit-text-fill-color: #ffd400;
  paint-order: fill stroke;
  text-rendering: geometricPrecision;
}

main[ndx--template=home] .world-sky-panel__inner .submit-form__field {
  margin-top: 3vw;
}

main[ndx--template=home] .world-sky-panel__inner label {
  display: block;
  margin-bottom: 0.25vw;
}

main[ndx--template=home] .world-sky-panel__inner input,
main[ndx--template=home] .world-sky-panel__inner textarea,
main[ndx--template=home] .world-sky-panel__inner button:not(.submit-form__submit) {
  font: inherit;
  color: #ffd400;
  caret-color: #ffd400;
}

main[ndx--template=home] .world-sky-panel__inner input,
main[ndx--template=home] .world-sky-panel__inner textarea {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
}

main[ndx--template=home] .hazard-frame-host:not(:has(input[type=file])) {
  padding: 0.75vw 1vw 0.25vw;
}

main[ndx--template=home] .hazard-frame-host input,
main[ndx--template=home] .hazard-frame-host textarea {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border: none;
  box-shadow: none;
  padding: 0;
}

main[ndx--template=home] .hazard-frame-host input:not([type=file]),
main[ndx--template=home] .hazard-frame-host textarea {
  color: #ffd400;
  -webkit-text-stroke: var(--menu-outline-stroke) #000;
  -webkit-text-fill-color: #ffd400;
  paint-order: fill stroke;
  text-rendering: geometricPrecision;
}

main[ndx--template=home] .world-sky-panel__inner .submit-form__field--honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

main[ndx--template=home] .world-sky-panel__inner .submit-form__error {
  margin-top: 0.6vw;
  color: #ffd400;
}

main[ndx--template=home] .hazard-frame-host:has(input[type=file]) {
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
  padding: 0 1vw 0 0;
}

main[ndx--template=home] .hazard-frame-host .submit-form__file-name {
  display: none;
}

main[ndx--template=home] .hazard-frame-host input[type=file] {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
  line-height: 6.5vw !important;
  color: #ffd400;
  caret-color: #ffd400;
  -webkit-text-stroke: var(--menu-outline-stroke) #000;
  -webkit-text-fill-color: #ffd400;
  paint-order: fill stroke;
  text-rendering: geometricPrecision;
}

main[ndx--template=home] .hazard-frame-host input[type=file]::file-selector-button {
  font: inherit;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: 0 1vw;
  margin: 0 1vw 0 0;
  line-height: 6.5vw !important;
  vertical-align: top;
  background: #ffd400;
  color: #000;
  border: none;
  border-radius: 0;
  cursor: pointer;
  -webkit-text-stroke: var(--menu-outline-stroke) #ffd400;
  -webkit-text-fill-color: #000;
  paint-order: fill stroke;
  text-rendering: geometricPrecision;
}

main[ndx--template=home] .hazard-frame-host input[type=file]::-webkit-file-upload-button {
  font: inherit;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: 0 1vw;
  margin: 0 1vw 0 0;
  line-height: 6.5vw !important;
  background: #ffd400;
  color: #000;
  border: none;
  border-radius: 0;
  cursor: pointer;
  -webkit-text-stroke: var(--menu-outline-stroke) #ffd400;
  -webkit-text-fill-color: #000;
  paint-order: fill stroke;
  text-rendering: geometricPrecision;
}

main[ndx--template=home] .world-sky-panel__inner .submit-form__submit {
  -webkit-appearance: none;
  appearance: none;
  margin-top: 3vw;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-block;
  font-family: var(--ndx-font-sans);
  font-size: 5vw;
  line-height: 4.5vw;
  position: relative;
  color: #ffd400;
}

main[ndx--template=home] .world-sky-panel__inner .submit-form__submit .menu-link__svg {
  display: block;
  width: auto;
  height: 1em;
  overflow: visible;
}

main[ndx--template=home] .world-sky-panel__inner .submit-form__submit .menu-link__text {
  font-family: var(--ndx-font-sans);
  font-size: 100px;
  letter-spacing: 2px;
  text-rendering: geometricPrecision;
}

main[ndx--template=home] .world-sky-panel__inner .submit-form__submit .menu-link__text--base {
  fill: transparent;
  stroke: none;
}

main[ndx--template=home] .world-sky-panel__inner .submit-form__submit .menu-link__text--outline-black,
main[ndx--template=home] .world-sky-panel__inner .submit-form__submit .menu-link__text--outline-yellow {
  fill: none;
  stroke-width: var(--menu-outline-stroke);
  vector-effect: non-scaling-stroke;
  paint-order: stroke fill;
}

main[ndx--template=home] .world-sky-panel__inner .submit-form__submit .menu-link__text--outline-black {
  stroke: #000;
  stroke-dasharray: none;
}

main[ndx--template=home] .world-sky-panel__inner .submit-form__submit .menu-link__text--outline-yellow {
  stroke: #ffd400;
  stroke-dasharray: var(--menu-outline-dash);
  stroke-dashoffset: 0;
  animation: none;
}

main[ndx--template=home] .world-sky-panel__inner .submit-form__submit .menu-link__fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main[ndx--template=home] .world-sky-close {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 1vw;
  right: 1vw;
  z-index: 7;
  width: var(--world-control-circle-size);
  height: var(--world-control-circle-size);
  min-width: var(--world-control-circle-size);
  min-height: var(--world-control-circle-size);
  padding: 0;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
}

main[ndx--template=home] .world-sky-close .hazard-ring {
  width: var(--world-control-circle-size);
  height: var(--world-control-circle-size);
}

main[ndx--template=home] .world-sky-close[hidden] {
  display: none !important;
}

main[ndx--template=home] .world-sky-close .world-control-icon {
  font-variation-settings: "nvgn" 100;
}

html.world-sky-open,
body.world-sky-open {
  background-color: color-mix(in srgb, #000 calc(var(--sky-page-dim, 1) * 100%), #111);
}

body.world-sky-open #content {
  background-color: color-mix(in srgb, #000 calc(var(--sky-page-dim, 1) * 100%), transparent);
}

main[ndx--template=home] #world-minimap,
main[ndx--template=home] .world-controls,
main[ndx--template=home] .world-overview-nav,
main[ndx--template=home] .world-backface-overlay {
  opacity: var(--sky-chrome-opacity, 1);
  pointer-events: var(--sky-chrome-pe, auto);
}

main[ndx--template=home] .world-controls {
  position: absolute;
  bottom: calc(var(--home-ui-inset) + var(--joystick-hint-edge-overflow));
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

main[ndx--template=home] .world-controls[hidden] {
  display: none !important;
}

main[ndx--template=home] .world-controls--move {
  left: 50%;
  transform: translateX(-50%);
}

main[ndx--template=home] .world-controls--look {
  left: calc(var(--home-ui-inset) + var(--joystick-hint-edge-overflow));
}

.mobile-nav-toggle {
  display: none;
}

main[ndx--template=home] .world-overview-nav {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

main[ndx--template=home] .world-overview-nav[hidden] {
  display: none;
}

main[ndx--template=home] .world-sky-close,
main[ndx--template=home] .world-overview-nav__btn,
main[ndx--template=home] #world-joystick,
main[ndx--template=home] #world-look-joystick,
main[ndx--template=home] #world-joystick-knob,
main[ndx--template=home] #world-look-joystick-knob {
  isolation: isolate;
}

main[ndx--template=home] .world-control-icon {
  position: relative;
  z-index: 2;
  width: 1.2vw;
  height: 1.2vw;
  border-radius: 0.2vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.2vw;
  font-size: 1vw;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 0.05vw solid rgba(255, 255, 255, 0.25);
  box-sizing: border-box;
  flex-shrink: 0;
}

main[ndx--template=home] .world-overview-nav__btn {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  width: var(--world-control-circle-size);
  height: var(--world-control-circle-size);
  min-width: var(--world-control-circle-size);
  min-height: var(--world-control-circle-size);
  padding: 0;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
}

main[ndx--template=home] .world-overview-nav__btn .hazard-ring {
  width: var(--world-control-circle-size);
  height: var(--world-control-circle-size);
}

main[ndx--template=home] .world-overview-nav__btn--close .world-control-icon {
  font-variation-settings: "nvgn" 100;
}

main[ndx--template=home] .world-overview-nav__btn--close {
  top: 1vw;
  right: 1vw;
  transform: none;
}

main[ndx--template=home] .world-overview-nav__btn[hidden] {
  display: none !important;
}

main[ndx--template=home] .world-overview-nav__btn--up {
  top: 1vw;
  left: 50%;
  transform: translateX(-50%);
}

main[ndx--template=home] .world-overview-nav__btn--right {
  right: 1vw;
  top: 50%;
  transform: translateY(-50%);
}

main[ndx--template=home] .world-overview-nav__btn--down {
  bottom: 1vw;
  left: 50%;
  transform: translateX(-50%);
}

main[ndx--template=home] .world-overview-nav__btn--left {
  left: 1vw;
  top: 50%;
  transform: translateY(-50%);
}

main[ndx--template=home] .world-backface-overlay {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  pointer-events: none;
  transform-origin: 0 0;
}

main[ndx--template=home] .world-backface-overlay[hidden] {
  display: none !important;
}

main[ndx--template=home] .world-backface-overlay__content {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 1.125vw 1.25vw;
  border-radius: 0.25vw;
  background: #111111;
  color: #ffd400;
  font-size: 2.5vw;
  line-height: 1;
  -webkit-text-stroke: calc(var(--menu-outline-stroke) * 0.5) #000;
  -webkit-text-fill-color: #ffd400;
  paint-order: fill stroke;
  text-rendering: geometricPrecision;
  user-select: text;
  -webkit-user-select: text;
  pointer-events: auto;
}

main[ndx--template=home] .world-backface-overlay__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

main[ndx--template=home] .world-backface-overlay__line {
  display: flex;
  align-items: flex-start;
  gap: 0.35em;
  margin: 0 0 0.6875vw 0;
}

main[ndx--template=home] .world-backface-overlay__bullet {
  flex: 0 0 auto;
  line-height: inherit;
}

main[ndx--template=home] .world-backface-overlay__text {
  flex: 1 1 auto;
  min-width: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

main[ndx--template=home] #world-joystick-wrap,
main[ndx--template=home] #world-look-joystick-wrap {
  --joystick-size: 6vw;
  --joystick-margin: 0;
  --joystick-hint-pad: 0.6vw;
  --joystick-outline-radius: calc(var(--joystick-size) / 2 + var(--menu-outline-stroke));
  --joystick-wrap-size: calc(2 * var(--joystick-outline-radius) + var(--joystick-hint-pad));
  --joystick-center-y: calc(var(--joystick-wrap-size) - var(--joystick-size) / 2);
  position: relative;
  width: var(--joystick-wrap-size);
  height: var(--joystick-wrap-size);
}

main[ndx--template=home] #world-joystick-wrap {
  --joystick-center-x: calc(var(--joystick-wrap-size) / 2);
}

main[ndx--template=home] #world-look-joystick-wrap {
  --joystick-center-x: calc(var(--joystick-size) / 2);
}

main[ndx--template=home] #world-joystick-wrap:hover .hazard-ring__yellow,
main[ndx--template=home] #world-joystick-wrap .hazard-ring-host:hover .hazard-ring__yellow,
main[ndx--template=home] #world-joystick-wrap .hazard-ring-host:focus-visible .hazard-ring__yellow,
main[ndx--template=home] #world-look-joystick-wrap:hover .hazard-ring__yellow,
main[ndx--template=home] #world-look-joystick-wrap .hazard-ring-host:hover .hazard-ring__yellow,
main[ndx--template=home] #world-look-joystick-wrap .hazard-ring-host:focus-visible .hazard-ring__yellow,
main[ndx--template=home] #world-joystick-wrap.is-interacting .hazard-ring__yellow,
main[ndx--template=home] #world-look-joystick-wrap.is-interacting .hazard-ring__yellow {
  animation: menu-dash-outline var(--menu-outline-duration) linear infinite;
}

main[ndx--template=home] #world-joystick,
main[ndx--template=home] #world-look-joystick {
  position: absolute;
  bottom: 0;
  margin: var(--joystick-margin);
  width: var(--joystick-size);
  height: var(--joystick-size);
  border-radius: 50%;
  touch-action: none;
  cursor: grab;
}

main[ndx--template=home] #world-joystick {
  left: 50%;
  transform: translateX(-50%);
}

main[ndx--template=home] #world-look-joystick {
  left: 0;
}

main[ndx--template=home] #world-joystick-knob,
main[ndx--template=home] #world-look-joystick-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.2vw;
  height: 2.2vw;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
}

main[ndx--template=home] .world-key-hint {
  position: absolute;
}

main[ndx--template=home] .world-key-hint--up {
  left: var(--joystick-center-x);
  top: calc(var(--joystick-center-y) - var(--joystick-outline-radius));
  transform: translate(-50%, -50%);
}

main[ndx--template=home] .world-key-hint--right {
  left: calc(var(--joystick-center-x) + var(--joystick-outline-radius));
  top: var(--joystick-center-y);
  transform: translate(-50%, -50%);
}

main[ndx--template=home] .world-key-hint--down {
  left: var(--joystick-center-x);
  top: calc(var(--joystick-center-y) + var(--joystick-outline-radius));
  transform: translate(-50%, -50%);
}

main[ndx--template=home] .world-key-hint--left {
  left: calc(var(--joystick-center-x) - var(--joystick-outline-radius));
  top: var(--joystick-center-y);
  transform: translate(-50%, -50%);
}

body[ndx--target-view=home] #content {
  position: fixed;
  inset: 0;
  padding: 0;
  background: transparent;
}

main[ndx--template=home] {
  position: relative;
  width: 100vw;
  height: var(--viewport-height);
}

main[ndx--template=home] #world-minimap {
  position: absolute;
  right: 1vw;
  bottom: 1vw;
  transform: none;
  z-index: 3;
  height: 7vw;
  width: auto;
  background: transparent;
  border: 0;
  pointer-events: none;
}

body[ndx--target-view=home] > nav:first-of-type {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 4;
}

body[ndx--target-view=home] > nav:first-of-type ul li:nth-child(2),
body[ndx--target-view=home] > nav:first-of-type ul li:nth-child(3),
body[ndx--target-view=home] > nav:first-of-type ul li:nth-child(2) a,
body[ndx--target-view=home] > nav:first-of-type ul li:nth-child(3) a {
  opacity: var(--sky-overlay-nav-opacity, 1);
  pointer-events: var(--sky-overlay-nav-pe, auto);
}

body[ndx--target-view=home] > nav:first-of-type {
  top: 0;
}

body[ndx--target-view=home] > nav:first-of-type ul {
  align-items: start;
}

@media (max-width: 800px) {
  :root {
    --hazard-outline-thickness: 5px;
    --menu-outline-stroke: 2.5px;
    --menu-outline-dash: 13px 13px;
  }
  main[ndx--template=home] #world-minimap,
  main[ndx--template=home] .world-controls--look {
    display: none !important;
  }
  main[ndx--template=home] .world-controls--move,
  main[ndx--template=home] .world-overview-nav {
    --hazard-outline-thickness: 5px;
    --menu-outline-stroke: 2.5px;
    --menu-outline-dash: 13px 13px;
  }
  main[ndx--template=home] .world-controls--move {
    --world-control-icon-half: 2.5vw;
    --joystick-hint-edge-overflow: calc(var(--menu-outline-stroke) + var(--world-control-icon-half));
  }
  main[ndx--template=home] #world-joystick-wrap {
    --joystick-size: 25vw;
    --joystick-hint-pad: 2.5vw;
    --joystick-outline-radius: calc(var(--joystick-size) / 2 + var(--menu-outline-stroke));
    --joystick-wrap-size: calc(2 * var(--joystick-outline-radius) + var(--joystick-hint-pad));
    --joystick-center-y: calc(var(--joystick-wrap-size) - var(--joystick-size) / 2);
    --joystick-center-x: calc(var(--joystick-wrap-size) / 2);
  }
  main[ndx--template=home] #world-joystick-knob {
    width: 9.167vw;
    height: 9.167vw;
  }
  main[ndx--template=home] .world-controls--move .world-control-icon,
  main[ndx--template=home] .world-overview-nav .world-control-icon {
    width: 5vw;
    height: 5vw;
    font-size: 4.167vw;
    border-radius: 0.833vw;
    padding-top: 0.833vw;
    border-width: 0.208vw;
  }
  main[ndx--template=home] .world-overview-nav {
    --world-control-circle-size: 10vw;
  }
  body.world-sky-open main[ndx--template=home] #world3d,
  body.world-sky-open main[ndx--template=home] #world3d canvas {
    pointer-events: none !important;
  }
  body.world-sky-open main[ndx--template=home] .world-sky-panel {
    position: fixed;
    inset: 0;
    z-index: 6;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    pointer-events: auto !important;
    touch-action: pan-y;
  }
  main[ndx--template=home] .world-sky-panel__page:not([hidden]) {
    height: 100dvh;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    pointer-events: auto !important;
    touch-action: pan-y;
  }
  main[ndx--template=home] .world-sky-panel__inner {
    padding: 25vw 1vw 5vw 1vw;
    font-size: 12.25vw;
    line-height: 12.25vw;
    box-sizing: border-box;
  }
  main[ndx--template=home] .world-sky-panel__inner :where(p, li, a:not(.menu-link), label, button:not(.submit-form__submit), .submit-form__error, div),
  main[ndx--template=home] .world-sky-panel__inner > div {
    -webkit-text-stroke: 0.25vw #000;
  }
  body[ndx--target-view=home] > nav:first-of-type {
    z-index: 10;
    overflow: visible;
    margin-top: 1vw;
    --menu-mobile-font-size: 12.5vw;
    --hazard-outline-thickness: 5px;
    --menu-outline-stroke: 2.5px;
    --menu-outline-dash: 13px 13px;
  }
  main[ndx--template=home] .about-legal-nav {
    --menu-mobile-font-size: 12.5vw;
    --hazard-outline-thickness: 5px;
    --menu-outline-stroke: 2.5px;
    --menu-outline-dash: 13px 13px;
  }
  body[ndx--target-view=home] > nav:first-of-type ul {
    display: block !important;
    grid-template-columns: none;
  }
  body[ndx--target-view=home] > nav:first-of-type ul li,
  body[ndx--target-view=home] > nav:first-of-type ul li:nth-child(1),
  body[ndx--target-view=home] > nav:first-of-type ul li:nth-child(2),
  body[ndx--target-view=home] > nav:first-of-type ul li:nth-child(3) {
    display: block;
    position: relative;
    justify-self: auto;
    width: auto;
    max-width: none;
    padding-left: 1vw;
  }
  body[ndx--target-view=home] > nav:first-of-type ul li:nth-child(1) {
    width: 100%;
  }
  body[ndx--target-view=home] > nav:first-of-type ul li:nth-child(2),
  body[ndx--target-view=home] > nav:first-of-type ul li:nth-child(3) {
    display: none;
    width: calc(50% - 1vw);
    vertical-align: top;
  }
  body[ndx--target-view=home] > nav:first-of-type.is-mobile-menu-open ul li:nth-child(2),
  body[ndx--target-view=home] > nav:first-of-type.is-mobile-menu-open ul li:nth-child(3) {
    display: inline-block;
  }
  body[ndx--target-view=home] > nav:first-of-type ul li,
  body[ndx--target-view=home] > nav:first-of-type ul li a,
  body[ndx--target-view=home] > nav:first-of-type ul li:nth-child(2),
  body[ndx--target-view=home] > nav:first-of-type ul li:nth-child(3),
  body[ndx--target-view=home] > nav:first-of-type ul li:nth-child(2) a,
  body[ndx--target-view=home] > nav:first-of-type ul li:nth-child(3) a {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  body[ndx--target-view=home] > nav:first-of-type ul li a {
    display: block !important;
    position: relative;
    padding: 0;
    margin: 0;
    height: auto;
    min-height: 0;
    font-size: var(--menu-mobile-font-size) !important;
    line-height: 1 !important;
  }
  body[ndx--target-view=home] > nav:first-of-type .mobile-nav-toggle {
    -webkit-appearance: none;
    appearance: none;
    position: fixed;
    right: 1vw;
    top: 1vw;
    width: 10vw;
    height: 10vw;
    min-width: 10vw;
    min-height: 10vw;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    display: grid;
    place-items: center;
    pointer-events: auto;
    z-index: 12;
  }
  body[ndx--target-view=home] > nav:first-of-type .mobile-nav-toggle .hazard-ring {
    width: 10vw;
    height: 10vw;
  }
  body[ndx--target-view=home] > nav:first-of-type .mobile-nav-toggle .world-control-icon {
    position: relative;
    z-index: 2;
    width: 5vw;
    height: 5vw;
    border-radius: 0.833vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.167vw;
    line-height: 1;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border: 0.208vw solid rgba(255, 255, 255, 0.25);
    box-sizing: border-box;
    padding-top: 0.5vw;
    transform: translateY(0.03em);
    font-variation-settings: "nvgn" 0;
  }
  body[ndx--target-view=home] > nav:first-of-type.is-mobile-menu-open .mobile-nav-toggle .world-control-icon {
    font-variation-settings: "nvgn" 100;
    transform: translateY(0.03em);
  }
  body[ndx--target-view=home] > nav:first-of-type ul li a .menu-link__svg {
    display: block;
    width: auto;
    height: 1em !important;
    margin: 0;
    overflow: visible;
    vertical-align: top;
    clip-path: inset(0 0 13.3333% 0);
  }
  body[ndx--target-view=home] > nav:first-of-type ul li a .menu-link__text {
    font-size: 133.333px !important;
    transform: translateY(0.08em);
  }
  body[ndx--target-view=home] > nav:first-of-type ul li a .menu-link__text--outline-black,
  body[ndx--target-view=home] > nav:first-of-type ul li a .menu-link__text--outline-yellow,
  main[ndx--template=home] .about-legal-nav ul li a.menu-link .menu-link__text--outline-black,
  main[ndx--template=home] .about-legal-nav ul li a.menu-link .menu-link__text--outline-yellow,
  main[ndx--template=home] .world-sky-panel__inner .submit-form__submit .menu-link__text--outline-black,
  main[ndx--template=home] .world-sky-panel__inner .submit-form__submit .menu-link__text--outline-yellow {
    stroke-width: 1.8px !important;
    vector-effect: non-scaling-stroke !important;
  }
  body[ndx--target-view=home] > nav:first-of-type ul li a .menu-link__text--outline-black,
  main[ndx--template=home] .about-legal-nav ul li a.menu-link .menu-link__text--outline-black,
  main[ndx--template=home] .world-sky-panel__inner .submit-form__submit .menu-link__text--outline-black {
    stroke-width: 1.35px !important;
  }
  body[ndx--target-view=home] > nav:first-of-type ul li a .menu-link__text--outline-yellow,
  main[ndx--template=home] .about-legal-nav ul li a.menu-link .menu-link__text--outline-yellow,
  main[ndx--template=home] .world-sky-panel__inner .submit-form__submit .menu-link__text--outline-yellow {
    stroke-dasharray: 13px 13px !important;
  }
  body[ndx--target-view=home].ndx--moving > nav:first-of-type ul li:first-child a .menu-link__text--outline-yellow {
    animation: menu-dash-outline var(--menu-outline-duration) linear infinite;
  }
  main[ndx--template=home] .about-legal-nav ul {
    display: block !important;
    grid-template-columns: none;
    white-space: normal;
    overflow: visible;
  }
  main[ndx--template=home] .about-legal-nav ul li {
    display: block !important;
    position: relative;
    justify-self: auto;
    width: auto;
    max-width: none;
    padding-left: 0;
    margin-top: 3vw;
    margin-right: 0;
  }
  main[ndx--template=home] .about-legal-nav ul li a.menu-link {
    display: block !important;
    position: relative;
    padding: 0;
    margin: 0;
    height: auto;
    min-height: 0;
    opacity: 1 !important;
    pointer-events: auto !important;
    font-size: var(--menu-mobile-font-size) !important;
    line-height: 1.08 !important;
  }
  main[ndx--template=home] .about-legal-nav ul li a.menu-link .menu-link__svg {
    display: block;
    width: auto;
    height: 1.08em !important;
    overflow: visible;
    clip-path: none;
  }
  main[ndx--template=home] .about-legal-nav ul li a.menu-link .menu-link__text {
    font-size: 133.333px !important;
    transform: translateY(0.08em);
  }
  main[ndx--template=home] .world-sky-panel__inner .submit-form__submit {
    display: inline-block !important;
    margin-top: 5vw;
    opacity: 1 !important;
    pointer-events: auto !important;
    font-size: var(--menu-mobile-font-size) !important;
    line-height: 1.08 !important;
    --menu-outline-dash: 13px 13px;
  }
  main[ndx--template=home] .world-sky-panel__inner .submit-form__submit .menu-link__svg {
    display: block;
    width: auto;
    height: 1.08em !important;
    overflow: visible;
    clip-path: none;
  }
  main[ndx--template=home] .world-sky-panel__inner .submit-form__submit .menu-link__text {
    font-size: 133.333px !important;
    transform: translateY(0.08em);
  }
  main[ndx--template=home] .world-sky-close {
    display: none !important;
  }
  main[ndx--template=home] {
    touch-action: none;
  }
  main[ndx--template=home] #world3d canvas {
    touch-action: none;
  }
  main[ndx--template=home] .world-backface-overlay__content {
    font-size: 18.75vw;
  }
  main[ndx--template=home] .world-backface-overlay__line {
    margin-bottom: 2.5vw;
    padding: 0 1.25vw;
  }
  main[ndx--template=home] .world-sky-panel__inner .submit-form,
  main[ndx--template=home] .world-sky-panel__inner .submit-form .hazard-frame-host {
    --hazard-outline-thickness: 5px;
    --menu-outline-stroke: 2.5px;
    --menu-outline-dash: 13px 13px;
  }
  main[ndx--template=home] .hazard-ring__yellow,
  main[ndx--template=home] .hazard-frame .hazard-ring__yellow,
  body[ndx--target-view=home] > nav:first-of-type .hazard-ring__yellow {
    stroke-width: 2.5px !important;
    stroke-dasharray: 13px 13px !important;
    stroke-dashoffset: 0;
  }
  main[ndx--template=home] .hazard-ring__black,
  main[ndx--template=home] .hazard-frame .hazard-ring__black,
  body[ndx--target-view=home] > nav:first-of-type .hazard-ring__black {
    stroke-width: 2.5px !important;
  }
  main[ndx--template=home] .world-sky-panel__inner .submit-form__field {
    margin-top: 5vw;
  }
  main[ndx--template=home] .world-sky-panel__inner .submit-form__field:first-child {
    margin-top: 0;
  }
  main[ndx--template=home] .world-sky-panel__inner .submit-form__field--honeypot + .submit-form__field {
    margin-top: 0;
  }
  main[ndx--template=home] .hazard-frame-host:has(input[type=file]) {
    display: block;
    padding: 0 1vw 0 0;
  }
  main[ndx--template=home] .hazard-frame-host input[type=file] {
    display: block;
    width: 100%;
    height: 13.5vw;
    min-height: 13.5vw;
    line-height: 14.5vw !important;
    padding-top: 0;
    box-sizing: border-box;
    color: transparent;
    text-shadow: none;
    overflow: hidden;
  }
  main[ndx--template=home] .hazard-frame-host input[type=file]::file-selector-button {
    display: block;
    width: 100%;
    margin: 0;
    min-height: 13vw;
    height: 13vw;
    line-height: 13vw !important;
    white-space: normal;
  }
  main[ndx--template=home] .hazard-frame-host .submit-form__file-name {
    display: block;
    height: 13.5vw;
    min-height: 13.5vw;
    line-height: 14.5vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffd400;
    -webkit-text-stroke: var(--menu-outline-stroke) #000;
    -webkit-text-fill-color: #ffd400;
    padding: 0 1vw;
  }
  main[ndx--template=home] .hazard-frame-host input[type=file]::-webkit-file-upload-button {
    display: block;
    width: 100%;
    margin: 0;
    min-height: 13vw;
    height: 13vw;
    line-height: 13vw !important;
    white-space: normal;
  }
  main[ndx--template=home] .world-sky-panel,
  main[ndx--template=home] .world-sky-close,
  main[ndx--template=home] .world-overview-nav,
  main[ndx--template=home] .world-backface-overlay__content,
  main[ndx--template=home] .submit-form {
    touch-action: auto;
  }
}

/*# sourceMappingURL=style.css.map */
