@font-face {
  font-family: ViperAccess;
  src: url('/access-assets/body.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --signal-white: #d2dbc9;
  --signal-green: #b5d595;
  --signal-muted: #81917b;
  --signal-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #050706; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--signal-white);
  background: #050706;
  font-family: var(--signal-mono);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 1px solid #c5e5a3;
  outline-offset: 6px;
}
.signal-scene { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
#signal-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; }
.signal-haze {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 43%, #6d874b0d, transparent 42%),
    radial-gradient(ellipse at 51% 85%, #70854906, transparent 60%);
}
.signal-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, #0000 0 3px, #0003 3px 4px);
  opacity: .25;
}
.signal-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='white' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  opacity: .035;
}
.signal-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 44%, transparent 16%, #05070655 65%, #050706 115%);
}
.signal-header {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  height: 100px;
  padding: 0 clamp(24px, 4.1vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #a0ae94;
  animation: signal-arrive 1.6s .2s both;
}
.signal-ident { display: flex; align-items: center; gap: 13px; font-size: 11px; letter-spacing: .32em; }
.signal-bars { display: flex; align-items: center; gap: 3px; height: 13px; }
.signal-bars i { display: block; width: 2px; height: 6px; background: #a5c681; animation: signal-bars 4s ease-in-out infinite; }
.signal-bars i:nth-child(2) { height: 13px; animation-delay: -.9s; }
.signal-bars i:nth-child(3) { height: 9px; animation-delay: -1.8s; }
.signal-frequency { display: flex; align-items: center; gap: 11px; font-size: 9px; letter-spacing: .14em; color: #727f63; }
.signal-dot { width: 3px; height: 3px; border-radius: 50%; background: #bad58c; box-shadow: 0 0 11px #bad58c55; animation: signal-breathe 5s ease-in-out infinite; }
.signal-x { justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; color: #819077; transition: color .35s; }
.signal-x:hover { color: #d4e3be; }
.signal-x svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.45; }
.signal-main {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px clamp(64px, 9.3vh, 114px);
}
.signal-art {
  position: absolute;
  top: 35%;
  left: 50%;
  width: clamp(280px, 49vmin, 520px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.signal-art::before {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #8fac630a, transparent 67%);
  animation: signal-breathe 9s ease-in-out infinite;
}
.signal-ghost {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) sepia(.3) hue-rotate(24deg);
  user-select: none;
}
.signal-ghost { opacity: .055; }
.signal-aperture { position: absolute; inset: -10px; opacity: .35; }
.signal-aperture > span { position: absolute; width: 11px; height: 11px; border-color: #9aaa683b; border-style: solid; border-width: 0; }
.signal-aperture > span:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.signal-aperture > span:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.signal-aperture > span:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.signal-aperture > span:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.signal-sweep {
  position: absolute;
  top: -5%;
  left: -12%;
  width: 124%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b9cf9255 38%, #d4e6b577 50%, #b9cf9255 62%, transparent);
  box-shadow: 0 0 18px 2px #c0df7a0a;
  opacity: .36;
  animation: signal-sweep 8s ease-in-out infinite;
}
.signal-copy { position: relative; text-align: center; animation: signal-arrive 2s .8s both; }
.signal-copy h1 { margin: 0; font-size: clamp(23px, 2.65vw, 39px); font-weight: 400; line-height: 1.5; letter-spacing: .24em; text-indent: .24em; text-shadow: 0 0 25px #b8cb9220; }
.signal-copy p { margin: 12px 0 0; color: #96a18a; font-size: 11px; line-height: 1.8; letter-spacing: .06em; }
.signal-discord {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 31px;
  min-height: 49px;
  padding: 14px 22px;
  border: 1px solid #9fb47b35;
  background: #92ac5810;
  color: #d3e2bd;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .1em;
  box-shadow: 0 0 25px #91b65c08, inset 0 0 22px #8caa5305;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.signal-discord::before { content: ""; position: absolute; z-index: -1; inset: -30px; background: radial-gradient(ellipse, #a4c1720b, transparent 70%); pointer-events: none; }
.signal-discord:hover { background: #a2bd681c; border-color: #b5cd886b; box-shadow: 0 0 35px #a5cb7212, inset 0 0 28px #a0bf7208; }
.signal-discord > svg { width: 16px; height: 16px; fill: currentColor; }
.discord-pulse { width: 3px; height: 3px; margin-left: 5px; background: #b9d28f; box-shadow: 0 0 8px #bbd98c66; border-radius: 50%; animation: signal-breathe 5s ease-in-out infinite; }
.signal-footer {
  position: relative;
  z-index: 4;
  min-height: 78px;
  padding: 14px clamp(24px, 4.1vw, 72px);
  display: flex;
  align-items: center;
  gap: 28px;
  color: #819079;
  font-size: 10px;
  line-height: 1.7;
  animation: signal-arrive 1.6s 1.2s both;
}
.signal-copyright { font-family: ViperAccess, Arial, sans-serif; }
.signal-telegram { margin-left: auto; display: grid; align-items: center; min-height: 44px; transition: color .3s; }
.signal-telegram:hover { color: #c4d5ab; }
.access-toggle { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0; border: 0; background: none; color: #a0af91; font-size: 10px; line-height: 1.8; transition: color .3s; }
.access-toggle:hover { color: #d1e3b6; }
.access-toggle svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.access-panel {
  position: fixed;
  z-index: 6;
  right: clamp(24px, 4.1vw, 72px);
  bottom: 90px;
  width: min(350px, calc(100vw - 48px));
  background: #0a0e0aee;
  border: 1px solid #b2c3912d;
  box-shadow: 0 20px 80px #000c, 0 0 45px #9aaf6a06;
  padding: 17px 22px 25px;
  transition: opacity .3s, transform .3s, visibility .3s;
}
.access-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 -8px 18px 0; color: #bbc9a5; font-size: 10px; letter-spacing: .14em; }
#access-close { display: none; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: #8a997b; }
.gate-js #access-close { display: grid; }
#access-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1; }
.access-form > label { display: block; margin-bottom: 11px; color: #9caa8c; font-size: 10px; }
.access-input-wrap { display: flex; align-items: center; gap: 8px; padding: 4px 5px 4px 14px; background: #050805; border: 1px solid #a9ba842e; transition: border-color .3s; }
.access-input-wrap:focus-within { border-color: #bbce8b73; }
.access-input-wrap > input { min-width: 0; width: 100%; padding: 10px 0; border: 0; background: none; color: #d5dfc7; font-size: 16px; line-height: 1.6; outline: none; }
.access-input-wrap > input::placeholder { color: #758269; }
.access-input-wrap > button { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; background: #a0b76c14; border: 0; color: #c0d598; transition: background .3s; }
.access-input-wrap > button:hover { background: #a0b76c28; }
.access-input-wrap svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.access-message { margin: 15px 0 0; color: #dab494; font-size: 11px; line-height: 1.8; }
.access-message:empty, .lock-access { display: none; }
html.gate-js[data-access-open=false] .access-panel { visibility: hidden; opacity: 0; transform: translateY(10px); pointer-events: none; }
html[data-unlocked=true] .access-input-wrap, html[data-unlocked=true] .access-form > label { display: none; }
html[data-unlocked=true] .lock-access { display: block; width: 100%; padding: 15px; border: 1px solid #b6c88e38; background: #93b35f0f; color: #cbddac; font-size: 11px; }
html[data-page-hidden=true] .signal-scene *, html[data-page-hidden=true] .signal-art *, html[data-page-hidden=true] .signal-bars i, html[data-page-hidden=true] .discord-pulse { animation-play-state: paused; }

@keyframes signal-arrive { from { opacity: 0; } to { opacity: 1; } }
@keyframes signal-bars { 0%, 100% { opacity: .4; transform: scaleY(.65); } 50% { opacity: .9; transform: scaleY(1); } }
@keyframes signal-breathe { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }
@keyframes signal-sweep { 0% { top: -5%; opacity: 0; } 12% { opacity: .36; } 70% { top: 105%; opacity: .3; } 84%, 100% { top: 105%; opacity: 0; } }
@media (min-height: 860px) {
  .signal-main { min-height: 620px; }
}
@media (max-width: 700px) {
  .signal-header { height: 83px; padding-inline: 24px; }
  .signal-ident { font-size: 10px; gap: 10px; }
  .signal-frequency { font-size: 8px; letter-spacing: .05em; gap: 8px; }
  .signal-dot { width: 2px; height: 2px; }
  .signal-main { min-height: 510px; padding-bottom: 65px; }
  .signal-art { width: min(76vw, 380px); top: 33%; }
  .signal-copy h1 { font-size: clamp(24px, 6.5vw, 34px); letter-spacing: .16em; text-indent: .16em; }
  .signal-copy p { font-size: 10px; }
  .signal-discord { margin-top: 27px; min-height: 49px; padding-inline: 24px; font-size: 11px; }
  .signal-footer { padding: 12px 24px 20px; min-height: 93px; flex-wrap: wrap; column-gap: 18px; row-gap: 3px; font-size: 9px; }
  .signal-copyright { flex-basis: 100%; order: 2; font-size: 9px; }
  .signal-telegram { margin-left: 0; }
  .access-toggle { margin-left: auto; font-size: 10px; }
  .access-panel { right: 24px; bottom: 113px; }
}
@media (max-height: 750px) and (min-width: 701px) {
  .signal-header { height: 78px; }
  .signal-main { min-height: 460px; padding-bottom: 45px; }
  .signal-art { width: min(44vh, 350px); top: 27%; }
  .signal-copy h1 { font-size: 29px; }
  .signal-discord { margin-top: 23px; }
  .signal-footer { min-height: 66px; }
}
@media (max-height: 690px) and (max-width: 700px) {
  .signal-header { height: 68px; }
  .signal-main { min-height: 410px; padding-bottom: 40px; }
  .signal-art { width: min(66vw, 275px); top: 29%; }
  .signal-copy h1 { font-size: 25px; }
  .signal-discord { margin-top: 22px; }
  .signal-footer { min-height: 84px; padding-bottom: 14px; }
  .access-panel { bottom: 100px; }
}
@media (max-width: 380px) {
  .signal-copy h1 { font-size: 24px; }
}
