
@property --spin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --night: #050b18;
  --ink: #0a1428;
  --ink-2: #11203a;
  --gold: #9ed8f5;
  --gold-hi: #eef8ff;
  --gold-deep: #2f5f8c;
  --jelly-y: #c9f3ff;
  --jelly-o: #49c4ff;
  --jelly-p: #8f6bff;
  --berry: #29b6d8;
  --berry-hi: #8fe6f5;
  --berry-deep: #1d5f8a;
  --magenta: #c56bff;
  --mint: #7dffc8;
  --text: #f4f7fb;
  --muted: #a9bcd6;
  --panel: rgba(10, 20, 40, 0.86);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-script: "Allura", cursive;
  --font-body: "Quicksand", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --jelly: linear-gradient(160deg, var(--jelly-y) 0%, var(--jelly-o) 45%, var(--jelly-p) 100%);
  --berry-jelly: linear-gradient(160deg, var(--berry-hi) 0%, var(--berry) 50%, var(--magenta) 120%);
  --gold-text: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 40%, var(--jelly-o) 70%, var(--jelly-p) 100%);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --halftone-pink: radial-gradient(circle, rgba(197, 107, 255, 0.6) 0 1px, transparent 1.6px);
  --halftone-blue: radial-gradient(circle, rgba(41, 182, 216, 0.55) 0 1px, transparent 1.6px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  background: var(--night);
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text);
  background: var(--night);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--jelly-p) var(--ink);
  }
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background:
    radial-gradient(circle, rgba(158, 216, 245, 0.35) 0 1px, transparent 1.5px) 50% 0 / 12px 12px,
    var(--night);
  border-left: 1px solid rgba(158, 216, 245, 0.25);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--jelly-y), var(--jelly-o) 45%, var(--jelly-p));
  border: 3px solid var(--night);
  border-radius: 999px;
  box-shadow: inset 2px 3px 0 rgba(255, 255, 255, 0.55), inset -1px -2px 0 rgba(30, 40, 110, 0.35);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #fff, var(--jelly-y) 30%, var(--jelly-p));
}

::-webkit-scrollbar-corner {
  background: var(--night);
}

#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.nebula {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 30% at 15% 20%, rgba(41, 182, 216, 0.26), transparent 70%),
    radial-gradient(35% 30% at 85% 75%, rgba(143, 107, 255, 0.2), transparent 70%),
    radial-gradient(30% 25% at 70% 15%, rgba(73, 196, 255, 0.12), transparent 70%);
  animation: drift 40s ease-in-out infinite alternate;
}

@keyframes drift {
  to { transform: translate3d(3%, -2%, 0) rotate(4deg); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background: var(--grain);
  opacity: 0.07;
  mix-blend-mode: overlay;
}

.goo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
}

.liquid {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.blob {
  --size: max(560px, 240%);
  position: absolute;
  left: 50%;
  top: calc(100% + 66px);
  width: var(--size);
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 42%;
  --liquid: radial-gradient(closest-side, #9a7bff 84%, #49c4ff 92%, #c9f3ff 98%);
  background: var(--grain), var(--liquid);
  background-blend-mode: overlay, normal;
  transition: top 1.9s cubic-bezier(0.2, 1.25, 0.35, 1);
  animation: slosh 9s linear infinite;
}

.blob--back {
  border-radius: 38%;
  background: rgba(170, 150, 255, 0.75);
  animation-duration: 13s;
  animation-direction: reverse;
  transition-duration: 1.6s;
}

.blob--front {
  transition-delay: 0.12s;
}

@keyframes slosh {
  to { rotate: 360deg; }
}

.liquid b {
  position: absolute;
  left: var(--x);
  bottom: -12px;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 25%, rgba(255, 255, 255, 0.35) 45%, rgba(255, 255, 255, 0.1));
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
  opacity: 0;
}

.liquid::after {
  content: "";
  position: absolute;
  top: 16%;
  left: 7%;
  width: 26%;
  height: 22%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.4s;
}

.goo:hover .blob,
.goo:focus-visible .blob,
.temple:hover .goo .blob,
.temple:focus-visible .goo .blob {
  top: 10%;
}

.goo:hover .blob--back,
.goo:focus-visible .blob--back,
.temple:hover .goo .blob--back,
.temple:focus-visible .goo .blob--back {
  top: 2%;
}

.goo:hover .liquid b,
.goo:focus-visible .liquid b,
.temple:hover .goo .liquid b,
.temple:focus-visible .goo .liquid b {
  animation: float-up 3.6s ease-in-out infinite;
  animation-delay: var(--d);
}

.goo:hover .liquid::after,
.goo:focus-visible .liquid::after,
.temple:hover .goo .liquid::after,
.temple:focus-visible .goo .liquid::after {
  opacity: 1;
  transition-delay: 1.1s;
}

@keyframes float-up {
  0% { opacity: 0; transform: translate(0, 0) scale(0.6); }
  20% { opacity: 1; }
  50% { transform: translate(6px, -32px) scale(1); }
  85% { opacity: 0.9; }
  100% { opacity: 0; transform: translate(-4px, -64px) scale(0.8); }
}

.goo--ghost .blob--front {
  --liquid: radial-gradient(closest-side, #c56bff 80%, var(--berry) 90%, var(--berry-hi) 98%);
}

.goo--ghost .blob--back {
  background: rgba(143, 230, 245, 0.7);
}

.mystic {
  position: relative;
  isolation: isolate;
  border-radius: 22px;
}

.mystic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(41, 182, 216, 0.14), transparent 60%),
    var(--panel);
  box-shadow: inset 0 0 0 1px rgba(158, 216, 245, 0.22), 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mystic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border: 1.5px solid var(--gold);
  border-radius: inherit;
  translate: 10px -10px;
  box-shadow: 0 0 14px rgba(158, 216, 245, 0.25);
}

.mystic--leaf {
  border-radius: 72px 16px 72px 16px;
}

.mystic-deco {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.mystic-deco svg {
  position: absolute;
  fill: var(--gold);
  filter: drop-shadow(0 0 6px rgba(190, 230, 255, 0.55));
}

.m-star { animation: twinkle 3.4s ease-in-out infinite; }
.m-star--a { top: -20px; right: 22px; width: 36px; height: 36px; }
.m-star--b { top: 18px; right: -12px; width: 20px; height: 20px; animation-delay: -1.2s; }
.m-star--c { top: -26px; right: 60px; width: 12px; height: 12px; animation-delay: -2s; }
.m-star--d { bottom: 12px; left: 28px; width: 12px; height: 12px; animation-delay: -0.6s; }
.m-star--e { bottom: 34%; right: -14px; width: 26px; height: 26px; animation-delay: -2.6s; }
.m-moon { bottom: -16px; left: -14px; width: 44px; height: 44px; rotate: -20deg; animation: float 6s ease-in-out infinite; }

@keyframes twinkle {
  50% { transform: scale(0.72) rotate(12deg); opacity: 0.7; }
}

@keyframes float {
  50% { transform: translateY(-5px); }
}

.hud {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: max(0.55rem, env(safe-area-inset-top)) 16px 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(5, 11, 24, 0.94), rgba(5, 11, 24, 0.65));
  border-bottom: 1px solid rgba(158, 216, 245, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hud-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--jelly-y);
}

.hud-live i {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jelly-p);
  box-shadow: 0 0 8px var(--jelly-p);
  animation: blink 1.6s steps(2, jump-none) infinite;
}

@keyframes blink {
  50% { opacity: 0.2; }
}

.hud-moon-icon {
  width: 0.95em;
  height: 0.95em;
  margin-right: 0.4em;
  vertical-align: -0.12em;
  fill: var(--gold-hi);
}

.hud-moon {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hud-clock {
  flex: none;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 420px) {
  .hud-moon { display: none; }
}

.hub {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 2.75rem 16px 11rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.4rem;
}

.col { display: contents; }
.banner { order: 0; }
.identity { order: 1; }
.transmission { order: 2; }
.bio { order: 3; }
.tags { order: 4; }
.sequence { order: 5; }
.temple { order: 6; }
.says { order: 7; }
.portrait-wrap { order: 8; }
.footer { order: 9; }

@media (min-width: 960px) {
  .hub {
    max-width: 70rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 3.5rem;
    padding-top: 3.5rem;
  }

  .banner,
  .identity,
  .footer {
    grid-column: 1 / -1;
  }

  .col {
    order: 2;
    display: grid;
    gap: 2.6rem;
    align-content: start;
  }
}

.banner {
  position: relative;
  margin: 1.2rem 14px 1rem;
}

.banner-frame {
  position: relative;
  overflow: hidden;
  border: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--gold-hi), #78bee6 45%, #24496e) 1;
  box-shadow:
    0 0 0 6px var(--night),
    0 0 0 7.5px rgba(120, 190, 230, 0.7),
    0 0 50px rgba(195, 230, 255, 0.18),
    0 30px 80px rgba(29, 95, 138, 0.35);
}

.banner-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: 50% 40%;
  animation: breathe 12s ease-in-out infinite alternate;
}

@media (max-width: 600px) {
  .banner-frame img { aspect-ratio: 16 / 10; object-position: 45% 40%; }
}

@keyframes breathe {
  from { transform: scale(1.02); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

.halftone {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    var(--halftone-pink) 0 0 / 6px 6px,
    var(--halftone-blue) 3px 3px / 6px 6px;
  mix-blend-mode: screen;
  opacity: 0.75;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, transparent 40%, #000 100%);
  mask-image: radial-gradient(ellipse at 50% 45%, transparent 40%, #000 100%);
}

.orn {
  position: absolute;
  z-index: 2;
  fill: url(#bronze);
  pointer-events: none;
  filter: drop-shadow(0 0 2px var(--night)) drop-shadow(0 0 10px rgba(185, 225, 255, 0.4));
}

.orn-wing,
.orn-curl {
  fill: none;
  stroke: url(#bronze);
  stroke-width: 3.5;
  stroke-linecap: round;
}

.orn-top,
.orn-bottom {
  left: 50%;
  width: clamp(120px, 22vw, 190px);
  translate: -50% 0;
}

.orn-top { top: clamp(-46px, -6vw, -34px); }
.orn-bottom { bottom: clamp(-46px, -6vw, -34px); }

.orn-top use { fill: var(--gold-hi); }

.orn-side {
  top: 50%;
  width: 24px;
  translate: 0 -50%;
}

.orn-left { left: -24px; }
.orn-right { right: -24px; }

.orn-corner {
  width: clamp(40px, 7vw, 60px);
}

.orn-tl { top: -16px; left: -16px; }
.orn-tr { top: -16px; right: -16px; scale: -1 1; }
.orn-bl { bottom: -16px; left: -16px; scale: 1 -1; }
.orn-br { bottom: -16px; right: -16px; scale: -1 -1; }

.identity {
  text-align: center;
  margin-top: -0.4rem;
}

.name {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 7vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-wrap: balance;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(-3px 2px 0 rgba(197, 107, 255, 0.75))
    drop-shadow(3px -1px 0 rgba(41, 182, 216, 0.75))
    drop-shadow(0 0 22px rgba(190, 230, 255, 0.3));
}

.tagline {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.tagline .sep {
  width: 0.8em;
  height: 0.8em;
  margin: 0 0.35em;
  vertical-align: -0.05em;
  fill: var(--jelly-p);
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0.25rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.panel-title > span:first-child::before {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.5em;
  vertical-align: -0.1em;
  background: var(--jelly-p);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0C12.9 8 16 11.1 24 12 16 12.9 12.9 16 12 24 11.1 16 8 12.9 0 12 8 11.1 11.1 8 12 0Z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0C12.9 8 16 11.1 24 12 16 12.9 12.9 16 12 24 11.1 16 8 12.9 0 12 8 11.1 11.1 8 12 0Z'/></svg>") center / contain no-repeat;
}

.met {
  color: var(--gold);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.bio {
  padding: 1.5rem 1.4rem 1.6rem 1.6rem;
}

.bio-scroll {
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.8rem;
  font-size: 1.02rem;
  line-height: 1.6;
}

.bio-scroll p {
  margin: 0 0 0.85rem;
}

.bio-scroll p:last-child {
  margin-bottom: 0;
}

.bio-scroll:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: 6px;
}

.bio-scroll.is-scrollable:not(.is-end) {
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 3rem), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 3rem), transparent);
}

.bio-scroll::-webkit-scrollbar { width: 10px; }
.bio-scroll::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border: 0; border-radius: 999px; }
.bio-scroll::-webkit-scrollbar-thumb { border-color: var(--ink); }

.transmission {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 1.2rem 0.35rem 0.4rem;
  background:
    var(--halftone-blue) 0 0 / 7px 7px,
    var(--panel);
  border: 1.5px solid rgba(158, 216, 245, 0.55);
  border-radius: 999px;
  box-shadow: 6px -6px 0 -1px rgba(197, 107, 255, 0.25), inset 0 0 30px rgba(41, 182, 216, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.jelly-btn {
  position: relative;
  flex: none;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.3, 1.8, 0.4, 1);
}

.jelly-btn svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(110, 170, 255, 0.7)) drop-shadow(0 0 24px rgba(143, 107, 255, 0.35));
}

.jelly-body {
  fill: url(#jelly);
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.5;
}

.jelly-shine {
  fill: rgba(255, 255, 255, 0.85);
}

.jelly-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.jelly-icon svg {
  grid-area: 1 / 1;
  width: 1rem;
  height: 1rem;
  fill: #fff;
  filter: drop-shadow(0 1px 0 rgba(30, 40, 110, 0.6)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
}

.jelly-icon .ic-play { translate: 2px 0; }
.jelly-icon .ic-pause,
.transmission.is-playing .jelly-icon .ic-play { display: none; }
.transmission.is-playing .jelly-icon .ic-pause { display: block; }

.jelly-btn:hover { animation: squish 0.9s ease-in-out; }
.transmission.is-playing .jelly-btn { animation: squish 1.1s ease-in-out infinite; }

@keyframes squish {
  0%, 100% { transform: scale(1, 1); }
  30% { transform: scale(1.12, 0.9); }
  55% { transform: scale(0.94, 1.08); }
  78% { transform: scale(1.03, 0.98); }
}

.jelly-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 50%;
}

.transmission-info {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.transmission-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--berry-hi);
}

.transmission-track {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.wave-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 9px;
}

.wave-eq i {
  width: 3px;
  height: 25%;
  border-radius: 2px;
  background: linear-gradient(var(--jelly-y), var(--jelly-p));
  opacity: 0.6;
}

.transmission.is-playing .wave-eq i {
  animation: eq 0.9s ease-in-out infinite alternate;
}

.wave-eq i:nth-child(3n) { animation-delay: -0.3s; }
.wave-eq i:nth-child(3n + 1) { animation-delay: -0.6s; }
.wave-eq i:nth-child(4n) { animation-duration: 0.7s; }

@keyframes eq {
  from { height: 15%; }
  to { height: 100%; opacity: 1; }
}

.sequence {
  padding: 1.4rem 1.2rem 1.5rem;
}

.links {
  display: grid;
  gap: 0.9rem;
}

.link {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.7rem;
  padding: 0.55rem 1rem 0.55rem 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  background: linear-gradient(90deg, rgba(29, 95, 138, 0.35), rgba(41, 182, 216, 0.12) 70%, rgba(143, 107, 255, 0.08));
  box-shadow:
    inset 0 0 0 3px var(--ink),
    inset 0 0 0 4px rgba(158, 216, 245, 0.35),
    0 0 20px rgba(41, 182, 216, 0.12);
  transition: transform 0.6s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.4s, color 0.4s;
  animation: boot 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) backwards;
  animation-delay: calc(0.25s + var(--i, 0) * 0.09s);
}

@keyframes boot {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
}

.link:hover,
.link:focus-visible {
  transform: translateY(-2px);
  color: var(--night);
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.18),
    0 0 26px rgba(110, 170, 255, 0.45),
    -4px 4px 0 -1px rgba(197, 107, 255, 0.6),
    4px -4px 0 -1px rgba(41, 182, 216, 0.6);
  outline: none;
  transition-delay: 0s, 0s, 0.75s;
}

.link:focus-visible {
  outline: 3px solid #eef8ff;
  outline-offset: 3px;
}

.link:active {
  transform: translateY(0) scale(0.97);
}

.link-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.glyph {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.05rem;
  line-height: 1;
  color: #fff;
  border-radius: 50%;
  background: var(--jelly);
  box-shadow: inset -3px -4px 6px rgba(90, 60, 200, 0.35), 0 0 12px rgba(110, 170, 255, 0.55);
}

.glyph svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: #fff;
  filter: drop-shadow(0 1px 0 rgba(30, 40, 110, 0.6));
}

.link-status {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jelly-y);
  transition: color 0.3s 0.75s;
}

.link-status::after {
  content: " \2192";
}

.link:hover .link-status,
.link:focus-visible .link-status {
  color: var(--night);
}

.link.is-launched .link-status {
  color: var(--gold);
}

.temple {
  position: relative;
  display: block;
  margin-bottom: 1.2rem;
  padding: 3px;
  border-radius: 22px;
  text-decoration: none;
  color: var(--text);
  background: conic-gradient(from var(--spin), var(--gold), var(--jelly-p), var(--berry), var(--gold-hi), var(--jelly-o), var(--gold));
  box-shadow: 0 0 40px rgba(143, 107, 255, 0.25);
  animation: ring 6s linear infinite;
  transition: transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1);
}

@keyframes ring {
  to { --spin: 360deg; }
}

.temple:hover,
.temple:focus-visible {
  transform: translateY(-4px) rotate(-0.6deg);
  outline: none;
}

.temple-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 19px;
}

.temple-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.temple:hover .temple-frame img {
  transform: scale(1.05);
}

.temple-frame .halftone {
  opacity: 0.5;
}

.temple-cta {
  position: absolute;
  left: 50%;
  bottom: -1.2rem;
  translate: -50% 0;
  max-width: calc(100% - 2rem);
  padding: 0.6rem 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.temple .temple-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.temple-cta > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.cta-ic {
  flex: none;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.goo--solid,
.goo--ghost {
  display: inline-block;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.35s 0.45s, box-shadow 0.4s;
}

.goo--solid {
  color: var(--night);
  border: 1.5px solid var(--gold-hi);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: 0 6px 20px rgba(5, 11, 24, 0.6), 0 0 16px rgba(158, 216, 245, 0.45);
}

.goo--ghost {
  color: var(--text);
  border: 1.5px solid rgba(143, 230, 245, 0.7);
  background: rgba(41, 182, 216, 0.08);
}

.goo--ghost:hover,
.goo--ghost:focus-visible {
  color: #fff;
}

.goo--solid:focus-visible,
.goo--ghost:focus-visible {
  outline: 2px solid var(--jelly-y);
  outline-offset: 3px;
}

.portrait-wrap {
  display: grid;
  justify-items: center;
  margin: -0.6rem 0 0;
  perspective: 900px;
}

.portrait {
  --rx: 0deg;
  --ry: 0deg;
  width: min(21rem, 84vw);
  padding: 14px;
  border-radius: 26px;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.2s ease-out;
  animation: float 7s ease-in-out infinite;
}

.stack {
  position: relative;
}

.slice {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--ink);
}

.slice {
  width: 94.637%;
}

.slice:nth-child(odd) {
  margin-left: auto;
}

.slice + .slice {
  margin-top: 2.208%;
}

.slice img {
  width: 100%;
  height: auto;
  scale: 1.02;
}

.zaps {
  position: absolute;
  inset: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(73, 196, 255, 0.9)) drop-shadow(0 0 12px rgba(73, 196, 255, 0.45));
}

.zaps rect {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.zap-base {
  stroke: rgba(167, 233, 255, 0.35);
  stroke-width: 1;
}

.zap {
  stroke: #dff7ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 18 82;
  filter: url(#crackle);
  animation: zap 3.6s linear infinite, flicker 0.9s steps(2) infinite;
}

.zap--late {
  stroke: #a7e9ff;
  stroke-dasharray: 7 93;
  animation-duration: 2.4s, 0.7s;
  animation-direction: reverse, normal;
}

.zap--1 { animation-delay: -1.2s, -0.3s; }
.zap--2 { animation-delay: -2.4s, -0.5s; }
.zap--late.zap--1 { animation-delay: -0.8s, -0.2s; }
.zap--late.zap--2 { animation-delay: -1.6s, -0.4s; }

@keyframes zap {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.knot {
  position: absolute;
  width: 16px;
  height: 16px;
  translate: -50% -50%;
  fill: #eef8ff;
  filter: drop-shadow(0 0 4px #49c4ff) drop-shadow(0 0 10px rgba(73, 196, 255, 0.7));
  animation: twinkle 2.6s ease-in-out infinite;
  pointer-events: none;
}

.knot:nth-of-type(2n) { animation-delay: -1.3s; }

.tags {
  padding: 0 0.3rem;
}

.tags-title {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.95rem 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  --fill: var(--jelly);
  --drip: #49c4ff;
  --ink: var(--night);
  --shape: 14px 4px 16px 5px / 6px 14px 5px 16px;
  --tilt: -2deg;
  --drip-x: 70%;
  position: relative;
  padding: 0.3rem 0.75rem 0.38rem;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--ink);
  background:
    radial-gradient(ellipse 0.55rem 0.22rem at 0.7rem 0.4rem, rgba(255, 255, 255, 0.85), transparent),
    var(--fill);
  border-radius: var(--shape);
  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.14),
    -3px 3px 0 -0.5px rgba(197, 107, 255, 0.55),
    3px -2px 0 -0.5px rgba(41, 182, 216, 0.55);
  rotate: var(--tilt);
  transition: rotate 0.5s cubic-bezier(0.3, 1.8, 0.4, 1);
}

.tag::after {
  content: "";
  position: absolute;
  top: calc(100% - 3px);
  left: var(--drip-x);
  width: 7px;
  height: 10px;
  border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
  background: var(--drip);
}

.tag:hover {
  rotate: 0deg;
  animation: squish 0.8s ease-in-out;
}

.tag:nth-child(4n + 2) { --fill: linear-gradient(160deg, #c9f3ff, #8fe6f5 55%, #b9a4ff); --drip: #b9a4ff; }
.tag:nth-child(4n + 3) { --fill: linear-gradient(160deg, #d8ccff, var(--jelly-p)); --drip: var(--jelly-p); }
.tag:nth-child(4n + 4) { --fill: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #78bee6); --drip: #78bee6; }

.tag:nth-child(3n + 2) { --shape: 4px 18px 6px 16px / 16px 5px 15px 4px; }
.tag:nth-child(3n + 3) { --shape: 18px 6px 4px 14px / 8px 16px 14px 5px; }
.tag:nth-child(5n + 1) { --tilt: -2.5deg; --drip-x: 22%; }
.tag:nth-child(5n + 2) { --tilt: 1.5deg;  --drip-x: 64%; }
.tag:nth-child(5n + 3) { --tilt: -1deg;   --drip-x: 40%; }
.tag:nth-child(5n + 4) { --tilt: 2.5deg;  --drip-x: 78%; }
.tag:nth-child(5n + 5) { --tilt: -0.5deg; --drip-x: 30%; }


.footer {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer p {
  margin: 0.6rem 0 0;
}

.paws {
  display: inline-flex;
  gap: 0.9rem;
}

.paws i {
  width: 18px;
  height: 18px;
  background:
    radial-gradient(circle at 50% 70%, var(--jelly-p) 0 30%, transparent 31%),
    radial-gradient(circle at 18% 38%, var(--jelly-p) 0 11%, transparent 12%),
    radial-gradient(circle at 38% 18%, var(--jelly-p) 0 11%, transparent 12%),
    radial-gradient(circle at 62% 18%, var(--jelly-p) 0 11%, transparent 12%),
    radial-gradient(circle at 82% 38%, var(--jelly-p) 0 11%, transparent 12%);
  opacity: 0;
  animation: pawstep 3.5s ease-in-out infinite;
}

.paws i:nth-child(odd) { translate: 0 -5px; rotate: -10deg; }
.paws i:nth-child(even) { translate: 0 5px; rotate: 10deg; }
.paws i:nth-child(2) { animation-delay: 0.3s; }
.paws i:nth-child(3) { animation-delay: 0.6s; }
.paws i:nth-child(4) { animation-delay: 0.9s; }
.paws i:nth-child(5) { animation-delay: 1.2s; }

@keyframes pawstep {
  10%, 60% { opacity: 0.85; }
  80% { opacity: 0; }
}

#buddy {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 6;
  width: 230px;
  height: 230px;
  pointer-events: none;
}

.buddy-btn {
  position: fixed;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--night);
  background: #eef8ff;
  box-shadow: -3px 3px 0 -1px rgba(197, 107, 255, 0.6), 0 0 14px rgba(73, 196, 255, 0.45);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.3, 1.8, 0.4, 1), opacity 0.3s;
}

.buddy-btn svg {
  width: 0.95rem;
  height: 0.95rem;
}

.buddy-close svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
}

.buddy-back svg {
  fill: currentColor;
}

.buddy-btn:hover {
  transform: scale(1.12) rotate(-6deg);
}

.buddy-btn:focus-visible {
  outline: 3px solid #eef8ff;
  outline-offset: 3px;
}

.buddy-close {
  right: 18px;
  bottom: 196px;
}

.buddy-back {
  right: 16px;
  bottom: 16px;
  width: 2.6rem;
  height: 2.6rem;
}

.buddy-back svg {
  width: 1.3rem;
  height: 1.3rem;
}

.buddy-btn[hidden] {
  display: none;
}

html.locked .buddy-btn {
  visibility: hidden;
}

.buddy-off #buddy,
.buddy-off #bubble,
.buddy-off .buddy-close {
  display: none;
}

.bubble {
  position: fixed;
  right: 150px;
  bottom: 170px;
  z-index: 7;
  max-width: 14rem;
  margin: 0;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--night);
  background: #f6fbff;
  border: 2px solid var(--gold);
  border-radius: 16px 16px 4px 16px;
  box-shadow: -4px 4px 0 -1px rgba(197, 107, 255, 0.6), 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transform-origin: bottom right;
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
  pointer-events: none;
}

.bubble.is-shown {
  opacity: 1;
  transform: none;
}

@media (max-width: 600px) {
  #buddy {
    width: 140px;
    height: 140px;
  }

  .buddy-close {
    right: 10px;
    bottom: 118px;
    width: 1.8rem;
    height: 1.8rem;
  }

  .bubble {
    right: 92px;
    bottom: 110px;
    max-width: 11rem;
    font-size: 0.78rem;
  }

  .banner {
    margin-inline: 10px;
  }
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.1rem;
  background:
    radial-gradient(50% 40% at 50% 45%, rgba(41, 182, 216, 0.2), transparent 70%),
    var(--night);
  transition: opacity 0.6s ease, scale 0.6s ease;
}

.loader[hidden] { display: none; }

.loader.is-done {
  opacity: 0;
  scale: 1.06;
}

.crystal {
  width: min(11rem, 50vw);
  overflow: visible;
  animation: float 4s ease-in-out infinite;
}

.crystal-glass {
  fill: rgba(255, 255, 255, 0.05);
}

.crystal-rim {
  fill: none;
  stroke: #d6ebf7;
  stroke-width: 3;
  filter: drop-shadow(0 0 6px rgba(200, 232, 255, 0.7));
}

.crystal-shine {
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 3.2;
  stroke-linecap: round;
}

.crystal-shine--sm {
  stroke-width: 2.2;
  opacity: 0.6;
}

.wave {
  animation: wave-x 3.4s linear infinite;
}

.wave--back {
  fill: rgba(170, 150, 255, 0.75);
  animation-duration: 5.2s;
  animation-direction: reverse;
}

.wave--front {
  fill: url(#jelly);
}

@keyframes wave-x {
  0% { transform: translate(0, 0); }
  50% { transform: translate(50px, -2.5px); }
  100% { transform: translate(100px, 0); }
}

.lq-bub {
  fill: rgba(255, 255, 255, 0.75);
  animation: bub 3.8s ease-in-out infinite;
}

.lq-bub:nth-of-type(2) { animation-delay: -1.3s; }
.lq-bub:nth-of-type(3) { animation-delay: -2.4s; }

@keyframes bub {
  0% { transform: translate(0, 14px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(3px, -34px); opacity: 0; }
}

.loader-text {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}

html.locked {
  overflow: hidden;
}

html.locked .hud,
html.locked .hub,
html.locked #buddy,
html.locked .bubble {
  visibility: hidden;
}

html.unlocked .hub {
  animation: reveal 0.8s ease both;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(14px); }
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 2rem 16px;
  overflow-y: auto;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(143, 107, 255, 0.14), transparent 70%),
    rgba(5, 11, 24, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.6s ease;
}

.gate[hidden] { display: none; }

.gate.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.gate-card {
  width: min(100%, 26rem);
  padding: 2.2rem 1.6rem 1.8rem;
  text-align: center;
  animation: gate-in 0.8s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}

.gate-card[hidden] { display: none; }

@keyframes gate-in {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
}

.gate-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.gate-title {
  margin: 0.3rem 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 11vw, 3.4rem);
  line-height: 1;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(-3px 2px 0 rgba(197, 107, 255, 0.75))
    drop-shadow(3px -1px 0 rgba(41, 182, 216, 0.75));
}

.gate-dni {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.3rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--night);
  background: var(--jelly);
  border-radius: 999px;
  box-shadow: inset 2px 3px 0 rgba(255, 255, 255, 0.55), 0 0 18px rgba(143, 107, 255, 0.45);
}

.gate-card p {
  line-height: 1.55;
}

.gate-small {
  font-size: 0.82rem;
  color: var(--muted);
}

.gate-actions {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.gate-actions .goo {
  width: 100%;
  min-height: 3.3rem;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
}

.noscript {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 2rem;
  text-align: center;
  font-size: 1.1rem;
  background: var(--night);
}

.says {
  position: relative;
  height: 17rem;
  margin: -0.6rem 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  -webkit-mask: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  mask: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}

.say {
  --y: 0px;
  position: absolute;
  top: 50%;
  right: 14px;
  width: fit-content;
  max-width: min(88%, 26rem);
  padding: 0.8rem 1.15rem 0.7rem;
  color: var(--night);
  background: #f6fbff;
  border: 2px solid var(--gold);
  border-radius: 22px 22px 4px 22px;
  box-shadow: -4px 4px 0 -1px rgba(197, 107, 255, 0.6), 0 8px 24px rgba(0, 0, 0, 0.4);
  transform-origin: right center;
  transform: translateY(calc(-50% + var(--y))) scale(0.9);
  opacity: 0;
  filter: blur(3px);
  transition:
    transform 0.75s cubic-bezier(0.3, 1.2, 0.45, 1),
    opacity 0.6s ease,
    filter 0.6s ease;
  cursor: pointer;
}

.say::before {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -2px;
  width: 16px;
  height: 14px;
  background: #f6fbff;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  border-radius: 0 0 6px 0;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.say p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.say-who {
  display: block;
  margin-top: 0.4rem;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--berry-deep);
}

.say.is-near {
  opacity: 0.5;
  filter: blur(2.5px);
}

.say.is-in {
  opacity: 1;
  filter: none;
  transform: translateY(calc(-50% + var(--y))) scale(1);
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .paws i { opacity: 0.85; }
}

.name {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.name-sub {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2.4vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--berry-hi);
}

.tagline-script {
  margin: 0.35rem 0 0.2rem;
  font-family: var(--font-script);
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  line-height: 1.1;
  color: #a7e9ff;
  text-shadow: 0 0 8px rgba(73, 196, 255, 0.72), 0 0 20px rgba(26, 167, 237, 0.25);
}

.tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bio-scroll .bio-lede {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  color: var(--gold-hi);
}

.bio-scroll .bio-motto {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.35;
  color: #a7e9ff;
  text-shadow: 0 0 8px rgba(73, 196, 255, 0.5);
}

.bio-scroll h3 {
  margin: 1.2rem 0 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--berry-hi);
}

@media (max-width: 700px), (pointer: coarse) {
  .nebula,
  .portrait {
    animation: none;
  }
}
