.public-guide-experience {
  --guide-accent: hsl(var(--guide-hue, 286) 88% 64%);
  --guide-accent-soft: hsl(var(--guide-hue, 286) 92% 74%);
  --guide-accent-deep: hsl(var(--guide-hue, 286) 72% 42%);
  --guide-neon: 0 0 0.8rem hsl(var(--guide-hue, 286) 92% 62% / 0.68),
    0 0 2.4rem hsl(var(--guide-hue, 286) 92% 58% / 0.28);
  position: relative;
  isolation: isolate;
  width: min(100%, 1000px);
  margin: 0 auto clamp(3.2rem, 8vw, 7rem);
  padding: clamp(1rem, 2.6vw, 1.7rem);
  overflow: hidden;
  border: 1px solid var(--public-border-strong);
  border-radius: clamp(1.35rem, 3vw, 2.25rem);
  color: var(--public-text);
  background:
    linear-gradient(135deg, hsl(var(--guide-hue, 286) 90% 65% / 0.09), transparent 48%),
    var(--public-surface);
  box-shadow: var(--public-shadow);
}

.public-guide-experience::before,
.public-guide-experience::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.public-guide-experience::before {
  width: 24rem;
  height: 24rem;
  top: -15rem;
  right: -8rem;
  background: radial-gradient(circle, hsl(var(--guide-hue, 286) 92% 65% / 0.22), transparent 68%);
}

.public-guide-experience::after {
  width: 18rem;
  height: 18rem;
  bottom: -13rem;
  left: 12%;
  background: radial-gradient(circle, rgba(216, 103, 183, 0.18), transparent 70%);
}

.public-guide-experience-intro {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 0 clamp(1.1rem, 3vw, 1.8rem);
}

.public-guide-experience-kicker,
.public-guide-control-label {
  display: block;
  color: var(--guide-accent-deep);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html.dark .public-guide-experience-kicker,
html.dark .public-guide-control-label {
  color: var(--guide-accent-soft);
}

.public-guide-experience-intro h2 {
  max-width: 720px;
  margin: 0.45rem 0 0;
  color: var(--public-text);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -0.055em;
  line-height: 1;
  text-wrap: balance;
}

.public-guide-experience-intro p {
  max-width: 680px;
  margin: 0.75rem 0 0;
  color: var(--public-text-muted);
  font-size: clamp(0.92rem, 1.3vw, 1.02rem);
  line-height: 1.65;
}

.public-guide-experience-skeleton {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 0.8rem;
  min-height: 25rem;
}

.public-guide-experience-skeleton span {
  border-radius: 1.25rem;
  background: linear-gradient(110deg, var(--public-surface-quiet) 18%, hsl(var(--guide-hue, 286) 78% 64% / 0.13) 38%, var(--public-surface-quiet) 58%);
  background-size: 220% 100%;
  animation: public-guide-skeleton 1.3s linear infinite;
}

.public-guide-experience-skeleton span:nth-child(2),
.public-guide-experience-skeleton span:nth-child(3) {
  min-height: 8rem;
}

.public-guide-experience-skeleton span:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 4rem;
}

.public-guide-experience[data-guide-enhanced="1"] .public-guide-experience-skeleton {
  display: none;
}

@keyframes public-guide-skeleton {
  to { background-position: -220% 0; }
}

.public-guide-lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.78fr);
  gap: clamp(0.75rem, 2vw, 1.1rem);
  align-items: stretch;
}

.public-guide-scene-card,
.public-guide-control-card {
  min-width: 0;
  border: 1px solid var(--public-border-strong);
  border-radius: clamp(1.1rem, 2.4vw, 1.6rem);
}

.public-guide-scene-card {
  position: relative;
  overflow: hidden;
  color: #fdf9ff;
  background:
    radial-gradient(circle at 50% 36%, hsl(var(--guide-hue, 286) 82% 58% / 0.19), transparent 31%),
    radial-gradient(circle at 18% 12%, rgba(240, 147, 251, 0.12), transparent 28%),
    linear-gradient(160deg, #130b21, #05030a 62%, #100618);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.09), 0 20px 50px rgba(20, 8, 30, 0.22);
}

.public-guide-scene-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    radial-gradient(circle at 12% 18%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 14%, #fff 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 84% 68%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 25% 76%, #fff 0 0.8px, transparent 1.4px);
  background-size: 8.5rem 7.5rem, 11rem 9rem, 9rem 12rem, 13rem 10rem;
}

.public-guide-scene-toolbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
}

.public-guide-renderer-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.public-guide-scene-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.public-guide-scene-actions button,
.public-guide-step-actions button,
.public-guide-section-toggle {
  min-height: 2.25rem;
  border: 1px solid var(--public-border-strong);
  color: var(--public-text);
  background: var(--public-surface-strong);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.public-guide-scene-actions button {
  min-width: 2.3rem;
  padding: 0 0.65rem;
  border-color: rgba(255, 255, 255, 0.15);
  border-radius: 0.72rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(12px);
}

.public-guide-scene-actions button:hover,
.public-guide-scene-actions button:focus-visible {
  border-color: hsl(var(--guide-hue, 286) 92% 72% / 0.82);
  background: hsl(var(--guide-hue, 286) 72% 42% / 0.26);
  box-shadow: var(--guide-neon);
  outline: none;
}

.public-guide-scene-actions button:active,
.public-guide-step-actions button:active,
.public-guide-section-toggle:active {
  transform: translateY(1px) scale(0.98);
}

.public-guide-viewport {
  position: relative;
  min-height: clamp(20rem, 42vw, 27rem);
  overflow: hidden;
  outline: none;
  perspective: 1100px;
  perspective-origin: 50% 46%;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.public-guide-viewport:active {
  cursor: grabbing;
}

.public-guide-viewport:focus-visible {
  box-shadow: inset 0 0 0 2px var(--guide-accent-soft);
}

.public-guide-world {
  position: absolute;
  left: 50%;
  top: 49%;
  width: 15rem;
  height: 15rem;
  margin: -7.5rem 0 0 -7.5rem;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  will-change: transform;
  transition: transform 120ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.public-guide-floor {
  position: absolute;
  left: 50%;
  top: 70%;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  opacity: 0.55;
  background-image:
    linear-gradient(hsl(var(--guide-hue, 286) 92% 66% / 0.2) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--guide-hue, 286) 92% 66% / 0.2) 1px, transparent 1px),
    radial-gradient(circle, hsl(var(--guide-hue, 286) 92% 66% / 0.12), transparent 64%);
  background-size: 1.5rem 1.5rem, 1.5rem 1.5rem, 100% 100%;
  transform: translate3d(-50%, -10%, -5rem) rotateX(82deg);
  transform-origin: center;
  -webkit-mask-image: radial-gradient(circle, #000 0 24%, transparent 70%);
  mask-image: radial-gradient(circle, #000 0 24%, transparent 70%);
}

.public-guide-spin {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: public-guide-spin 19s linear infinite;
  will-change: transform;
}

@keyframes public-guide-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.is-guide-paused .public-guide-spin {
  animation-play-state: paused;
}

.public-guide-step-index {
  position: absolute;
  z-index: 3;
  right: clamp(0.8rem, 3vw, 1.4rem);
  bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.11);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 13vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.11em;
  line-height: 0.9;
  pointer-events: none;
}

.public-guide-interaction-hint {
  position: relative;
  z-index: 4;
  margin: 0;
  padding: 0.75rem 1rem 0.9rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  line-height: 1.45;
  text-align: center;
}

.public-guide-control-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(0.9rem, 2.2vw, 1.2rem);
  background:
    linear-gradient(145deg, hsl(var(--guide-hue, 286) 86% 62% / 0.08), transparent 56%),
    var(--public-surface-quiet);
}

.public-guide-active-title {
  display: block;
  min-height: 3.2em;
  margin: 0.45rem 0 1rem;
  color: var(--public-text);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.public-guide-step-list {
  position: relative;
  display: grid;
  gap: 0.4rem;
  max-height: 17.25rem;
  padding: 0.1rem 0.25rem 0.1rem 0;
  overflow: auto;
  scrollbar-color: var(--guide-accent) transparent;
  scrollbar-width: thin;
}

.public-guide-step-list::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.35rem;
  bottom: 1.35rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--guide-accent) calc(var(--guide-step-ratio, 0) * 100%), var(--public-border-strong) 0);
  pointer-events: none;
}

.public-guide-step-button {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2.05rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  min-height: 2.7rem;
  padding: 0.35rem 0.5rem 0.35rem 0;
  border: 0;
  border-radius: 0.8rem;
  color: var(--public-text-muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.public-guide-step-button span {
  display: grid;
  place-items: center;
  width: 2rem;
  aspect-ratio: 1;
  border: 1px solid var(--public-border-strong);
  border-radius: 0.65rem;
  color: var(--public-text-soft);
  background: var(--public-surface-strong);
  font-size: 0.62rem;
  font-weight: 900;
  transition: 160ms ease;
}

.public-guide-step-button b {
  min-width: 0;
  font-size: 0.72rem;
  line-height: 1.35;
}

.public-guide-step-button:hover,
.public-guide-step-button:focus-visible,
.public-guide-step-button.is-active {
  color: var(--public-text);
  background: hsl(var(--guide-hue, 286) 85% 58% / 0.085);
  outline: none;
}

.public-guide-step-button.is-active span {
  border-color: var(--guide-accent);
  color: #fff;
  background: linear-gradient(145deg, var(--guide-accent), var(--guide-accent-deep));
  box-shadow: var(--guide-neon);
}

.public-guide-step-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.public-guide-step-actions button {
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  overflow-wrap: anywhere;
}

.public-guide-step-actions .public-guide-open-section {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--guide-accent-deep), var(--guide-accent));
  box-shadow: 0 0.55rem 1.5rem hsl(var(--guide-hue, 286) 76% 42% / 0.18);
}

.public-guide-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.public-guide-metrics > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 0.6rem;
  align-items: center;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--public-border);
  border-radius: 1rem;
  background: var(--public-surface-quiet);
}

.public-guide-metrics span {
  color: var(--public-text-soft);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.35;
}

.public-guide-metrics strong {
  color: var(--guide-accent-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

html.dark .public-guide-metrics strong {
  color: var(--guide-accent-soft);
}

.public-guide-metrics small {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  color: var(--public-text-soft);
  font-size: 0.56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-guide-data-note {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 0.3rem 0.55rem;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--public-border);
  border-radius: 1rem;
  color: var(--public-text-muted);
  background: hsl(var(--guide-hue, 286) 84% 60% / 0.055);
  font-size: 0.68rem;
}

.public-guide-data-note strong {
  color: var(--public-text);
}

.public-guide-data-note small {
  grid-column: 2 / -1;
  color: var(--public-text-soft);
}

.public-guide-live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #a998b7;
  box-shadow: 0 0 0 0.28rem rgba(169, 152, 183, 0.12);
}

.public-guide-experience[data-guide-live-ready="1"] .public-guide-live-dot {
  background: #42d89a;
  box-shadow: 0 0 0 0.28rem rgba(66, 216, 154, 0.13), 0 0 1rem rgba(66, 216, 154, 0.55);
  animation: public-guide-live-pulse 2.4s ease-in-out infinite;
}

@keyframes public-guide-live-pulse {
  50% { transform: scale(0.76); opacity: 0.72; }
}

/* Shared 3D primitives */
.guide-parcel,
.guide-scale,
.guide-map,
.guide-handover,
.guide-globe,
.guide-hazard,
.guide-shield,
.guide-tracking,
.guide-fragile,
.guide-scanner,
.guide-lanes,
.guide-documents,
.guide-triad,
.guide-return,
.guide-building,
.guide-clock,
.guide-battery,
.guide-locker,
.guide-multipack,
.guide-constellation {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.guide-cube {
  --guide-cube-size: 7.2rem;
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--guide-cube-size);
  height: var(--guide-cube-size);
  margin: calc(var(--guide-cube-size) * -0.5) 0 0 calc(var(--guide-cube-size) * -0.5);
  transform-style: preserve-3d;
}

.guide-cube-small { --guide-cube-size: 4.8rem; }
.guide-cube-micro { --guide-cube-size: 2.7rem; }
.guide-cube-outer { --guide-cube-size: 9rem; opacity: 0.34; }

.guide-cube-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid hsl(var(--guide-hue, 286) 96% 74% / 0.86);
  color: #fff;
  background: hsl(var(--guide-hue, 286) 75% 36% / 0.12);
  box-shadow: inset 0 0 1.7rem hsl(var(--guide-hue, 286) 86% 58% / 0.12), var(--guide-neon);
  font-family: "Space Grotesk", sans-serif;
  font-size: calc(var(--guide-cube-size) * 0.18);
  font-weight: 700;
  letter-spacing: 0.05em;
  backface-visibility: visible;
}

.guide-cube-front { transform: translateZ(calc(var(--guide-cube-size) * 0.5)); }
.guide-cube-back { transform: rotateY(180deg) translateZ(calc(var(--guide-cube-size) * 0.5)); }
.guide-cube-right { transform: rotateY(90deg) translateZ(calc(var(--guide-cube-size) * 0.5)); }
.guide-cube-left { transform: rotateY(-90deg) translateZ(calc(var(--guide-cube-size) * 0.5)); }
.guide-cube-top { transform: rotateX(90deg) translateZ(calc(var(--guide-cube-size) * 0.5)); }
.guide-cube-bottom { transform: rotateX(-90deg) translateZ(calc(var(--guide-cube-size) * 0.5)); }

.guide-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.72rem;
  height: 0.72rem;
  margin: -0.36rem;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  background: var(--guide-accent);
  box-shadow: var(--guide-neon);
  transform-style: preserve-3d;
}

.guide-node b {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6rem;
  height: 1px;
  opacity: 0.45;
  background: linear-gradient(90deg, var(--guide-accent), transparent);
  transform-origin: left center;
}

.guide-node-1 { transform: translate3d(-5.8rem, -4.2rem, 0.5rem); }
.guide-node-2 { transform: translate3d(5.6rem, -3.6rem, 2.2rem); }
.guide-node-3 { transform: translate3d(-6.2rem, 3.8rem, -1.5rem); }
.guide-node-4 { transform: translate3d(6rem, 4.8rem, 1rem); }
.guide-node-5 { transform: translate3d(0.8rem, -6.1rem, -3rem); }
.guide-node-6 { transform: translate3d(-1.4rem, 6.3rem, 2.8rem); }
.guide-node-7 { transform: translate3d(7.3rem, 0.2rem, -2.2rem); }
.guide-node-8 { transform: translate3d(-7.2rem, -0.4rem, 3rem); }

.guide-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 6rem;
  aspect-ratio: 1;
  margin: -3rem;
  border: 1px solid hsl(var(--guide-hue, 286) 96% 78% / 0.75);
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.28), transparent 9%),
    radial-gradient(circle at 38% 34%, hsl(var(--guide-hue, 286) 92% 68% / 0.5), hsl(var(--guide-hue, 286) 78% 26% / 0.3) 54%, transparent 72%);
  box-shadow: inset -1rem -1rem 2.5rem rgba(0, 0, 0, 0.34), var(--guide-neon);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.guide-route-ring,
.guide-orbit,
.guide-warning-ring,
.guide-shield-ring,
.guide-triad-ring,
.guide-return-ring,
.guide-clock-orbit,
.guide-energy-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11rem;
  height: 11rem;
  margin: -5.5rem;
  border: 1px solid hsl(var(--guide-hue, 286) 92% 72% / 0.48);
  border-radius: 50%;
  box-shadow: var(--guide-neon);
}

.guide-route-ring,
.guide-return-ring {
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotateX(72deg) rotateZ(25deg);
  animation: public-guide-orbit 5.6s linear infinite;
}

@keyframes public-guide-orbit {
  to { transform: rotateX(72deg) rotateZ(385deg); }
}

.guide-card {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  gap: 0.35rem;
  width: 5.6rem;
  height: 7rem;
  margin: -3.5rem 0 0 -2.8rem;
  padding: 0.8rem;
  border: 1px solid hsl(var(--guide-hue, 286) 96% 76% / 0.64);
  border-radius: 0.7rem;
  background: linear-gradient(145deg, hsl(var(--guide-hue, 286) 72% 44% / 0.24), rgba(5, 3, 10, 0.76));
  box-shadow: var(--guide-neon);
  transform-style: preserve-3d;
}

.guide-card i {
  display: block;
  height: 0.28rem;
  border-radius: 999px;
  background: hsl(var(--guide-hue, 286) 92% 78% / 0.58);
}

.guide-card-1 { transform: translate3d(-4.4rem, -0.7rem, -1rem) rotateY(24deg); }
.guide-card-2 { transform: translate3d(4.2rem, -0.3rem, 1.4rem) rotateY(-24deg); }
.guide-card-3 { transform: translate3d(-1.8rem, 0.8rem, 3.4rem) rotateY(8deg); }
.guide-card-4 { transform: translate3d(2.4rem, 1rem, -3.8rem) rotateY(-14deg); }

/* Route-specific models */
.guide-parcel .guide-cube { transform: rotateX(-8deg) rotateY(18deg); }

.guide-measure {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  border-color: var(--guide-accent-soft);
  border-style: solid;
  opacity: 0.85;
  filter: drop-shadow(0 0 0.45rem var(--guide-accent));
}

.guide-measure::before,
.guide-measure::after {
  content: "";
  position: absolute;
  background: var(--guide-accent-soft);
}

.guide-measure-x { width: 9rem; height: 1rem; margin: 4.7rem 0 0 -4.5rem; border-width: 0 1px 1px; }
.guide-measure-y { width: 1rem; height: 9rem; margin: -4.5rem 0 0 -5rem; border-width: 1px 0 1px 1px; }
.guide-measure-z { width: 6.5rem; height: 1rem; margin: -5rem 0 0 1.8rem; border-width: 1px 1px 0; transform: rotate(-28deg); }

.guide-scale-platform {
  position: absolute;
  left: 50%;
  top: 65%;
  width: 11rem;
  height: 5.5rem;
  margin-left: -5.5rem;
  border: 1px solid var(--guide-accent-soft);
  border-radius: 1rem;
  background: hsl(var(--guide-hue, 286) 82% 42% / 0.14);
  box-shadow: var(--guide-neon);
  transform: rotateX(68deg) translateZ(-1rem);
}

.guide-scale .guide-cube { top: 42%; transform: rotateY(18deg); }

.guide-scale-gauge {
  position: absolute;
  left: 50%;
  bottom: 0.4rem;
  width: 6rem;
  height: 2.4rem;
  margin-left: -3rem;
  border: 1px solid var(--guide-accent-soft);
  border-radius: 0.8rem 0.8rem 2rem 2rem;
  box-shadow: var(--guide-neon);
}

.guide-scale-gauge i {
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  width: 2.2rem;
  height: 1px;
  background: #fff;
  transform: rotate(-18deg);
  transform-origin: left;
}

.guide-map-plane {
  position: absolute;
  inset: 1.7rem;
  border: 1px solid var(--guide-accent);
  border-radius: 1.2rem;
  background-image:
    linear-gradient(hsl(var(--guide-hue, 286) 88% 68% / 0.2) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--guide-hue, 286) 88% 68% / 0.2) 1px, transparent 1px);
  background-size: 1.5rem 1.5rem;
  box-shadow: var(--guide-neon);
  transform: rotateX(64deg) rotateZ(-8deg);
}

.guide-map-pin {
  position: absolute;
  left: 50%;
  top: 38%;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3.7rem;
  margin: -1.9rem 0 0 -1.5rem;
  border: 1px solid #fff;
  border-radius: 50% 50% 50% 0;
  color: #fff;
  background: var(--guide-accent-deep);
  box-shadow: var(--guide-neon);
  font-size: 0.55rem;
  font-weight: 900;
  transform: rotate(-45deg) translateZ(3rem);
}

.guide-map-pin::first-line { transform: rotate(45deg); }

.guide-handover .guide-cube { top: 46%; transform: translateZ(2rem) rotateY(22deg); }

.guide-gate {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.8rem;
  height: 8.8rem;
  margin: -4.4rem 0 0 -1.4rem;
  border: 1px solid var(--guide-accent-soft);
  border-bottom-width: 0.4rem;
  background: hsl(var(--guide-hue, 286) 78% 42% / 0.12);
  box-shadow: var(--guide-neon);
}

.guide-gate-a { transform: translateX(-6rem) rotateY(34deg); }
.guide-gate-b { transform: translateX(0) rotateY(-4deg); }
.guide-gate-c { transform: translateX(6rem) rotateY(-34deg); }

.guide-orb-world {
  width: 8.8rem;
  margin: -4.4rem;
  background:
    repeating-radial-gradient(ellipse at center, transparent 0 0.85rem, hsl(var(--guide-hue, 286) 94% 76% / 0.25) 0.9rem 0.96rem),
    radial-gradient(circle at 34% 27%, rgba(255, 255, 255, 0.38), transparent 8%),
    radial-gradient(circle, hsl(var(--guide-hue, 286) 82% 50% / 0.44), hsl(var(--guide-hue, 286) 72% 18% / 0.56) 62%, transparent 72%);
}

.guide-orbit-a { transform: rotateX(70deg) rotateZ(18deg); }
.guide-orbit-b { width: 8.5rem; height: 13rem; margin: -6.5rem 0 0 -4.25rem; transform: rotateY(74deg) rotateZ(-20deg); }
.guide-globe .guide-card { width: 3.4rem; height: 4.2rem; padding: 0.45rem; }

.guide-hazard-diamond {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 7rem;
  height: 7rem;
  margin: -3.5rem;
  border: 2px solid #ff8cb8;
  color: #fff;
  background: rgba(133, 14, 62, 0.22);
  box-shadow: 0 0 1rem rgba(255, 76, 142, 0.72), 0 0 3rem rgba(255, 76, 142, 0.3);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  transform: rotateZ(45deg) rotateY(-12deg);
}

.guide-hazard-diamond::after {
  content: "!";
  transform: rotateZ(-45deg);
}

.guide-hazard-diamond { font-size: 0; }
.guide-warning-ring { border-color: rgba(255, 76, 142, 0.5); }

.guide-shield-plane {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 8.5rem;
  height: 10rem;
  margin: -5rem 0 0 -4.25rem;
  border: 1px solid var(--guide-accent-soft);
  color: #fff;
  background: linear-gradient(150deg, hsl(var(--guide-hue, 286) 82% 58% / 0.32), hsl(var(--guide-hue, 286) 72% 18% / 0.22));
  clip-path: polygon(50% 0, 93% 17%, 84% 72%, 50% 100%, 16% 72%, 7% 17%);
  box-shadow: var(--guide-neon);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  transform: translateZ(1rem);
}

.guide-shield-ring-a { transform: rotateX(72deg); }
.guide-shield-ring-b { width: 8rem; height: 12rem; margin: -6rem 0 0 -4rem; transform: rotateY(76deg); }

.guide-track-line {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--guide-accent), #fff, var(--guide-accent), transparent);
  box-shadow: var(--guide-neon);
  transform: rotateZ(-12deg) translateZ(-1rem);
}

.guide-tracking .guide-node-1 { transform: translate3d(-7rem, 1.4rem, 0); }
.guide-tracking .guide-node-2 { transform: translate3d(-4rem, 0.7rem, 0); }
.guide-tracking .guide-node-3 { transform: translate3d(-1.2rem, 0, 0); }
.guide-tracking .guide-node-4 { transform: translate3d(1.8rem, -0.7rem, 0); }
.guide-tracking .guide-node-5 { transform: translate3d(4.6rem, -1.4rem, 0); }
.guide-tracking .guide-node-6 { transform: translate3d(7rem, -2rem, 0); }
.guide-tracking .guide-cube { transform: translate3d(1rem, -2rem, 3rem); }

.guide-fragile-shell .guide-cube { transform: rotateX(12deg) rotateY(18deg); }
.guide-fragile > .guide-cube { transform: rotateX(-8deg) rotateY(-18deg); }

.guide-impact {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2rem;
  height: 2rem;
  border: 1px solid #ff85bd;
  border-radius: 50%;
  box-shadow: 0 0 1.2rem #ff5ca9;
  animation: public-guide-impact 2.4s ease-out infinite;
}

.guide-impact-a { transform: translate3d(-6rem, -5rem, 2rem); }
.guide-impact-b { animation-delay: 1.2s; transform: translate3d(4rem, 4rem, -1rem); }

@keyframes public-guide-impact {
  0% { opacity: 0; scale: 0.2; }
  22% { opacity: 1; }
  100% { opacity: 0; scale: 2.4; }
}

.guide-scanner .guide-cube { transform: rotateY(20deg); }

.guide-scan-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10rem;
  height: 10rem;
  margin: -5rem;
  border: 1px solid var(--guide-accent-soft);
  border-radius: 1rem;
  box-shadow: var(--guide-neon);
  transform: translateZ(4rem);
}

.guide-scan-beam {
  position: absolute;
  left: 50%;
  top: 27%;
  width: 11rem;
  height: 2px;
  margin-left: -5.5rem;
  background: #ff83d1;
  box-shadow: 0 0 0.8rem #ff55bd, 0 0 2rem rgba(255, 85, 189, 0.55);
  transform: translateZ(4.2rem);
  animation: public-guide-scan 2.8s ease-in-out infinite alternate;
}

@keyframes public-guide-scan {
  to { top: 72%; }
}

.guide-lane {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15rem;
  height: 2.7rem;
  margin-left: -7.5rem;
  border: 1px solid var(--guide-accent);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, hsl(var(--guide-hue, 286) 84% 54% / 0.16), transparent);
  box-shadow: var(--guide-neon);
}

.guide-lane-a { transform: translateY(-4.2rem) rotateY(18deg); }
.guide-lane-b { transform: translateY(-1.35rem) rotateY(0); }
.guide-lane-c { transform: translateY(1.5rem) rotateY(-18deg); }
.guide-lanes .guide-cube { transform: translate3d(-4rem, -1.4rem, 3rem); }

.guide-documents .guide-doc-seal {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 4.5rem;
  aspect-ratio: 1;
  margin: -2.25rem;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--guide-accent-deep);
  box-shadow: var(--guide-neon);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  transform: translateZ(5rem);
}

.guide-triad-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 5.5rem;
  aspect-ratio: 1;
  margin: -2.75rem;
  border: 1px solid var(--guide-accent-soft);
  border-radius: 1.2rem;
  color: #fff;
  background: hsl(var(--guide-hue, 286) 74% 42% / 0.25);
  box-shadow: var(--guide-neon);
  font-size: 1.4rem;
  font-weight: 900;
  transform: rotateX(18deg) rotateY(-18deg);
}

.guide-triad-a { transform: rotateX(72deg); }
.guide-triad-b { transform: rotateY(72deg); }
.guide-triad-c { transform: rotateX(45deg) rotateY(45deg); }

.guide-return-core { width: 6.5rem; margin: -3.25rem; }
.guide-return-ring::after {
  content: "";
  position: absolute;
  right: 0.2rem;
  top: 1.1rem;
  border: 0.55rem solid transparent;
  border-left-color: var(--guide-accent-soft);
  transform: rotate(-34deg);
}

.guide-tower {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  width: 3.6rem;
  border: 1px solid var(--guide-accent-soft);
  background:
    repeating-linear-gradient(0deg, transparent 0 0.8rem, hsl(var(--guide-hue, 286) 94% 72% / 0.34) 0.82rem 0.9rem),
    hsl(var(--guide-hue, 286) 74% 34% / 0.18);
  box-shadow: var(--guide-neon);
  transform-style: preserve-3d;
}

.guide-tower-a { height: 9.5rem; margin-left: -6.6rem; transform: translateZ(-1rem); }
.guide-tower-b { height: 12rem; margin-left: -1.8rem; transform: translateZ(1.5rem); }
.guide-tower-c { height: 7.5rem; margin-left: 3.2rem; transform: translateZ(-2rem); }

.guide-building-mark,
.guide-battery-mark {
  position: absolute;
  left: 50%;
  top: 52%;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 900;
  text-shadow: var(--guide-neon);
  transform: translate3d(-50%, -50%, 5rem);
}

.guide-clock-face {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 10rem;
  aspect-ratio: 1;
  margin: -5rem;
  border: 2px solid var(--guide-accent-soft);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.3);
  background: repeating-conic-gradient(from -1deg, rgba(255, 255, 255, 0.58) 0 1deg, transparent 1deg 30deg);
  box-shadow: inset 0 0 2rem hsl(var(--guide-hue, 286) 84% 48% / 0.16), var(--guide-neon);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 900;
}

.guide-clock-hour,
.guide-clock-minute {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 2px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--guide-neon);
  transform-origin: bottom;
}

.guide-clock-hour { height: 2.5rem; transform: rotate(34deg); }
.guide-clock-minute { height: 3.7rem; transform: rotate(138deg); }

.guide-clock-orbit { transform: rotateY(72deg); }

.guide-cell {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.6rem;
  height: 8.5rem;
  margin: -4.25rem 0 0 -1.8rem;
  border: 1px solid #ff84be;
  border-radius: 0.7rem;
  background: linear-gradient(to top, rgba(255, 67, 142, 0.5) 62%, transparent 62%);
  box-shadow: 0 0 1.2rem rgba(255, 67, 142, 0.55);
}

.guide-cell::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.45rem;
  width: 1.5rem;
  height: 0.45rem;
  margin-left: -0.75rem;
  border-radius: 0.25rem 0.25rem 0 0;
  background: #ff84be;
}

.guide-cell-a { transform: translateX(-4.3rem) rotateY(24deg); }
.guide-cell-b { transform: translateZ(2rem); }
.guide-cell-c { transform: translateX(4.3rem) rotateY(-24deg); }
.guide-energy-ring { border-color: rgba(255, 84, 160, 0.62); transform: rotateX(72deg); }

.guide-locker-grid {
  position: absolute;
  inset: 1.5rem 2.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.5rem;
  border: 1px solid var(--guide-accent-soft);
  border-radius: 1rem;
  background: hsl(var(--guide-hue, 286) 74% 36% / 0.16);
  box-shadow: var(--guide-neon);
  transform: rotateY(-10deg);
}

.guide-locker-grid i {
  position: relative;
  border: 1px solid hsl(var(--guide-hue, 286) 94% 72% / 0.42);
  border-radius: 0.35rem;
}

.guide-locker-grid b {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 0.32rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--guide-accent-soft);
  box-shadow: var(--guide-neon);
}

.guide-locker > strong {
  position: absolute;
  left: 50%;
  top: 50%;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  text-shadow: var(--guide-neon);
  transform: translate3d(-50%, -50%, 4rem);
}

.guide-multipack .guide-cube-pack-a { transform: translate3d(-4.3rem, -2.5rem, 0) rotateY(18deg); }
.guide-multipack .guide-cube-pack-b { transform: translate3d(0, 2.5rem, 2rem) rotateY(-8deg); }
.guide-multipack .guide-cube-pack-c { transform: translate3d(4.3rem, -2.5rem, -1rem) rotateY(-20deg); }

.guide-pack-link {
  position: absolute;
  left: 2.2rem;
  right: 2.2rem;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--guide-accent), #fff, var(--guide-accent));
  box-shadow: var(--guide-neon);
  transform: translateZ(-2rem);
}

/* Editorial reading mode */
.public-guide-sections-enhanced .public-editorial-sections {
  gap: 0.75rem;
}

.public-guide-sections-enhanced .public-editorial-section {
  position: relative;
  gap: 0.8rem;
  scroll-margin-top: 6rem;
  padding: clamp(1.1rem, 2.8vw, 1.5rem);
  overflow: hidden;
  border: 1px solid var(--public-border);
  border-radius: 1.2rem;
  background: var(--public-surface-quiet);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.public-guide-sections-enhanced .public-editorial-section:first-child {
  border-top-color: var(--public-border);
}

.public-guide-sections-enhanced .public-editorial-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  opacity: 0;
  background: linear-gradient(var(--guide-accent-soft), var(--guide-accent-deep));
  transition: opacity 180ms ease;
}

.public-guide-sections-enhanced .public-editorial-section.is-guide-active {
  border-color: hsl(var(--guide-hue, 286) 78% 58% / 0.48);
  box-shadow: 0 1rem 2.6rem hsl(var(--guide-hue, 286) 68% 38% / 0.09);
  transform: translateY(-1px);
}

.public-guide-sections-enhanced .public-editorial-section.is-guide-active::before {
  opacity: 1;
}

.public-guide-sections-enhanced .public-editorial-section h2 {
  padding-right: 3.5rem;
  font-size: clamp(1.25rem, 2.7vw, 1.95rem);
}

.public-guide-section-body {
  display: grid;
  gap: 0.8rem;
  max-width: 780px;
  transition: max-height 280ms ease, opacity 180ms ease;
}

.public-guide-section-body > p,
.public-guide-section-body > ul {
  max-width: 760px;
  margin: 0;
  color: var(--public-text-muted);
  font-size: clamp(0.95rem, 1.35vw, 1.04rem);
  line-height: 1.76;
}

.public-guide-section-body > ul {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.25rem;
}

.public-guide-section-body .public-editorial-link-list {
  margin-top: 0.2rem;
}

.public-editorial-section.is-guide-collapsed .public-guide-section-body {
  position: relative;
  max-height: 5.1rem;
  overflow: hidden;
  opacity: 0.76;
  -webkit-mask-image: linear-gradient(#000 0 42%, transparent 100%);
  mask-image: linear-gradient(#000 0 42%, transparent 100%);
}

.public-editorial-section.is-guide-expanded .public-guide-section-body {
  max-height: 200rem;
}

.public-guide-section-toggle {
  justify-self: start;
  min-width: 7.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
}

.public-guide-section-toggle:hover,
.public-guide-section-toggle:focus-visible {
  border-color: var(--guide-accent);
  box-shadow: 0 0 0 3px hsl(var(--guide-hue, 286) 88% 62% / 0.1);
  outline: none;
}

@media (max-width: 820px) {
  .public-guide-experience {
    padding: 0.85rem;
  }

  .public-guide-lab-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .public-guide-control-card {
    min-height: 20rem;
  }

  .public-guide-step-list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(13rem, 76%);
    max-height: none;
    padding: 0.1rem 0 0.45rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .public-guide-step-list::before {
    display: none;
  }

  .public-guide-step-button {
    scroll-snap-align: start;
    padding: 0.45rem;
    border: 1px solid var(--public-border);
    background: var(--public-surface);
  }

  .public-guide-step-actions {
    margin-top: 0.8rem;
  }

  .public-guide-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-guide-live-metric {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .public-guide-experience {
    width: 100%;
    margin-bottom: 3.25rem;
    border-radius: 1.35rem;
  }

  .public-guide-experience-intro {
    padding-inline: 0.2rem;
  }

  .public-guide-experience-intro h2 {
    font-size: clamp(1.65rem, 8.4vw, 2.3rem);
  }

  .public-guide-viewport {
    min-height: 20rem;
  }

  .public-guide-world {
    width: 13.25rem;
    height: 13.25rem;
    margin: -6.625rem 0 0 -6.625rem;
  }

  .public-guide-floor {
    width: 19rem;
    height: 19rem;
  }

  .public-guide-renderer-badge {
    display: none;
  }

  .public-guide-scene-toolbar {
    justify-content: flex-end;
  }

  .public-guide-scene-actions {
    max-width: 100%;
    overflow-x: auto;
  }

  .public-guide-scene-actions button {
    min-width: 2.15rem;
    padding-inline: 0.55rem;
    white-space: nowrap;
  }

  .public-guide-control-card {
    min-height: 18rem;
  }

  .public-guide-step-actions {
    grid-template-columns: 1fr 1fr;
  }

  .public-guide-step-actions .public-guide-open-section {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .public-guide-metrics {
    gap: 0.45rem;
  }

  .public-guide-metrics > div {
    grid-template-columns: 1fr;
    align-content: start;
    padding: 0.7rem;
  }

  .public-guide-metrics small {
    grid-column: auto;
    white-space: normal;
  }

  .public-guide-data-note {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .public-guide-data-note > span:not(.public-guide-live-dot),
  .public-guide-data-note small {
    grid-column: 2;
  }

  .public-guide-sections-enhanced .public-editorial-section {
    padding: 1rem;
  }

  .public-guide-sections-enhanced .public-editorial-section h2 {
    padding-right: 0;
  }

  .public-guide-section-body .public-editorial-link-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-guide-experience *,
  .public-guide-experience *::before,
  .public-guide-experience *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media print {
  .public-guide-experience {
    break-inside: avoid;
    box-shadow: none;
  }

  .public-guide-scene-actions,
  .public-guide-step-actions,
  .public-guide-interaction-hint,
  .public-guide-section-toggle {
    display: none !important;
  }

  .public-guide-scene-card {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .public-editorial-section.is-guide-collapsed .public-guide-section-body {
    max-height: none;
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
