:root {
  --private-void: #030504;
  --private-graphite: #070b0a;
  --private-mineral: #0d1311;
  --private-stone: #151c19;
  --private-limestone: #dce3dc;
  --private-mist: #91a09a;
  --private-faint: #596660;
  --private-cyan: #68d9dc;
  --private-gold: #c9a765;
  --private-line: rgba(163, 189, 181, 0.16);
  --private-line-strong: rgba(104, 217, 220, 0.42);
  --private-serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --private-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --world-x: 0;
  --world-y: 0;
  --world-scroll: 0;
}

body.identity-route.private-world-route {
  color: var(--private-limestone);
  background:
    radial-gradient(circle at 52% -8%, rgba(201, 167, 101, 0.09), transparent 30rem),
    linear-gradient(155deg, #060908 0%, #030504 55%, #08100e 100%);
}

body.identity-route.private-world-route::before {
  z-index: 0;
  opacity: 0.32;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"),
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 160px 160px, 100% 4px;
  mix-blend-mode: soft-light;
}

.private-world-route .content,
.private-world-route .private-route-state,
.private-world-route .private-workspace {
  position: relative;
  z-index: 2;
}

.private-world-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 1000px;
}

.private-world-canvas::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), transparent 26%, transparent 74%, rgba(0,0,0,.62)),
    linear-gradient(180deg, transparent 48%, rgba(1,3,2,.72) 82%, #020403 100%);
}

.world-canyon {
  position: absolute;
  top: -8%;
  bottom: -12%;
  width: 38%;
  opacity: 0;
  background:
    repeating-linear-gradient(174deg, transparent 0 42px, rgba(190, 202, 188, .035) 43px, transparent 45px 82px),
    linear-gradient(115deg, #111713, #050807 56%, #010201);
  filter: drop-shadow(0 0 5rem rgba(0,0,0,.7));
  transition: opacity 1.8s ease, transform 2.2s cubic-bezier(.22,.74,.16,1);
  will-change: transform;
}

.world-canyon--left {
  left: -12%;
  clip-path: polygon(0 0, 86% 0, 68% 14%, 83% 25%, 58% 39%, 70% 51%, 46% 68%, 61% 80%, 37% 100%, 0 100%);
  transform: translate3d(calc(-1.5rem - var(--world-x) * 8px), calc(var(--world-y) * 5px), 0) scale(1.04);
}

.world-canyon--right {
  right: -12%;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 63% 100%, 39% 80%, 54% 68%, 30% 51%, 42% 39%, 17% 25%, 32% 14%);
  transform: translate3d(calc(1.5rem - var(--world-x) * 12px), calc(var(--world-y) * 7px), 0) scale(1.04);
}

.private-world-loaded .world-canyon { opacity: .88; }

.world-monolith {
  position: absolute;
  top: 4vh;
  right: 9vw;
  width: clamp(18rem, 34vw, 38rem);
  height: 88vh;
  opacity: 0;
  border: 1px solid rgba(147, 167, 158, .12);
  background:
    linear-gradient(90deg, rgba(0,0,0,.36), transparent 12% 88%, rgba(0,0,0,.42)),
    repeating-linear-gradient(180deg, transparent 0 88px, rgba(169,185,176,.055) 89px, transparent 91px 152px),
    linear-gradient(152deg, #18201d, #090d0c 55%, #020403);
  box-shadow: 0 4rem 8rem rgba(0,0,0,.66);
  clip-path: polygon(18% 0, 82% 0, 100% 12%, 93% 100%, 7% 100%, 0 12%);
  transform: translate3d(calc(var(--world-x) * -10px), calc(2rem + var(--world-y) * -5px - var(--world-scroll) * 18px), -40px) scale(.98);
  transition: opacity 2s .18s ease, transform 2.2s .1s cubic-bezier(.22,.74,.16,1);
}

.private-world-loaded .world-monolith {
  opacity: .54;
  transform: translate3d(calc(var(--world-x) * -10px), calc(var(--world-y) * -5px - var(--world-scroll) * 18px), -40px) scale(1);
}

.world-monolith::before,
.world-monolith::after {
  position: absolute;
  content: "";
  inset: 9% 14%;
  border: solid rgba(104, 217, 220, .14);
  border-width: 1px 0;
  background:
    linear-gradient(90deg, transparent, rgba(104,217,220,.08) 28% 72%, transparent),
    repeating-linear-gradient(90deg, transparent 0 16%, rgba(104,217,220,.08) 16.2%, transparent 16.5% 24%);
}

.world-monolith::after {
  inset: 22% 26% 8%;
  border-width: 0 1px;
  background: linear-gradient(180deg, rgba(104,217,220,.22), transparent 35%, transparent 68%, rgba(201,167,101,.1));
  filter: drop-shadow(0 0 12px rgba(104,217,220,.18));
}

.world-monolith i {
  position: absolute;
  left: 50%;
  width: 1px;
  height: 16%;
  background: linear-gradient(transparent, rgba(104,217,220,.54), transparent);
  transform: translateX(-50%);
  animation: private-trace 11s linear infinite;
}

.world-monolith i:nth-child(1) { top: 7%; margin-left: -19%; animation-delay: -4s; }
.world-monolith i:nth-child(2) { top: 27%; margin-left: 22%; height: 22%; animation-delay: -8s; }
.world-monolith i:nth-child(3) { top: 54%; margin-left: -11%; height: 30%; animation-delay: -1s; }

.world-horizon {
  position: absolute;
  top: 30%;
  left: 15%;
  right: 15%;
  height: 1px;
  opacity: .5;
  background: linear-gradient(90deg, transparent, rgba(201,167,101,.48) 46%, rgba(104,217,220,.22) 53%, transparent);
  box-shadow: 0 0 4rem 1rem rgba(201,167,101,.08);
  transform: translate3d(calc(var(--world-x) * 5px), calc(var(--world-y) * 3px), -70px);
}

.world-drift span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  opacity: .2;
  background: #b4c5bd;
  animation: mineral-drift 18s linear infinite;
}

.world-drift span:nth-child(1) { top: 18%; left: 22%; animation-delay: -2s; }
.world-drift span:nth-child(2) { top: 42%; left: 73%; animation-delay: -11s; }
.world-drift span:nth-child(3) { top: 66%; left: 37%; animation-delay: -7s; }
.world-drift span:nth-child(4) { top: 27%; left: 58%; animation-delay: -15s; }
.world-drift span:nth-child(5) { top: 74%; left: 81%; animation-delay: -4s; }

/* Account threshold */
.account-private-world .identity-content {
  min-height: 100vh;
}

.account-private-world .identity-main {
  width: min(1280px, calc(100% - 3rem));
  padding: clamp(7rem, 12vw, 10rem) 0 7rem;
}

.account-private-world .identity-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, .82fr);
  grid-template-areas: "kicker lead" "title lead" "sequence sequence";
  gap: 1rem clamp(3rem, 7vw, 8rem);
  max-width: none;
  align-items: end;
}

.account-private-world .identity-hero .identity-kicker { grid-area: kicker; }
.account-private-world .identity-hero h1 { grid-area: title; }
.account-private-world .identity-hero > p:not(.identity-kicker) { grid-area: lead; }
.account-private-world .identity-hero .identity-sequence { grid-area: sequence; }

.account-private-world .identity-hero h1 {
  max-width: 9ch;
  font-family: var(--private-serif);
  font-size: clamp(3.5rem, 7vw, 7.1rem);
  font-weight: 500;
  line-height: .86;
  letter-spacing: -.07em;
  text-shadow: 0 1.5rem 4rem rgba(0,0,0,.65);
}

.account-private-world .identity-hero > p:not(.identity-kicker) {
  margin: 0 0 .4rem;
  padding: 1.2rem 0 1.2rem clamp(1.5rem, 3vw, 2.8rem);
  border-left: 1px solid rgba(201,167,101,.34);
  color: var(--private-mist);
}

.account-private-world .identity-sequence {
  width: fit-content;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--private-line);
}

.account-private-world .identity-grid {
  position: relative;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, .88fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(4rem, 7vw, 7rem);
  border: 0;
  background: none;
  box-shadow: none;
}

.account-private-world .identity-grid::before {
  position: absolute;
  top: -2.3rem;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(201,167,101,.52), rgba(104,217,220,.22) 48%, transparent 88%);
  transform: scaleX(.08);
  transform-origin: left;
  transition: transform 1.8s .25s cubic-bezier(.22,.74,.16,1);
}

.account-private-world.private-world-resolved .identity-grid::before { transform: scaleX(1); }

.account-private-world .identity-panel,
.account-private-world .identity-boundary {
  min-height: 36rem;
  padding: clamp(1.7rem, 4vw, 4rem);
  border: 1px solid var(--private-line);
  background:
    linear-gradient(145deg, rgba(21,28,25,.9), rgba(4,7,6,.94) 70%),
    var(--private-graphite);
  box-shadow: 0 2.5rem 8rem rgba(0,0,0,.4);
}

.account-private-world .identity-panel {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--private-line);
}

.account-private-world .identity-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(104,217,220,.22), transparent 1px) 2rem 0 / 1px 100% no-repeat,
    linear-gradient(rgba(104,217,220,.22), transparent 1px) 0 2rem / 100% 1px no-repeat,
    radial-gradient(circle at 0 0, rgba(201,167,101,.13), transparent 16rem);
}

.account-private-world .identity-state {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.account-private-world .identity-state h2,
.account-private-world .identity-boundary h2 {
  max-width: 12ch;
  font-size: clamp(2.3rem, 4.2vw, 4rem);
}

.account-private-world .identity-provider {
  position: relative;
  overflow: hidden;
  min-height: 5rem;
  border-color: rgba(145,160,154,.19);
  background: rgba(2,6,5,.44);
  transform: none;
}

.account-private-world .identity-provider::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--private-cyan), transparent);
  transform: translateX(-105%);
  transition: transform .7s cubic-bezier(.22,.74,.16,1);
}

.account-private-world .identity-provider:hover,
.account-private-world .identity-provider:focus-visible {
  border-color: rgba(104,217,220,.58);
  background: rgba(12,28,25,.72);
  transform: none;
}

.account-private-world .identity-provider:hover::after,
.account-private-world .identity-provider:focus-visible::after { transform: translateX(0); }

.account-private-world .identity-boundary {
  display: flex;
  position: relative;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 18%, rgba(4,8,7,.92) 66%),
    linear-gradient(135deg, #111815, #040706);
}

.account-private-world .identity-boundary::before {
  position: absolute;
  top: 0;
  right: 12%;
  bottom: 32%;
  left: 12%;
  content: "";
  border: solid rgba(104,217,220,.12);
  border-width: 0 1px;
  background:
    linear-gradient(180deg, rgba(104,217,220,.2), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 20%, rgba(104,217,220,.07) 20.2%, transparent 20.5% 33%);
  clip-path: polygon(22% 0, 78% 0, 100% 18%, 86% 100%, 14% 100%, 0 18%);
}

.account-private-world .identity-boundary > :not(.identity-witness) { position: relative; z-index: 2; }

.identity-witness {
  position: absolute;
  top: 1rem;
  right: clamp(-2rem, -1vw, 0rem);
  left: 0;
  height: 17rem;
  overflow: hidden;
  pointer-events: none;
}

.identity-witness::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 55%;
  content: "";
  background: linear-gradient(transparent, rgba(4,8,7,.98));
}

.identity-witness img {
  position: absolute;
  top: 1rem;
  right: 10%;
  width: 8.4rem;
  opacity: .5;
  filter: saturate(.68) contrast(1.06) drop-shadow(0 0 2rem rgba(104,217,220,.08));
  transform: translate3d(calc(var(--world-x) * -5px), calc(var(--world-y) * -3px), 0);
  transition: opacity 1.4s .4s ease;
}

.private-world-resolved .identity-witness img { opacity: .78; }

.identity-witness-line {
  position: absolute;
  top: 46%;
  left: 12%;
  width: 58%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(104,217,220,.44), transparent);
}

.identity-witness-line::after {
  position: absolute;
  right: 10%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--private-gold);
  box-shadow: 0 0 1rem rgba(201,167,101,.64);
}

.account-private-world .identity-ledger {
  margin-top: 1.8rem;
  border-top-color: rgba(201,167,101,.34);
}

.account-private-world .identity-ledger div { border-bottom-color: var(--private-line); }
.account-private-world .identity-ledger div:last-child dd { color: var(--private-gold); }

/* Workspace chamber */
.workspace-private-world .private-topbar {
  position: sticky;
  top: 0;
  border-bottom-color: var(--private-line);
  background: rgba(3,6,5,.74);
  backdrop-filter: blur(18px) saturate(.8);
}

.workspace-private-world .private-topbar::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(201,167,101,.42), rgba(104,217,220,.2) 45%, transparent 82%);
}

.workspace-private-world .private-workspace-main {
  width: min(1400px, calc(100% - 4rem));
  padding: clamp(3rem, 6vw, 6rem) 0 7rem;
}

.workspace-private-world .workspace-identity-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(21rem, .55fr);
  grid-template-areas: "arrival witness" "session witness";
  gap: 2rem clamp(3rem, 7vw, 8rem);
  min-height: min(46rem, calc(100vh - 9rem));
  align-content: center;
  align-items: end;
}

.workspace-arrival { grid-area: arrival; position: relative; z-index: 2; }

.workspace-private-world .workspace-identity-hero h1 {
  max-width: 11ch;
  margin-top: .5rem;
  font-family: var(--private-serif);
  font-size: clamp(4rem, 7.5vw, 8rem);
  font-weight: 500;
  line-height: .82;
  letter-spacing: -.075em;
  text-shadow: 0 1.5rem 5rem rgba(0,0,0,.75);
}

.workspace-private-world .workspace-identity-hero h1 span { color: rgba(220,227,220,.52); }

.workspace-private-world .workspace-status {
  color: var(--private-cyan);
}

.workspace-private-world .workspace-status span {
  background: var(--private-gold);
  box-shadow: 0 0 1.2rem rgba(201,167,101,.55);
  animation: witness-confirm 5.5s ease-in-out infinite;
}

.workspace-private-world .workspace-session-card {
  grid-area: session;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  max-width: 50rem;
  padding: 1.4rem 0 0;
  border: 0;
  border-top: 1px solid var(--private-line);
  background: transparent;
}

.workspace-private-world .workspace-session-card > span {
  align-self: start;
  margin: 0;
  border-color: rgba(201,167,101,.38);
  color: var(--private-gold);
}

.workspace-private-world .workspace-session-card dl {
  display: grid;
  grid-template-columns: minmax(10rem,.65fr) minmax(15rem,1.35fr);
  gap: 1.3rem;
  min-width: 0;
  margin: 0;
}

.workspace-private-world .workspace-session-card dl div {
  min-width: 0;
  padding: 0;
  border-top: 0;
}

.workspace-witness-stage {
  grid-area: witness;
  position: relative;
  min-height: 39rem;
  align-self: stretch;
  overflow: hidden;
  border-left: 1px solid rgba(104,217,220,.12);
  background:
    linear-gradient(180deg, rgba(104,217,220,.025), rgba(3,6,5,.72) 78%),
    linear-gradient(90deg, rgba(104,217,220,.045), transparent 18%);
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%, 0 11%);
}

.workspace-witness-stage::before,
.workspace-witness-stage::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.workspace-witness-stage::before {
  inset: 7% 9% 10% 14%;
  border: solid rgba(104,217,220,.12);
  border-width: 1px 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 23%, rgba(104,217,220,.07) 23.2%, transparent 23.5% 34%),
    linear-gradient(180deg, rgba(104,217,220,.12), transparent 28% 72%, rgba(201,167,101,.08));
  clip-path: polygon(22% 0,78% 0,100% 13%,87% 100%,13% 100%,0 13%);
}

.workspace-witness-stage::after {
  right: 12%;
  bottom: 3.2rem;
  left: 12%;
  height: 2rem;
  border: 1px solid rgba(145,160,154,.18);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(104,217,220,.12), transparent 68%);
  transform: rotateX(66deg);
}

.workspace-witness-stage img {
  position: absolute;
  z-index: 1;
  right: 50%;
  bottom: 1.7rem;
  width: min(70%, 19rem);
  opacity: 0;
  filter: saturate(.66) contrast(1.06) drop-shadow(0 0 2.5rem rgba(104,217,220,.11));
  transform: translate3d(calc(50% + var(--world-x) * -8px), calc(1.8rem + var(--world-y) * -5px), 0);
  transition: opacity 1.8s .3s ease, transform 2s cubic-bezier(.22,.74,.16,1);
}

.workspace-private-world.private-world-resolved .workspace-witness-stage img {
  opacity: .82;
  transform: translate3d(calc(50% + var(--world-x) * -8px), calc(var(--world-y) * -5px), 0);
}

.witness-presence-copy {
  position: absolute;
  z-index: 2;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(201,167,101,.28);
  color: var(--private-faint);
  font: 600 .56rem/1.4 var(--private-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.witness-presence-copy b {
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--private-gold);
  box-shadow: 0 0 1rem rgba(201,167,101,.6);
}

.workspace-private-world .workspace-quick-grid {
  position: relative;
  grid-template-columns: 1.12fr .94fr .94fr;
  gap: clamp(1.5rem, 4vw, 5rem);
  margin-top: 1rem;
  border: 0;
  background: transparent;
}

.workspace-private-world .workspace-quick-grid::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(201,167,101,.46), rgba(104,217,220,.24) 52%, transparent);
}

.workspace-private-world .workspace-quick-grid a {
  position: relative;
  min-height: 15rem;
  padding: 2rem 0 1.7rem;
  overflow: hidden;
  border-bottom: 1px solid var(--private-line);
  background: transparent;
}

.workspace-private-world .workspace-quick-grid a::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  content: "";
  background: linear-gradient(var(--private-cyan), transparent 62%);
  transform: scaleY(.18);
  transform-origin: top;
  transition: transform .7s cubic-bezier(.22,.74,.16,1), box-shadow .7s ease;
}

.workspace-private-world .workspace-quick-grid a:hover,
.workspace-private-world .workspace-quick-grid a:focus-visible {
  outline: 0;
  background: linear-gradient(90deg, rgba(104,217,220,.045), transparent 58%);
}

.workspace-private-world .workspace-quick-grid a:hover::before,
.workspace-private-world .workspace-quick-grid a:focus-visible::before {
  transform: scaleY(1);
  box-shadow: 0 0 2rem rgba(104,217,220,.45);
}

.workspace-private-world .workspace-quick-grid strong {
  max-width: 10ch;
  font-size: clamp(2.1rem, 3.2vw, 4rem);
}

.workspace-private-world .workspace-quick-grid .workspace-mission-entry::before {
  background: linear-gradient(var(--private-gold), transparent 62%);
  transform: scaleY(.42);
}

.workspace-private-world .workspace-quick-grid .workspace-mission-entry strong,
.workspace-private-world .workspace-quick-grid .workspace-mission-entry b { color: var(--private-gold); }

.workspace-route-note {
  grid-column: 1 / -1;
  max-width: 39rem;
  margin: 0;
  color: var(--private-faint);
  font-size: .75rem;
  line-height: 1.6;
}

.workspace-private-world .workspace-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(18rem, .72fr);
  margin-top: clamp(5rem, 9vw, 10rem);
  border: 0;
  border-top: 1px solid var(--private-line);
}

.workspace-private-world .workspace-empty-state,
.workspace-private-world .workspace-axiom-state {
  min-height: 35rem;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 5vw, 5rem) 3rem 0;
  background: transparent;
}

.workspace-private-world .workspace-empty-state {
  border: 0;
  border-right: 1px solid var(--private-line);
}

.workspace-private-world .workspace-empty-state h2,
.workspace-private-world .workspace-axiom-state h2 {
  max-width: 10ch;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
}

.workspace-private-world .workspace-empty-state > p,
.workspace-private-world .workspace-axiom-state > p:not(.identity-index) { max-width: 46ch; }

.archive-reconstruction {
  position: absolute;
  right: 5%;
  bottom: 2rem;
  width: min(48%, 27rem);
  height: 18rem;
  opacity: .72;
  perspective: 700px;
}

.archive-reconstruction::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  content: "";
  border: 1px solid rgba(145,160,154,.2);
  border-radius: 50%;
  transform: rotateX(68deg);
  background: repeating-radial-gradient(ellipse, transparent 0 16px, rgba(104,217,220,.11) 17px, transparent 18px 31px);
}

.archive-reconstruction i {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgba(104,217,220,.6));
  transform-origin: bottom;
  animation: archive-assemble 8s ease-in-out infinite alternate;
}

.archive-reconstruction i:nth-child(1) { height: 12rem; margin-left: -28%; animation-delay: -2s; }
.archive-reconstruction i:nth-child(2) { height: 16rem; margin-left: -7%; animation-delay: -6s; }
.archive-reconstruction i:nth-child(3) { height: 9rem; margin-left: 17%; animation-delay: -4s; }
.archive-reconstruction i:nth-child(4) { height: 13rem; margin-left: 31%; animation-delay: -7s; }

.archive-reconstruction i::before,
.archive-reconstruction i::after {
  position: absolute;
  width: 2.4rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(104,217,220,.48), transparent);
  transform-origin: left;
}

.archive-reconstruction i::before { top: 18%; transform: rotate(32deg); }
.archive-reconstruction i::after { top: 53%; transform: rotate(-28deg); }

.workspace-private-world .workspace-empty-state small {
  position: relative;
  z-index: 2;
  color: var(--private-gold);
}

.workspace-private-world .empty-tracks { display: none; }

.workspace-private-world .workspace-axiom-state {
  padding-left: clamp(2rem, 5vw, 5rem);
}

.continuity-axis {
  position: relative;
  width: 100%;
  height: 8rem;
  margin-bottom: 2rem;
}

.continuity-axis::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(104,217,220,.5), rgba(201,167,101,.34), transparent);
}

.continuity-axis span {
  position: absolute;
  top: calc(50% - .35rem);
  left: 0;
  width: .7rem;
  height: .7rem;
  border: 1px solid var(--private-cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 1.5rem rgba(104,217,220,.32);
}

.continuity-axis i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 58%;
  height: 1px;
  background: linear-gradient(90deg, var(--private-cyan), var(--private-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.7s .7s cubic-bezier(.22,.74,.16,1);
}

.private-world-resolved .continuity-axis i { transform: scaleX(1); }
.workspace-private-world .axiom-continuity-mark { display: none; }

.workspace-private-world .workspace-seed {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(28rem, 1.14fr);
  min-height: 48rem;
  margin-top: clamp(6rem, 11vw, 13rem);
  border-top: 1px solid var(--private-line);
  border-bottom: 1px solid var(--private-line);
  background: linear-gradient(115deg, rgba(18,24,24,.5), transparent 48%);
  overflow: hidden;
}

.workspace-seed-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 7rem) clamp(2rem, 6vw, 6rem) clamp(3rem, 6vw, 7rem) 0;
}

.workspace-seed-copy h2 {
  max-width: 10ch;
  margin: 1.2rem 0 2rem;
  font-size: clamp(3.2rem, 5.8vw, 7rem);
  font-weight: 300;
  line-height: .91;
  letter-spacing: -.06em;
}

.workspace-seed-copy > p:not(.identity-index):not(.workspace-seed-truth) {
  max-width: 42rem;
  color: var(--private-muted);
  font-size: clamp(.96rem, 1.25vw, 1.15rem);
  line-height: 1.75;
}

.workspace-seed-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 2rem 0;
}

.workspace-seed-facts span {
  padding: .5rem .68rem;
  color: var(--private-cyan);
  border: 1px solid var(--private-line);
  font-size: .55rem;
  letter-spacing: .15em;
}

.workspace-seed-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 31rem);
  margin-top: .8rem;
  padding: 1.2rem 1.3rem;
  color: var(--private-text);
  border: 1px solid var(--private-line-strong);
  text-decoration: none;
  background: rgba(10,15,15,.54);
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.workspace-seed-download span { display: grid; gap: .35rem; }
.workspace-seed-download small { color: var(--private-muted); font-size: .53rem; letter-spacing: .19em; }
.workspace-seed-download strong { font-size: .78rem; letter-spacing: .08em; }
.workspace-seed-download > b { color: var(--private-cyan); font-size: 1.5rem; font-weight: 300; }
.workspace-seed-download:hover,
.workspace-seed-download:focus-visible { border-color: var(--private-cyan); background: rgba(104,217,220,.055); transform: translateY(-2px); }
.workspace-seed-truth { max-width: 35rem; margin: 1rem 0 0; color: var(--private-faint); font-size: .67rem; line-height: 1.6; }

.workspace-seed-stage {
  position: relative;
  min-height: 48rem;
  border-left: 1px solid var(--private-line);
  overflow: hidden;
  isolation: isolate;
}

.workspace-seed-stage::before {
  position: absolute;
  z-index: -3;
  inset: 5% -10% -10%;
  content: "";
  background: radial-gradient(circle at 50% 47%, rgba(104,217,220,.12), transparent 15rem);
  clip-path: polygon(12% 100%, 25% 8%, 40% 3%, 46% 31%, 54% 31%, 60% 3%, 75% 8%, 88% 100%);
  box-shadow: inset 0 0 8rem rgba(104,217,220,.06);
}

.seed-architecture { position: absolute; inset: 0; z-index: -2; }
.seed-architecture::before,
.seed-architecture::after {
  position: absolute;
  bottom: -3%;
  width: 35%;
  height: 87%;
  content: "";
  border: 1px solid rgba(145,160,154,.09);
  background: linear-gradient(105deg, rgba(24,31,30,.72), rgba(7,10,10,.88));
  clip-path: polygon(0 0, 68% 8%, 100% 100%, 0 100%);
}
.seed-architecture::before { left: -8%; }
.seed-architecture::after { right: -8%; transform: scaleX(-1); }
.seed-architecture i { position: absolute; bottom: 8%; left: 50%; width: 1px; height: 72%; background: linear-gradient(transparent, rgba(104,217,220,.38), rgba(201,167,101,.16)); transform-origin: bottom; }
.seed-architecture i:nth-child(1) { transform: rotate(30deg); }
.seed-architecture i:nth-child(2) { transform: rotate(-30deg); }
.seed-architecture i:nth-child(3) { width: 20rem; height: 20rem; border: 1px solid rgba(104,217,220,.07); border-radius: 50%; background: transparent; transform: translate(-50%, -18%); }

.seed-orbit {
  position: absolute;
  top: 49%;
  left: 50%;
  width: 27rem;
  height: 27rem;
  border: 1px solid rgba(104,217,220,.09);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.seed-orbit i { position: absolute; inset: 13%; border: 1px solid rgba(201,167,101,.12); border-radius: 50%; animation: seed-orbit 18s linear infinite; }
.seed-orbit i::after { position: absolute; top: -.22rem; left: 50%; width: .4rem; height: .4rem; content: ""; border-radius: 50%; background: var(--private-gold); box-shadow: 0 0 1.2rem rgba(201,167,101,.55); }
.seed-orbit i:nth-child(2) { inset: 27%; border-color: rgba(104,217,220,.14); animation-duration: 11s; animation-direction: reverse; }
.seed-orbit i:nth-child(2)::after { background: var(--private-cyan); }

.seed-sprite {
  --seed-frame-x: 0%;
  --seed-frame-y: 0%;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 192px;
  height: 208px;
  background: url("/assets/pets/axiom/spritesheet.webp") no-repeat var(--seed-frame-x) var(--seed-frame-y) / 800% 1100%;
  transform: translate(-50%, -47%) scale(1.42);
  filter: drop-shadow(0 2rem 2.4rem rgba(0,0,0,.62)) drop-shadow(0 0 1.6rem rgba(104,217,220,.11));
}

.workspace-seed-stage > p {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding-top: 1rem;
  color: var(--private-muted);
  border-top: 1px solid var(--private-line);
  font-size: .56rem;
  letter-spacing: .18em;
}
.workspace-seed-stage > p b { color: var(--private-gold); }

.private-world-route :focus-visible {
  outline: 1px solid var(--private-cyan);
  outline-offset: 4px;
}

@keyframes private-trace {
  0% { opacity: 0; transform: translate(-50%, -30%); }
  14%, 58% { opacity: .7; }
  72%, 100% { opacity: 0; transform: translate(-50%, 280%); }
}

@keyframes mineral-drift {
  0% { opacity: 0; transform: translate3d(0, 2rem, 0); }
  20%, 65% { opacity: .28; }
  100% { opacity: 0; transform: translate3d(1.5rem, -7rem, 0); }
}

@keyframes witness-confirm {
  0%, 100% { opacity: .58; transform: scale(.85); }
  46%, 60% { opacity: 1; transform: scale(1); }
}

@keyframes archive-assemble {
  0% { opacity: .18; transform: scaleY(.44); }
  100% { opacity: .78; transform: scaleY(1); }
}

@keyframes seed-orbit { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .world-monolith { right: -8vw; width: 50vw; opacity: .32; }

  .account-private-world .identity-hero,
  .account-private-world .identity-grid,
  .workspace-private-world .workspace-identity-hero,
  .workspace-private-world .workspace-seed,
  .workspace-private-world .workspace-lower-grid {
    grid-template-columns: 1fr;
  }

  .account-private-world .identity-hero {
    grid-template-areas: "kicker" "title" "lead" "sequence";
  }

  .account-private-world .identity-hero > p:not(.identity-kicker) {
    max-width: 40rem;
    margin-top: 1rem;
  }

  .workspace-private-world .workspace-identity-hero {
    grid-template-areas: "arrival" "session" "witness";
    min-height: auto;
  }

  .workspace-witness-stage { min-height: 34rem; }
  .workspace-private-world .workspace-seed { grid-template-columns: 1fr; }
  .workspace-seed-copy { padding-left: 0; }
  .workspace-seed-stage { min-height: 38rem; border-top: 1px solid var(--private-line); border-left: 0; }
  .workspace-private-world .workspace-empty-state { border-right: 0; border-bottom: 1px solid var(--private-line); }
  .workspace-private-world .workspace-axiom-state { padding-left: 0; }
}

@media (max-width: 680px) {
  .world-canyon { width: 62%; opacity: .58; }
  .world-canyon--left { left: -34%; }
  .world-canyon--right { right: -35%; }
  .world-monolith { top: 12vh; right: -32vw; width: 78vw; height: 72vh; }

  .account-private-world .identity-main,
  .workspace-private-world .private-workspace-main {
    width: min(100% - 1.5rem, 1400px);
  }

  .account-private-world .identity-main { padding-top: 6rem; }
  .account-private-world .identity-hero h1 { font-size: clamp(3.3rem, 17vw, 5.2rem); }
  .account-private-world .identity-hero > p:not(.identity-kicker) { padding: 1rem 0 1rem 1rem; }
  .account-private-world .identity-sequence { width: 100%; }
  .account-private-world .identity-panel,
  .account-private-world .identity-boundary { padding: 1.45rem; }
  .account-private-world .identity-boundary { min-height: 34rem; }
  .identity-witness { height: 15rem; }

  .workspace-private-world .private-topbar { position: relative; }
  .workspace-private-world .private-workspace-main { padding-top: 3.5rem; }
  .workspace-private-world .workspace-identity-hero h1 { font-size: clamp(3.8rem, 18vw, 6.2rem); }

  .workspace-private-world .workspace-session-card,
  .workspace-private-world .workspace-session-card dl,
  .workspace-private-world .workspace-quick-grid {
    grid-template-columns: 1fr;
  }

  .workspace-private-world .workspace-session-card { gap: 1rem; }
  .workspace-witness-stage { min-height: 27rem; }
  .workspace-witness-stage img { width: min(54%, 13rem); }
  .workspace-private-world .workspace-quick-grid { gap: 0; }
  .workspace-private-world .workspace-quick-grid a { min-height: 12rem; }
  .workspace-private-world .workspace-quick-grid a + a { border-top: 1px solid var(--private-line); }
  .workspace-private-world .workspace-seed { margin-top: 7rem; }
  .workspace-seed-copy h2 { font-size: clamp(3.4rem, 16vw, 5.5rem); }
  .workspace-seed-stage { min-height: 31rem; }
  .seed-orbit { width: 20rem; height: 20rem; }
  .seed-sprite { transform: translate(-50%, -47%) scale(1.1); }
  .workspace-private-world .workspace-lower-grid { margin-top: 6rem; }
  .workspace-private-world .workspace-empty-state,
  .workspace-private-world .workspace-axiom-state { min-height: 31rem; padding-right: 0; }
  .archive-reconstruction { width: 72%; opacity: .48; }
}

@media (prefers-reduced-motion: reduce) {
  .world-canyon,
  .world-monolith,
  .world-monolith i,
  .world-drift span,
  .identity-witness img,
  .workspace-witness-stage img,
  .workspace-status span,
  .archive-reconstruction i,
  .seed-orbit i,
  .continuity-axis i,
  .identity-grid::before {
    animation: none !important;
    transition-duration: .001ms !important;
  }

  .world-canyon--left,
  .world-canyon--right,
  .world-monolith,
  .identity-witness img,
  .workspace-witness-stage img { transform: none !important; }

  .private-world-loaded .world-canyon,
  .private-world-loaded .world-monolith,
  .private-world-resolved .identity-witness img,
  .workspace-private-world.private-world-resolved .workspace-witness-stage img { opacity: .72; }

  .private-world-resolved .continuity-axis i,
  .account-private-world.private-world-resolved .identity-grid::before { transform: scaleX(1); }
}
