:root {
  color-scheme: dark;
  --ice: #c8f3ff;
  font-family:
    Helvetica Neue,
    Helvetica,
    Arial,
    sans-serif;
  background: #050505;
  color: #f1f1ea;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html,
body,
#app {
  width: 100%;
  height: 100%;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
}
button {
  font: inherit;
  color: inherit;
}
.consent {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 7vh 7vw;
  background: radial-gradient(
    circle at 65% 40%,
    #18201c 0,
    #080a09,
    #020202 72%
  );
}
.consent:after {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0 3px,
    #fff 4px
  );
}
.language {
  position: fixed;
  top: 28px;
  right: 34px;
  z-index: 2;
  color: #777;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.language button {
  border: 0;
  background: none;
  padding: 8px;
  cursor: pointer;
  color: #777;
  text-transform: uppercase;
}
.language button.active {
  color: var(--ice);
}
.consent-copy {
  width: min(780px, 100%);
  position: relative;
  z-index: 1;
}
.eyebrow {
  color: var(--ice);
  letter-spacing: 0.3em;
  font-size: 11px;
  margin: 0 0 24px;
}
.intro {
  max-width: 620px;
  margin-top: 34px;
  font-size: clamp(18px, 2.2vw, 27px);
  line-height: 1.35;
  color: #c5c5bf;
}
.privacy {
  border: 1px solid var(--ice);
  margin: 28px 0 20px;
  padding: 22px 24px;
  background: #c8f3ff09;
}
.privacy strong {
  display: block;
  color: var(--ice);
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0.035em;
}
.privacy p {
  margin: 10px 0 0;
  max-width: 680px;
  line-height: 1.5;
  color: #deded7;
}
.fineprint {
  color: #8a8a84;
  font-size: 13px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.actions button {
  cursor: pointer;
  padding: 15px 20px;
  border: 1px solid #555;
  background: transparent;
  text-align: left;
}
.actions .primary {
  background: #f1f1ea;
  border-color: #f1f1ea;
  color: #090909;
  font-weight: 700;
}
.actions button:hover {
  transform: translateY(-1px);
}
.experience {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: #020202;
}
.experience[aria-hidden="true"] {
  display: none;
}
.experience video,
.experience canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.experience video {
  z-index: 0;
  transform: scaleX(-1);
  filter: grayscale(1) contrast(1.17) brightness(0.72);
  background: #020202;
}
.experience canvas {
  z-index: 1;
  pointer-events: none;
}
#ghosts {
  mix-blend-mode: screen;
}
#graphics {
  mix-blend-mode: screen;
}
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.12;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 2px,
    rgba(255, 255, 255, 0.15) 3px
  );
}
.hud {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  padding: 22px 28px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 11px;
}
.top-hud {
  top: 0;
  justify-content: flex-end;
}
#exit {
  border: 1px solid #777;
  background: #0006;
  padding: 9px 14px;
  cursor: pointer;
}
.bottom-hud {
  bottom: 0;
  gap: 24px;
  background: linear-gradient(transparent, #000000c7);
  padding-top: 55px;
}
.bottom-hud strong {
  margin-left: auto;
  color: var(--ice);
}
.live {
  display: flex;
  align-items: center;
  gap: 8px;
}
.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 10px var(--ice);
  animation: pulse 1.4s infinite;
}
.system-message {
  position: absolute;
  left: 50%;
  top: 14%;
  z-index: 3;
  transform: translate(-50%);
  font:
    11px ui-monospace,
    monospace;
  letter-spacing: 0.22em;
  color: var(--ice);
  opacity: 0.8;
}
.no-camera {
  position: absolute;
  left: 28px;
  bottom: 76px;
  z-index: 3;
  max-width: 340px;
  font:
    10px ui-monospace,
    monospace;
  text-align: left;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.no-camera p {
  margin: 0 0 5px;
  color: var(--ice);
  letter-spacing: 0.2em;
}
.no-camera span {
  color: #777;
}
@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}
@media (max-width: 650px) {
  .consent {
    height: 100dvh;
    min-height: 0;
    padding: 8vh 22px;
    padding-bottom: calc(48px + env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    place-items: start center;
  }
  .language {
    top: 10px;
    right: 12px;
  }
  .actions {
    flex-direction: column;
  }
  .bottom-hud {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 7px 12px;
    align-items: center;
    padding: 48px 16px calc(12px + env(safe-area-inset-bottom));
    font-size: 9px;
    line-height: 1.25;
  }
  .bottom-hud strong {
    grid-column: 1 / -1;
    width: auto;
    margin-left: 0;
    white-space: normal;
  }
  .hud {
    padding-left: 16px;
    padding-right: 16px;
  }
  .top-hud {
    padding-top: calc(14px + env(safe-area-inset-top));
  }
  .system-message {
    top: calc(68px + env(safe-area-inset-top));
    width: calc(100% - 112px);
    text-align: center;
    line-height: 1.4;
  }
  .no-camera {
    left: 16px;
    right: 16px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    max-width: none;
  }
}
