@media (max-width: 820px) {
  html,
  body {
    overflow-x: clip;
  }
}

html.lx-pre {
  background: #0b0820;
}

html.lx-pre body {
  opacity: 0;
}

html.lx-build,
html.lx-build body {
  overflow-anchor: none;
  scroll-behavior: auto !important;
}

html.lx-build .lx-b {
  opacity: 0 !important;
}

#lx-build {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow: hidden;
  pointer-events: none;
}

.lx-c {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  will-change: transform;
  transition: opacity 0.7s ease;
}

.lx-c svg {
  position: absolute;
  left: -1px;
  top: -1px;
  width: 20px;
  height: 25px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
}

.lx-lab {
  position: absolute;
  left: 15px;
  top: 17px;
  padding: 3px 8px 3px 6px;
  border-radius: 2px 8px 8px 8px;
  background: var(--c);
  color: #1c1735;
  font: 600 11px/1.3 "Space Grotesk", system-ui, sans-serif;
  white-space: nowrap;
  transition: opacity 0.4s ease;
}

.lx-idle .lx-lab {
  opacity: 0.55;
}

#lx-build.lx-det .lx-lab {
  opacity: 0;
}

#lx-build.lx-det .lx-c {
  opacity: 0;
  transition: opacity 1s ease 0.25s;
}

.lx-box {
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  border: 1.5px solid var(--c);
  background: color-mix(in srgb, var(--c) 7%, transparent);
  will-change: transform, width, height;
  transition: opacity 0.45s ease;
}

.lx-box.lx-box-out {
  opacity: 0;
}

.lx-box i {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1.5px solid var(--c);
}

.lx-dim {
  position: absolute;
  left: 100%;
  top: 100%;
  margin: 8px 0 0;
  transform: translateX(-100%);
  padding: 2px 6px 3px;
  border-radius: 4px;
  background: var(--c);
  color: #17112e;
  font: 600 10.5px/1.15 "Space Grotesk", ui-monospace, monospace;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.lx-guide {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  animation: lx-guide 0.8s ease-out forwards;
}

.lx-gh {
  width: 100%;
  height: 1px;
}

.lx-gv {
  width: 1px;
  height: 100%;
}

.lx-gr {
  background: #ff3b4a;
  box-shadow: 0 0 6px rgba(255, 59, 74, 0.7);
}

.lx-gb {
  background: #3b8bff;
  box-shadow: 0 0 6px rgba(59, 139, 255, 0.7);
}

@keyframes lx-guide {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

.lx-g {
  visibility: hidden;
}

.lx-caret {
  position: relative;
}

.lx-caret::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.12em;
  width: 2px;
  height: 1em;
  background: var(--c, #ffffff);
  animation: lx-blink 0.7s steps(1) infinite;
}

@keyframes lx-blink {
  50% {
    opacity: 0;
  }
}

.lx-scan {
  position: absolute;
  z-index: 9998;
  pointer-events: none;
  overflow: hidden;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px);
  animation: lx-scanfade calc(1.2s / var(--sp, 1)) ease forwards;
}

.lx-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c, #c9b8ff);
  box-shadow: 0 0 12px 2px #c9b8ff;
  animation: lx-scanline calc(0.8s / var(--sp, 1)) steps(14, end) forwards;
}

@keyframes lx-scanline {
  from { top: 0; }
  to { top: 100%; }
}

@keyframes lx-scanfade {
  0%, 70% { opacity: 1; }
  100% { opacity: 0; }
}

#lx-wire {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  z-index: 10001;
  pointer-events: none;
}

.lx-wb {
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  border: 1px solid rgba(203, 206, 234, 0.4);
  background: rgba(53, 49, 97, 0.22);
  transition:
    opacity 0.5s ease,
    transform 0.4s ease,
    width 0.4s ease,
    height 0.4s ease;
}

.lx-wb.lx-wt {
  border: 1px dashed rgba(255, 208, 117, 0.5);
  background: transparent;
}

.lx-wb.lx-wm {
  background: rgba(255, 95, 162, 0.05);
}

.lx-wb.lx-wo {
  opacity: 0;
}

.lx-gate {
  --gx-pink: #ff5fa2;
  --gx-amber: #ffb347;
  --gx-ink: #1c1735;
  --gx-grad: linear-gradient(100deg, var(--gx-pink) 0%, var(--gx-amber) 62%, var(--mango) 100%);
  --gx-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gx-display: "Exo", "Space Grotesk", sans-serif;
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  isolation: isolate;
  color: var(--paragraph-white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition:
    opacity 0.7s ease,
    filter 0.7s ease,
    transform 0.8s var(--gx-ease);
}

.lx-gate *,
.lx-gate *::before,
.lx-gate *::after {
  box-sizing: border-box;
}

.lx-gate button {
  font: inherit;
  color: inherit;
}

.lx-gate.gx-leaving {
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.03);
  pointer-events: none;
}

.lx-gate.gx-fade {
  opacity: 0;
  pointer-events: none;
}

.lx-gate .gx-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(55% 45% at 10% 6%, rgba(255, 95, 162, 0.26), transparent 70%),
    radial-gradient(45% 40% at 94% 98%, rgba(255, 179, 71, 0.2), transparent 70%),
    radial-gradient(40% 35% at 86% 10%, rgba(203, 206, 234, 0.12), transparent 70%),
    radial-gradient(70% 55% at 50% 118%, rgba(255, 40, 234, 0.16), transparent 70%),
    var(--var-color-bg);
}

.lx-gate .gx-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(203, 206, 234, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(203, 206, 234, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 46%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 46%, #000 25%, transparent 78%);
}

.lx-gate .gx-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.lx-gate .gx-blob {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  pointer-events: none;
}

.lx-gate .gx-blob-a {
  left: -30vmax;
  top: -34vmax;
  background: radial-gradient(closest-side, rgba(255, 95, 162, 0.22), transparent);
  animation: gx-float 22s ease-in-out infinite alternate;
}

.lx-gate .gx-blob-b {
  right: -32vmax;
  bottom: -36vmax;
  background: radial-gradient(closest-side, rgba(255, 208, 117, 0.16), transparent);
  animation: gx-float 26s ease-in-out infinite alternate-reverse;
}

.lx-gate .gx-veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(20, 15, 42, 0), rgba(20, 15, 42, 0.55));
  opacity: 0;
  transition: opacity 0.8s ease;
}

.lx-gate .gx-veil.gx-on {
  opacity: 1;
}

.lx-gate .gx-bar {
  position: relative;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(18px + env(safe-area-inset-top)) clamp(16px, 4vw, 40px) 18px;
  animation: gx-rise 0.9s var(--gx-ease) both;
  transition: opacity 0.45s ease;
}

.lx-gate .gx-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  background: linear-gradient(var(--var-color-bg), var(--var-color-bg)) padding-box, var(--gx-grad) border-box;
  color: var(--paragraph-white);
  font-family: var(--gx-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.lx-gate .gx-loc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--holo-background-stroke);
  background: var(--holo-background);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--periwinkle);
  font-size: var(--fs-small);
  line-height: 1;
  white-space: nowrap;
}

.lx-gate .gx-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mango);
  animation: gx-ping 2.4s ease-out infinite;
}

.lx-gate .gx-rule {
  width: 1px;
  height: 12px;
  background: var(--holo-background-stroke);
}

.lx-gate .gx-loc time {
  color: var(--neutral-200);
  font-variant-numeric: tabular-nums;
}

.lx-gate .gx-intro {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px calc(96px + env(safe-area-inset-bottom));
  text-align: center;
  transition:
    opacity 0.45s ease,
    transform 0.6s var(--gx-ease);
}

.lx-gate .gx-sel {
  position: relative;
  display: inline-block;
  margin: 28px 0 22px;
  padding: 0.08em 0.24em 0.12em;
  animation: gx-rise 1s var(--gx-ease) 0.12s both;
}

.lx-gate .gx-selbox {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(203, 206, 234, 0.55);
  pointer-events: none;
  animation: gx-draw 1.1s cubic-bezier(0.65, 0, 0.25, 1) 0.45s both;
}

.lx-gate .gx-hd {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  border: 1.5px solid var(--periwinkle);
  background: var(--var-color-bg);
  animation: gx-fade 0.4s ease 1.4s both;
}

.lx-gate .gx-tl {
  left: -5px;
  top: -5px;
}

.lx-gate .gx-tr {
  right: -5px;
  top: -5px;
}

.lx-gate .gx-bl {
  left: -5px;
  bottom: -5px;
}

.lx-gate .gx-br {
  right: -5px;
  bottom: -5px;
}

.lx-gate .gx-dims {
  position: absolute;
  left: -1px;
  bottom: calc(100% + 9px);
  display: inline-flex;
  gap: 8px;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--periwinkle);
  color: var(--gx-ink);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  animation: gx-fade 0.4s ease 1.5s both;
}

.lx-gate .gx-dims b {
  font-weight: 700;
  opacity: 0.55;
}

.lx-gate .gx-title {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #eceafd 50%, #b9b6e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--paragraph-white);
  font-family: var(--gx-display);
  font-weight: 800;
  font-size: clamp(46px, 11.2vw, 128px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  white-space: nowrap;
}

.lx-gate .gx-agent {
  position: absolute;
  left: 0;
  top: 0;
  --c: #ff5fa2;
  pointer-events: none;
  will-change: transform;
}

.lx-gate .gx-agent svg {
  display: block;
  width: 18px;
  height: 20px;
  overflow: visible;
  filter: drop-shadow(0 3px 6px rgba(10, 6, 30, 0.5));
}

.lx-gate .gx-agent path {
  fill: var(--c);
  stroke: #ffffff;
  stroke-width: 1.3;
  stroke-linejoin: round;
}

.lx-gate .gx-tag {
  position: absolute;
  left: 13px;
  top: 17px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 6px;
  border-radius: 2px 8px 8px 8px;
  background: var(--c);
  color: var(--gx-ink);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 6px 16px -8px rgba(10, 6, 30, 0.6);
}

.lx-gate .gx-tag i {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  opacity: 0.55;
}

.lx-gate .gx-sel > .gx-agent {
  left: 100%;
  top: 100%;
  animation: gx-bob 3.2s ease-in-out 1.6s infinite;
}

.lx-gate .gx-sel > .gx-agent .gx-anim {
  animation: gx-fade 0.5s ease 1.6s both;
}

.lx-gate .gx-role {
  position: relative;
  display: inline-block;
  margin: 0 0 44px;
  font-weight: 500;
  font-size: clamp(17px, 2.5vw, var(--fs-h3));
  line-height: 1.3;
  letter-spacing: -0.005em;
  animation: gx-rise 1s var(--gx-ease) 0.24s both;
}

.lx-gate .gx-g {
  background: var(--gx-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lx-gate .gx-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 5px;
  vertical-align: -0.16em;
  border-radius: 1px;
  background: var(--mango);
  animation: gx-blink 1.1s steps(1) infinite;
}

.lx-gate .gx-role > .gx-agent {
  left: calc(100% + 2px);
  top: 64%;
  animation: gx-bob 3.6s ease-in-out 0.4s infinite;
}

.lx-gate .gx-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  animation: gx-rise 1s var(--gx-ease) 0.36s both;
}

.lx-gate .gx-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.005em;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.3s var(--gx-ease),
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.lx-gate .gx-btn svg {
  flex: none;
}

.lx-gate .gx-btn:focus-visible {
  outline: 2px solid var(--mango);
  outline-offset: 3px;
}

.lx-gate .gx-primary {
  overflow: hidden;
  background: var(--gx-grad);
  color: var(--gx-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 18px 44px -18px rgba(255, 95, 162, 0.85), 0 8px 24px -14px rgba(255, 179, 71, 0.7);
}

.lx-gate .gx-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: gx-sheen 5s ease-in-out 1.8s infinite;
  pointer-events: none;
}

.lx-gate .gx-primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 24px 54px -18px rgba(255, 95, 162, 0.95), 0 10px 28px -12px rgba(255, 179, 71, 0.8);
}

.lx-gate .gx-primary:active {
  transform: translateY(0);
}

.lx-gate .gx-ghost {
  border: 1px solid var(--holo-background-stroke);
  background: var(--holo-background);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--paragraph-white);
}

.lx-gate .gx-ghost:hover {
  border-color: var(--periwinkle);
  transform: translateY(-2px);
}

.lx-gate .gx-ghost svg {
  transition: transform 0.3s var(--gx-ease);
}

.lx-gate .gx-ghost:hover svg {
  transform: translateX(3px);
}

.lx-gate .gx-kbd {
  display: inline-grid;
  place-items: center;
  height: 20px;
  margin-left: 2px;
  padding: 0 6px;
  border-radius: 5px;
  border: 1px solid rgba(28, 23, 53, 0.18);
  background: rgba(28, 23, 53, 0.14);
  font-size: 11px;
  font-weight: 600;
}

.lx-gate .gx-ambient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.lx-gate .gx-ambient .gx-agent {
  opacity: 0.7;
  animation: gx-drift var(--d, 16s) ease-in-out infinite alternate;
}

.lx-gate .gx-a1 {
  left: 11%;
  top: 24%;
  --dx: 34px;
  --dy: 22px;
  --d: 15s;
}

.lx-gate .gx-a2 {
  left: 80%;
  top: 20%;
  --dx: -28px;
  --dy: 26px;
  --d: 18s;
}

.lx-gate .gx-a3 {
  left: 16%;
  top: 74%;
  --dx: 30px;
  --dy: -24px;
  --d: 17s;
}

.lx-gate .gx-a4 {
  left: 76%;
  top: 70%;
  --dx: -36px;
  --dy: -18px;
  --d: 14s;
}

.lx-gate.gx-building .gx-intro,
.lx-gate.gx-building .gx-ambient,
.lx-gate.gx-building .gx-bar {
  opacity: 0;
  pointer-events: none;
}

.lx-gate.gx-building .gx-bar {
  animation: none;
}

.lx-gate.gx-building .gx-intro {
  transform: translateY(-10px) scale(0.985);
}

.lx-gate .gx-core {
  position: fixed;
  z-index: 4;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6e0 0%, var(--mango) 35%, var(--gx-pink) 75%);
  box-shadow: 0 0 24px 6px rgba(255, 95, 162, 0.6), 0 0 60px 18px rgba(255, 208, 117, 0.25);
  opacity: 0;
  pointer-events: none;
}

.lx-gate .gx-ripple {
  position: fixed;
  z-index: 3;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 208, 117, 0.7);
  opacity: 0;
  pointer-events: none;
}

.lx-gate .gx-frame {
  position: fixed;
  z-index: 2;
  inset: 14px;
  pointer-events: none;
}

.lx-gate .gx-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid var(--periwinkle);
  opacity: 0;
}

.lx-gate .gx-ctl {
  left: 0;
  top: 0;
  border-left-width: 1.5px;
  border-top-width: 1.5px;
  border-top-left-radius: 6px;
}

.lx-gate .gx-ctr {
  right: 0;
  top: 0;
  border-right-width: 1.5px;
  border-top-width: 1.5px;
  border-top-right-radius: 6px;
}

.lx-gate .gx-cbl {
  left: 0;
  bottom: 0;
  border-left-width: 1.5px;
  border-bottom-width: 1.5px;
  border-bottom-left-radius: 6px;
}

.lx-gate .gx-cbr {
  right: 0;
  bottom: 0;
  border-right-width: 1.5px;
  border-bottom-width: 1.5px;
  border-bottom-right-radius: 6px;
}

.lx-gate .gx-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 140px;
  margin-top: -140px;
  border-bottom: 1px solid rgba(255, 208, 117, 0.9);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 95, 162, 0) 0%, rgba(255, 95, 162, 0.07) 55%, rgba(255, 179, 71, 0.2) 96%, rgba(255, 208, 117, 0.9) 100%);
  box-shadow: 0 1px 18px rgba(255, 208, 117, 0.55);
  opacity: 0;
  pointer-events: none;
}

.lx-gate .gx-readout {
  position: absolute;
  left: 18px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--periwinkle);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
}

.lx-gate .gx-chip {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--periwinkle);
  color: var(--gx-ink);
  font-variant-numeric: tabular-nums;
}

.lx-gate .gx-hot {
  background: var(--mango);
}

.lx-gate .gx-meta {
  opacity: 0.8;
  font-variant-numeric: tabular-nums;
}

.lx-gate .gx-status {
  position: fixed;
  z-index: 6;
  left: 50%;
  bottom: calc(30px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--holo-background-stroke);
  background: var(--holo-background);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--neutral-200);
  font-size: var(--fs-small);
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lx-gate .gx-status.gx-show {
  opacity: 1;
}

.lx-gate .gx-spin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(203, 206, 234, 0.25);
  border-top-color: var(--mango);
  animation: gx-spin 0.8s linear infinite;
}

.lx-gate .gx-status.gx-ok .gx-spin {
  animation: none;
  border-color: var(--mango);
  background: var(--mango);
}

.lx-gate .gx-txt {
  display: inline-block;
  min-width: 13ch;
  transition: opacity 0.2s ease;
}

.lx-gate .gx-txt.gx-swap {
  opacity: 0;
}

.lx-gate .gx-agents {
  position: fixed;
  inset: 0;
  z-index: 7;
  overflow: hidden;
  pointer-events: none;
}

.lx-gate .gx-sa {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  --c: #ff5fa2;
  transform-origin: 0 0;
  will-change: transform, opacity;
}

.lx-gate .gx-sa svg {
  position: absolute;
  left: -1px;
  top: -1px;
  width: 20px;
  height: 25px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
}

.lx-gate .gx-glow {
  position: absolute;
  left: -10px;
  top: -10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lx-gate .gx-sa.gx-lit .gx-glow {
  opacity: 0.55;
}

.lx-gate .gx-stag {
  position: absolute;
  left: 15px;
  top: 17px;
  padding: 3px 8px 3px 6px;
  border-radius: 2px 8px 8px 8px;
  background: var(--c);
  color: var(--gx-ink);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px) scale(0.9);
  transform-origin: top left;
  transition:
    opacity 0.3s ease,
    transform 0.4s var(--gx-ease);
}

.lx-gate .gx-sa.gx-tagged .gx-stag {
  opacity: 1;
  transform: none;
}

@keyframes gx-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gx-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gx-draw {
  from {
    clip-path: inset(0 100% 100% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes gx-blink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}

@keyframes gx-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 208, 117, 0.6);
  }
  80%,
  100% {
    box-shadow: 0 0 0 8px rgba(255, 208, 117, 0);
  }
}

@keyframes gx-sheen {
  0%,
  62% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

@keyframes gx-bob {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(5px, 4px);
  }
}

@keyframes gx-drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(var(--dx), var(--dy));
  }
}

@keyframes gx-float {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(6vmax, 4vmax) scale(1.08);
  }
}

@keyframes gx-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 720px) {
  .lx-gate .gx-a3,
  .lx-gate .gx-a4 {
    display: none;
  }
  .lx-gate .gx-a1 {
    left: 6%;
    top: 18%;
  }
  .lx-gate .gx-a2 {
    left: 68%;
    top: 14%;
  }
}

@media (max-width: 520px) {
  .lx-gate .gx-actions {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
  }
  .lx-gate .gx-actions .gx-btn {
    width: 100%;
  }
  .lx-gate .gx-kbd {
    display: none;
  }
  .lx-gate .gx-role > .gx-agent {
    display: none;
  }
  .lx-gate .gx-sel {
    margin-top: 34px;
  }
  .lx-gate .gx-frame {
    inset: 10px;
  }
  .lx-gate .gx-meta {
    display: none;
  }
}

@media (max-height: 620px) and (min-width: 521px) {
  .lx-gate .gx-sel {
    margin: 12px 0 14px;
  }
  .lx-gate .gx-role {
    margin-bottom: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lx-gate,
  .lx-gate .gx-intro,
  .lx-gate .gx-ambient,
  .lx-gate .gx-veil,
  .lx-gate .gx-status {
    transition: opacity 0.3s ease;
  }
  .lx-gate.gx-leaving {
    filter: none;
    transform: none;
  }
  .lx-gate.gx-building .gx-intro {
    transform: none;
  }
  .lx-gate .gx-bar,
  .lx-gate .gx-sel,
  .lx-gate .gx-role,
  .lx-gate .gx-actions,
  .lx-gate .gx-selbox,
  .lx-gate .gx-hd,
  .lx-gate .gx-dims,
  .lx-gate .gx-sel > .gx-agent,
  .lx-gate .gx-sel > .gx-agent .gx-anim,
  .lx-gate .gx-role > .gx-agent,
  .lx-gate .gx-ambient .gx-agent,
  .lx-gate .gx-dot,
  .lx-gate .gx-caret,
  .lx-gate .gx-blob,
  .lx-gate .gx-primary::after,
  .lx-gate .gx-spin {
    animation: none;
  }
  .lx-gate .gx-btn,
  .lx-gate .gx-ghost svg {
    transition: none;
  }
  .lx-gate .gx-primary:hover,
  .lx-gate .gx-ghost:hover,
  .lx-gate .gx-ghost:hover svg {
    transform: none;
  }
  .lx-wb {
    transition: opacity 0.2s ease;
  }
}

#lx-rslot {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 44px;
  margin: 28px 16px 24px;
}

.lx-replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid #c3c9f7;
  border-radius: 999px;
  background: #a9b1f2;
  box-shadow: 0 4px 16px #00000033;
  color: #1c1735;
  font-family: "Exo", sans-serif;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.lx-replay.lx-rp-on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.lx-replay:hover {
  background: #bcc2f6;
}

.lx-replay:active {
  background: #979fe8;
}

.lx-replay:focus-visible {
  outline: 2px solid #a99bff;
  outline-offset: 3px;
}

#lx-rslot + .section-end {
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}
