html, body { margin: 0; height: 100%; }
html[data-sky="dawn"] body {
  background: radial-gradient(1100px 640px at 68% 42%, #4a2a32 0%, #1a0d12 55%, #10080c 100%);
}
html[data-sky="day"] body {
  background: radial-gradient(1100px 640px at 68% 42%, #1a3d5c 0%, #071422 55%, #050c14 100%);
}
html[data-sky="golden"] body {
  background: radial-gradient(1100px 640px at 68% 42%, #4a3018 0%, #1a100a 55%, #100c08 100%);
}
html[data-sky="lavender"] body {
  background: radial-gradient(1100px 640px at 68% 42%, #322448 0%, #120e1c 55%, #0c0a14 100%);
}
html[data-sky="night"] body, body {
  background: radial-gradient(1100px 640px at 68% 42%, #143049 0%, #071018 52%, #05080e 100%);
}
body {
  color: #e8f0fa;
  font-family: Oswald, Futura, "Trebuchet MS", sans-serif;
  overflow: hidden;
  touch-action: none;
}
canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
html[data-water="off"] canvas { display: none; }
.switch {
  position: fixed;
  left: clamp(20px, 4vw, 56px);
  bottom: clamp(18px, 4vh, 44px);
  margin: 0;
  display: flex;
  gap: clamp(28px, 5vw, 72px);
  font-weight: 400;
  font-size: clamp(15px, 1.7vw, 22px);
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: rgba(236, 244, 252, 0.92);
  text-shadow: 0 1px 14px rgba(5, 8, 14, 0.7);
  user-select: none;
}
.switch a {
  position: relative;
  padding: 6px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.switch a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.46em;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.2s;
}
.switch a:hover::after, .switch a[aria-current="page"]::after { opacity: 0.75; }
.switch:has([aria-current="page"]) a:not([aria-current="page"]) { opacity: 0.5; }
.switch:has([aria-current="page"]) a:not([aria-current="page"]):hover { opacity: 0.9; }
.switch a:focus-visible { outline: 2px solid rgba(236, 244, 252, 0.85); outline-offset: 6px; }
.fleet {
  position: fixed;
  top: clamp(18px, 4vh, 36px);
  right: clamp(20px, 4vw, 48px);
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0.38;
}
.fleet.live { opacity: 1; }
.fleet li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(236, 244, 252, 0.4);
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
.fleet li[data-state="ok"] {
  background: rgba(236, 244, 252, 0.92);
  box-shadow: 0 0 0 1px rgba(5, 8, 14, 0.28);
}
.fleet li[data-state="warn"] {
  background: #e2b15a;
  box-shadow: 0 0 0 1px rgba(5, 8, 14, 0.28);
}
.fleet li[data-state="down"] {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(236, 244, 252, 0.72);
}
@media (prefers-reduced-motion: reduce) {
  .switch a, .switch a::after { transition: none; }
}
