:root {
  --void: #0b0e13;
  --ink: #121821;
  --panel: #171e2a;
  --panel-hi: rgba(28, 37, 51, 0.94);
  --panel-lo: rgba(18, 24, 33, 0.97);
  --line: rgba(140, 170, 200, 0.14);
  --line-strong: rgba(120, 170, 220, 0.28);
  --navy: #1a3358;
  --navy-deep: #0f1e36;
  --steel: #6eb6ff;
  --steel-dim: #3d7ab8;
  --steel-glow: rgba(110, 182, 255, 0.18);
  --text: #e6eef8;
  --muted: #8fa3b8;
  --dim: #5c7088;
  --go: #3ecf8e;
  --caution: #e0b14a;
  --nogo: #e25b5b;
  --grey-1: #0d121a;
  --grey-2: #0b0e13;
  --grey-3: #0a1018;
  --font-ui: "IBM Plex Sans", system-ui, sans-serif;
  --font-display: "Syne", "IBM Plex Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 2px;
  --shadow-panel: 0 18px 48px rgba(0, 0, 0, 0.35);
}
.lipas-body {
  font-family: var(--font-ui);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 8% -8%, rgba(40, 90, 140, 0.32), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 8%, rgba(30, 55, 90, 0.28), transparent 52%),
    linear-gradient(180deg, var(--grey-1) 0%, var(--grey-2) 45%, var(--grey-3) 100%);
  background-attachment: fixed;
  min-height: 100%;
  line-height: 1.55;
}
.lipas-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 0;
  background-image:
    linear-gradient(rgba(180, 210, 240, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 210, 240, 0.55) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 50% 25%, black 12%, transparent 70%);
}
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--void);
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.load-ring,
.spinner-container {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  position: relative;
}
.load-ring {
  border-radius: 50%;
  border: 2px solid rgba(110, 182, 255, 0.15);
  border-top-color: var(--steel);
  animation: lipas-spin 0.85s linear infinite;
}
.spinner-container .spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(110, 182, 255, 0.15);
  border-top-color: var(--steel);
  animation: lipas-spin 0.85s linear infinite;
}
.spinner-container .spinner-ring:nth-child(2),
.spinner-container .spinner-ring:nth-child(3) {
  display: none;
}
@keyframes lipas-spin {
  to { transform: rotate(360deg); }
}
.load-label,
.loading-text {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--steel);
  text-transform: uppercase;
  font-weight: 600;
}
.lipas-panel {
  background: linear-gradient(165deg, var(--panel-hi), var(--panel-lo));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.lipas-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 182, 255, 0.35), transparent);
  pointer-events: none;
}
.lipas-shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px 80px;
}
@keyframes lipas-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.moon-anim {
  position: relative;
  width: min(220px, 42vw);
  height: min(220px, 42vw);
  margin: 0 auto;
}
.moon-anim__glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 182, 255, 0.28) 0%, transparent 68%);
  filter: blur(10px);
  animation: moonGlow 4.5s ease-in-out infinite;
}
.moon-anim__orbit {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  border: 1px solid rgba(110, 182, 255, 0.18);
  animation: moonOrbitRing 8s linear infinite;
}
.moon-anim__orbit::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--steel);
  box-shadow: 0 0 10px rgba(110, 182, 255, 0.7);
}
.moon-anim__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 28%, #f2f5fa 0%, #c5d0de 22%, #8fa3b8 48%, #4a5d78 78%, #2a3648 100%);
  box-shadow:
    0 0 0 1px rgba(140, 170, 200, 0.22),
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset -16px -20px 40px rgba(8, 14, 24, 0.55),
    0 0 40px rgba(110, 182, 255, 0.16);
  animation: moonBob 7s ease-in-out infinite;
}
.moon-anim__surface {
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  background:
    radial-gradient(circle at 28% 35%, rgba(40, 52, 70, 0.35) 0 7%, transparent 8%),
    radial-gradient(circle at 58% 48%, rgba(35, 48, 65, 0.4) 0 11%, transparent 12%),
    radial-gradient(circle at 42% 68%, rgba(30, 42, 58, 0.32) 0 5%, transparent 6%),
    radial-gradient(circle at 70% 30%, rgba(40, 55, 72, 0.28) 0 4%, transparent 5%),
    radial-gradient(circle at 22% 62%, rgba(35, 48, 62, 0.3) 0 6%, transparent 7%),
    radial-gradient(circle at 78% 62%, rgba(28, 40, 55, 0.35) 0 9%, transparent 10%);
  animation: moonSpin 28s linear infinite;
  transform-origin: 50% 50%;
}
.moon-anim__shade {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(118deg, rgba(200, 220, 255, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 78% 40%, transparent 38%, rgba(8, 12, 20, 0.5) 100%);
  pointer-events: none;
  animation: moonPhase 12s ease-in-out infinite alternate;
}
.moon-anim__face {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.moon-anim__face .eye {
  position: absolute;
  width: 7%;
  height: 7%;
  border-radius: 50%;
  background: rgba(20, 32, 48, 0.45);
  top: 38%;
}
.moon-anim__face .eye.l { left: 34%; }
.moon-anim__face .eye.r { left: 54%; }
.moon-anim__face .smile {
  position: absolute;
  width: 18%;
  height: 10%;
  left: 41%;
  top: 52%;
  border: 2px solid transparent;
  border-bottom-color: rgba(20, 32, 48, 0.35);
  border-radius: 50%;
}
@keyframes moonGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.06); }
}
@keyframes moonBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes moonSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes moonPhase {
  from { opacity: 0.85; }
  to { opacity: 1; filter: brightness(1.05); }
}
@keyframes moonOrbitRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.moon-mascot {
  width: 100%;
  height: 100%;
  display: block;
}
.moon-mascot .body {
  fill: url(#moonGrad);
}
.moon-mascot .crater {
  fill: rgba(30, 45, 65, 0.28);
}
.moon-mascot .eye {
  fill: #1a2740;
}
.moon-mascot .blush {
  fill: rgba(110, 182, 255, 0.35);
}
.moon-mascot .mouth {
  fill: none;
  stroke: #1a2740;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.eva-dial,
#go-dial {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.eva-dial-inner,
#go-dial .go-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 5px;
  box-sizing: border-box;
}
.eva-dial-label,
#go-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 1;
  white-space: nowrap;
}
.eva-dial-score,
#go-score {
  text-align: center;
  width: 100%;
  margin: 0;
}
.eva-now-strip.caution .eva-dial-label {
  font-size: 8px;
  letter-spacing: 0.02em;
}
.eva-now-strip.nogo .eva-dial-label {
  font-size: 9px;
  letter-spacing: 0.03em;
}
#go-dial[data-status="caution"] #go-label {
  font-size: 12px;
  letter-spacing: 0.02em;
}
#go-dial[data-status="nogo"] #go-label {
  font-size: 14px;
  letter-spacing: 0.03em;
}
@media (prefers-reduced-motion: reduce) {
  .moon-anim__glow,
  .moon-anim__orbit,
  .moon-anim__disc,
  .moon-anim__surface,
  .moon-anim__shade,
  .load-ring,
  .spinner-ring {
    animation: none !important;
  }
}
.lipas-site-footer {
  position: static !important;
  z-index: 1;
  text-align: left;
  padding: 28px 22px 36px;
  font-size: 12px;
  color: var(--dim);
  border-top: 1px solid var(--line);
  margin-top: 48px;
  clear: both;
}
.lipas-site-footer .lipas-copyright {
  margin: 0;
  letter-spacing: 0.02em;
}
.lipas-site-footer--overlay {
  position: static !important;
}
body.embed-mode .lipas-site-footer,
body:has(#cesiumContainer) .lipas-site-footer,
body.sun-globe .lipas-site-footer {
  display: none !important;
}
