@font-face {
  font-family: "Tektur";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/tektur-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Tektur";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/tektur-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Tektur";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/tektur-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Tektur";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/tektur-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Tomorrow";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/tomorrow-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Tomorrow";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/tomorrow-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Tomorrow";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/tomorrow-latin-600-normal.woff2") format("woff2");
}
:root {
  --ground: #050508;
  --room: #0b0b12;
  --room-raised: #12121c;
  --copy: #f2f0ec;
  --copy-body: rgba(242, 240, 236, 0.88);
  --muted: #9a94ad;
  --line: rgba(134, 87, 224, 0.15);
  --purple: #55369d;
  --purple-lit: #8657e0;
  --yellow: #ffdd4d;
  --red: #f03d2e;
  --support: #cfc9e6;
  --motion-fast: 150ms;
  --motion-base: 250ms;
  --motion-slow: 450ms;
  --motion-cine: 800ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  background: var(--ground);
}
body {
  background: var(--ground);
  color: var(--copy);
  font-family: "Tomorrow", system-ui, sans-serif;
  overscroll-behavior: none;
}
#stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: var(--ground);
}
.no-js #stage {
  display: none;
}
.layers,
.clip {
  position: absolute;
  inset: 0;
}
.clip {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  background: var(--ground);
}
.clip.active {
  opacity: 1;
}
.copy-window {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms cubic-bezier(0.33, 0, 0.2, 1);
}
.copy-window .street-title {
  transform: translateY(12px);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  .copy-window,
  .copy-window .street-title {
    transition: none;
  }
}
.scrim {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(124vw, 1400px);
  height: 60vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.street-title {
  font-family: "Tektur", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 64px);
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--copy);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.8);
  text-align: center;
  max-width: 16ch;
  padding: 0 16px;
}
#continue-hint {
  position: absolute;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 6px;
  z-index: 20;
  opacity: 0;
  transition: opacity var(--motion-base) var(--ease-out);
  pointer-events: none;
}
.hint-label {
  font-family: "Tomorrow", sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--yellow);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.8);
}
.hint-chevron {
  filter: drop-shadow(0 0 10px rgba(255, 221, 77, 0.45));
  animation: hintDrift 2.4s var(--ease-in-out) infinite;
}
@keyframes hintDrift {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  65% {
    transform: translateY(8px);
    opacity: 0.25;
  }
  100% {
    transform: translateY(8px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hint-chevron {
    animation: none;
  }
}
.chrome {
  position: absolute;
  z-index: 20;
}
#s0 {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.s0-aerial {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform, opacity;
}
.s0-scrim {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: min(130vw, 1700px);
  height: 72vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse 50% 50% at center,
    rgba(5, 5, 8, 0.32) 0%,
    rgba(5, 5, 8, 0.2) 48%,
    rgba(5, 5, 8, 0) 74%
  );
  pointer-events: none;
}
.s0-title {
  position: relative;
  z-index: 2;
  font-family: "Tektur", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 6.2vw, 92px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--copy);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.8);
  text-align: center;
  max-width: 14ch;
  padding: 0 16px;
}
.s0-stop {
  color: var(--purple-lit);
}
#s0:not(.ready) {
  background: var(--ground);
}
.s0-aerial {
  transition: opacity 900ms var(--ease-out);
}
#s0:not(.wake) .s0-aerial {
  opacity: 0 !important;
}
#s0.wake .s0-aerial {
  opacity: 1;
}
#s0.reveal .s0-title {
  animation: titleRise 2200ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* 12 Nov (Naveen): once it has risen, the line blinks subtly, an invitation to start scrolling */
#s0.reveal .s0-instruction {
  animation:
    titleRise 1600ms cubic-bezier(0.22, 0.61, 0.36, 1) 1200ms backwards,
    strollBlink 2600ms ease-in-out 3000ms infinite;
}
@keyframes strollBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes titleRise {
  0% {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
#s0:not(.reveal) .s0-title,
#s0:not(.reveal) .s0-instruction {
  opacity: 0 !important;
}
@media (prefers-reduced-motion: reduce) {
  #s0.reveal .s0-title,
  #s0.reveal .s0-instruction {
    animation: none;
  }
}
.s0-title,
.s0-instruction {
  transition: opacity 900ms var(--ease-out);
}
#s0:not(.ready) .s0-title,
#s0:not(.ready) .s0-instruction {
  opacity: 0 !important;
}
.trio-word {
  font-family: "Tektur", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5.8vw, 82px);
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.8);
}
.trio-word--data {
  color: var(--purple-lit);
}
.trio-word--design {
  color: var(--yellow);
}
.trio-word--disruption {
  color: var(--red);
}
.trio-headline {
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--copy);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.8);
}
.trio-support {
  font-family: "Tomorrow", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 21px);
  color: #cfc9e6;
  max-width: 52ch;
  margin: 0 auto;
}
.gate-cta::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.s0-instruction {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: calc(32px + env(safe-area-inset-bottom));
  text-align: center;
  font-family: "Tomorrow", sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 18px); /* 12 Nov (Naveen): a small bit smaller; was clamp(16px, 1.6vw, 21px) */
  color: var(--yellow); /* 12 Nov (Naveen): yellow while it blinks; was #cfc9e6 */
}
/* 12 Nov (Naveen): a down arrow after the line, drawn here so the line's own text stays as the editor has it */
.s0-instruction::after {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.5em;
  vertical-align: -0.12em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square'%3E%3Cpath d='M8 2v11M3.5 8.5 8 13l4.5-4.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square'%3E%3Cpath d='M8 2v11M3.5 8.5 8 13l4.5-4.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.walk-support {
  font-family: "Tomorrow", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 21px);
  color: #cfc9e6;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.9);
}
.gate {
  position: absolute;
  z-index: 20;
  left: 48px;
  bottom: 13vh;
  opacity: 0;
  pointer-events: none;
}
.gate::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -160px;
  right: -260px;
  top: -140px;
  bottom: -160px;
  background: radial-gradient(
    ellipse 68% 72% at 30% 66%,
    rgba(5, 5, 8, 0.66) 0%,
    rgba(5, 5, 8, 0.34) 48%,
    rgba(5, 5, 8, 0) 72%
  );
  pointer-events: none;
}
.gate-hit {
  all: unset;
  cursor: pointer;
  display: block;
  padding: 20px 56px 20px 4px;
}
.gate-line {
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.9vw, 40px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--copy);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.9);
}
.gate-rule {
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
  box-shadow: 0 0 14px rgba(255, 221, 77, 0.45);
  margin-top: 16px;
}
.gate-sub {
  margin-top: 12px;
  font-family: "Tomorrow", sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: rgba(242, 240, 236, 0.8);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.9);
}
.gate-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--copy);
  background: rgba(85, 54, 157, 0.86);
  border: 1px solid var(--purple-lit);
  border-radius: 2px;
  padding: 12px 28px 12px 24px;
  position: relative;
  box-shadow: 0 4px 36px rgba(134, 87, 224, 0.35);
  transition:
    background var(--motion-fast) var(--ease-out),
    transform var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) var(--ease-out);
}
.gate-hit:hover .gate-cta,
.gate-hit:focus-visible .gate-cta {
  background: #6244b5;
  transform: translateY(-2px);
  box-shadow: 0 6px 44px rgba(134, 87, 224, 0.5);
}
@keyframes gateLoad {
  50% {
    box-shadow:
      0 0 0 6px rgba(255, 221, 77, 0.18),
      0 4px 36px rgba(134, 87, 224, 0.35);
  }
}
.gate-hit:focus-visible {
  outline: 2px solid var(--purple-lit);
  outline-offset: 4px;
}
.gate.pulse .gate-cta {
  animation: gatePulse 500ms var(--ease-in-out) 2;
}
@keyframes gatePulse {
  50% {
    box-shadow:
      0 0 0 9px rgba(134, 87, 224, 0.28),
      0 4px 44px rgba(134, 87, 224, 0.6);
  }
}
@media (max-width: 640px) {
  .gate {
    left: 16px;
    right: 16px;
    bottom: 16vh;
  }
}
.room {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--room);
  opacity: 0;
  transition: opacity var(--motion-slow) var(--ease-out);
  overflow-y: auto;
}
.room.open {
  opacity: 1;
}
.room::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 70% at center 40%,
    rgba(11, 11, 18, 0) 0%,
    rgba(11, 11, 18, 0.42) 100%
  );
  pointer-events: none;
}
.room-x {
  all: unset;
  cursor: pointer;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--copy);
  border: 1px solid rgba(242, 240, 236, 0.35);
  border-radius: 2px;
  background: rgba(5, 5, 8, 0.45);
  transition:
    border-color var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out),
    background var(--motion-fast) var(--ease-out);
}
.room-x:hover {
  color: var(--purple-lit);
  border-color: var(--purple-lit);
  background: rgba(5, 5, 8, 0.7);
}
.room-x:focus-visible {
  outline: 2px solid var(--purple-lit);
  outline-offset: 3px;
}
.room-body {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 96px 32px 64px;
}
.room-headline {
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.01em;
  color: var(--copy);
  text-align: center;
}
.room-sub {
  font-family: "Tomorrow", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(242, 240, 236, 0.8);
  text-align: center;
  max-width: 62ch;
}
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .room.open .cap {
    animation: none;
  }
}
@media (max-width: 640px) {
  .room-body {
    align-content: start;
  }
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.cap {
  background: rgba(13, 13, 21, 0.96);
  border: 1px solid rgba(134, 87, 224, 0.16);
  border-radius: 4px;
  padding: 16px 18px;
  transition:
    transform 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    background 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}
.cap:hover {
  transform: translateY(-5px);
  background: rgba(18, 18, 28, 0.98);
  border-color: rgba(134, 87, 224, 0.55);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}
.room.open .cap {
  animation: cardIn 500ms var(--ease-out) backwards;
}
.cap:nth-child(1) {
  animation-delay: 60ms;
}
.cap:nth-child(2) {
  animation-delay: 110ms;
}
.cap:nth-child(3) {
  animation-delay: 160ms;
}
.cap:nth-child(4) {
  animation-delay: 210ms;
}
.cap:nth-child(5) {
  animation-delay: 260ms;
}
.cap:nth-child(6) {
  animation-delay: 310ms;
}
.cap:nth-child(7) {
  animation-delay: 360ms;
}
.cap:nth-child(8) {
  animation-delay: 410ms;
}
.cap:nth-child(9) {
  animation-delay: 460ms;
}
@media (max-width: 900px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }
}
#hud {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.82);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  font-family: "Tomorrow", monospace, sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--copy-body);
  min-width: 240px;
  user-select: none;
}
@media (prefers-reduced-motion: reduce) {
  .hint {
    transition: none;
  }
}
.map-layer {
  position: absolute;
  inset: 0;
  z-index: 21;
  opacity: 0;
  pointer-events: none;
}
.map-layer.is-on {
  pointer-events: auto;
}
.map-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.map-route path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.5;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0 0 6px;
  cursor: pointer;
  color: #fff;
  font-family: "Tomorrow", sans-serif;
  text-align: center;
}
.map-pin-label {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 3px;
  background: rgba(5, 5, 8, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition:
    background 200ms,
    border-color 200ms,
    transform 200ms;
}
.map-pin-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--purple-lit);
  box-shadow:
    0 0 0 4px rgba(134, 87, 224, 0.28),
    0 0 18px rgba(134, 87, 224, 0.9);
  position: relative;
}
.map-pin-dot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(134, 87, 224, 0.6);
  animation: map-pulse 2.4s ease-out infinite;
}
.map-pin:hover .map-pin-label,
.map-pin:focus-visible .map-pin-label {
  background: var(--purple);
  border-color: var(--purple-lit);
  transform: translateY(-2px);
}
.map-pin:focus-visible {
  outline: none;
}
.map-pin--start .map-pin-dot {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}
.map-pin--start .map-pin-dot::after {
  display: none;
}
.map-pin--start .map-pin-label {
  font-weight: 500;
  opacity: 0.8;
}
.map-title {
  position: absolute;
  left: 48px;
  bottom: 13vh;
  color: #fff;
  font-family: "Tektur", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 40px);
  line-height: 1.05;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
.map-title small {
  display: block;
  font-family: "Tomorrow", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 10px;
}
@keyframes map-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
@media (max-width: 760px) {
  .map-pin-label {
    font-size: 11px;
    padding: 5px 8px;
  }
  .map-title {
    left: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .map-pin-dot::after {
    animation: none;
  }
}
.gate-rule {
  position: relative;
  overflow: hidden;
  background: rgba(255, 221, 77, 0.22);
  box-shadow: none;
}
.gate-rule::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  box-shadow: 0 0 14px rgba(255, 221, 77, 0.45);
  transform-origin: left center;
  transform: scaleX(var(--fill, 0));
}
.gate.is-released .gate-rule {
  box-shadow: 0 0 14px rgba(255, 221, 77, 0.45);
}
.gate.nudge .gate-line {
  animation: navNudge 380ms var(--ease-out);
}
.gate.nudge .gate-rule {
  animation: navGlow 380ms var(--ease-out);
}
@keyframes navNudge {
  0% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes navGlow {
  0% {
    box-shadow: none;
  }
  35% {
    box-shadow: 0 0 22px rgba(255, 221, 77, 0.8);
  }
  100% {
    box-shadow: none;
  }
}
.rail {
  --row: 36px;
  position: fixed;
  z-index: 30;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 450ms var(--ease-out),
    visibility 0s linear 450ms;
}
.rail.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 450ms var(--ease-out);
}
.rail::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -24px;
  top: -220px;
  bottom: -220px;
  width: 520px;
  background: radial-gradient(
    ellipse 100% 50% at 100% 50%,
    rgba(5, 5, 8, 0.78) 0%,
    rgba(5, 5, 8, 0.46) 45%,
    rgba(5, 5, 8, 0) 80%
  );
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
  pointer-events: none;
}
.rail:hover::before,
.rail:has(:focus-visible)::before {
  opacity: 0;
}
.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.rail-item {
  height: var(--row);
}
.rail-link,
.rail-map {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: var(--row);
  min-width: 44px;
  color: var(--yellow); /* the one map button, in yellow (Naveen 7 Nov) */
  text-decoration: none;
  outline: none;
}
.rail-mark,
.rail-map-mark {
  width: 24px;
  height: var(--row);
  display: grid;
  place-items: center;
  position: relative;
}
.rail-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 17px;
  margin: -8.5px 0 0 -8.5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 221, 77, 0.6);
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 300ms var(--ease-out),
    transform 300ms var(--ease-out);
  pointer-events: none;
}
.rail-link.is-here .rail-mark::after {
  opacity: 1;
  transform: scale(1);
}
.rail-mark::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.25px solid var(--copy);
  background: rgba(5, 5, 8, 0.7);
  box-shadow:
    0 0 0 2px rgba(5, 5, 8, 0.35),
    0 0 10px rgba(5, 5, 8, 0.75);
  transition:
    background 250ms var(--ease-out),
    transform 250ms var(--ease-out),
    border-color 250ms var(--ease-out),
    box-shadow 250ms var(--ease-out);
}
.rail-link.is-done .rail-mark::before {
  background: var(--copy);
}
.rail-link.is-here .rail-mark::before {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: scale(1.3);
  box-shadow:
    0 0 0 2px rgba(5, 5, 8, 0.35),
    0 0 12px rgba(255, 221, 77, 0.85);
}
.rail-link:hover .rail-mark::before {
  transform: scale(1.3);
}
.rail-link:focus-visible .rail-mark::before,
.rail-map:focus-visible .rail-map-mark svg {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}
.rail-map {
  margin-top: 18px;
}
.rail-map-mark svg {
  width: 16px;
  height: 16px;
  color: var(--copy);
  filter: drop-shadow(0 0 2px rgba(5, 5, 8, 0.9))
    drop-shadow(0 0 8px rgba(5, 5, 8, 0.7));
  border-radius: 2px;
}
.rail-line {
  position: absolute;
  right: 11.25px;
  top: calc(var(--row) / 2);
  height: calc(var(--row) * 8);
  width: 1.5px;
  background: repeating-linear-gradient(
    to bottom,
    var(--copy) 0 1.5px,
    transparent 1.5px 5px
  );
  box-shadow: 0 0 6px rgba(5, 5, 8, 0.7);
  pointer-events: none;
}
.rail-line-done {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(var(--done, 0) * 100%);
  background: var(--copy);
}
.rail-line-active {
  position: absolute;
  left: -0.75px;
  right: -0.75px;
  top: calc(var(--done, 0) * 100%);
  height: calc(var(--act, 0) * 100%);
  background: var(--yellow);
  border-radius: 2px;
  box-shadow:
    0 0 0 1px rgba(5, 5, 8, 0.45),
    0 0 10px rgba(255, 221, 77, 0.85);
}
.rail-label {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translate(6px, -50%);
  white-space: nowrap;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #0b0b12;
  background: rgba(242, 240, 236, 0.94);
  padding: 7px 12px 7px;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms var(--ease-out),
    transform 220ms var(--ease-out);
}
.rail-link:hover .rail-label,
.rail-link:focus-visible .rail-label,
.rail-map:hover .rail-label,
.rail-map:focus-visible .rail-label {
  opacity: 1;
  transform: translate(0, -50%);
}
.rail-map .rail-label {
  --i: 8;
}
@media (pointer: coarse) {
  .rail {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rail,
  .rail-label,
  .rail-mark::before,
  .rail::before {
    transition: none;
  }
}
.s0-stop {
  display: inline-block;
  transform-origin: 50% 85%;
}
#s0.reveal.beat .s0-stop {
  animation: stopBeat 2400ms linear 2200ms infinite;
}
@keyframes stopBeat {
  0% {
    color: var(--yellow);
    transform: scale(1.55);
    text-shadow:
      0 0 14px rgba(255, 221, 77, 1),
      0 0 34px rgba(255, 221, 77, 0.85),
      0 2px 40px rgba(0, 0, 0, 0.8);
  }
  7% {
    color: var(--yellow);
    transform: scale(1);
    text-shadow:
      0 0 10px rgba(255, 221, 77, 0.55),
      0 2px 40px rgba(0, 0, 0, 0.8);
  }
  24.9% {
    color: var(--yellow);
    transform: scale(1);
    text-shadow:
      0 0 10px rgba(255, 221, 77, 0.55),
      0 2px 40px rgba(0, 0, 0, 0.8);
  }
  25% {
    color: var(--red);
    transform: scale(1.55);
    text-shadow:
      0 0 14px rgba(240, 61, 46, 1),
      0 0 34px rgba(240, 61, 46, 0.85),
      0 2px 40px rgba(0, 0, 0, 0.8);
  }
  32% {
    color: var(--red);
    transform: scale(1);
    text-shadow:
      0 0 10px rgba(240, 61, 46, 0.55),
      0 2px 40px rgba(0, 0, 0, 0.8);
  }
  49.9% {
    color: var(--red);
    transform: scale(1);
    text-shadow:
      0 0 10px rgba(240, 61, 46, 0.55),
      0 2px 40px rgba(0, 0, 0, 0.8);
  }
  50% {
    color: var(--purple-lit);
    transform: scale(1.55);
    text-shadow:
      0 0 14px rgba(134, 87, 224, 1),
      0 0 34px rgba(134, 87, 224, 0.85),
      0 2px 40px rgba(0, 0, 0, 0.8);
  }
  57% {
    color: var(--purple-lit);
    transform: scale(1);
    text-shadow:
      0 0 10px rgba(134, 87, 224, 0.55),
      0 2px 40px rgba(0, 0, 0, 0.8);
  }
  100% {
    color: var(--purple-lit);
    transform: scale(1);
    text-shadow:
      0 0 10px rgba(134, 87, 224, 0.55),
      0 2px 40px rgba(0, 0, 0, 0.8);
  }
}
@media (prefers-reduced-motion: reduce) {
  #s0.reveal.beat .s0-stop {
    animation: none;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.gate.hud {
  left: clamp(24px, 3vw, 48px);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: clamp(400px, 33vw, 540px);
}
.gate.hud::before {
  display: none;
}
.hud-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(242, 240, 236, 0.75);
  border-style: solid;
  border-width: 0;
  transition:
    transform 420ms var(--ease-out),
    opacity 420ms var(--ease-out);
  opacity: 0;
}
.hud-corner--tl {
  left: -5px;
  top: -5px;
  border-left-width: 1.5px;
  border-top-width: 1.5px;
  transform: translate(6px, 6px);
}
.hud-corner--tr {
  right: -5px;
  top: -5px;
  border-right-width: 1.5px;
  border-top-width: 1.5px;
  transform: translate(-6px, 6px);
}
.hud-corner--bl {
  left: -5px;
  bottom: -5px;
  border-left-width: 1.5px;
  border-bottom-width: 1.5px;
  transform: translate(6px, -6px);
}
.hud-corner--br {
  right: -5px;
  bottom: -5px;
  border-right-width: 1.5px;
  border-bottom-width: 1.5px;
  transform: translate(-6px, -6px);
}
.gate.hud-in .hud-corner {
  opacity: 1;
  transform: none;
}
.hud-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.hud-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(240, 61, 46, 0.9);
  animation: hudLive 2.4s ease-in-out infinite;
}
@keyframes hudLive {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.gate.hud .gate-line {
  margin-top: 16px;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.1vw, 33px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--copy);
  text-shadow: none;
  text-wrap: balance;
}
.gate.hud .gate-sub {
  margin-top: 8px;
  font-size: 14.5px;
  color: rgba(242, 240, 236, 0.78);
  text-shadow: none;
}
.gate.hud .gate-rule {
  width: 100%;
  height: 2px;
  margin: 18px 0 16px;
  border-radius: 1px;
}
.gate.hud .gate-hit.hud-cta {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 16px;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255, 221, 77, 0.08);
  border: 1px solid rgba(255, 221, 77, 0.75);
  border-radius: 2px;
  transition:
    background var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) var(--ease-out);
}
.gate.hud .gate-hit.hud-cta:hover,
.gate.hud .gate-hit.hud-cta:focus-visible {
  background: var(--yellow);
  color: #0b0b12;
  box-shadow: 0 0 22px rgba(255, 221, 77, 0.45);
}
.gate.hud .gate-hit.hud-cta:focus-visible {
  outline: 2px solid var(--copy);
  outline-offset: 3px;
}
.gate.hud .gate-cta {
  all: unset;
}
.gate.hud .gate-cta::before {
  display: none;
}
.hud-cta-arrow {
  width: 16px;
  height: 10px;
  transition: transform var(--motion-fast) var(--ease-out);
}
.gate.hud .hud-cta:hover .hud-cta-arrow {
  transform: translateX(4px);
}
.gate.hud.pulse .hud-cta {
  animation: hudPulse 500ms var(--ease-in-out) 2;
}
@keyframes hudPulse {
  50% {
    box-shadow: 0 0 26px rgba(255, 221, 77, 0.6);
  }
}
.hud-next {
  font-family: "Tomorrow", sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(207, 201, 230, 0.62);
  text-align: right;
}
.hud-next b {
  display: block;
  margin-top: 3px;
  font-weight: 500;
  color: rgba(242, 240, 236, 0.86);
  letter-spacing: 0.01em;
  font-size: 12.5px;
}
.hud-sample {
  margin: 12px 0 0;
  font-family: "Tomorrow", sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 61, 46, 0.8);
}
.gate.hud .hud-r {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 380ms var(--ease-out),
    transform 460ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.gate.hud.hud-in .hud-r {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .gate.hud .hud-r,
  .hud-corner {
    transition: none;
  }
  .hud-live i {
    animation: none;
  }
}
@media (max-width: 760px) {
  .gate.hud {
    left: 12px;
    right: 12px;
    width: auto;
    top: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: none;
  }
  .hud-next {
    display: none;
  }
}
#map {
  display: none !important;
}
.mapmenu {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: var(--ground);
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
}
.mapmenu.is-open {
  opacity: 1;
}
.mapmenu-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.045);
  transition: transform 1200ms var(--ease-out);
}
.mapmenu.is-open .mapmenu-img {
  transform: scale(1);
}
.mapmenu-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
      90deg,
      rgba(5, 5, 8, 0.62) 0%,
      rgba(5, 5, 8, 0.22) 38%,
      rgba(5, 5, 8, 0) 60%
    ),
    linear-gradient(0deg, rgba(5, 5, 8, 0.45) 0%, rgba(5, 5, 8, 0) 22%);
}
.mapmenu-route {
  display: none;
}
.mapmenu-route path {
  fill: none;
  stroke-linecap: round;
}
.mapmenu-route-done {
  stroke: rgba(242, 240, 236, 0.9);
  stroke-width: 1.5;
}
.mapmenu-route-ahead {
  stroke: rgba(242, 240, 236, 0.75);
  stroke-width: 1.5;
  stroke-dasharray: 1.5 7;
}
.mapmenu.is-open .mapmenu-img {
  filter: brightness(0.78) saturate(0.9);
}
.mm-pin {
  all: unset;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: -54px 0 0 -32px;
  cursor: pointer;
  display: block;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 360ms var(--ease-out),
    transform 480ms var(--ease-out);
  transition-delay: calc(var(--k, 0) * 50ms + 200ms);
}
.mapmenu.is-open .mm-pin {
  opacity: 1;
  transform: none;
}
.mm-pin-svg {
  position: absolute;
  left: 13px;
  top: 6px;
  width: 38px;
  height: 50px;
  overflow: visible;
  transition: transform 240ms var(--ease-out);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}
.mm-pin-body {
  fill: rgba(8, 9, 16, 0.82);
  stroke: var(--copy);
  stroke-width: 1.4;
  transition:
    fill 220ms,
    stroke 220ms;
}
.mm-pin-num {
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 11px;
  fill: var(--copy);
  text-anchor: middle;
  dominant-baseline: central;
  transition: fill 220ms;
}
.mm-pin-dot {
  fill: var(--copy);
  transition: fill 220ms;
}
.mm-pin-zone {
  position: absolute;
  left: 50%;
  top: 58px;
  width: 150px;
  height: 56px;
  margin: -28px 0 0 -75px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(242, 240, 236, 0.16),
    rgba(242, 240, 236, 0) 100%
  );
  pointer-events: none;
  transition: background 260ms;
}
.mm-pin.is-here .mm-pin-zone {
  background: radial-gradient(
    closest-side,
    rgba(255, 221, 77, 0.28),
    rgba(255, 221, 77, 0) 100%
  );
}
.mm-pin:hover .mm-pin-zone,
.mm-pin:focus-visible .mm-pin-zone {
  background: radial-gradient(
    closest-side,
    rgba(242, 240, 236, 0.26),
    rgba(242, 240, 236, 0) 100%
  );
}
.mm-pin-place {
  position: absolute;
  left: 50%;
  top: 68px;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copy);
  text-shadow:
    0 0 3px rgba(0, 0, 0, 0.95),
    0 1px 10px rgba(0, 0, 0, 0.9);
}
.mm-pin.is-here .mm-pin-place {
  color: var(--yellow);
}
.mm-pin.is-done .mm-pin-body {
  fill: var(--copy);
  stroke: var(--copy);
}
.mm-pin.is-done .mm-pin-num,
.mm-pin.is-done .mm-pin-dot {
  fill: #0b0b12;
}
.mm-pin.is-here .mm-pin-body {
  fill: var(--yellow);
  stroke: var(--yellow);
}
.mm-pin.is-here .mm-pin-num,
.mm-pin.is-here .mm-pin-dot {
  fill: #0b0b12;
}
.mm-pin.is-here .mm-pin-svg {
  filter: drop-shadow(0 0 12px rgba(255, 221, 77, 0.7))
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}
.mm-pin-ring {
  position: absolute;
  left: 50%;
  top: 0;
  width: 48px;
  height: 48px;
  margin-left: -24px;
  border-radius: 50%;
  border: 1px solid rgba(242, 240, 236, 0.7);
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 260ms var(--ease-out),
    transform 300ms var(--ease-out);
  pointer-events: none;
}
.mm-pin.is-here .mm-pin-ring {
  opacity: 1;
  transform: none;
  border-color: rgba(255, 221, 77, 0.65);
}
.mm-pin:hover .mm-pin-ring,
.mm-pin:focus-visible .mm-pin-ring {
  opacity: 1;
  transform: scale(1.06);
}
.mm-pin:hover .mm-pin-svg,
.mm-pin:focus-visible .mm-pin-svg {
  transform: translateY(-4px);
}
.mm-pin:focus-visible .mm-pin-ring {
  border-color: var(--yellow);
}
.mapmenu-compass {
  position: absolute;
  right: 32px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  width: 40px;
  height: 40px;
  color: var(--copy);
  font-family: "Tektur", sans-serif;
  opacity: 0.85;
}
@keyframes mmSwap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mapmenu-close {
  all: unset;
  cursor: pointer;
  position: absolute;
  right: 24px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--copy);
}
.mapmenu-close svg {
  width: 44px;
  height: 44px;
  padding: 13px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid rgba(242, 240, 236, 0.6);
  background: rgba(5, 5, 8, 0.4);
  transition:
    background 200ms,
    color 200ms;
}
.mapmenu-close:hover svg,
.mapmenu-close:focus-visible svg {
  background: var(--copy);
  color: #0b0b12;
}
.mapmenu.is-end .mapmenu-close {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .mapmenu,
  .mapmenu-img,
  .mm-pin {
    transition: none;
  }
}
.copy-window.cap-hud {
  display: block;
}
.cap-box {
  position: absolute;
  left: clamp(24px, 3vw, 48px);
  top: 50%;
  transform: translateY(-50%);
  padding: 20px 26px 22px;
  max-width: min(46vw, 640px);
}
.copy-window.cap-hud[data-pos="low"] .cap-box {
  top: auto;
  bottom: 17vh;
  transform: none;
}
.cap-hud .scrim.cap-fall {
  position: absolute;
  z-index: -1;
  left: -160px;
  right: -160px;
  top: -120px;
  bottom: -120px;
  width: auto;
  height: auto;
  transform: none;
  background: radial-gradient(
    ellipse 50% 50% at 50% 50%,
    rgba(5, 5, 8, 0.42),
    rgba(5, 5, 8, 0.18) 50%,
    rgba(5, 5, 8, 0) 76%
  );
}
.copy-window.cap-hud .street-title {
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 2.9vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  text-align: left;
  max-width: 15ch;
  padding: 0;
  white-space: normal;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}
.cap-hud .walk-support {
  text-align: left;
  margin-top: 12px;
}
.cap-bar {
  position: relative;
  margin-top: 18px;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: rgba(255, 221, 77, 0.22);
}
.cap-bar i {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(var(--f, 0));
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(255, 221, 77, 0.55);
}
.cap-hud.cap-in .hud-corner {
  opacity: 1;
  transform: none;
}
@media (max-width: 760px) {
  .cap-box {
    left: 12px;
    right: 12px;
    max-width: none;
  }
}
.copy-window.cap-hud[data-pos^="center"] .cap-box {
  left: 0;
  right: 0;
  margin-inline: auto;
  width: fit-content;
  max-width: 92vw;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}
.copy-window.cap-hud[data-pos="center-low"] .cap-box {
  top: auto;
  bottom: 15vh;
  transform: none;
}
.copy-window.cap-hud[data-pos^="center"] .street-title {
  text-align: center;
  margin: 0 auto;
}
.copy-window.cap-hud[data-lines="1"] .street-title {
  white-space: nowrap;
  max-width: none;
}
.copy-window.cap-hud[data-lines="2"] .street-title {
  max-width: var(--cw, 24ch);
  text-wrap: balance;
}
.copy-window.cap-hud[data-pos^="center"] .walk-support {
  text-align: center;
}
.copy-window.glass-win {
  display: grid;
  place-items: center;
}
.glass-win.cap-in .hud-corner {
  opacity: 1;
  transform: none;
}
.glass-win .trio-word {
  font-family: "Tektur", sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 6.4vw, 108px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.35);
}
.glass-win .trio-headline {
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.15;
  color: var(--copy);
  text-shadow: none;
}
.glass-win .trio-support {
  font-family: "Tomorrow", sans-serif;
  font-weight: 400;
  font-size: 16.5px;
  color: rgba(242, 240, 236, 0.82);
  text-shadow: none;
}
.iface {
  --if-line: rgba(242, 240, 236, 0.22);
  --if-dim: rgba(207, 201, 230, 0.62);
  --if-acc: var(--purple-lit);
}
.if-frame {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(12, 14, 26, 0.3),
    rgba(12, 14, 26, 0.16)
  );
  -webkit-backdrop-filter: blur(9px) saturate(1.2);
  backdrop-filter: blur(9px) saturate(1.2);
  border: 1px solid var(--if-line);
  box-shadow:
    inset 0 0 60px rgba(134, 87, 224, 0.08),
    inset 0 1px 0 rgba(242, 240, 236, 0.08),
    0 30px 90px rgba(0, 0, 0, 0.3);
  color: var(--copy);
  clip-path: inset(0 50% 0 50%);
  transition: clip-path 620ms cubic-bezier(0.7, 0, 0.2, 1);
}
.iface.hud-in .if-frame,
.iface.cap-in .if-frame,
.room--iface.open .if-frame {
  clip-path: inset(-40px -40px -40px -40px);
}
.if-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(242, 240, 236, 0.028) 0 1px,
      transparent 1px 3px
    ),
    linear-gradient(rgba(242, 240, 236, 0.045) 1px, transparent 1px) 0 0 / 28px
      28px,
    linear-gradient(90deg, rgba(242, 240, 236, 0.045) 1px, transparent 1px) 0 0 /
      28px 28px;
  -webkit-mask-image: radial-gradient(
    ellipse 85% 80% at 50% 50%,
    #000 40%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 85% 80% at 50% 50%,
    #000 40%,
    transparent 100%
  );
}
.if-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 90px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    180deg,
    rgba(134, 87, 224, 0) 0%,
    rgba(134, 87, 224, 0.1) 70%,
    rgba(242, 240, 236, 0.5) 99%,
    rgba(242, 240, 236, 0) 100%
  );
}
.iface.hud-in .if-scan,
.iface.cap-in .if-scan,
.room--iface.open .if-scan {
  animation: ifScan 1100ms cubic-bezier(0.4, 0, 0.2, 1) 380ms 1 both;
}
@keyframes ifScan {
  0% {
    opacity: 1;
    transform: translateY(-90px);
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(var(--scan-h, 600px));
  }
}
.if-ruler {
  position: absolute;
  left: 22px;
  right: 22px;
  height: 7px;
  pointer-events: none;
  opacity: 0.55;
  background: repeating-linear-gradient(
    90deg,
    rgba(242, 240, 236, 0.7) 0 1px,
    transparent 1px 12px
  );
}
.if-ruler--t {
  top: -8px;
}
.if-ruler--b {
  bottom: -8px;
}
.if-c {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 0 solid var(--copy);
  pointer-events: none;
  transition: transform 520ms var(--ease-out) 200ms;
}
.if-c--tl {
  left: -7px;
  top: -7px;
  border-left-width: 2px;
  border-top-width: 2px;
}
.if-c--tr {
  right: -7px;
  top: -7px;
  border-right-width: 2px;
  border-top-width: 2px;
}
.if-c--bl {
  left: -7px;
  bottom: -7px;
  border-left-width: 2px;
  border-bottom-width: 2px;
}
.if-c--br {
  right: -7px;
  bottom: -7px;
  border-right-width: 2px;
  border-bottom-width: 2px;
}
.if-c--tl::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 5px;
  height: 5px;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 221, 77, 0.8);
}
.if-coord {
  position: absolute;
  top: 50%;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--if-dim);
  white-space: nowrap;
  pointer-events: none;
}
.if-coord--l {
  left: -14px;
  transform: translate(-100%, -50%) rotate(180deg);
  writing-mode: vertical-rl;
}
.if-coord--r {
  right: -14px;
  transform: translate(100%, -50%);
  writing-mode: vertical-rl;
}
.if-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--if-line);
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--if-dim);
  background: linear-gradient(
    90deg,
    rgba(134, 87, 224, 0.14),
    rgba(134, 87, 224, 0) 60%
  );
}
.if-sys b {
  color: var(--copy);
  font-weight: 600;
}
.if-seg {
  display: inline-flex;
  gap: 3px;
}
.if-seg i {
  width: 10px;
  height: 4px;
  background: rgba(242, 240, 236, 0.18);
}
.if-seg i:nth-child(-n + 5) {
  background: var(--purple-lit);
  box-shadow: 0 0 6px rgba(134, 87, 224, 0.8);
}
.if-seg--3 i {
  width: 26px;
}
.if-seg--3 i:nth-child(-n + 5) {
  background: rgba(242, 240, 236, 0.18);
  box-shadow: none;
}
.if-seg--3 i.on {
  background: var(--if-acc);
  box-shadow: 0 0 8px var(--if-acc);
}
.if-loc {
  flex: 1;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.if-bar .hud-live {
  color: var(--copy);
}
.if-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  padding: 26px 30px 24px;
  align-items: center;
}
.if-main {
  text-align: left;
}
.if-kicker {
  margin: 0;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}
.if-kicker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--yellow);
}
.if-text {
  margin: 18px 0 20px;
  max-width: 58ch;
  font-family: "Tomorrow", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  color: rgba(242, 240, 236, 0.88);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
}
.if-side {
  display: grid;
  justify-items: center;
  gap: 16px;
}
.if-ret {
  position: relative;
  width: 210px;
  height: 210px;
}
.ret {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ret circle,
.ret path {
  fill: none;
  stroke: rgba(242, 240, 236, 0.55);
  stroke-width: 1;
}
.ret-r0 {
  stroke: rgba(242, 240, 236, 0.18) !important;
}
.ret-r1 {
  stroke-dasharray: 2 6;
}
.ret-r2 {
  stroke-dasharray: 40 10 4 10;
  stroke: rgba(134, 87, 224, 0.9) !important;
  stroke-width: 1.5 !important;
}
.ret-r3 {
  stroke: rgba(242, 240, 236, 0.25) !important;
}
.ret-arc {
  stroke: var(--copy) !important;
  stroke-width: 2.5 !important;
}
.ret-arc--y {
  stroke: var(--yellow) !important;
}
.ret-ticks path {
  stroke: rgba(242, 240, 236, 0.35);
}
.ret-x {
  stroke: rgba(242, 240, 236, 0.4) !important;
}
.ret-spin-a {
  transform-origin: 120px 120px;
  animation: retSpin 24s linear infinite;
}
.ret-spin-b {
  transform-origin: 120px 120px;
  animation: retSpin 38s linear infinite reverse;
}
@keyframes retSpin {
  to {
    transform: rotate(360deg);
  }
}
.if-ret-read {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}
.if-ret-read .if-count {
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  color: var(--copy);
  font-variant-numeric: tabular-nums;
}
.if-ret-read small {
  margin-top: 6px;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--if-dim);
}
.if-read {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 18px;
  margin: 0;
}
.if-read dt {
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--if-dim);
}
.if-read dd {
  margin: 4px 0 0;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--copy);
  font-variant-numeric: tabular-nums;
}
.if-ok {
  color: #8be0a4 !important;
}
.if-mods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--if-line);
}
.if-mod {
  position: relative;
  padding: 14px 22px 16px;
}
.if-mod + .if-mod {
  border-left: 1px solid var(--if-line);
}
.if-mod-k {
  margin: 0;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--if-dim);
}
.if-mod-v {
  margin: 6px 0 10px;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--copy);
}
.if-spark {
  display: block;
  width: 100%;
  height: 22px;
}
.if-spark rect {
  fill: rgba(242, 240, 236, 0.55);
  transform-origin: 50% 100%;
  transform-box: fill-box;
}
.if-spark rect:last-child {
  fill: var(--yellow);
}
.iface.hud-in .if-spark rect,
.iface.cap-in .if-spark rect {
  animation: ifBar 700ms var(--ease-out) both;
  animation-delay: calc(700ms + var(--i) * 45ms);
}
@keyframes ifBar {
  from {
    transform: scaleY(0.05);
  }
  to {
    transform: scaleY(1);
  }
}
.gate.hud.iface--gate {
  left: 50%;
  top: 50%;
  bottom: auto;
  width: min(1180px, 86vw);
  transform: translate(-50%, -50%);
}
.gate.hud.iface--gate .if-display {
  margin: 14px 0 0;
  font-family: "Tektur", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 4.3vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--copy);
  text-align: left;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55);
}
.gate.hud.iface--gate .gate-rule {
  width: 100%;
  margin: 0;
}
.iface--gate .hud-sample {
  position: absolute;
  right: 22px;
  bottom: -26px;
  margin: 0;
}
.iface--gate .if-frame {
  --scan-h: 620px;
}
.copy-window.iface--trio {
  display: grid;
  place-items: center;
}
.iface--trio .if-frame {
  width: min(920px, 84vw);
  --scan-h: 340px;
}
.iface--data {
  --if-acc: var(--purple-lit);
}
.iface--design {
  --if-acc: var(--yellow);
}
.iface--disruption {
  --if-acc: var(--red);
}
.iface--trio .if-bar {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--if-acc) 22%, transparent),
    transparent 60%
  );
}
.iface--trio .if-body {
  grid-template-columns: minmax(0, 1fr) 220px;
  padding: 26px 30px 28px;
}
.iface--trio .trio-word {
  margin: 0;
  text-align: left;
  font-family: "Tektur", sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 5.8vw, 100px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.35);
}
.iface--trio .trio-headline {
  margin: 14px 0 0;
  text-align: left;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.15vw, 34px);
  line-height: 1.15;
  color: var(--copy);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.6);
}
.iface--trio .trio-support {
  margin: 10px 0 0;
  max-width: none;
  text-align: left;
  font-family: "Tomorrow", sans-serif;
  font-size: 16px;
  color: rgba(242, 240, 236, 0.85);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}
.if-spark--big {
  height: 120px;
}
.if-spark--big rect {
  fill: color-mix(in srgb, var(--purple-lit) 70%, white 10%);
}
.if-vis {
  width: 220px;
  height: 136px;
  overflow: visible;
}
.v-frame {
  fill: none;
  stroke: rgba(242, 240, 236, 0.45);
  stroke-width: 1;
}
.v-guide {
  fill: none;
  stroke: rgba(242, 240, 236, 0.5);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.v-guide--dim {
  stroke: rgba(242, 240, 236, 0.25);
}
.v-fill {
  fill: rgba(255, 221, 77, 0.16);
  stroke: var(--yellow);
  stroke-width: 1.5;
}
.v-dot {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2;
}
.v-ring {
  fill: none;
  stroke: rgba(242, 240, 236, 0.5);
  stroke-width: 1;
}
.v-ring--dim {
  stroke: rgba(242, 240, 236, 0.25);
  stroke-dasharray: 3 5;
}
.v-brk {
  fill: none;
  stroke: var(--red);
  stroke-width: 2.5;
}
.v-core {
  fill: var(--red);
}
.iface--disruption.cap-in .v-lock {
  transform-origin: 100px 62px;
  animation: vLock 900ms var(--ease-out) 500ms both;
}
@keyframes vLock {
  from {
    transform: scale(1.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.iface--design.cap-in .v-fill {
  animation: vFill 900ms var(--ease-out) 500ms both;
}
@keyframes vFill {
  from {
    opacity: 0;
    transform: scale(0.6);
    transform-origin: 2px 2px;
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.room.room--iface {
  background: transparent;
}
.room--iface::after {
  background: radial-gradient(
    ellipse 85% 75% at center 45%,
    rgba(5, 5, 8, 0.05) 0%,
    rgba(5, 5, 8, 0.45) 100%
  );
}
.room.room--iface {
  display: grid;
  place-items: center;
  overflow: hidden;
}
.room--iface .room-body.if-frame {
  position: relative;
  margin: 0;
  width: min(1240px, 92vw);
  max-height: 88vh;
  min-height: 0;
  overflow: hidden auto;
  padding: 0 0 28px;
  display: block;
  text-align: left;
  justify-items: initial;
  align-content: initial;
  --scan-h: 760px;
}
.room--iface .if-bar {
  position: sticky;
  top: 0;
  z-index: 3;
  background: linear-gradient(
    90deg,
    rgba(134, 87, 224, 0.18),
    rgba(12, 14, 26, 0.6) 60%
  );
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.room--iface .if-ruler {
  display: none;
}
.room--iface .room-body .if-kicker {
  margin: 26px 30px 0;
}
.room--iface .room-headline {
  margin: 12px 30px 0;
  text-align: left;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 3vw, 48px);
}
.room--iface .room-sub {
  margin: 10px 30px 22px;
  text-align: left;
  max-width: 64ch;
  color: rgba(242, 240, 236, 0.82);
}
.room--iface .room-x {
  position: fixed;
  right: 26px;
  top: 22px;
}
@media (prefers-reduced-motion: reduce) {
  .if-frame {
    clip-path: none !important;
    transition: none;
  }
  .ret-spin-a,
  .ret-spin-b,
  .if-scan,
  .if-spark rect {
    animation: none !important;
  }
}
@media (max-width: 900px) {
  .if-body {
    grid-template-columns: 1fr;
  }
  .if-side {
    display: none;
  }
  .if-mods {
    grid-template-columns: 1fr;
  }
  .if-mod + .if-mod {
    border-left: 0;
    border-top: 1px solid var(--if-line);
  }
  .if-coord {
    display: none;
  }
}
.if-term,
.if-wave {
  position: absolute;
  z-index: 2;
  background: rgba(8, 9, 16, 0.46);
  border: 1px solid var(--if-line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: "Tomorrow", sans-serif;
  color: rgba(242, 240, 236, 0.86);
}
.if-term {
  left: -72px;
  bottom: -176px;
  width: 360px;
}
.if-wave {
  right: -56px;
  top: -86px;
  width: 290px;
}
.if-term-bar {
  display: flex;
  justify-content: space-between;
  padding: 6px 10px;
  border-bottom: 1px solid var(--if-line);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--if-dim);
}
.if-term-bar span:first-child::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--purple-lit);
  box-shadow: 0 0 6px rgba(134, 87, 224, 0.9);
  vertical-align: 1px;
}
.if-term-out {
  margin: 0;
  padding: 9px 12px 11px;
  min-height: 112px;
  font-family: "Tomorrow", ui-monospace, monospace;
  font-size: 11.5px;
  line-height: 1.55;
  white-space: pre;
  color: rgba(242, 240, 236, 0.9);
}
.if-term-out .d {
  color: rgba(207, 201, 230, 0.62);
}
.if-term-out .y {
  color: var(--yellow);
}
.if-wave svg {
  display: block;
  width: 100%;
  height: 64px;
  padding: 6px 8px 8px;
  box-sizing: border-box;
  overflow: visible;
}
.w-grid {
  fill: none;
  stroke: rgba(242, 240, 236, 0.08);
  stroke-width: 1;
}
.w-line {
  fill: none;
  stroke: var(--copy);
  stroke-width: 1.4;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}
.w-line--b {
  stroke: var(--purple-lit);
  stroke-width: 1.2;
}
.iface.hud-in .w-line {
  animation: wDraw 1600ms var(--ease-out) 700ms forwards;
}
@keyframes wDraw {
  to {
    stroke-dashoffset: 0;
  }
}
.if-cmd {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 30px 11px;
  border-top: 1px solid var(--if-line);
  font-family: "Tomorrow", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(242, 240, 236, 0.78);
  background: rgba(8, 9, 16, 0.22);
}
.if-cmd-p {
  color: var(--if-acc);
  font-weight: 600;
}
.if-caret {
  width: 7px;
  height: 13px;
  margin-left: 2px;
  background: var(--if-acc);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .w-line {
    stroke-dashoffset: 0;
    animation: none !important;
  }
  .if-caret {
    animation: none;
  }
}
@media (max-width: 1200px) {
  .if-term,
  .if-wave {
    display: none;
  }
}
.iface,
.gate.hud,
.room--iface {
  --ink-hi: #f3f0ff;
  --ink: rgba(222, 216, 245, 0.86);
  --ink-lo: rgba(176, 168, 214, 0.72);
  --ink-glow: rgba(134, 87, 224, 0.45);
}
.gate.hud.iface--gate .if-display,
.iface--trio .trio-headline,
.room--iface .room-headline,
.gate.hud:not(.iface) .gate-line,
.if-mod-v,
.if-read dd,
.if-ret-read .if-count {
  background: linear-gradient(180deg, #ffffff 0%, #ebe6fb 45%, #bdb4e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 12px var(--ink-glow))
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.35));
}
.if-text,
.iface--trio .trio-support,
.room--iface .room-sub,
.gate.hud .gate-sub {
  color: var(--ink);
  text-shadow:
    0 0 10px rgba(134, 87, 224, 0.18),
    0 1px 10px rgba(0, 0, 0, 0.55);
}
.if-bar,
.if-mod-k,
.if-read dt,
.if-ret-read small,
.if-term-bar,
.if-coord,
.hud-next {
  color: var(--ink-lo);
}
.if-sys b,
.if-bar .hud-live {
  color: var(--ink-hi);
}
.if-term-out {
  color: var(--ink);
}
.if-term-out .d {
  color: var(--ink-lo);
}
.if-cmd {
  color: var(--ink);
}
.ret circle,
.ret path {
  stroke: rgba(205, 196, 240, 0.55);
}
.if-spark rect {
  fill: rgba(205, 196, 240, 0.5);
}
.w-line {
  stroke: rgba(236, 232, 252, 0.9);
}
.gate.hud.iface--gate {
  width: min(1380px, 90vw);
}
.iface--gate .if-frame {
  --scan-h: 760px;
}
.iface--gate .if-body {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  align-items: stretch;
}
.iface--gate .if-main {
  padding: 34px 40px 30px;
}
.iface--gate .if-side {
  padding: 26px 30px 24px;
  border-left: 1px solid var(--if-line);
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: center;
  align-content: start;
  gap: 16px;
}
.iface--gate .if-ret {
  width: 190px;
  height: 190px;
}
.iface--gate .if-read {
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.iface--gate .if-wave {
  position: static;
  width: 100%;
  background: rgba(8, 9, 16, 0.3);
  align-self: end;
}
.iface--gate .if-wave svg {
  height: 58px;
}
.gate.hud.iface--gate .if-display {
  font-size: clamp(38px, 3.4vw, 74px);
  white-space: nowrap;
}
.iface--gate .if-text {
  margin: 20px 0 24px;
  max-width: 60ch;
  font-size: 16.5px;
}
.if-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  border-top: 1px solid var(--if-line);
}
.iface--gate .if-mods {
  border-top: 0;
}
.iface--gate .if-mod {
  padding: 16px 24px 18px;
}
.iface--gate .if-term {
  position: static;
  width: auto;
  border: 0;
  border-left: 1px solid var(--if-line);
  background: rgba(8, 9, 16, 0.34);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.iface--gate .if-term-out {
  min-height: 0;
  padding: 8px 14px 10px;
  font-size: 11px;
  line-height: 1.5;
}
.iface--gate .hud-sample {
  bottom: -24px;
}
.iface--gate .if-coord--l {
  left: -16px;
}
.iface--gate .if-coord--r {
  right: -16px;
}
@media (max-width: 1200px) {
  .iface--gate .if-term {
    display: block;
  }
}
@media (max-width: 900px) {
  .if-foot {
    grid-template-columns: 1fr;
  }
  .iface--gate .if-term {
    display: none;
  }
  .iface--gate .if-body {
    grid-template-columns: 1fr;
  }
}
.if-live .if-spark rect {
  animation: none !important;
  transition: transform 700ms cubic-bezier(0.45, 0, 0.25, 1);
}
.if-live .w-line {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  animation: none !important;
}
.if-bar .if-seg:not(.if-seg--3) i:nth-child(-n + 5) {
  background: rgba(242, 240, 236, 0.18);
  box-shadow: none;
}
.if-bar .if-seg:not(.if-seg--3) i.lit {
  background: var(--purple-lit);
  box-shadow: 0 0 6px rgba(134, 87, 224, 0.8);
}
.if-scan.again {
  animation: ifScan 1100ms cubic-bezier(0.4, 0, 0.2, 1) 0ms 1 both !important;
}
.if-ret-read .if-count {
  font-size: 38px;
}
.iface--design.cap-in .v-dot {
  animation: vDrift 6s ease-in-out 1.4s infinite alternate;
}
@keyframes vDrift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-46px, -32px);
  }
}
.iface--disruption.cap-in .v-core {
  transform-origin: 100px 62px;
  animation: vPulse 1.6s ease-in-out 1.4s infinite;
}
@keyframes vPulse {
  50% {
    transform: scale(1.8);
    opacity: 0.55;
  }
}
.iface--disruption.cap-in .v-ring--dim {
  transform-origin: 100px 62px;
  animation: retSpin 14s linear infinite;
}
.hud-live i {
  animation: hudLive 1.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .if-live .if-spark rect {
    transition: none;
  }
  .v-dot,
  .v-core,
  .v-ring--dim {
    animation: none !important;
  }
}
.gate.hud.iface--dash {
  left: clamp(28px, 3.2vw, 56px);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: clamp(440px, 34vw, 580px);
}
.iface--dash .if-frame {
  --scan-h: 720px;
}
.iface--dash .if-bar {
  padding: 11px 20px;
  gap: 12px;
}
.iface--dash .if-pad {
  padding: 22px 26px 4px;
}
.gate.hud.iface--dash .if-head {
  margin: 12px 0 0;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 2.3vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.gate.hud.iface--dash .if-sub {
  margin-top: 8px;
  font-size: 14.5px;
}
.gate.hud.iface--dash .gate-rule {
  width: 100%;
  height: 2px;
  margin: 16px 0 14px;
}
.iface--dash .if-text {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.6;
  max-width: none;
}
.if-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--if-line);
  border-bottom: 1px solid var(--if-line);
}
.if-stat {
  padding: 12px 14px 12px 26px;
  min-width: 0;
}
.if-stat + .if-stat {
  border-left: 1px solid var(--if-line);
  padding-left: 14px;
}
.if-stat dt {
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-lo);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.if-stat dd {
  margin: 5px 0 8px;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 20px;
  white-space: nowrap;
  background: linear-gradient(180deg, #fff 0%, #ebe6fb 45%, #bdb4e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px var(--ink-glow));
}
.if-stat .if-spark {
  height: 16px;
}
.if-list {
  list-style: none;
  margin: 0;
  padding: 8px 26px 4px;
  display: grid;
  grid-template-columns: 1fr;
}
.if-list li {
  position: relative;
  padding: 7px 0 7px 18px;
  font-family: "Tomorrow", sans-serif;
  font-size: 13.5px;
  color: var(--ink);
  border-bottom: 1px dashed rgba(242, 240, 236, 0.1);
}
.if-list li:last-child {
  border-bottom: 0;
}
.if-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-left: 1.5px solid var(--yellow);
  border-top: 1.5px solid var(--yellow);
}
.if-act {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 26px 16px;
}
.gate.hud.iface--dash .hud-cta {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 16px;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255, 221, 77, 0.08);
  border: 1px solid rgba(255, 221, 77, 0.75);
  transition:
    background var(--motion-fast),
    color var(--motion-fast),
    box-shadow var(--motion-fast);
}
.gate.hud.iface--dash .hud-cta:hover,
.gate.hud.iface--dash .hud-cta:focus-visible {
  background: var(--yellow);
  color: #0b0b12;
  box-shadow: 0 0 22px rgba(255, 221, 77, 0.45);
}
.gate.hud.iface--dash .hud-cta:focus-visible {
  outline: 2px solid var(--ink-hi);
  outline-offset: 3px;
}
.gate.hud.iface--dash .gate-cta {
  all: unset;
}
.gate.hud.iface--dash .gate-cta::before {
  display: none;
}
.iface--dash .hud-next {
  color: var(--ink-lo);
}
.iface--dash .if-cmd {
  padding: 8px 26px 10px;
}
.iface--dash .hud-sample {
  position: absolute;
  left: 26px;
  bottom: -24px;
  margin: 0;
}
.gate.hud.iface--dash.pulse .hud-cta {
  animation: hudPulse 500ms var(--ease-in-out) 2;
}
@media (max-height: 900px) {
  .iface--dash .if-list {
    display: none;
  }
}
@media (max-height: 740px) {
  .iface--dash .if-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .iface--dash .if-cmd {
    display: none;
  }
}
.room--console .room-body.if-frame {
  width: min(1380px, 92vw);
  padding: 0;
}
.if-close {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  padding: 5px 10px 5px 12px;
  border: 1px solid rgba(242, 240, 236, 0.35);
  color: var(--ink-hi);
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    background 150ms,
    color 150ms,
    border-color 150ms;
}
.if-close svg {
  width: 12px;
  height: 12px;
}
.if-close:hover,
.if-close:focus-visible {
  background: var(--yellow);
  color: #0b0b12;
  border-color: var(--yellow);
}
.cn-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}
.cn-left {
  padding: 28px 30px 24px;
  border-right: 1px solid var(--if-line);
}
.room--console .room-headline {
  margin: 12px 0 0;
  text-align: left;
  font-family: "Tektur", sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3vw, 52px);
  line-height: 1.04;
}
.room--console .room-sub {
  margin: 10px 0 20px;
  text-align: left;
  font-size: 15px;
}
.cn-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--if-line);
}
.cn-row {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr 90px;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 14px;
  border-bottom: 1px solid var(--if-line);
  position: relative;
  transition: background 160ms;
}
.cn-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition:
    background 160ms,
    box-shadow 160ms;
}
.cn-num {
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-lo);
}
.cn-name {
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}
.cn-meter {
  height: 3px;
  background: rgba(242, 240, 236, 0.12);
  position: relative;
  overflow: hidden;
}
.cn-meter i {
  position: absolute;
  inset: 0;
  transform-origin: left;
  transform: scaleX(0.35);
  background: rgba(205, 196, 240, 0.6);
  transition:
    transform 500ms var(--ease-out),
    background 160ms;
}
.cn-row:hover,
.cn-row:focus-visible {
  background: rgba(134, 87, 224, 0.1);
}
.cn-row.is-on {
  background: linear-gradient(
    90deg,
    rgba(255, 221, 77, 0.1),
    rgba(255, 221, 77, 0) 70%
  );
}
.cn-row.is-on::before {
  background: var(--yellow);
  box-shadow: 0 0 10px rgba(255, 221, 77, 0.7);
}
.cn-row.is-on .cn-num {
  color: var(--yellow);
}
.cn-row.is-on .cn-name {
  color: var(--ink-hi);
}
.cn-row.is-on .cn-meter i {
  transform: scaleX(1);
  background: var(--yellow);
}
.cn-row:focus-visible {
  outline: 1px solid var(--yellow);
  outline-offset: -1px;
}
.cn-right {
  display: grid;
  grid-template-rows: auto 1fr;
}
.cn-top {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 22px;
  padding: 22px 30px;
  border-bottom: 1px solid var(--if-line);
}
.cn-ret {
  width: 200px;
  height: 200px;
  overflow: visible;
}
.cn-ring,
.cn-ring3 {
  fill: none;
  stroke: rgba(205, 196, 240, 0.35);
  stroke-width: 1;
}
.cn-ring3 {
  stroke-dasharray: 2 6;
}
.cn-ring2 {
  fill: none;
  stroke: rgba(134, 87, 224, 0.85);
  stroke-width: 1.5;
  stroke-dasharray: 40 10 4 10;
}
.cn-node circle {
  fill: rgba(8, 9, 16, 0.85);
  stroke: rgba(205, 196, 240, 0.7);
  stroke-width: 1.2;
  transition:
    fill 200ms,
    stroke 200ms;
}
.cn-node text {
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 7.5px;
  fill: var(--ink);
  text-anchor: middle;
  dominant-baseline: central;
}
.cn-node.is-on circle {
  fill: var(--yellow);
  stroke: var(--yellow);
  filter: drop-shadow(0 0 6px rgba(255, 221, 77, 0.8));
}
.cn-node.is-on text {
  fill: #0b0b12;
}
.cn-count {
  margin: 0;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 46px;
  line-height: 1;
  background: linear-gradient(180deg, #fff, #bdb4e2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px var(--ink-glow));
}
.cn-count small {
  font-size: 20px;
}
.cn-cap {
  margin: 8px 0 0;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.cn-detail {
  padding: 24px 30px 26px;
}
.cn-dname {
  margin: 10px 0 0;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 2.2vw, 38px);
  line-height: 1.08;
  background: linear-gradient(180deg, #fff 0%, #ebe6fb 45%, #bdb4e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px var(--ink-glow));
}
.cn-dcopy {
  margin: 12px 0 16px;
  max-width: 60ch;
  font-family: "Tomorrow", sans-serif;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink);
}
.cn-chips {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cn-chips li {
  padding: 5px 9px;
  border: 1px solid var(--if-line);
  background: rgba(12, 14, 26, 0.4);
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.cn-graph {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 14px;
}
.cn-graph span {
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.cn-graph .if-spark {
  height: 28px;
}
.cn-detail.swap > * {
  animation: mmSwap 360ms var(--ease-out) both;
}
.cn-detail.swap > *:nth-child(2) {
  animation-delay: 30ms;
}
.cn-detail.swap > *:nth-child(3) {
  animation-delay: 60ms;
}
.cn-detail.swap > *:nth-child(4) {
  animation-delay: 90ms;
}
.cn-detail.swap > *:nth-child(5) {
  animation-delay: 120ms;
}
.room--console .if-cmd {
  border-top: 1px solid var(--if-line);
}
@media (max-width: 900px) {
  .cn-body {
    grid-template-columns: 1fr;
  }
  .cn-left {
    border-right: 0;
  }
  .cn-top {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cn-detail.swap > * {
    animation: none;
  }
}
.room--iface .room-x.if-close {
  position: static;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  flex: none;
  display: inline-flex;
  color: var(--ink-hi);
  border: 1px solid rgba(242, 240, 236, 0.35);
}
.room--iface .room-x.if-close:hover {
  background: var(--yellow);
  color: #0b0b12;
  border-color: var(--yellow);
}
.room--iface .room-x.if-close:focus-visible {
  background: transparent;
  color: var(--ink-hi);
  outline: 1px solid var(--yellow);
  outline-offset: 2px;
}
.room--console .if-bar .if-loc {
  flex: 1 1 auto;
}
.cn-top {
  border-bottom-color: rgba(242, 240, 236, 0.18);
}
.cn-right {
  grid-template-rows: auto auto;
  align-content: start;
}
.room--iface .if-bar .if-loc {
  flex: 1 1 auto;
}
.rm .room-body.if-frame {
  width: min(1380px, 92vw);
  padding: 0;
  --scan-h: 900px;
}
.rm .if-kicker {
  margin: 0;
}
.rm .room-headline {
  margin: 10px 0 0;
  text-align: left;
  font-family: "Tektur", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 2.7vw, 48px);
  line-height: 1.04;
}
.rm .room-sub {
  margin: 0;
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
  max-width: 56ch;
}
.rm .if-cmd {
  border-top: 1px solid var(--if-line);
}
.rm-sample {
  position: absolute;
  left: calc(50% - min(690px, 46vw) + 4px);
  bottom: max(calc(6vh - 26px), 8px);
  margin: 0;
  font-family: "Tomorrow", sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 61, 46, 0.85);
  z-index: 6;
}
.rm-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
  padding: 26px 30px 22px;
  border-bottom: 1px solid var(--if-line);
}
.rm-split {
  display: grid;
}
.sw-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sw-btn {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 100%;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--if-line);
  position: relative;
  transition: background 160ms;
}
.sw-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition:
    background 160ms,
    box-shadow 160ms;
}
.sw-n {
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-lo);
}
.sw-t {
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.25;
  color: var(--ink);
}
.sw-d {
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.sw-btn:hover,
.sw-btn:focus-visible {
  background: rgba(134, 87, 224, 0.1);
}
.sw-btn.is-on {
  background: linear-gradient(
    90deg,
    rgba(255, 221, 77, 0.1),
    rgba(255, 221, 77, 0) 70%
  );
}
.sw-btn.is-on::before {
  background: var(--yellow);
  box-shadow: 0 0 10px rgba(255, 221, 77, 0.7);
}
.sw-btn.is-on .sw-n {
  color: var(--yellow);
}
.sw-btn.is-on .sw-t {
  color: var(--ink-hi);
}
.sw-btn:focus-visible {
  outline: 1px solid var(--yellow);
  outline-offset: -1px;
}
.sw-out {
  padding: 26px 30px;
  min-width: 0;
}
.sw-name {
  margin: 10px 0 0;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2vw, 36px);
  line-height: 1.1;
  background: linear-gradient(180deg, #fff 0%, #ebe6fb 45%, #bdb4e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px var(--ink-glow));
}
.sw-copy {
  margin: 12px 0 0;
  max-width: 58ch;
  font-family: "Tomorrow", sans-serif;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink);
}
.sw-out.swap > * {
  animation: mmSwap 360ms var(--ease-out) both;
}
.sw-out.swap > *:nth-child(2) {
  animation-delay: 30ms;
}
.sw-out.swap > *:nth-child(3) {
  animation-delay: 60ms;
}
.sw-out.swap > *:nth-child(4) {
  animation-delay: 90ms;
}
.sw-out.swap > *:nth-child(5) {
  animation-delay: 120ms;
}
.pg-kpis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--if-line);
}
.pg-kpi {
  padding: 16px 20px 14px;
}
.pg-kpi + .pg-kpi {
  border-left: 1px solid var(--if-line);
}
.pg-num {
  margin: 0;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 2.3vw, 40px);
  line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #ebe6fb 45%, #bdb4e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px var(--ink-glow));
}
.pg-cap {
  margin: 6px 0 10px;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.pg-kpi .if-spark {
  height: 18px;
}
.pg-note {
  margin: 0;
  padding: 9px 30px;
  border-bottom: 1px solid var(--if-line);
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-lo);
  background: rgba(8, 9, 16, 0.22);
}
.pg-note::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 221, 77, 0.8);
  vertical-align: 1px;
}
.rm--pg .rm-split {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr) minmax(0, 0.8fr);
}
.rm--pg .sw-list {
  border-right: 1px solid var(--if-line);
}
.rm--pg .sw-btn {
  padding: 8px 14px;
  grid-template-columns: 40px 1fr;
}
.rm--pg .sw-t {
  font-size: 14px;
}
.pg-side {
  padding: 26px 26px;
  border-left: 1px solid var(--if-line);
}
.pg-side .if-kicker {
  margin-bottom: 14px;
}
.pg-close {
  margin: 4px 0 0;
  font-family: "Tomorrow", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}
.cl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--if-line);
  padding: 0 30px;
}
.cl-tab {
  all: unset;
  cursor: pointer;
  padding: 12px 16px;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition:
    color 150ms,
    border-color 150ms;
}
.cl-tab:hover {
  color: var(--ink-hi);
}
.cl-tab.is-on {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}
.cl-tab:focus-visible {
  outline: 1px solid var(--yellow);
  outline-offset: -3px;
}
.cl-wall {
  list-style: none;
  margin: 0;
  padding: 22px 30px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.cl-tile {
  position: relative;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid var(--if-line);
  background: rgba(12, 14, 26, 0.34);
  transition:
    opacity 300ms,
    background 200ms,
    border-color 200ms;
}
.cl-tile::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 9px;
  height: 9px;
  border-left: 2px solid var(--copy);
  border-top: 2px solid var(--copy);
}
.cl-logo {
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.cl-sec {
  position: absolute;
  left: 10px;
  bottom: 7px;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.cl-tile:hover {
  background: rgba(134, 87, 224, 0.14);
  border-color: rgba(242, 240, 236, 0.4);
}
.cl-tile.is-off {
  opacity: 0.18;
}
.cl-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--if-line);
}
.cl-stats > div {
  padding: 14px 30px;
}
.cl-stats > div + div {
  border-left: 1px solid var(--if-line);
}
.cl-stats dt {
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.cl-stats dd {
  margin: 4px 0 0;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #ebe6fb 45%, #bdb4e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px var(--ink-glow));
}
.rm--rl .rm-split {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
}
.rl-side {
  border-left: 1px solid var(--if-line);
  padding: 26px 0 0;
}
.rl-side .if-kicker,
.rl-side .room-headline {
  padding: 0 26px;
}
.rl-side .room-headline {
  margin-bottom: 20px;
}
.rl-side .sw-list {
  border-top: 1px solid var(--if-line);
}
.rl-side .sw-btn {
  grid-template-columns: 34px 1fr auto;
  padding: 12px 22px 12px 26px;
}
.rl-player {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 0 20px;
  border: 1px solid var(--if-line);
  background: linear-gradient(
      180deg,
      rgba(85, 54, 157, 0.28),
      rgba(8, 9, 16, 0.55)
    ),
    repeating-linear-gradient(
      0deg,
      rgba(242, 240, 236, 0.035) 0 1px,
      transparent 1px 4px
    );
  display: grid;
  place-items: center;
  overflow: hidden;
}
.rl-player::before,
.rl-player::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid var(--copy);
}
.rl-player::before {
  left: 10px;
  top: 10px;
  border-left-width: 2px;
  border-top-width: 2px;
}
.rl-player::after {
  right: 10px;
  bottom: 10px;
  border-right-width: 2px;
  border-bottom-width: 2px;
}
.rl-play {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1px solid rgba(255, 221, 77, 0.7);
  background: rgba(255, 221, 77, 0.1);
  box-shadow: 0 0 30px rgba(255, 221, 77, 0.25);
  position: relative;
  cursor: pointer;
  transition:
    background 200ms,
    transform 200ms;
}
.rl-play::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 27px;
  border-left: 26px solid var(--yellow);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}
.rl-player:hover .rl-play {
  background: rgba(255, 221, 77, 0.2);
  transform: scale(1.05);
}
.rl-tc {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.rl-hint {
  position: absolute;
  right: 18px;
  top: 14px;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.rm--rl .sw-out {
  padding: 26px 30px 24px;
}
.rm--rl .sw-name {
  font-size: clamp(22px, 1.7vw, 30px);
}
.rm--rl .sw-copy {
  margin-top: 8px;
}
.rm--cf .rm-split {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
}
.rm--cf .sw-list {
  border-right: 1px solid var(--if-line);
}
.rm--cf .sw-btn {
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto;
  row-gap: 3px;
  padding: 14px 16px;
}
.rm--cf .sw-btn .sw-d {
  grid-column: 2;
}
.rm--cf .sw-btn .sw-n {
  grid-row: 1 / span 2;
}
.cf-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 20px 0 0;
  border-top: 1px solid var(--if-line);
}
.cf-cols > div {
  padding: 14px 18px 0 0;
}
.cf-cols > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--if-line);
}
.cf-cols p {
  margin: 0;
  font-family: "Tomorrow", sans-serif;
  font-size: 14px;
  line-height: 1.58;
  color: var(--ink);
}
.cf-cols .cf-k {
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.cf-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0 0;
}
.cf-m {
  padding: 14px 16px;
  border: 1px solid var(--if-line);
  background: rgba(12, 14, 26, 0.34);
  position: relative;
}
.cf-m::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 9px;
  height: 9px;
  border-left: 2px solid var(--copy);
  border-top: 2px solid var(--copy);
}
.cf-m dt {
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.cf-m dd {
  margin: 6px 0 10px;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #ebe6fb 45%, #bdb4e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px var(--ink-glow));
}
.cf-bar {
  display: block;
  height: 3px;
  background: rgba(242, 240, 236, 0.12);
  overflow: hidden;
}
.cf-bar i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(var(--v));
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 221, 77, 0.6);
  animation: cfBar 900ms var(--ease-out) 200ms both;
}
@keyframes cfBar {
  from {
    transform: scaleX(0);
  }
}
.rm--mf .rm-split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  min-height: min(560px, 62vh);
}
.rm--mf .sw-out {
  position: relative;
  padding: 56px 56px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.rm--ct .rm-split {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}
.ct-form-wrap {
  padding: 26px 30px 26px;
  border-right: 1px solid var(--if-line);
}
.ct-form-wrap .room-sub {
  margin: 10px 0 0;
}
.ct-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin-top: 22px;
}
.ct-form label {
  display: grid;
  gap: 6px;
}
.ct-form label > span {
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.ct-form input,
.ct-form select,
.ct-form textarea {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--if-line);
  background: rgba(8, 9, 16, 0.36);
  font-family: "Tomorrow", sans-serif;
  font-size: 14.5px;
  color: var(--ink-hi);
  transition:
    border-color 150ms,
    background 150ms;
}
.ct-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-lo) 50%),
    linear-gradient(135deg, var(--ink-lo) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.ct-form select option {
  background: #14121f;
  color: #f2f0ec;
}
.ct-form textarea {
  min-height: 84px;
  resize: vertical;
  line-height: 1.5;
}
.ct-form input:focus,
.ct-form select:focus,
.ct-form textarea:focus {
  border-color: var(--yellow);
  background: rgba(255, 221, 77, 0.05);
}
.ct-wide {
  grid-column: 1 / -1;
}
.ct-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}
.ct-send {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 16px;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255, 221, 77, 0.08);
  border: 1px solid rgba(255, 221, 77, 0.7);
  transition:
    background 160ms,
    color 160ms;
}
.ct-send .hud-cta-arrow {
  width: 24px;
  height: 14px;
}
.ct-send:hover {
  background: var(--yellow);
  color: #0b0b12;
}
.ct-send:focus-visible {
  outline: 2px solid var(--ink-hi);
  outline-offset: 3px;
}
.ct-status {
  margin: 0;
  font-family: "Tomorrow", sans-serif;
  font-size: 13px;
  color: var(--ink);
}
.ct-status.is-err {
  color: #ff8a7e;
}
.ct-side {
  display: grid;
  grid-template-rows: repeat(3, auto);
  align-content: start;
}
.ct-card {
  padding: 22px 26px;
  border-bottom: 1px solid var(--if-line);
}
.ct-card:last-child {
  border-bottom: 0;
}
.ct-big {
  margin: 10px 0 0;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.15;
  color: var(--ink-hi);
  word-break: break-word;
}
.ct-note {
  margin: 8px 0 0;
  font-family: "Tomorrow", sans-serif;
  font-size: 13px;
  color: var(--ink);
}
.ct-note .hud-live {
  color: var(--ink-hi);
}
.ct-copy {
  all: unset;
  cursor: pointer;
  margin-top: 12px;
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(242, 240, 236, 0.35);
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-hi);
  transition:
    background 150ms,
    color 150ms;
}
.ct-copy:hover {
  background: var(--yellow);
  color: #0b0b12;
  border-color: var(--yellow);
}
.ct-copy:focus-visible {
  outline: 1px solid var(--yellow);
  outline-offset: 2px;
}
@media (max-width: 900px) {
  .rm-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pg-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .rm--pg .rm-split,
  .rm--rl .rm-split,
  .rm--cf .rm-split,
  .rm--mf .rm-split,
  .rm--ct .rm-split {
    grid-template-columns: 1fr;
  }
  .pg-side,
  .rl-side {
    border-left: 0;
  }
  .ct-form-wrap,
  .rm--cf .sw-list,
  .rm--pg .sw-list {
    border-right: 0;
  }
  .cl-wall {
    grid-template-columns: repeat(3, 1fr);
  }
  .cl-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cf-cols,
  .cf-metrics,
  .ct-form {
    grid-template-columns: 1fr;
  }
  .cf-cols > div + div {
    padding-left: 0;
    border-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sw-out.swap > *,
  .cf-bar i {
    animation: none;
  }
}
.rm {
  --if-line: rgba(242, 240, 236, 0.18);
}
.rm--pg .rm-head {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}
.rm--pg .room-headline {
  font-size: clamp(28px, 2.3vw, 42px);
}
.rm .if-scan {
  animation-name: rmScan !important;
}
@keyframes rmScan {
  0% {
    opacity: 1;
    top: -90px;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: calc(100% - 90px);
  }
}
.rm .room-body .if-kicker {
  margin: 0;
}
.rm-sample {
  position: static;
  margin: 0 0 0 auto;
  padding-left: 20px;
}
.rm .if-cmd {
  padding-right: 30px;
}
.rm--pg .sw-out {
  align-self: start;
}
.rm .room-body > .if-c {
  display: none;
}
.ct-tel {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    border-color 150ms,
    color 150ms;
}
.ct-tel:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}
.ct-tel:focus-visible {
  outline: 1px solid var(--yellow);
  outline-offset: 3px;
}
.ct-temp {
  margin: 8px 0 0;
  font-family: "Tomorrow", sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 61, 46, 0.85);
}
.room--iface {
  --if-line: rgba(242, 240, 236, 0.18);
}
.rm .room-body.if-frame {
  width: min(1500px, 94vw);
  max-height: 90vh;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.rm--pg .cn-chips li {
  position: relative;
  overflow: hidden;
}
.room.open .rm--pg .cn-chips li::after,
.rm--pg.open .cn-chips li::after {
  content: "";
  position: absolute;
  left: -10px;
  bottom: 0;
  width: 10px;
  height: 2px;
  background: var(--yellow);
  box-shadow: 0 0 6px rgba(255, 221, 77, 0.9);
  animation: pgPacket 2.6s linear infinite;
}
.rm--pg.open .cn-chips li:nth-child(2)::after {
  animation-delay: 0.35s;
}
.rm--pg.open .cn-chips li:nth-child(3)::after {
  animation-delay: 0.7s;
}
.rm--pg.open .cn-chips li:nth-child(4)::after {
  animation-delay: 1.05s;
}
.rm--pg.open .cn-chips li:nth-child(5)::after {
  animation-delay: 1.4s;
}
.rm--pg.open .cn-chips li:nth-child(6)::after {
  animation-delay: 1.75s;
}
.rm--pg.open .cn-chips li:nth-child(7)::after {
  animation-delay: 2.1s;
}
.rm--pg.open .cn-chips li:nth-child(8)::after {
  animation-delay: 2.45s;
}
@keyframes pgPacket {
  0% {
    transform: translateX(0);
  }
  60%,
  100% {
    transform: translateX(160px);
  }
}
.rm--pg .sw-out {
  position: relative;
}
.rm--pg .sw-out::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, transparent, var(--yellow), transparent);
  opacity: 0;
}
.rm--pg.open .sw-out::before {
  animation: pgFlow 3.2s ease-in-out infinite;
}
@keyframes pgFlow {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(260px);
  }
}
.pg-note {
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
}
.pg-note::before {
  display: none;
}
.pg-tick {
  display: inline-flex;
  animation: pgTick 38s linear infinite;
}
.pg-run {
  display: inline-flex;
}
.pg-it {
  padding: 9px 34px 9px 0;
}
.pg-it::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 10px 0 0;
  background: rgba(205, 196, 240, 0.6);
  vertical-align: 1px;
}
.pg-it--real::before {
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 221, 77, 0.8);
}
.pg-it b {
  font-weight: 500;
  color: var(--ink-hi);
}
@keyframes pgTick {
  to {
    transform: translateX(-50%);
  }
}
.cl-tile::after {
  content: "SYNC";
  position: absolute;
  right: 9px;
  top: 7px;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--yellow);
  opacity: 0;
  transition: opacity 250ms;
}
.cl-tile.sync {
  border-color: rgba(255, 221, 77, 0.65);
  background: rgba(255, 221, 77, 0.06);
  box-shadow: inset 0 0 22px rgba(255, 221, 77, 0.1);
}
.cl-tile.sync::after {
  opacity: 1;
}
.cl-tile.sync::before {
  border-color: var(--yellow);
}
.cl-tile {
  transition:
    opacity 300ms,
    background 300ms,
    border-color 300ms,
    box-shadow 300ms;
}
.rl-main {
  min-width: 0;
  padding: 26px 30px 0;
}
.rm--rl .rl-main .sw-out {
  padding: 0 0 22px;
}
.rl-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.rl-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 9, 16, 0.35),
    rgba(8, 9, 16, 0) 30%,
    rgba(8, 9, 16, 0) 65%,
    rgba(8, 9, 16, 0.7)
  );
}
.rl-play {
  all: unset;
  z-index: 2;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1px solid rgba(255, 221, 77, 0.7);
  background: rgba(8, 9, 16, 0.35);
  box-shadow: 0 0 30px rgba(255, 221, 77, 0.25);
  position: relative;
  cursor: pointer;
  transition:
    background 200ms,
    transform 200ms;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.rl-play:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}
.rl-hint {
  z-index: 2;
}
.rl-rec {
  position: absolute;
  left: 18px;
  top: 14px;
  z-index: 2;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-hi);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.rl-rec i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(240, 61, 46, 0.9);
  animation: rlRec 1.2s steps(2) infinite;
}
@keyframes rlRec {
  50% {
    opacity: 0.2;
  }
}
.rl-ctl {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
}
.rl-ctl .rl-tc {
  position: static;
}
.rl-dur {
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-lo);
}
.rl-bar {
  height: 3px;
  background: rgba(242, 240, 236, 0.18);
  overflow: hidden;
}
.rl-bar i {
  display: block;
  height: 100%;
  background: var(--yellow);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 260ms linear;
  box-shadow: 0 0 8px rgba(255, 221, 77, 0.7);
}
.rl-vu {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}
.rl-vu i {
  width: 3px;
  height: 16px;
  background: rgba(205, 196, 240, 0.75);
  transform-origin: bottom;
  transform: scaleY(0.2);
  transition: transform 240ms;
}
.rl-vu i:nth-child(n + 7) {
  background: var(--yellow);
}
.rl-player::before,
.rl-player::after {
  z-index: 2;
}
.cf-chart {
  margin: 18px 0 0;
}
.cf-chart .cf-k {
  margin: 0 0 6px;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.cf-chart svg {
  display: block;
  width: 100%;
  height: 64px;
  overflow: visible;
  border-bottom: 1px solid var(--if-line);
}
.cf-line {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: cfDraw 1400ms var(--ease-out) 300ms forwards;
  filter: drop-shadow(0 0 4px rgba(255, 221, 77, 0.6));
}
.cf-area {
  fill: rgba(134, 87, 224, 0.16);
  opacity: 0;
  animation: cfFade 900ms ease 900ms forwards;
}
.cf-pt {
  fill: var(--yellow);
  opacity: 0;
  animation:
    cfFade 400ms ease 1600ms forwards,
    cfBlink 1.6s ease-in-out 2s infinite;
}
@keyframes cfDraw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes cfFade {
  to {
    opacity: 1;
  }
}
@keyframes cfBlink {
  50% {
    opacity: 0.25;
  }
}
.ct-hb {
  margin: 10px 0 0;
  height: 40px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 15%,
    #000 85%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 15%,
    #000 85%,
    transparent
  );
}
.ct-hb svg {
  width: 200%;
  height: 40px;
  animation: ctHb 2.4s linear infinite;
}
.ct-ecg {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px rgba(255, 221, 77, 0.7));
}
@keyframes ctHb {
  to {
    transform: translateX(-50%);
  }
}
.ct-reads {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 22px;
  margin: 10px 0 0;
}
.ct-reads dt {
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.ct-reads dd {
  margin: 3px 0 0;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-hi);
}
.ct-on::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #5ee08a;
  box-shadow: 0 0 8px rgba(94, 224, 138, 0.9);
  animation: rlRec 1.6s ease-in-out infinite;
}
.rm--ct .ct-side {
  grid-template-rows: none;
}
.rm--ct .ct-card {
  padding: 18px 26px;
}
.ct-msg {
  position: relative;
}
.ct-cur {
  position: absolute;
  left: 13px;
  top: 32px;
  width: 8px;
  height: 16px;
  background: var(--yellow);
  opacity: 0;
  pointer-events: none;
}
.rm--ct.open .ct-msg textarea:placeholder-shown:not(:focus) + .ct-cur {
  opacity: 1;
  animation: rlRec 1s steps(2) infinite;
}
.rm--mf .room-body.if-frame {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 90vh;
  max-height: 90vh;
  overflow: hidden;
}
.mf2 {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  min-height: 0;
}
.mf2-side {
  padding: 28px 28px;
  border-right: 1px solid var(--if-line);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mf2-side .room-headline {
  margin-top: 12px;
  font-size: clamp(30px, 2.4vw, 42px);
}
.mf2-note {
  margin: 14px 0 0;
  font-family: "Tomorrow", sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
}
.mf2-read {
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.mf2-read dt {
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.mf2-read dd {
  margin: 4px 0 0;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink-hi);
}
.mf2-at {
  color: var(--yellow);
}
.mf2-sig::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 221, 77, 0.9);
  animation: rlRec 1.4s ease-in-out infinite;
  vertical-align: 2px;
}
.mf2-meter {
  margin: 22px 0 0;
  width: 3px;
  flex: 1 1 auto;
  min-height: 80px;
  background: rgba(242, 240, 236, 0.12);
  position: relative;
  overflow: hidden;
}
.mf2-meter i {
  position: absolute;
  inset: 0;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 221, 77, 0.7);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 400ms var(--ease-out);
}
.mf2-spark {
  margin-top: 18px;
  height: 28px;
}
.mf2-scroll {
  position: relative;
  min-height: 0;
  overflow-y: auto;
  padding: 8vh 56px 34vh 40px;
  scrollbar-width: thin;
  scrollbar-color: rgba(205, 196, 240, 0.3) transparent;
  outline: none;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0,
    #000 7%,
    #000 84%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0,
    #000 7%,
    #000 84%,
    transparent 100%
  );
}
.mf2-scroll:focus-visible {
  box-shadow: inset 0 0 0 1px var(--yellow);
}
.mf-l {
  position: relative;
  margin: 0 0 14px;
  padding-left: 56px;
  max-width: 980px;
  font-family: "Tektur", sans-serif;
  font-weight: 500;
  font-size: clamp(19px, 1.45vw, 25px);
  line-height: 1.42;
}
.mf-tx {
  background-image: linear-gradient(
    90deg,
    #f6f3ff 0%,
    #e4def9 46%,
    rgba(205, 196, 240, 0.2) 54%,
    rgba(205, 196, 240, 0.2) 100%
  );
  background-size: 220% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transition: background-position 1200ms cubic-bezier(0.3, 0.6, 0.2, 1);
}
.mf-l.on .mf-tx {
  background-position: 0 0;
}
.mf-l.on {
  filter: drop-shadow(0 0 10px rgba(134, 87, 224, 0.35));
}
.mf-l--big {
  margin: 22px 0 18px;
  font-weight: 700;
  font-size: clamp(32px, 2.8vw, 52px);
  line-height: 1.08;
}
.mf-l--big + .mf-l--big {
  margin-top: -6px;
}
.mf-amp {
  -webkit-text-fill-color: rgba(255, 221, 77, 0.25);
  color: rgba(255, 221, 77, 0.25);
  transition:
    -webkit-text-fill-color 400ms,
    color 400ms;
}
.mf-l.on .mf-amp {
  -webkit-text-fill-color: var(--yellow);
  color: var(--yellow);
  text-shadow: 0 0 14px rgba(255, 221, 77, 0.7);
  animation: mfAmp 2.4s ease-in-out infinite;
  display: inline-block;
}
.mf-l.on .mf-amp:nth-of-type(2) {
  animation-delay: 0.25s;
}
.mf-l.on .mf-amp:nth-of-type(3) {
  animation-delay: 0.5s;
}
.mf-l.on .mf-amp:nth-of-type(4) {
  animation-delay: 0.75s;
}
@keyframes mfAmp {
  0%,
  70%,
  100% {
    transform: none;
  }
  80% {
    transform: scale(1.35);
  }
}
.mf-dash {
  display: inline-block;
  width: 1.25em;
  height: 0.5em;
  margin: 0 0.12em;
  vertical-align: 0.12em;
}
.mf-dash svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.mf-dash path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  opacity: 0.35;
  filter: drop-shadow(0 0 4px rgba(255, 221, 77, 0.6));
}
.mf-l.on .mf-dash path {
  opacity: 1;
  animation: mfDash 900ms cubic-bezier(0.5, 0, 0.3, 1) 650ms forwards;
}
@keyframes mfDash {
  to {
    stroke-dashoffset: 0;
  }
}
.mf-carry,
.mf-catch {
  display: inline-block;
}
.mf-carry.flash {
  animation: mfFlash 900ms ease both;
}
@keyframes mfFlash {
  0% {
    -webkit-text-fill-color: var(--yellow);
    text-shadow: 0 0 16px rgba(255, 221, 77, 0.8);
  }
  100% {
    -webkit-text-fill-color: inherit;
  }
}
.mf-l.on .mf-catch {
  animation: mfCatch 800ms cubic-bezier(0.3, 0.7, 0.2, 1) both;
  -webkit-text-fill-color: #f6f3ff;
}
@keyframes mfCatch {
  0% {
    transform: translateY(-0.9em);
    opacity: 0;
    -webkit-text-fill-color: var(--yellow);
  }
  60% {
    -webkit-text-fill-color: var(--yellow);
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.mf-tg {
  position: relative;
}
.mf-target {
  position: absolute;
  right: 2%;
  top: 50%;
  width: clamp(110px, 10vw, 170px);
  height: auto;
  transform: translateY(-50%);
  overflow: visible;
  pointer-events: none;
}
.mf-ring {
  fill: none;
  stroke: rgba(205, 196, 240, 0.5);
  stroke-width: 1.4;
  stroke-dasharray: 330;
  stroke-dashoffset: 330;
  transition:
    stroke-dashoffset 1100ms cubic-bezier(0.5, 0, 0.3, 1),
    stroke 600ms,
    opacity 600ms;
}
.mf-ring--2 {
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
}
.mf-cross {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.6;
  opacity: 0;
  transition: opacity 500ms 400ms;
}
.mf-dot {
  fill: var(--yellow);
  opacity: 0;
  transition: opacity 300ms 700ms;
}
.mf-yolk {
  fill: var(--yellow);
  transform-origin: 80px 80px;
  transform: scale(0);
  transition: transform 900ms cubic-bezier(0.3, 1.5, 0.5, 1) 200ms;
  filter: drop-shadow(0 0 12px rgba(255, 221, 77, 0.7));
}
.mf-white {
  fill: rgba(246, 243, 255, 0.9);
  transform-origin: 80px 80px;
  transform: scale(0.4) rotate(-20deg);
  opacity: 0;
  transition:
    transform 900ms cubic-bezier(0.3, 1.3, 0.5, 1),
    opacity 500ms;
}
.mf-tg.t1 .mf-ring {
  stroke-dashoffset: 0;
}
.mf-tg.t1 .mf-cross,
.mf-tg.t1 .mf-dot {
  opacity: 1;
}
.mf-tg.t1 .mf-target {
  animation: mfAim 3.5s ease-in-out 1.2s infinite;
}
@keyframes mfAim {
  50% {
    transform: translateY(-50%) rotate(8deg);
  }
}
.mf-tg.t2 .mf-cross,
.mf-tg.t2 .mf-dot {
  opacity: 0;
  transition-delay: 0s;
}
.mf-tg.t2 .mf-ring {
  opacity: 0;
}
.mf-tg.t2 .mf-white {
  opacity: 1;
  transform: none;
}
.mf-tg.t2 .mf-yolk {
  transform: scale(1);
}
.mf-tg.t2 .mf-target {
  animation: none;
}
.if-frame.mf-pulse .if-grid {
  animation: mfGrid 1400ms ease-out;
}
@keyframes mfGrid {
  0% {
    opacity: 0.9;
    filter: none;
  }
  25% {
    opacity: 1;
    filter: brightness(3.2) drop-shadow(0 0 6px rgba(134, 87, 224, 0.8));
  }
  100% {
    opacity: 0.9;
    filter: none;
  }
}
.mf-end {
  margin: 46px 0 0 56px;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 700ms,
    transform 900ms var(--ease-out);
}
.mf-end.on {
  opacity: 1;
  transform: none;
}
.mf-word {
  margin: 0;
  font-family: "Tektur", sans-serif;
  font-weight: 700;
  font-size: clamp(64px, 6.4vw, 120px);
  line-height: 1;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #fff 0%, #ebe6fb 45%, #bdb4e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px var(--ink-glow));
}
.mf-ps {
  margin: 22px 0 0;
  font-family: "Tomorrow", sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink-lo);
}
.mf-caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  margin-left: 6px;
  vertical-align: -2px;
  background: var(--yellow);
  animation: rlRec 1s steps(2) infinite;
}
.mf2-hint {
  position: sticky;
  bottom: 0;
  margin: 0;
  padding: 0 0 6px 56px;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-lo);
  transition: opacity 400ms;
}
.mf2-hint span {
  display: inline-block;
  color: var(--yellow);
  animation: mfHint 1.6s ease-in-out infinite;
}
.mf2-hint.off {
  opacity: 0;
}
@keyframes mfHint {
  50% {
    transform: translateY(4px);
  }
}
@media (max-width: 900px) {
  .mf2 {
    grid-template-columns: 1fr;
  }
  .mf2-side {
    display: none;
  }
  .mf2-scroll {
    padding: 6vh 20px 34vh 14px;
  }
  .mf-l {
    padding-left: 34px;
  }
  .mf-end {
    margin-left: 34px;
  }
  .mf-target {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 0 0 10px 34px;
    width: 110px;
    display: block;
  }
  .mf-tg.t1 .mf-target {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pg-tick,
  .ct-hb svg,
  .rm--pg .cn-chips li::after,
  .rm--pg .sw-out::before,
  .mf-l.on .mf-amp,
  .mf-tg .mf-target {
    animation: none !important;
  }
  .mf-tx {
    transition: none;
  }
}
.mf2 {
  position: relative;
}
.mf2-hint {
  position: absolute;
  left: calc(min(300px, 100%) + 96px);
  bottom: 14px;
  padding: 0;
  pointer-events: none;
}
@media (max-width: 900px) {
  .mf2-hint {
    left: 48px;
  }
}
.cf-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.rl-rec {
  left: 44px;
  top: 16px;
}
.room[hidden] {
  display: none !important;
}
.if-hold {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 30px 10px;
}
.if-hold i {
  display: block;
  height: 2px;
  background: rgba(242, 240, 236, 0.14);
  position: relative;
  overflow: hidden;
}
.if-hold i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 221, 77, 0.7);
  transform-origin: left;
  transform: scaleX(var(--fill, 0));
}
.if-hold span {
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-lo);
  transition: color 300ms;
}
.iface--trio.is-released .if-hold span {
  color: var(--yellow);
}
.iface--trio.is-released .if-hold span::after {
  content: " · continue";
}
.iface--trio.nudge .if-hold i {
  animation: holdNudge 420ms ease;
}
@keyframes holdNudge {
  40% {
    box-shadow: 0 0 14px rgba(255, 221, 77, 0.9);
    transform: scaleY(2);
  }
}
.if-hold span::before {
  content: "Reading";
}
.iface--trio.is-released .if-hold span::before {
  content: "Scroll on";
}
.iface--trio.is-released .if-hold span::after {
  content: none;
}
.mapmenu {
  --ink-hi: #f3f0ff;
  --ink: rgba(222, 216, 245, 0.86);
  --ink-lo: rgba(176, 168, 214, 0.72);
  --ink-glow: rgba(134, 87, 224, 0.45);
  --if-line: rgba(242, 240, 236, 0.18);
  --if-dim: rgba(207, 201, 230, 0.62);
}
.mapmenu-shade {
  background: linear-gradient(
      90deg,
      rgba(5, 5, 8, 0.55) 0%,
      rgba(5, 5, 8, 0.12) 30%,
      rgba(5, 5, 8, 0) 55%
    ),
    linear-gradient(0deg, rgba(5, 5, 8, 0.4) 0%, rgba(5, 5, 8, 0) 22%),
    linear-gradient(180deg, rgba(5, 5, 8, 0.45) 0%, rgba(5, 5, 8, 0) 14%);
}
.mm-grid {
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(
    ellipse 90% 85% at 55% 55%,
    #000 30%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 90% 85% at 55% 55%,
    #000 30%,
    transparent 100%
  );
}
.mm-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    180deg,
    rgba(134, 87, 224, 0) 0%,
    rgba(134, 87, 224, 0.08) 70%,
    rgba(242, 240, 236, 0.32) 99%,
    rgba(242, 240, 236, 0) 100%
  );
}
.mapmenu.is-open .mm-scan {
  animation: mmScan 7s cubic-bezier(0.4, 0, 0.2, 1) 400ms 1 both; /* 12 Nov (Naveen): once per opening, not repeating */
}
@keyframes mmScan {
  0% {
    opacity: 1;
    transform: translateY(-120px);
  }
  16% {
    opacity: 1;
  }
  20%,
  100% {
    opacity: 0;
    transform: translateY(100vh);
  }
}
.mm-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  padding: 14px 28px;
  background: linear-gradient(
    90deg,
    rgba(134, 87, 224, 0.22),
    rgba(12, 14, 26, 0.55) 55%,
    rgba(12, 14, 26, 0.35)
  );
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink-lo);
}
.mm-bar .if-sys b {
  color: var(--ink-hi);
}
.mm-bar .if-loc {
  flex: 1 1 auto;
  text-align: right;
  color: var(--ink);
}
.mm-bar .hud-live {
  color: var(--ink-hi);
}
.mapmenu .mapmenu-close.if-close {
  position: static;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: 1px solid rgba(242, 240, 236, 0.35);
  color: var(--ink-hi);
}
.mapmenu .mapmenu-close.if-close:hover {
  background: var(--yellow);
  color: #0b0b12;
  border-color: var(--yellow);
}
.mapmenu .mapmenu-close.if-close svg {
  width: 12px;
  height: 12px;
}
.mm-bar .if-seg i {
  transition: background 200ms;
}
.mm-list {
  position: absolute;
  left: 28px;
  top: 84px;
  z-index: 3;
  width: 300px;
  padding: 20px 0 16px;
  border: 1px solid var(--if-line);
  background: linear-gradient(
    180deg,
    rgba(12, 14, 26, 0.42),
    rgba(12, 14, 26, 0.24)
  );
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow:
    inset 0 0 50px rgba(134, 87, 224, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.35);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 620ms cubic-bezier(0.7, 0, 0.2, 1) 120ms;
}
.mapmenu.is-open .mm-list {
  clip-path: inset(-20px -20px -20px -20px);
}
.mm-c {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 0 solid var(--copy);
  pointer-events: none;
}
.mm-c--tl {
  left: -5px;
  top: -5px;
  border-left-width: 2px;
  border-top-width: 2px;
}
.mm-c--tl::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 4px;
  height: 4px;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 221, 77, 0.8);
}
.mm-c--br {
  right: -5px;
  bottom: -5px;
  border-right-width: 2px;
  border-bottom-width: 2px;
}
.mm-list-k {
  padding: 0 20px;
}
.mm-list-t {
  margin: 8px 0 14px;
  padding: 0 20px;
  font-family: "Tomorrow", sans-serif;
  font-size: 13px;
  color: var(--ink);
}
.mm-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--if-line);
}
.mm-row {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 100%;
  display: grid;
  grid-template-columns: 30px 1fr 10px;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 1px;
  align-items: center;
  padding: 8px 18px 8px 20px;
  border-bottom: 1px solid var(--if-line);
  position: relative;
  transition: background 160ms;
}
.mm-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition: background 160ms;
}
.mm-row-n {
  grid-row: 1 / span 2;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-lo);
}
.mm-row-t {
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mm-row-d {
  grid-column: 2;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.mm-row-st {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(242, 240, 236, 0.6);
  border-radius: 50%;
}
.mm-row.is-done .mm-row-st {
  background: var(--copy);
  border-color: var(--copy);
}
.mm-row.is-here .mm-row-st {
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 221, 77, 0.9);
  animation: rlRec 1.4s ease-in-out infinite;
}
.mm-row.is-here .mm-row-n,
.mm-row.is-here .mm-row-t {
  color: var(--yellow);
}
.mm-row:hover,
.mm-row:focus-visible,
.mm-row.is-hot {
  background: linear-gradient(
    90deg,
    rgba(255, 221, 77, 0.1),
    rgba(255, 221, 77, 0) 75%
  );
}
.mm-row.is-hot::before,
.mm-row:focus-visible::before {
  background: var(--yellow);
  box-shadow: 0 0 10px rgba(255, 221, 77, 0.7);
}
.mm-row.is-hot .mm-row-t {
  color: var(--ink-hi);
}
.mm-row:focus-visible {
  outline: 1px solid var(--yellow);
  outline-offset: -1px;
}
.mm-legend {
  display: flex;
  gap: 14px;
  padding: 12px 20px 0;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.mm-legend span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  border: 1px solid rgba(242, 240, 236, 0.6);
  vertical-align: -1px;
}
.mm-legend .lg-here::before {
  background: var(--yellow);
  border-color: var(--yellow);
}
.mm-legend .lg-done::before {
  background: var(--copy);
  border-color: var(--copy);
}
.mm-pin-body {
  fill: rgba(12, 14, 26, 0.62);
  stroke: rgba(242, 240, 236, 0.85);
  stroke-width: 1.3;
}
.mm-pin-svg {
  filter: drop-shadow(0 0 8px rgba(134, 87, 224, 0.55))
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}
.mm-pin-num {
  font-family: "Tomorrow", sans-serif;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.04em;
}
.mm-pin-zone {
  top: 50px;
  background: radial-gradient(
    closest-side,
    rgba(134, 87, 224, 0.22),
    rgba(134, 87, 224, 0) 100%
  );
}
.mm-pin-pulse {
  position: absolute;
  left: 50%;
  top: 52px;
  width: 34px;
  height: 12px;
  margin: -6px 0 0 -17px;
  border-radius: 50%;
  border: 1px solid rgba(242, 240, 236, 0.55);
  opacity: 0;
  pointer-events: none;
}
.mapmenu.is-open .mm-pin-pulse {
  animation: mmPulse 3.2s ease-out infinite;
  animation-delay: calc(var(--k) * 0.35s);
}
@keyframes mmPulse {
  0% {
    opacity: 0.8;
    transform: scale(0.4);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}
.mm-pin.is-here .mm-pin-pulse {
  border-color: var(--yellow);
}
.mm-pin-place {
  top: 64px;
  padding: 3px 7px;
  background: rgba(12, 14, 26, 0.55);
  border: 1px solid rgba(242, 240, 236, 0.18);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--ink);
  text-shadow: none;
}
.mm-pin.is-here .mm-pin-place {
  color: #0b0b12;
  background: var(--yellow);
  border-color: var(--yellow);
}
.mm-pin.is-hot .mm-pin-ring {
  opacity: 1;
  transform: scale(1.06);
  border-color: var(--yellow);
}
.mm-pin.is-hot .mm-pin-svg {
  transform: translateY(-4px);
}
.mm-pin.is-hot .mm-pin-body {
  stroke: var(--yellow);
}
.mm-pin.is-hot .mm-pin-place {
  border-color: rgba(255, 221, 77, 0.7);
  color: var(--ink-hi);
}
.mapmenu.has-hot .mm-pin:not(.is-hot):not(.is-here) {
  opacity: 0.55;
}
.mm-card {
  position: absolute;
  z-index: 5;
  width: 340px;
  padding: 18px 20px 16px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  border: 1px solid var(--if-line);
  background: linear-gradient(
    180deg,
    rgba(12, 14, 26, 0.62),
    rgba(12, 14, 26, 0.42)
  );
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow:
    inset 0 0 50px rgba(134, 87, 224, 0.1),
    0 24px 70px rgba(0, 0, 0, 0.45);
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 200ms,
    transform 300ms var(--ease-out),
    clip-path 380ms cubic-bezier(0.7, 0, 0.2, 1);
}
.mm-card.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  clip-path: inset(-20px -60px -20px -60px);
}
.mm-card-k {
  margin: 0;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}
.mm-card-t {
  margin: 8px 0 0;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff 0%, #ebe6fb 45%, #bdb4e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px var(--ink-glow));
}
.mm-card-s {
  margin: 6px 0 0;
  font-family: "Tomorrow", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.mm-card-r {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin: 14px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--if-line);
}
.mm-card-r dt {
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
}
.mm-card-r dd {
  margin: 3px 0 0;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-hi);
  white-space: nowrap;
}
.mm-card-go {
  all: unset;
  cursor: pointer;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 12px;
  border: 1px solid rgba(255, 221, 77, 0.7);
  background: rgba(255, 221, 77, 0.08);
  color: var(--yellow);
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    background 160ms,
    color 160ms;
}
.mm-card-go svg {
  width: 20px;
  height: 12px;
}
.mm-card-go:hover {
  background: var(--yellow);
  color: #0b0b12;
}
.mapmenu-compass {
  color: var(--ink);
}
@media (max-width: 900px) {
  .mm-list {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
    max-height: 42vh;
    overflow: auto;
  }
  .mm-card {
    display: none;
  }
  .mm-bar .if-seg,
  .mm-bar .if-loc {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mapmenu.is-open .mm-scan,
  .mapmenu.is-open .mm-pin-pulse {
    animation: none;
  }
  .mm-list,
  .mm-card {
    transition: none;
  }
}
.mapmenu .mapmenu-close.if-close svg {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.mapmenu .mapmenu-close.if-close:hover svg {
  background: transparent;
  color: inherit;
}
.mm-bar .if-seg i.lit {
  background: var(--yellow);
}
.mm-leader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  transition: opacity 160ms;
}
.mm-leader.on {
  opacity: 1;
}
.mm-leader-l {
  stroke: var(--yellow);
  stroke-width: 1.2;
  stroke-dasharray: var(--len, 200);
  stroke-dashoffset: var(--len, 200);
  filter: drop-shadow(0 0 4px rgba(255, 221, 77, 0.7));
}
.mm-leader.on .mm-leader-l {
  animation: mmLead 320ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes mmLead {
  to {
    stroke-dashoffset: 0;
  }
}
.mm-leader-a {
  fill: var(--yellow);
  filter: drop-shadow(0 0 6px rgba(255, 221, 77, 0.9));
}
.mm-leader-b {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.2;
}
.mm-card {
  width: 330px;
  transition:
    opacity 220ms 120ms,
    transform 300ms var(--ease-out) 120ms,
    clip-path 380ms cubic-bezier(0.7, 0, 0.2, 1) 160ms;
}
.mm-pin:hover .mm-pin-svg,
.mm-pin:focus-visible .mm-pin-svg,
.mm-pin.is-hot .mm-pin-svg {
  transform: none;
}
.mm-list {
  overflow: hidden auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(205, 196, 240, 0.3) transparent;
}
.mm-list.is-compact {
  padding: 14px 0 10px;
}
.mm-list.is-compact .mm-list-t,
.mm-list.is-compact .mm-legend {
  display: none;
}
.mm-list.is-compact .mm-row {
  grid-template-rows: auto;
  padding: 6px 16px 6px 18px;
}
.mm-list.is-compact .mm-row-d {
  display: none;
}
.mm-list.is-compact .mm-row-n {
  grid-row: auto;
}
.mm-list.is-compact .mm-row-st {
  grid-row: auto;
}
.mm-list.is-compact .mm-list-k {
  margin-bottom: 10px;
}
@media (prefers-reduced-motion: reduce) {
  .mm-leader.on .mm-leader-l {
    animation: none;
    stroke-dashoffset: 0;
  }
}
.mm-card.is-compact {
  width: 280px;
  padding: 14px 16px 12px;
}
.mm-card.is-compact .mm-card-t {
  font-size: 21px;
}
.mm-card.is-compact .mm-card-s {
  font-size: 13px;
}
.mm-card.is-compact .mm-card-r {
  display: none;
}
.mm-card.is-compact .mm-card-go {
  margin-top: 10px;
  padding: 7px 12px 7px 10px;
  font-size: 11px;
}
.mm-list {
  left: 22px;
  top: 76px;
  width: 46px;
  padding: 10px 0;
  overflow: visible;
  max-height: none !important;
  border-color: rgba(242, 240, 236, 0.14);
  background: linear-gradient(
    180deg,
    rgba(12, 14, 26, 0.4),
    rgba(12, 14, 26, 0.22)
  );
}
.mm-list.is-compact {
  padding: 10px 0;
}
.mm-list-k,
.mm-list-t,
.mm-legend {
  display: none !important;
}
.mm-list .mm-c {
  width: 10px;
  height: 10px;
}
.mm-list .mm-c--tl::after {
  left: 3px;
  top: 3px;
  width: 3px;
  height: 3px;
}
.mm-rows {
  border-top: 0;
  position: relative;
}
.mm-rows::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  bottom: 18px;
  width: 1px;
  margin-left: 6px;
  background: repeating-linear-gradient(
    180deg,
    rgba(242, 240, 236, 0.45) 0 2px,
    transparent 2px 5px
  );
}
.mm-row,
.mm-list.is-compact .mm-row {
  display: grid;
  grid-template-columns: 1fr 12px;
  grid-template-rows: auto;
  align-items: center;
  column-gap: 4px;
  width: 46px;
  height: 32px;
  padding: 0 7px 0 6px;
  border-bottom: 0;
}
.mm-row::before {
  width: 2px;
}
.mm-row-n,
.mm-list.is-compact .mm-row-n {
  grid-row: auto;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-align: right;
}
.mm-row-d,
.mm-list.is-compact .mm-row-d {
  display: none;
}
.mm-row-st,
.mm-list.is-compact .mm-row-st {
  grid-row: auto;
  grid-column: 2;
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  justify-self: center;
  background: #10111c;
}
.mm-row.is-done .mm-row-st {
  background: var(--copy);
}
.mm-row:hover,
.mm-row:focus-visible,
.mm-row.is-hot {
  background: rgba(255, 221, 77, 0.1);
}
.mm-row.is-hot .mm-row-n {
  color: var(--yellow);
}
.mm-row.is-hot .mm-row-st {
  transform: scale(1.3);
}
.mm-row-t {
  position: absolute;
  left: 56px;
  top: 50%;
  transform: translate(-6px, -50%);
  max-width: none;
  overflow: visible;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #0b0b12;
  background: rgba(242, 240, 236, 0.94);
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms var(--ease-out),
    transform 200ms var(--ease-out);
}
.mm-row:hover .mm-row-t,
.mm-row:focus-visible .mm-row-t {
  opacity: 1;
  transform: translate(0, -50%);
}
.mm-row.is-here .mm-row-t {
  color: #0b0b12;
}
@media (max-width: 900px) {
  .mm-list {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 12px;
    width: auto;
    transform: translateX(-50%);
    padding: 0 8px;
  }
  .mm-rows {
    display: flex;
  }
  .mm-rows::before {
    left: 18px;
    right: 18px;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 1px;
    margin: 4px 0 0;
    background: repeating-linear-gradient(
      90deg,
      rgba(242, 240, 236, 0.45) 0 2px,
      transparent 2px 5px
    );
  }
  .mm-row {
    width: 36px;
    height: 44px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    justify-items: center;
    padding: 6px 0;
  }
  .mm-row-n {
    text-align: center;
  }
  .mm-row-st {
    grid-column: 1;
  }
  .mm-row-t {
    display: none;
  }
}
.mapmenu.is-open .mm-list {
  clip-path: inset(-20px -900px -20px -20px);
}
.mm-row,
.mm-list.is-compact .mm-row {
  height: 34px;
}
.mm-row-t {
  z-index: 6;
}
@media (max-width: 900px) {
  .mapmenu.is-open .mm-list {
    clip-path: none;
  }
}
.mm-list .mm-row .mm-row-t,
.mm-list .mm-row.is-hot .mm-row-t,
.mm-list .mm-row.is-here .mm-row-t {
  color: #0b0b12;
}
.mm-list .mm-row.is-here .mm-row-t {
  background: var(--yellow);
}
.cap-x {
  --ink-hi: #f3f0ff;
  --ink-lo: rgba(176, 168, 214, 0.72);
}
.cap-x .cap-box {
  overflow: visible;
}
.cap-x .cap-scan {
  position: absolute;
  top: -18px;
  bottom: -18px;
  left: 0;
  width: 72px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    90deg,
    rgba(134, 87, 224, 0) 0%,
    rgba(134, 87, 224, 0.1) 60%,
    rgba(134, 87, 224, 0.26) 100%
  );
  -webkit-mask: linear-gradient(
    180deg,
    transparent,
    #000 22%,
    #000 78%,
    transparent
  );
  mask: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  transform: translateX(-72px);
}
.cap-x .cap-scan::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1.5px;
  background: #f3f0ff;
  box-shadow:
    0 0 10px rgba(134, 87, 224, 0.9),
    0 0 3px rgba(243, 240, 255, 0.9);
}
.cap-x.cap-in .cap-scan {
  animation: capScan 640ms linear 0ms 1 both;
}
@keyframes capScan {
  0% {
    opacity: 1;
    transform: translateX(-72px);
  }
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(calc(var(--bw, 600px) - 20px));
  }
}
.cap-x .cap-key {
  display: inline-block;
  color: #f3f0ff;
  animation: capKey 900ms var(--ease-out) both;
}
@keyframes capKey {
  0% {
    text-shadow:
      0 0 2px rgba(243, 240, 255, 0.9),
      0 0 34px rgba(134, 87, 224, 1),
      0 2px 24px rgba(0, 0, 0, 0.7);
  }
  100% {
    text-shadow:
      0 0 1px rgba(243, 240, 255, 0.5),
      0 0 18px rgba(134, 87, 224, 0.75),
      0 2px 24px rgba(0, 0, 0, 0.7);
  }
}
.cap-x .cap-bar {
  margin-top: 18px;
}
.cap-tel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 9px;
  width: 100%;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-lo);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 420ms var(--ease-out) 420ms,
    transform 420ms var(--ease-out) 420ms;
}
.cap-x.cap-in .cap-tel {
  opacity: 1;
  transform: none;
}
.cap-tel b {
  color: var(--ink-hi);
  font-weight: 600;
}
.cap-ruler {
  flex: 1;
  height: 1px;
  min-width: 40px;
  opacity: 0.5;
  align-self: center;
  background: repeating-linear-gradient(
    90deg,
    rgba(242, 240, 236, 0.8) 0 1px,
    transparent 1px 4px
  );
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    #000 18%,
    #000 82%,
    transparent
  );
  mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.cap-tel-r .cap-m {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.cap-tel-r::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  vertical-align: 1px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 221, 77, 0.8);
  animation: capBlink 1.6s ease-in-out infinite;
}
@keyframes capBlink {
  50% {
    opacity: 0.25;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cap-x .cap-scan {
    display: none;
  }
  .cap-tel-r::before {
    animation: none;
  }
}
@media (max-width: 760px) {
  .cap-tel-l {
    display: none;
  }
}
.cap-x .cap-box {
  padding: 30px 40px 28px;
}
.cap-x .cap-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 700ms var(--ease-out) 120ms;
  background-image: linear-gradient(
      rgba(242, 240, 236, 0.11) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(242, 240, 236, 0.11) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: var(--rx, 0) var(--gy, 0);
  -webkit-mask: radial-gradient(
    ellipse 62% 70% at 50% 50%,
    #000 30%,
    transparent 100%
  );
  mask: radial-gradient(ellipse 62% 70% at 50% 50%, #000 30%, transparent 100%);
}
.cap-x .cap-rule {
  position: absolute;
  left: 22px;
  right: 22px;
  height: 7px;
  pointer-events: none;
  opacity: 0.62;
  background: repeating-linear-gradient(
      90deg,
      rgba(242, 240, 236, 0.9) 0 1px,
      transparent 1px 10px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(242, 240, 236, 0.9) 0 1px,
      transparent 1px 50px
    );
  background-size:
    100% 3px,
    100% 7px;
  background-repeat: repeat-x;
  background-position:
    var(--rx, 0) 0,
    var(--rx, 0) 0;
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    #000 14%,
    #000 86%,
    transparent
  );
  mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  transform: scaleX(0);
  transition: transform 700ms var(--ease-out) 150ms;
}
.cap-x .cap-rule--t {
  top: -4px;
}
.cap-x .cap-rule--b {
  bottom: -4px;
  transform-origin: center;
  background-position:
    var(--rx, 0) 4px,
    var(--rx, 0) 0;
}
.cap-x.cap-in .cap-rule {
  transform: scaleX(1);
}
.cap-x.cap-in .cap-grid {
  opacity: 1;
}
.cap-rd,
.cap-steps {
  position: absolute;
  font-family: "Tomorrow", sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(207, 201, 230, 0.62);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 500ms var(--ease-out) 520ms;
  pointer-events: none;
}
.cap-x.cap-in .cap-rd,
.cap-x.cap-in .cap-steps {
  opacity: 1;
}
.cap-rd b {
  color: #f3f0ff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.cap-rd--tl {
  left: 2px;
  top: -24px;
}
.cap-rd--br {
  right: 2px;
  bottom: -24px;
}
.cap-rd-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  vertical-align: 1px;
  border: 1px solid rgba(243, 240, 255, 0.8);
  border-radius: 50%;
}
.cap-steps {
  right: 2px;
  top: -23px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.cap-steps i {
  width: 10px;
  height: 4px;
  background: rgba(242, 240, 236, 0.16);
}
.cap-steps i.on {
  background: rgba(242, 240, 236, 0.7);
}
.cap-steps i.to {
  background: var(--purple-lit);
  box-shadow: 0 0 6px rgba(134, 87, 224, 0.9);
  animation: capBlink 1.6s ease-in-out infinite;
}
.cap-steps em {
  font-style: normal;
  margin-left: 8px;
  color: #f3f0ff;
}
@media (prefers-reduced-motion: reduce) {
  .cap-x .cap-rule,
  .cap-x .cap-grid {
    transition: none;
  }
  .cap-steps i.to {
    animation: none;
  }
}
@media (max-width: 760px) {
  .cap-rd--tl,
  .cap-rd--br {
    display: none;
  }
}
.s0-vf {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
}
.s0-vf .hud-corner {
  width: 18px;
  height: 18px;
  border-color: rgba(242, 240, 236, 0.8);
}
.s0-vf.cap-in .hud-corner {
  opacity: 1;
  transform: none;
}
.s0-vf .cap-grid {
  z-index: 0;
  background-size: 28px 28px;
}
.s0-vf .cap-rule--t {
  top: -4px;
}
.s0-vf .cap-rule--b {
  bottom: -4px;
}
.s0-vf .cap-rd--tl {
  top: -26px;
}
.s0-vf .cap-steps {
  top: -25px;
}
.s0-vf .cap-rd--br {
  bottom: -26px;
}
.s0-vf-foot {
  position: absolute;
  left: var(--fx, 4%);
  right: var(--fx, 4%);
  bottom: 18px;
}
.s0-vf .cap-bar {
  margin-top: 0;
}
.s0-vf .cap-tel {
  font-size: 11px;
}
.s0-vf.cap-in .cap-scan {
  animation: capScan 900ms linear 0ms 1 both;
}
#s0:not(.reveal) .s0-vf {
  opacity: 0 !important;
}
@media (max-width: 760px) {
  .s0-vf .cap-rd--tl,
  .s0-vf .cap-rd--br {
    display: none;
  }
}
.cap-x .street-title.cap-text {
  text-shadow: none;
  background-image: repeating-linear-gradient(
      180deg,
      rgba(40, 20, 90, 0.11) 0 1px,
      rgba(40, 20, 90, 0) 1px 3px
    ),
    linear-gradient(180deg, #ffffff 0%, #ffffff 45%, #f1ecff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.7))
    drop-shadow(0 0 6px rgba(170, 135, 255, 0.38))
    drop-shadow(0 0 20px rgba(134, 87, 224, 0.28))
    drop-shadow(0 2px 18px rgba(0, 0, 0, 0.6));
}
.cap-x .cap-key {
  display: inline;
  background: none;
  color: inherit;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation: none;
}
.cap-x .street-title.cap-text {
  background-image: repeating-linear-gradient(
      180deg,
      rgba(5, 5, 8, 0.16) 0 1px,
      rgba(5, 5, 8, 0) 1px 3px
    ),
    linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.22))
    drop-shadow(0 2px 18px rgba(0, 0, 0, 0.62));
}
.mf-l {
  padding-left: 0;
}
:root {
  --lt-gutter: clamp(16px, 3vw, 48px);
  --lt-bar-h: 52px;
  --lt-enter: 320ms;
  --lt-exit: 200ms;
}
body.lt {
  overscroll-behavior-y: none;
  overflow-x: clip;
}
.lt-stage {
  z-index: 0;
}
.lt-clip {
  transition: none;
  will-change: opacity, transform;
}
.lt-stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  z-index: 2;
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(255, 221, 77, 0.6);
  transform: translateX(-10px);
  opacity: 0;
  pointer-events: none;
}
.lt-stage.wiping::after {
  animation: ltWipe 620ms cubic-bezier(0.7, 0, 0.2, 1) both;
}
@keyframes ltWipe {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(100vw);
    opacity: 0;
  }
}
.lt-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
      90deg,
      rgba(5, 5, 8, 0.55) 0%,
      rgba(5, 5, 8, 0.18) 55%,
      rgba(5, 5, 8, 0) 100%
    ),
    linear-gradient(0deg, rgba(5, 5, 8, 0.45) 0%, rgba(5, 5, 8, 0) 35%);
}
@media (prefers-reduced-motion: reduce) {
  .lt-stage::after {
    display: none;
  }
}
#lt-flow {
  position: relative;
  z-index: 2;
}
.lt-stop {
  position: relative;
  height: 100vh;
  height: 100svh;
}
.lt-stop > .copy-window,
body.lt .lt-stop > .gate.hud,
.lt-stop > .lt-end,
.lt-pin-view {
  position: fixed;
  z-index: 2;
  top: calc(var(--lt-bar-h) + 8px + env(safe-area-inset-top, 0px));
  bottom: calc(var(--lt-bar-h) + 8px + env(safe-area-inset-bottom, 0px));
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 14px;
  padding-left: max(var(--lt-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--lt-gutter), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  width: auto;
  height: auto;
  margin: 0;
  transform: none;
  overflow-x: clip;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
}
.lt-stop > .copy-window::-webkit-scrollbar,
body.lt .lt-stop > .gate.hud::-webkit-scrollbar,
.lt-stop > .lt-end::-webkit-scrollbar {
  display: none;
}
.lt-stop > .copy-window > *,
body.lt .lt-stop > .gate.hud > .if-frame,
.lt-stop > .lt-end > .if-frame {
  margin-block: auto;
}
body.lt .lt-stop > .gate.hud > .if-frame {
  margin-bottom: 0;
}
body.lt .lt-stop > .gate.hud.iface--gate > .if-frame {
  margin-bottom: auto;
  margin-top: auto;
}
body.lt .lt-stop > .gate.hud.iface--gate {
  padding-bottom: 40px;
}
body.lt .lt-stop > .gate.hud > .hud-sample {
  margin-top: 14px;
  margin-bottom: auto;
  position: static;
}
.lt-stop.is-on > .copy-window,
body.lt .lt-stop.is-on > .gate.hud,
.lt-stop.is-on > .lt-end {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.lt .lt-stop .gate.hud .hud-r,
body.lt .lt-stop .if-frame {
  transition: none;
}
.lt .copy-window .street-title {
  transform: none;
  transition: none;
}
body.lt .lt-stop.lt-reset *,
body.lt .lt-stop.lt-reset > *,
body.lt .lt-stop.lt-reset {
  transition: none !important;
  animation: none !important;
}
.lt-stop .copy-window.cap-hud .cap-box {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  transform: none;
  width: auto;
  max-width: min(640px, 100%);
}
.lt-stop .copy-window.cap-hud[data-pos^="center"] .cap-box {
  max-width: min(92vw, 100%);
}
body.lt .lt-stop > .gate.hud.iface--dash > .if-frame {
  width: min(580px, 100%);
}
@media (min-width: 901px) {
  .lt-stop > .copy-window,
  body.lt .lt-stop > .gate.hud,
  .lt-pin-view {
    padding-left: 76px;
    padding-right: 76px;
  }
}
@media (min-width: 900px) {
  body.lt .lt-stop > .gate.hud.iface--dash {
    align-items: flex-start;
    padding-left: max(clamp(28px, 3.2vw, 56px), env(safe-area-inset-left, 0px));
  }
}
body.lt .lt-stop > .gate.hud.iface--gate > .if-frame {
  width: min(1180px, 100%);
}
.lt-stop > .copy-window.iface--trio .if-frame {
  width: min(920px, 100%);
}
.lt-stop .if-frame {
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  body.lt .lt-stop .iface--gate .if-body {
    grid-template-columns: minmax(0, 1fr);
  }
  body.lt .lt-stop .iface--gate .if-display {
    white-space: normal;
    font-size: clamp(26px, 7.6vw, 38px);
  }
  body.lt .lt-stop .iface--gate .if-main {
    padding: 26px 20px 22px;
  }
  body.lt .lt-stop .iface--gate .if-bar .if-seg {
    display: none;
  }
}
.lt-pin {
  position: relative;
}
.lt-pin-view {
  justify-content: center;
  overflow: hidden;
}
.lt-pin-view #s0 {
  pointer-events: none;
}
.lt-pin.is-title .lt-pin-view,
.lt-pin.is-live .lt-pin-view {
  opacity: 1;
  visibility: visible;
  transition:
    opacity var(--lt-enter) var(--ease-out),
    visibility 0s;
}
.lt-pin-view > .copy-window {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  opacity: 0;
  transition: opacity var(--lt-exit) var(--ease-out);
}
.lt-pin.is-live .lt-pin-view > .copy-window {
  opacity: 1;
  transition: opacity var(--lt-enter) var(--ease-out);
}
.lt-pin-view #s0 {
  position: fixed;
  inset: 0;
  z-index: 2;
  transition: opacity var(--lt-exit) var(--ease-out);
}
.lt-pin.is-title .lt-pin-view #s0 {
  transition-duration: var(--lt-enter);
}
.lt-pin-view #s0 .s0-aerial {
  opacity: 1;
}
.lt-pin-view #s0 picture,
.lt .mapmenu picture {
  position: absolute;
  inset: 0;
}
.lt-pin-view #s0 .s0-title {
  font-size: clamp(36px, 5vw, 72px);
}
.lt-pin-view .s0-vf.cap-in {
  opacity: 1;
}
.lt-pin:not(.is-title) .lt-pin-view #s0 {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .lt-pin-view #s0 {
    transition: none;
  }
}
.lt-pin-view .copy-window.cap-hud .cap-box {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
  margin-inline: auto;
  width: fit-content;
  max-width: min(92vw, 100%);
  box-sizing: border-box;
}
.lt-pin-view .copy-window.cap-hud .cap-text {
  margin-inline: auto;
}
.lt-pin-view .copy-window.cap-hud .cap-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 640px) {
  .lt-pin-view .copy-window.cap-hud .cap-text {
    white-space: normal;
    text-wrap: balance;
  }
}
.lt-stop--pinned > .copy-window {
  position: absolute !important;
  inset: auto !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 1 !important;
  visibility: visible !important;
}
.lt-stop > .lt-end > .if-frame {
  width: min(720px, 100%);
}
.lt-end .if-frame {
  clip-path: none;
}
.lt-end .if-pad {
  padding-bottom: 28px;
}
.lt-route {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
  counter-reset: none;
}
.lt-route-row {
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  min-height: 44px;
  padding: 12px 14px;
  box-sizing: border-box;
  color: var(--copy);
  text-decoration: none;
  border: 1px solid transparent;
  background: rgba(8, 9, 16, 0.3);
  transition:
    border-color var(--motion-fast) var(--ease-out),
    background var(--motion-fast) var(--ease-out);
}
.lt-route-row:hover,
.lt-route-row:focus-visible {
  border-color: var(--purple-lit);
  background: rgba(85, 54, 157, 0.22);
  outline: none;
}
.lt-route-n {
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
.lt-route-name {
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 21px);
}
.lt-route-place {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 520px) {
  .lt-route-row {
    grid-template-columns: 2.2em minmax(0, 1fr);
  }
  .lt-route-place {
    grid-column: 2;
  }
}
.lt-mapbtn.if-close {
  position: fixed;
  z-index: 32;
  top: calc(8px + env(safe-area-inset-top, 0px));
  right: max(var(--lt-gutter), env(safe-area-inset-right, 0px));
  min-height: 44px;
  padding: 0 14px;
  gap: 10px;
  box-sizing: border-box;
  background: rgba(5, 5, 8, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lt-mapbtn.if-close svg {
  width: 16px;
  height: 16px;
}
.lt-mapbtn.if-close:focus-visible {
  outline: 2px solid var(--purple-lit);
  outline-offset: 3px;
}
body.lt-room-open .lt-mapbtn,
body.lt-mm .lt-mapbtn {
  visibility: hidden;
}
.lt #continue-hint {
  position: fixed;
  z-index: 31;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 900px) {
  .lt #continue-hint {
    display: none;
  }
}
@keyframes ltNext {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}
@media (max-width: 900px) {
  .lt .rail.cue-next .rail-link.is-next .rail-mark::after {
    border-color: var(--yellow);
    animation: ltNext 1.6s var(--ease-in-out) infinite;
  }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .lt .rail.cue-next .rail-link.is-next .rail-mark::after {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
.lt .rail-mark::before {
  border-radius: 0;
  width: 7px;
  height: 7px;
  box-sizing: border-box;
  transform: none;
}
.lt .rail-link.is-done .rail-mark::before {
  background: var(--copy);
  transform: scale(0.72);
}
.lt .rail-link.is-here .rail-mark::before {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: none;
  box-shadow: 0 0 10px rgba(255, 221, 77, 0.85);
}
.lt .rail-link:hover .rail-mark::before,
.lt .rail-link:focus-visible .rail-mark::before {
  transform: scale(1.35);
}
.lt .rail-mark::after {
  border-radius: 0;
}
.lt .rail-link.is-here .rail-mark::after {
  opacity: 0;
}
.lt .rail-line-done,
.lt .rail-line-active {
  top: 0;
  bottom: 0;
  height: auto;
  width: auto;
  transform: scaleY(0);
  transform-origin: 50% 0;
  will-change: transform;
}
.lt .rail-line-done {
  z-index: 1;
}
.lt .rail-lock {
  --c: var(--yellow);
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 2;
  width: 21px;
  height: 21px;
  margin: -10.5px 0 0 -10.5px;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}
.lt .rail-lock i {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 5px 1.5px,
    linear-gradient(var(--c), var(--c)) 0 0 / 1.5px 5px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 5px 1.5px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 1.5px 5px,
    linear-gradient(var(--c), var(--c)) 0 100% / 5px 1.5px,
    linear-gradient(var(--c), var(--c)) 0 100% / 1.5px 5px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 5px 1.5px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 1.5px 5px;
  background-repeat: no-repeat;
}
@keyframes railBreathe {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.lt .rail-lock.is-locked i {
  animation: railBreathe 2.4s var(--ease-in-out) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .lt .rail-lock.is-locked i {
    animation: none;
  }
}
body.lt-mm .rail,
body.lt-mm #continue-hint,
body.lt-room-open #continue-hint {
  visibility: hidden;
}
#lt-flow,
.lt-pin-view {
  transition: opacity var(--lt-exit) var(--ease-out);
}
body.lt-room-open #lt-flow,
body.lt-room-open .lt-pin-view {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--lt-exit) var(--ease-out),
    visibility 0s linear var(--lt-exit);
}
.lt .rail {
  display: flex;
  z-index: 31;
  right: max(24px, env(safe-area-inset-right, 0px));
}
.lt-skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 70;
  padding: 10px 14px;
  background: var(--yellow);
  color: var(--ground);
  font-weight: 600;
}
.lt-skip:focus {
  top: calc(12px + env(safe-area-inset-top, 0px));
}
.lt-rooms .room {
  z-index: 50;
  overflow-x: hidden;
}
@media (max-width: 640px) {
  .lt-rooms .room--iface .if-bar {
    flex-wrap: nowrap;
    gap: 10px;
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
  }
  .lt-rooms .room--iface .if-bar .if-seg,
  .lt-rooms .room--iface .if-bar .if-loc,
  .lt-rooms .room--iface .if-bar .hud-live {
    display: none;
  }
  .lt-rooms .room--iface .if-bar .if-sys {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .lt-rooms .room--iface .room-x.if-close {
    margin-left: auto;
    min-height: 44px;
    min-width: 44px;
    padding-inline: 12px;
  }
  .lt-rooms .rm-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .lt-rooms #room8a .room-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .lt-rooms #room8a .mf2,
  .lt-rooms #room8a .mf2-scroll {
    min-width: 0;
  }
  .lt-rooms .ct-ecg {
    max-width: 100%;
    overflow: hidden;
  }
}
.lt-proto {
  position: fixed;
  z-index: 60;
  right: calc(12px + env(safe-area-inset-right, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  font:
    13px/1.4 "Tomorrow",
    sans-serif;
  color: var(--copy);
}
.lt-proto-toggle {
  font:
    600 12px/1 "Tektur",
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--ground);
  border: 0;
  min-height: 32px;
  padding: 0 12px;
  cursor: pointer;
}
.lt-proto-panel {
  position: absolute;
  right: 0;
  bottom: 40px;
  width: 220px;
  padding: 12px 14px;
  background: rgba(11, 11, 18, 0.94);
  border: 1px solid rgba(242, 240, 236, 0.22);
  display: grid;
  gap: 10px;
}
.lt-proto-panel[hidden] {
  display: none;
}
.lt-proto-panel fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.lt-proto-panel legend {
  font:
    600 11px/1 "Tektur",
    sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.lt-proto-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  cursor: pointer;
}
.lt-proto-panel input {
  accent-color: var(--yellow);
}
.lt-proto-moment {
  margin: 0;
  color: var(--support);
}
.lt-proto-moment b {
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
body.lt-room-open .lt-proto,
body.lt-mm .lt-proto {
  display: none;
}
@media (max-width: 760px) {
  .lt .mapmenu-img {
    transition: none;
  }
  .lt .mapmenu .mm-pin-place,
  .lt .mapmenu .mapmenu-compass,
  .lt .mapmenu .mm-card,
  .lt .mapmenu .mm-leader {
    display: none;
  }
  .lt .mapmenu .mm-pin {
    transform: scale(0.82);
  }
  .lt .mapmenu.is-open .mm-pin {
    transform: scale(0.82);
  }
  .lt .mapmenu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--mm-strip-top, 60px) + var(--mm-strip-h, 240px));
    height: 1px;
    background: var(--if-line);
    z-index: 3;
  }
  .lt .mapmenu .mm-list {
    left: 12px;
    right: 12px;
    top: var(--mm-list-top, 55vh);
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: auto;
    transform: none;
    padding: 14px 0 8px;
    overflow: hidden auto;
    overscroll-behavior: contain;
    background: rgba(12, 14, 26, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .lt .mapmenu .mm-list-k {
    display: block !important;
    padding: 0 16px 10px;
  }
  .lt .mapmenu .mm-legend {
    display: flex !important;
    padding: 12px 16px 4px;
  }
  .lt .mapmenu .mm-rows {
    display: block;
    border-top: 1px solid var(--if-line);
  }
  .lt .mapmenu .mm-rows::before {
    display: none;
  }
  .lt .mapmenu .mm-row,
  .lt .mapmenu .mm-list.is-compact .mm-row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 12px;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    width: 100%;
    height: auto;
    min-height: 52px;
    padding: 8px 16px;
    justify-items: stretch;
    border-bottom: 1px solid var(--if-line);
  }
  .lt .mapmenu .mm-row-n {
    grid-row: 1 / span 2;
    text-align: left;
    font-size: 11px;
  }
  .lt .mapmenu .mm-row-t {
    display: block;
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: none;
    background: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    font-family: "Tektur", sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink-hi) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lt .mapmenu .mm-list .mm-row.is-here .mm-row-t {
    background: none;
    color: var(--yellow) !important;
  }
  .lt .mapmenu .mm-row-d {
    display: block;
    grid-column: 2;
    font-size: 10px;
  }
  .lt .mapmenu .mm-row-st {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}
@media (max-width: 760px) {
  body.lt .lt-stop .iface--trio .if-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: 18px;
    padding: 22px 20px 20px;
  }
  body.lt .lt-stop .iface--trio .if-side {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 84px;
    padding: 0;
    border: 0;
  }
  body.lt .lt-stop .iface--trio .if-side svg {
    width: 100%;
    height: 100%;
    max-height: 84px;
  }
  body.lt .lt-stop .iface--trio .trio-headline {
    font-size: clamp(21px, 6vw, 26px);
  }
}
@media (max-width: 900px) and (min-height: 501px) {
  .lt .rail {
    display: flex;
    top: auto;
    right: auto;
    left: 50%;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    flex-direction: row;
    align-items: center;
  }
  .lt .rail::before,
  .lt .rail .rail-label {
    display: none;
  }
  .lt .rail-list {
    flex-direction: row;
    align-items: center;
  }
  .lt .rail-item {
    height: 44px;
    width: var(--row);
  }
  .lt .rail-link,
  .lt .rail-map {
    min-width: 0;
    width: var(--row);
    height: 44px;
    justify-content: center;
  }
  .lt .rail-mark,
  .lt .rail-map-mark {
    height: 44px;
  }
  .lt .rail-line {
    right: auto;
    top: 22px;
    left: calc(var(--row) / 2);
    width: calc(var(--row) * 8);
    height: 1.5px;
    background: repeating-linear-gradient(
      to right,
      var(--copy) 0 1.5px,
      transparent 1.5px 5px
    );
  }
  .lt .rail-line-done,
  .lt .rail-line-active {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .lt .rail-line-active {
    top: -0.75px;
    bottom: -0.75px;
  }
  .lt .rail-lock {
    left: 0;
    top: 50%;
  }
  .lt .rail {
    --row: min(44px, calc((100vw - 2 * var(--lt-gutter)) / 10));
  }
  .lt .rail-map {
    display: flex; /* the rail's own map mark on phones too; the top-right button is gone (7 Nov) */
  }
  .lt .lt-proto {
    bottom: auto;
    right: auto;
    top: calc(14px + env(safe-area-inset-top, 0px));
    left: max(var(--lt-gutter), env(safe-area-inset-left, 0px));
  }
  .lt .lt-proto-panel {
    bottom: auto;
    top: 40px;
    right: auto;
    left: 0;
  }
}
@media (max-width: 760px) {
  .lt .copy-window.cap-hud .cap-text {
    white-space: normal;
    text-wrap: balance;
    max-width: 100%;
  }
  .lt .cap-x .cap-rd--tl,
  .lt .cap-x .cap-rd--br {
    display: flex;
  }
  .lt .cap-x .cap-tel-l {
    display: inline;
    white-space: nowrap;
  }
  .lt .cap-x .cap-tel {
    gap: 10px;
  }
  body.lt .lt-stop .iface--dash .if-bar .if-loc {
    display: none;
  }
  body.lt .lt-stop .iface--dash .if-bar .if-seg {
    display: flex;
    flex: 1;
  }
  body.lt .lt-stop .iface--dash .if-pad {
    padding: 18px 18px 2px;
  }
  body.lt .lt-stop .iface--dash .if-text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 14px;
  }
  body.lt .lt-stop .iface--dash .if-stat {
    padding: 10px 10px 10px 18px;
  }
  body.lt .lt-stop .iface--dash .if-stat + .if-stat {
    padding-left: 10px;
  }
  body.lt .lt-stop .iface--dash .if-stat dd {
    font-size: 17px;
  }
  body.lt .lt-stop .iface--dash .if-stat dt {
    white-space: normal;
    overflow: visible;
    line-height: 1.3;
  }
  body.lt .lt-stop .iface--dash .if-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 18px 0;
  }
  body.lt .lt-stop .iface--dash .if-list li {
    padding: 5px 9px 5px 18px;
    border: 1px solid var(--if-line);
    border-bottom: 1px solid var(--if-line);
    font-size: 12px;
    background: rgba(8, 9, 16, 0.25);
  }
  body.lt .lt-stop .iface--dash .if-list li::before {
    left: 7px;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
  }
  body.lt .lt-stop .iface--dash .if-act {
    padding: 12px 18px 12px;
  }
  body.lt .lt-stop .iface--dash .hud-next {
    display: block;
  }
  body.lt .lt-stop .iface--dash .if-cmd {
    display: flex;
    padding: 8px 18px 9px;
  }
  body.lt .lt-stop > .gate.hud > .hud-sample {
    margin-top: 12px;
  }
  body.lt .lt-stop .iface--trio .trio-word {
    font-size: clamp(34px, 11.4vw, 52px);
  }
  body.lt .lt-stop .iface--trio .if-bar .if-seg {
    display: flex;
    flex: none;
  }
  body.lt .lt-stop .iface--trio .if-bar .if-sys {
    white-space: nowrap;
  }
  body.lt .lt-stop .iface--trio .if-bar .if-loc {
    display: none;
  }
}
@media (max-width: 900px) {
  body.lt .lt-stop .iface--gate .if-bar .if-loc {
    display: none;
  }
  body.lt .lt-stop .iface--gate .if-main {
    padding: 18px 18px 6px;
  }
  body.lt .lt-stop .iface--gate .if-text {
    margin: 12px 0 12px;
    font-size: 14px;
    line-height: 1.55;
  }
  body.lt .lt-stop .iface--gate .gate-rule {
    margin: 0;
  }
  body.lt .lt-stop .iface--gate .if-side {
    display: block;
    padding: 10px 18px 12px;
    border-left: 0;
    border-top: 1px solid var(--if-line);
  }
  body.lt .lt-stop .iface--gate .if-ret,
  body.lt .lt-stop .iface--gate .if-wave {
    display: none;
  }
  body.lt .lt-stop .iface--gate .if-read {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: left;
  }
  body.lt .lt-stop .iface--gate .if-foot {
    display: block;
  }
  body.lt .lt-stop .iface--gate .if-mods {
    display: grid;
    grid-template-columns: 1fr;
  }
  body.lt .lt-stop .iface--gate .if-mod {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    align-items: center;
    column-gap: 12px;
    padding: 8px 18px;
  }
  body.lt .lt-stop .iface--gate .if-mod + .if-mod {
    border-left: 0;
    border-top: 1px solid var(--if-line);
  }
  body.lt .lt-stop .iface--gate .if-mod-k {
    grid-column: 1;
  }
  body.lt .lt-stop .iface--gate .if-mod-v {
    grid-column: 1;
    margin: 3px 0 0;
    font-size: 13.5px;
  }
  body.lt .lt-stop .iface--gate .if-mod .if-spark {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 64px;
    height: 22px;
  }
  body.lt .lt-stop .iface--gate .hud-sample {
    position: static;
    margin: 0;
    padding: 6px 18px 8px;
    text-align: right;
  }
}
@media (max-width: 760px) and (max-height: 740px) {
  .lt-stop > .copy-window,
  body.lt .lt-stop > .gate.hud {
    padding-block: 6px;
  }
  body.lt .lt-stop .iface--dash .if-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.lt .lt-stop .iface--dash .if-cmd {
    display: none;
  }
  body.lt .lt-stop .iface--gate .if-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
@media (min-width: 901px) and (max-height: 780px) {
  body.lt .lt-stop .iface--gate .if-main {
    padding: 22px 32px 18px;
  }
  body.lt .lt-stop .iface--gate .if-text {
    margin: 12px 0 14px;
    font-size: 15px;
    line-height: 1.55;
  }
  body.lt .lt-stop .iface--gate .if-side {
    padding: 18px 24px 16px;
    gap: 10px;
  }
  body.lt .lt-stop .iface--gate .if-ret {
    width: 140px;
    height: 140px;
  }
  body.lt .lt-stop .iface--gate .if-mod {
    padding: 10px 22px 12px;
  }
  body.lt .lt-stop .iface--gate .if-wave svg {
    height: 44px;
  }
}
@media (max-height: 500px) and (orientation: landscape) {
  .lt {
    --lt-lane: 84px;
  }
  .lt-stop > .copy-window,
  body.lt .lt-stop > .gate.hud,
  .lt-stop > .lt-end,
  .lt-pin-view {
    top: calc(6px + env(safe-area-inset-top, 0px));
    bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    padding-block: 6px;
    padding-left: max(var(--lt-lane), env(safe-area-inset-left, 0px));
    padding-right: max(var(--lt-lane), env(safe-area-inset-right, 0px));
  }
  body.lt .lt-stop > .gate.hud.iface--dash {
    align-items: center;
    padding-left: max(var(--lt-lane), env(safe-area-inset-left, 0px));
  }
  body.lt .lt-stop > .gate.hud.iface--gate {
    padding-bottom: 6px;
  }
  .lt-stop > .copy-window .cap-fall {
    top: 0;
    bottom: 0;
    height: auto;
  }
  .lt-mapbtn.if-close {
    top: calc(6px + env(safe-area-inset-top, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    padding: 0;
    width: 44px;
    justify-content: center;
  }
  .lt-mapbtn.if-close span {
    display: none;
  }
  .lt .rail {
    --row: 32px;
    top: calc(50% + 26px);
    bottom: auto;
    right: max(16px, env(safe-area-inset-right, 0px));
    left: auto;
    transform: translateY(-50%);
  }
  .lt .rail-map {
    display: flex; /* the rail's own map mark on phones too; the top-right button is gone (7 Nov) */
  }
  .lt .lt-proto {
    top: auto;
    right: auto;
    bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    left: max(6px, env(safe-area-inset-left, 0px));
  }
  .lt .lt-proto-panel {
    top: auto;
    bottom: 34px;
    left: 0;
    right: auto;
  }
  .lt .lt-proto-toggle {
    min-height: 26px;
    padding: 0 8px;
    font-size: 10px;
  }
  body.lt .lt-stop > .gate.hud.iface--dash > .if-frame {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
  }
  body.lt .lt-stop .iface--dash .if-bar {
    grid-column: 1 / -1;
    padding: 8px 16px;
  }
  body.lt .lt-stop .iface--dash .if-bar .if-loc {
    display: none;
  }
  body.lt .lt-stop .iface--dash .if-pad {
    grid-column: 1;
    grid-row: 2 / span 2;
    padding: 14px 16px 12px;
  }
  body.lt .lt-stop .iface--dash .if-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 0;
  }
  body.lt .lt-stop .iface--dash .if-stats {
    grid-column: 2;
    grid-row: 2;
    border-left: 1px solid var(--if-line);
  }
  body.lt .lt-stop .iface--dash .if-stat {
    padding: 10px 8px 10px 12px;
  }
  body.lt .lt-stop .iface--dash .if-stat + .if-stat {
    padding-left: 8px;
  }
  body.lt .lt-stop .iface--dash .if-stat dt {
    white-space: normal;
    overflow: visible;
    line-height: 1.3;
  }
  body.lt .lt-stop .iface--dash .if-stat dd {
    font-size: clamp(12px, 1.8vw, 15px);
    white-space: nowrap;
  }
  body.lt .lt-stop .iface--dash .if-list,
  body.lt .lt-stop .iface--dash .if-cmd {
    display: none;
  }
  body.lt .lt-stop .iface--dash .if-act {
    grid-column: 2;
    grid-row: 3;
    padding: 10px 12px;
    border-left: 1px solid var(--if-line);
  }
  body.lt .lt-stop > .gate.hud > .hud-sample {
    margin-top: 6px;
  }
  body.lt .lt-stop .iface--gate .if-bar {
    padding: 8px 16px;
  }
  body.lt .lt-stop .iface--gate .if-bar .if-loc {
    display: none;
  }
  body.lt .lt-stop .iface--gate .gate-rule {
    margin: 0;
  }
  body.lt .lt-stop .iface--gate .if-body {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }
  body.lt .lt-stop .iface--gate .if-display {
    white-space: normal;
    font-size: clamp(22px, 3.4vw, 28px);
  }
  body.lt .lt-stop .iface--gate .if-main {
    padding: 12px 16px 10px;
  }
  body.lt .lt-stop .iface--gate .if-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
  }
  body.lt .lt-stop .iface--gate .if-side {
    display: block;
    padding: 10px 14px;
    border-top: 0;
    border-left: 1px solid var(--if-line);
    align-content: center;
  }
  body.lt .lt-stop .iface--gate .if-ret,
  body.lt .lt-stop .iface--gate .if-wave,
  body.lt .lt-stop .iface--gate .if-term,
  body.lt .lt-stop .iface--gate .if-coord {
    display: none;
  }
  body.lt .lt-stop .iface--gate .if-foot {
    display: block;
  }
  body.lt .lt-stop .iface--gate .if-read {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  body.lt .lt-stop .iface--gate .if-mods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.lt .lt-stop .iface--gate .if-mod {
    display: block;
    padding: 6px 14px;
  }
  body.lt .lt-stop .iface--gate .if-mod-v {
    margin: 3px 0 0;
    font-size: 13.5px;
  }
  body.lt .lt-stop .iface--gate .if-mod .if-spark {
    display: none;
  }
  body.lt .lt-stop .iface--gate .if-mod + .if-mod {
    border-top: 0;
    border-left: 1px solid var(--if-line);
  }
  body.lt .lt-stop .iface--gate .hud-sample {
    position: static;
    margin: 0;
    padding: 3px 16px 4px;
    text-align: right;
  }
  body.lt .lt-stop .iface--trio .if-body {
    grid-template-columns: minmax(0, 1fr) 150px;
    grid-template-rows: auto;
    column-gap: 16px;
    row-gap: 0;
    padding: 14px 16px;
  }
  body.lt .lt-stop .iface--trio .if-side {
    height: auto;
  }
  body.lt .lt-stop .iface--trio .if-side svg {
    max-height: 130px;
  }
  body.lt .lt-stop .iface--trio .trio-word {
    font-size: clamp(30px, 6vw, 42px);
  }
}
@media (max-height: 500px) and (orientation: landscape) and (max-width: 720px) {
  .lt {
    --lt-lane: 64px;
  }
  body.lt .lt-stop .iface--dash .if-stat,
  body.lt .lt-stop .iface--dash .if-stat + .if-stat {
    padding: 8px 6px 8px 8px;
  }
}
.lt .mapmenu-img {
  opacity: 0;
  transition:
    opacity 400ms var(--ease-out),
    transform 1200ms var(--ease-out);
}
.lt .mapmenu-img.is-loaded {
  opacity: 1;
}

/* the calm line (31 Oct): the interface's own command line, centred low, shown when scrolls are absorbed */
#lt-calm { position: fixed; left: 50%; bottom: 14vh; transform: translate(-50%, 8px); z-index: 40; opacity: 0; pointer-events: none;
  padding: 10px 16px; background: rgba(11, 11, 18, 0.72); border: 1px solid rgba(255, 221, 77, 0.35); backdrop-filter: blur(8px);
  transition: opacity 0.25s ease, transform 0.25s ease; max-width: calc(100vw - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#lt-calm.is-on { opacity: 1; transform: translate(-50%, 0); }

/* city loader (igloo-style, from the film site): ground field, a strip of Tektur glyphs that settle
   left-to-right as the opening buffers, then the city lights up block by block and the title rises */
.s0-loader { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 16px; transition: opacity 400ms var(--ease-out); }
.s0-glyphs { display: flex; gap: 2px; font-family: 'Tektur', monospace; font-weight: 500; font-size: 18px; letter-spacing: 0; }
.s0-glyphs span { display: inline-block; width: 14px; text-align: center; color: rgba(242,240,236,0.28); }
.s0-glyphs span.set { color: var(--yellow); text-shadow: 0 0 12px rgba(255,221,77,0.55); }
.s0-loader-label { display: flex; gap: 18px; align-items: baseline; font-family: 'Tektur', sans-serif; font-weight: 500;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.26em; color: rgba(242,240,236,0.62); }
.s0-loader-pct { color: var(--yellow); font-variant-numeric: tabular-nums; }
.s0-loader-pct::after { content: '%'; }
#s0.ready .s0-loader { opacity: 0; pointer-events: none; }
.s0-pixel { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; transition: opacity 500ms var(--ease-out); }
@media (max-width: 520px) { .s0-glyphs { font-size: 14px; } .s0-glyphs span { width: 11px; } }

/* phones: no rubber-band or pull-to-refresh on top of the stepped scroll (31 Oct) */
html, body.lt { overscroll-behavior: none; }

/* ===== Portfolio shell (v3, locked 5 Nov) as the Gallery room, temporary (7 Nov) ===== */
/* Work room · standalone sample v1 · sits on top of main_navtest.css (the real interface) and only adds what the city does not have yet */
.wk-aerial::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(5,5,8,.2), rgba(5,5,8,.85)); }

/* the room, un-fixed: it is the page now */
.room.wk { position: relative; inset: auto; z-index: 1; opacity: 1; overflow: visible; min-height: 100vh; padding: 36px 0 56px; place-items: start center; }
.room.wk::after { display: none; }
.room--iface.wk .room-body.if-frame { max-height: none; overflow: visible; width: min(1380px, 94vw); }
.room--iface.wk .if-bar { position: relative; }
.room--iface.wk .if-bar .if-loc { flex: 1 1 auto; }

/* tab rail */
.wk-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--if-line); padding: 0 30px; background: rgba(8,9,16,.22); }
.wk-tab { all: unset; cursor: pointer; display: grid; gap: 2px; padding: 12px 18px 11px; margin-bottom: -1px; border-bottom: 2px solid transparent; transition: color 150ms, border-color 150ms; }
.wk-tab b { font-family: 'Tomorrow', sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-lo); }
.wk-tab span { font-family: 'Tomorrow', sans-serif; font-size: 10px; letter-spacing: .08em; color: rgba(176,168,214,.5); }
.wk-tab:hover b { color: var(--ink-hi); }
.wk-tab.is-on { border-bottom-color: var(--yellow); }
.wk-tab.is-on b { color: var(--yellow); }
.wk-tab.is-off { opacity: .45; cursor: default; }
.wk-tab:focus-visible { outline: 1px solid var(--yellow); outline-offset: -3px; }

.rm.wk .rm-head { padding: 22px 30px 18px; }
.rm.wk .room-headline { font-size: clamp(28px, 2.4vw, 42px); }
.rm.wk .rm-split { grid-template-columns: minmax(0, .72fr) minmax(0, 2fr); }
.rm.wk .sw-list { border-right: 1px solid var(--if-line); }
.rm.wk .sw-btn { grid-template-columns: 54px 1fr; grid-template-rows: auto auto; row-gap: 3px; padding: 13px 16px; }
.rm.wk .sw-btn .sw-d { grid-column: 2; }
.rm.wk .sw-btn .sw-n { grid-row: 1 / span 2; }
.rm.wk .sw-btn.is-soon .sw-t { color: rgba(176,168,214,.55); }
.sw-list .sw-group { padding: 10px 16px 6px; font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(176,168,214,.5); border-bottom: 1px solid var(--if-line); }

/* file */
.wk-file { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; }
.wk-steps { display: flex; align-items: center; gap: 0; border-bottom: 1px solid var(--if-line); padding: 0 18px 0 30px; }
.wk-step { all: unset; cursor: pointer; padding: 12px 14px 11px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-lo); transition: color 150ms, border-color 150ms; }
.wk-step i { font-style: normal; color: rgba(176,168,214,.5); margin-right: 8px; }
.wk-step:hover { color: var(--ink-hi); }
.wk-step.is-on { color: var(--yellow); border-bottom-color: var(--yellow); }
.wk-step.is-on i { color: var(--yellow); }
.wk-step:focus-visible { outline: 1px solid var(--yellow); outline-offset: -3px; }
.wk-arrows { margin-left: auto; display: flex; gap: 6px; }
.wk-arrow { all: unset; cursor: pointer; width: 34px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(242,240,236,.25); color: var(--ink-hi); transition: background 150ms, border-color 150ms, color 150ms; }
.wk-arrow:hover { background: var(--yellow); color: #0b0b12; border-color: var(--yellow); }
.wk-arrow svg { width: 14px; height: 10px; }

.wk-panels { position: relative; min-height: 540px; }
.wk-panel { display: none; }
.wk-panel.is-on { display: grid; }
.wk-panel.is-on.swap > * { animation: mmSwap 360ms var(--ease-out) both; }
.wk-panel.is-on.swap > *:nth-child(2) { animation-delay: 40ms; } .wk-panel.is-on.swap > *:nth-child(3) { animation-delay: 80ms; }

/* brief: loop behind, copy and facts over it */
.wk-brief { position: relative; min-height: 560px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 32px; padding: 28px 30px 26px; overflow: hidden; }
.wk-brief .wk-loop { position: absolute; inset: 0; z-index: 0; }
.wk-brief .wk-loop video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.9); }
.wk-brief .wk-loop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,9,16,.92) 0%, rgba(8,9,16,.45) 50%, rgba(8,9,16,.15) 100%); }
.wk-brief > * { position: relative; z-index: 1; }
.wk-brief .sw-name { font-size: clamp(34px, 3.2vw, 56px); }
.wk-brief .sw-copy { font-size: 16px; max-width: 50ch; }
.wk-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 0; padding: 18px 20px; border: 1px solid var(--if-line); background: rgba(12,14,26,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); position: relative; }
.wk-facts::before { content: ''; position: absolute; left: -1px; top: -1px; width: 9px; height: 9px; border-left: 2px solid var(--copy); border-top: 2px solid var(--copy); }
.wk-facts dt { font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-lo); }
.wk-facts dd { margin: 4px 0 0; font-family: 'Tomorrow', sans-serif; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.wk-facts dd.big { font-family: 'Tektur', sans-serif; font-weight: 600; font-size: 15px; color: var(--ink-hi); }

/* generic two-column step: text left (sticky), media right */
.wk-two { grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: 0; }
.wk-text { padding: 26px 30px; border-right: 1px solid var(--if-line); }
.wk-text .sw-name { font-size: clamp(24px, 2vw, 34px); }
.wk-text .sw-copy { font-size: 15px; }
.wk-text .sw-copy + .sw-copy { margin-top: 10px; }
.wk-media { padding: 22px 26px 26px; display: grid; gap: 12px; align-content: start; }
.wk-fig { position: relative; margin: 0; border: 1px solid var(--if-line); background: rgba(12,14,26,.4); overflow: hidden; }
.wk-fig::before { content: ''; position: absolute; left: -1px; top: -1px; width: 9px; height: 9px; border-left: 2px solid var(--copy); border-top: 2px solid var(--copy); z-index: 2; }
.wk-fig img, .wk-fig video { display: block; width: 100%; height: auto; filter: brightness(.94); }
.wk-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 12px; font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: linear-gradient(0deg, rgba(8,9,16,.85), rgba(8,9,16,0)); }
.wk-media.two { grid-template-columns: 1fr 1fr; }
.wk-media .span { grid-column: 1 / -1; }
.wk-fig.mark { display: grid; place-items: center; background: #f2f0ec; aspect-ratio: 16/9; }
.wk-fig.mark img { width: 62%; filter: none; }

/* system: swatches + type */
.wk-sys { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wk-sw { position: relative; border: 1px solid var(--if-line); padding: 14px 14px 12px; background: rgba(12,14,26,.4); }
.wk-sw::before { content: ''; position: absolute; left: -1px; top: -1px; width: 9px; height: 9px; border-left: 2px solid var(--copy); border-top: 2px solid var(--copy); }
.wk-sw i { display: block; aspect-ratio: 1 / 1; margin-bottom: 10px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(242,240,236,.08); }
.wk-sw dt { font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-lo); }
.wk-sw dd { margin: 4px 0 0; font-family: 'Tektur', sans-serif; font-weight: 600; font-size: 14px; color: var(--ink-hi); font-variant-numeric: tabular-nums; }
.wk-type { grid-column: 1 / -1; border: 1px solid var(--if-line); padding: 18px 20px; background: rgba(12,14,26,.4); display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.wk-type .g { font-family: 'Montserrat', 'Tektur', sans-serif; font-weight: 800; font-size: 72px; line-height: 1; color: var(--ink-hi); letter-spacing: .04em; }
.wk-type dl { margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 18px; }
.wk-type dt { font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-lo); }
.wk-type dd { margin: 4px 0 0; font-family: 'Tektur', sans-serif; font-weight: 600; font-size: 14px; color: var(--ink-hi); }

/* applications: one large, strip of thumbs */
.wk-apps { grid-template-rows: auto auto; gap: 12px; }
.wk-apps .wk-fig { aspect-ratio: 16 / 9; }
.wk-apps .wk-fig img { height: 100%; object-fit: cover; }
.wk-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.wk-strip button { all: unset; cursor: pointer; position: relative; aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--if-line); opacity: .55; transition: opacity 150ms, border-color 150ms; }
.wk-strip button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wk-strip button:hover, .wk-strip button.is-on { opacity: 1; border-color: var(--yellow); }
.wk-strip button:focus-visible { outline: 1px solid var(--yellow); }

/* web: in-built device frames */
.wk-web .wk-media { grid-template-columns: minmax(0, 2.2fr) minmax(0, .9fr); align-items: end; }
.dev { position: relative; }
.dev-mon { position: relative; border: 1px solid rgba(242,240,236,.28); border-radius: 6px; background: #0a0b12; padding: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(0,0,0,.6); }
.dev-mon::before { content: ''; position: absolute; left: 50%; bottom: -34px; width: 140px; height: 34px; transform: translateX(-50%); background: linear-gradient(180deg, rgba(242,240,236,.18), rgba(242,240,236,.04)); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.dev-mon::after { content: ''; position: absolute; left: 50%; bottom: -38px; width: 260px; height: 4px; transform: translateX(-50%); background: rgba(242,240,236,.22); border-radius: 2px; }
.dev-screen { position: relative; aspect-ratio: 16 / 9.4; overflow: hidden; background: #000; border-radius: 2px; }
.dev-screen video, .dev-screen img { position: absolute; left: 0; top: 0; width: 100%; display: block; }
.dev-screen video { height: 100%; object-fit: cover; }
.dev-screen img.page { opacity: 0; transition: opacity 600ms var(--ease-out); }
.dev-screen.show-page img.page { opacity: 1; animation: devScroll 18s cubic-bezier(.45,0,.25,1) 1.2s infinite alternate; }
.dev-screen.show-page video { opacity: 0; transition: opacity 600ms; }
@keyframes devScroll { from { transform: translateY(0); } to { transform: translateY(calc(-100% + 100% * 9.4 / 16)); } }
.dev-bar { position: absolute; left: 10px; right: 10px; top: 10px; height: 20px; z-index: 2; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: rgba(12,14,26,.85); border-bottom: 1px solid rgba(242,240,236,.08); }
.dev-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(242,240,236,.25); }
.dev-bar span { margin-left: 10px; font-family: 'Tomorrow', monospace; font-size: 9px; letter-spacing: .08em; color: rgba(176,168,214,.7); }
.dev-screen.with-bar { margin-top: 20px; }
.dev-ph { position: relative; width: 100%; max-width: 230px; margin: 0 0 0 auto; border: 1px solid rgba(242,240,236,.3); border-radius: 26px; padding: 8px; background: #0a0b12; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.dev-ph::before { content: ''; position: absolute; left: 50%; top: 14px; width: 60px; height: 6px; transform: translateX(-50%); background: #000; border-radius: 3px; z-index: 2; }
.dev-ph-screen { position: relative; aspect-ratio: 9 / 19.5; overflow: hidden; border-radius: 19px; background: #000; }
.dev-ph-screen img { position: absolute; left: 0; top: 0; width: 100%; display: block; animation: phScroll 22s cubic-bezier(.45,0,.25,1) 2s infinite alternate; }
@keyframes phScroll { from { transform: translateY(0); } to { transform: translateY(calc(-100% + 100% * 19.5 / 9 * 9 / 19.5 * 1)); } }
.dev-label { margin: 46px 0 0; font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-lo); display: flex; justify-content: space-between; }
.dev-label b { color: var(--ink); font-weight: 500; }
.dev-live { display: inline-flex; align-items: center; gap: 6px; }
.dev-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px rgba(240,61,46,.8); animation: hudLive 1.2s ease-in-out infinite; }

/* file footer */
.wk-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 30px; border-top: 1px solid var(--if-line); }
.wk-next { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-lo); }
.wk-next b { font-family: 'Tektur', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink-hi); }
.wk-next svg { width: 16px; height: 10px; transition: transform 150ms var(--ease-out); }
.wk-next:hover svg { transform: translateX(4px); }
.wk-dots { display: flex; gap: 8px; }
.wk-dots i { width: 18px; height: 3px; background: rgba(242,240,236,.15); }
.wk-dots i.on { background: var(--yellow); box-shadow: 0 0 8px rgba(255,221,77,.6); }

/* a file still in preparation */
.wk-soon { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 480px; }
.wk-soon .wk-text { border-right: 0; }
.wk-soon .wk-fig { margin: 22px 26px 26px 0; align-self: center; }
.wk-soon .wk-fig img { aspect-ratio: 16/9; object-fit: cover; }

.wk-sample { position: absolute; right: 30px; bottom: -22px; margin: 0; font-family: 'Tomorrow', sans-serif; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(240,61,46,.85); }

@media (max-width: 960px) {
  .rm.wk .rm-split { grid-template-columns: 1fr; }
  .rm.wk .sw-list { border-right: 0; display: flex; overflow-x: auto; border-bottom: 1px solid var(--if-line); }
  .rm.wk .sw-list li { flex: 0 0 auto; }
  .rm.wk .sw-btn { border-bottom: 0; border-right: 1px solid var(--if-line); }
  .sw-list .sw-group { display: none; }
  .wk-brief, .wk-two, .wk-soon, .wk-web .wk-media { grid-template-columns: 1fr; }
  .wk-text { border-right: 0; border-bottom: 1px solid var(--if-line); }
  .wk-sys { grid-template-columns: 1fr 1fr; }
  .wk-tabs { overflow-x: auto; }
  .wk-steps { overflow-x: auto; }
  .dev-ph { margin: 60px auto 0; }
  .wk-strip { grid-template-columns: repeat(3, 1fr); }
}

/* ===== v2 · stage mode: the file takes the frame, the rail folds to numbers ===== */
.rm.wk.stage .rm-split { grid-template-columns: 64px minmax(0, 1fr); }
.rm.wk.stage .sw-list { position: relative; z-index: 6; width: 64px; }
.rm.wk.stage .sw-list .sw-group { display: none; }
.rm.wk.stage .sw-btn { grid-template-columns: 1fr; grid-template-rows: auto; padding: 16px 0; justify-items: center; }
.rm.wk.stage .sw-btn .sw-t, .rm.wk.stage .sw-btn .sw-d { display: none; }
.rm.wk.stage .sw-btn .sw-n { font-size: 10px; letter-spacing: .12em; writing-mode: horizontal-tb; }
.rm.wk.stage .sw-list:hover, .rm.wk.stage .sw-list:focus-within { width: 320px; background: rgba(8,9,16,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 30px 0 60px rgba(0,0,0,.45); }
.rm.wk.stage .sw-list:hover .sw-btn, .rm.wk.stage .sw-list:focus-within .sw-btn { grid-template-columns: 54px 1fr; grid-template-rows: auto auto; padding: 13px 16px; justify-items: start; }
.rm.wk.stage .sw-list:hover .sw-btn .sw-t, .rm.wk.stage .sw-list:hover .sw-btn .sw-d, .rm.wk.stage .sw-list:focus-within .sw-btn .sw-t, .rm.wk.stage .sw-list:focus-within .sw-btn .sw-d { display: block; }
.rm.wk.stage .sw-list:hover .sw-group, .rm.wk.stage .sw-list:focus-within .sw-group { display: block; }
.rm.wk.stage .sw-list { transition: width 220ms var(--ease-out); }
.rm.wk.stage .rm-split { position: relative; }
.rm.wk.stage .sw-list { position: absolute; left: 0; top: 0; bottom: 0; border-right: 1px solid var(--if-line); overflow: hidden; }
.rm.wk.stage .wk-file { grid-column: 2; }

/* every step is a stage */
.wk-panels { min-height: 0; }
.wk-stage { position: relative; display: block; height: min(640px, 66vh); overflow: hidden; background: #08090f; }
.wk-stage .wk-bg { position: absolute; inset: 0; }
.wk-stage .wk-bg img, .wk-stage .wk-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wk-stage .wk-bg.dim img, .wk-stage .wk-bg.dim video { filter: brightness(.6) saturate(.9); }
.wk-stage .wk-bg.fit { display: grid; place-items: center; }
.wk-stage .wk-bg.fit img { width: auto; height: auto; max-width: 56%; max-height: 62%; object-fit: contain; }
.wk-stage .wk-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,9,16,.9) 0%, rgba(8,9,16,.25) 42%, rgba(8,9,16,0) 70%); pointer-events: none; }
.wk-stage .wk-bg.light::after { background: linear-gradient(0deg, rgba(8,9,16,.55) 0%, rgba(8,9,16,0) 40%); }
.wk-cap { position: absolute; left: 26px; bottom: 26px; z-index: 3; width: min(460px, 62%); padding: 18px 22px 20px; border: 1px solid rgba(242,240,236,.18); background: rgba(8,9,16,.62); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); }
.wk-cap::before { content: ''; position: absolute; left: -1px; top: -1px; width: 12px; height: 12px; border-left: 2px solid var(--copy); border-top: 2px solid var(--copy); }
.wk-cap::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-right: 2px solid var(--copy); border-bottom: 2px solid var(--copy); }
.wk-cap .sw-name { font-size: clamp(22px, 1.9vw, 32px); margin-top: 8px; }
.wk-cap .sw-copy { font-size: 14px; line-height: 1.6; margin-top: 10px; }
.wk-cap.top { bottom: auto; top: 26px; }
.wk-cap.wide { width: min(560px, 70%); }
.wk-cap .sw-name.xl { font-size: clamp(34px, 3.4vw, 60px); }

/* facts strip, right */
.wk-stage .wk-facts { position: absolute; right: 26px; bottom: 26px; z-index: 3; width: min(360px, 34%); }

/* system: colour bands fill the stage */
.wk-bands { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.wk-band { position: relative; background: var(--c); }
.wk-band span { position: absolute; left: 16px; bottom: 16px; font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(242,240,236,.7); mix-blend-mode: difference; }
.wk-band b { display: block; font-family: 'Tektur', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0; color: rgba(242,240,236,.95); margin-top: 3px; }
.wk-type-ov { position: absolute; right: 26px; top: 26px; z-index: 3; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 16px 20px; border: 1px solid rgba(242,240,236,.18); background: rgba(8,9,16,.62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.wk-type-ov .g { font-family: 'Montserrat', 'Tektur', sans-serif; font-weight: 800; font-size: 64px; line-height: 1; color: var(--ink-hi); }
.wk-type-ov dl { margin: 0; display: grid; gap: 8px; }
.wk-type-ov dt { font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-lo); }
.wk-type-ov dd { margin: 2px 0 0; font-family: 'Tektur', sans-serif; font-weight: 600; font-size: 13px; color: var(--ink-hi); }
.wk-marks-ov { position: absolute; right: 26px; bottom: 26px; z-index: 3; width: min(340px, 32%); padding: 14px; border: 1px solid rgba(242,240,236,.18); background: #f2f0ec; }
.wk-marks-ov img { display: block; width: 100%; }
.wk-marks-ov span { position: absolute; left: 14px; bottom: 8px; font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: #6b6577; }

/* applications: thumb strip inside the stage */
.wk-stage .wk-strip { position: absolute; right: 26px; bottom: 26px; z-index: 3; width: min(520px, 48%); grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 8px; border: 1px solid rgba(242,240,236,.18); background: rgba(8,9,16,.62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.wk-stage .wk-bg img#app-main { transition: opacity 300ms; }

/* web: the monitor fills the stage */
.wk-stage .wk-devs { position: absolute; inset: 26px 26px 0 26px; display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; align-items: end; }
.wk-stage .dev-mon { margin: 0 0 42px; }
.wk-stage .dev-ph { max-width: 190px; margin: 0 0 30px; }
.wk-stage .wk-cap.web { width: min(380px, 36%); }
.wk-stage .dev-label { position: absolute; left: 0; bottom: 8px; margin: 0; width: 100%; }

@media (max-width: 960px) {
  .rm.wk.stage .rm-split { grid-template-columns: 1fr; }
  .rm.wk.stage .sw-list { position: relative; width: auto; display: flex; overflow-x: auto; }
  .rm.wk.stage .sw-btn { padding: 12px 14px; }
  .rm.wk.stage .wk-file { grid-column: 1; }
  .wk-stage { height: auto; min-height: 70vh; }
  .wk-cap, .wk-stage .wk-facts, .wk-stage .wk-strip, .wk-type-ov, .wk-marks-ov { position: static; width: auto; margin: 12px; }
  .wk-stage .wk-devs { position: static; grid-template-columns: 1fr; padding: 12px; }
  .wk-bands { position: static; height: 160px; }
}

.wk-panel.wk-stage { display: none; } .wk-panel.wk-stage.is-on { display: block; }
.wk-panel.wk-stage.is-on.swap > * { animation: mmSwap 360ms var(--ease-out) both; }
/* v2.1 fixes */
.wk-stage .wk-devs { align-items: center; grid-template-columns: minmax(0, 1fr) 170px; inset: 26px 26px 26px 26px; }
.wk-stage .dev { width: 100%; }
.wk-stage .dev-mon { width: min(100%, calc((min(640px, 66vh) - 170px) * 1.7)); margin: 36px 0 0 auto; }
.wk-stage .dev-ph { max-width: 170px; margin: 0 0 0 auto; }
.wk-stage .dev-label { position: static; margin-top: 46px; }
.wk-stage .wk-cap.web { width: min(340px, 30%); }
.wk-stage .wk-bg.fit img { max-width: 50%; margin-left: 22%; }
.wk-band span { bottom: 14px; left: 14px; line-height: 1.2; }
.wk-bands { bottom: 0; }
.wk-stage .wk-bg.light::after { display: none; }
.wk-stage .wk-bg.fit img { mix-blend-mode: multiply; } .wk-stage .wk-bg.light + .wk-cap { background: rgba(8,9,16,.86); }


/* v3 · the shell shows summaries only */
.rm.wk.shell .rm-split { grid-template-columns: minmax(420px, .85fr) minmax(0, 2fr); }
.wk-col { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; border-right: 1px solid var(--if-line); }
.wk-col .rm-head { grid-template-columns: 1fr; border-bottom: 1px solid var(--if-line); }
.wk-col .sw-list { border-right: 0; }
.sum { grid-template-rows: minmax(0, 1fr) auto; }
.sum-body { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.sum-facts { grid-template-columns: repeat(3, auto); gap: 0 36px; padding: 10px 30px; border: 0; border-top: 1px solid var(--if-line); background: rgba(8,9,16,.22); }
.sum-facts::before { display: none; }
.sum-facts > div { display: flex; align-items: baseline; gap: 10px; }
.sum-facts dd { margin: 0; font-size: 13px; }
.sum-open { align-self: end; }
.rm.wk.shell .rm-head { padding: 16px 30px 14px; }
.rm.wk.shell .room-sub { font-size: 13.5px; max-width: none; text-align: right; color: var(--ink-lo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: 6px; }
.sum { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 560px; }
.sum-hero { position: relative; height: auto; min-height: 0; overflow: hidden; background: #08090f; }
/* one screen, no scroll, on desktop */
@media (min-width: 961px) {
  .room.wk.shell { padding: 20px; min-height: 0; }
  .room--iface.wk.shell .room-body.if-frame { height: calc(100vh - 40px); max-height: none; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; padding-bottom: 0; width: calc(100vw - 40px); }
  .rm.wk.shell .rm-split { min-height: 0; margin-top: -10px; }
  .rm.wk.shell .sw-list { overflow-y: auto; min-height: 0; }
  .sum { min-height: 0; }
  .sum-body { padding: 14px 30px 16px; gap: 28px; }
  .sum-body .sw-name { font-size: clamp(26px, 2.2vw, 38px); margin-top: 6px; }
  .sum-body .sw-copy { font-size: 14.5px; margin-top: 8px; }
  .sum-chips { margin-top: 12px; }
  .sum-open { padding: 11px 14px; }
  .wk-sample { bottom: -18px; }
}
.sum-hero img, .sum-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; transition: opacity 400ms var(--ease-out); }
.sum-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border: 1px solid var(--if-line); }
.sum-hero .if-c { z-index: 2; }
.sum-tag { position: absolute; left: 22px; top: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid rgba(242,240,236,.25); background: rgba(8,9,16,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.sum-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px rgba(240,61,46,.8); animation: hudLive 1.2s ease-in-out infinite; }
.sum-body { padding: 22px 30px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; align-items: start; }
.sum-body .sw-name { font-size: clamp(28px, 2.6vw, 44px); margin-top: 8px; }
.sum-body .sw-copy { font-size: 15.5px; max-width: 54ch; margin-top: 12px; }
.sum-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sum-chips li { padding: 6px 10px; border: 1px solid var(--if-line); background: rgba(12,14,26,.4); font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.sum-side { display: grid; gap: 14px; }
.sum-facts { margin: 0; display: grid; gap: 12px; padding: 16px 18px; border: 1px solid var(--if-line); background: rgba(12,14,26,.4); position: relative; }
.sum-facts::before { content: ''; position: absolute; left: -1px; top: -1px; width: 9px; height: 9px; border-left: 2px solid var(--copy); border-top: 2px solid var(--copy); }
.sum-facts dt { font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-lo); }
.sum-facts dd { margin: 3px 0 0; font-family: 'Tektur', sans-serif; font-weight: 600; font-size: 14px; color: var(--ink-hi); }
.sum-open { all: unset; cursor: pointer; display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; border: 1px solid rgba(255,221,77,.6); background: rgba(255,221,77,.08); font-family: 'Tomorrow', sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); transition: background 150ms, color 150ms; }
.sum-open svg { width: 18px; height: 11px; transition: transform 150ms var(--ease-out); }
.sum-open:hover, .sum-open:focus-visible { background: var(--yellow); color: #0b0b12; }
.sum-open:hover svg { transform: translateX(4px); }
.sum-open.soon { border-color: rgba(242,240,236,.2); background: transparent; color: var(--ink-lo); cursor: default; }
.sum.swap > * { animation: mmSwap 360ms var(--ease-out) both; }
.sum.swap > *:nth-child(2) { animation-delay: 60ms; }
.rm.wk .sw-btn { grid-template-columns: 54px 1fr; }
.rm.wk .sw-btn.is-soon .sw-t { color: var(--ink); }
.wk-count { display: flex; justify-content: space-between; align-items: center; padding: 10px 30px; border-top: 1px solid var(--if-line); font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-lo); }
.wk-count b { color: var(--ink); font-weight: 500; }
@media (max-width: 960px) { .rm.wk.shell .rm-split { grid-template-columns: 1fr; } .wk-col { border-right: 0; } .sum-body { grid-template-columns: 1fr; } .sum-hero { height: 240px; } .sum-facts { grid-template-columns: 1fr; gap: 6px; } }


/* inside the light site the shell is the room overlay again, not a page */
body.lt .room.wk.shell { position: fixed; inset: 0; z-index: 40; min-height: 0; opacity: 0; overflow: hidden; padding: 20px; place-items: center; }
body.lt .room.wk.shell.open { opacity: 1; }
body.lt .room.wk.shell::after { display: block; }
body.lt .room--iface.wk.shell .if-bar { position: sticky; }
@media (max-width: 960px) {
  body.lt .room.wk.shell { padding: 0; place-items: start center; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  body.lt .room--iface.wk.shell .room-body.if-frame { height: auto; min-height: 100dvh; width: 100%; max-width: 100vw; overflow-x: hidden; }
  body.lt .rm.wk.shell .rm-split { grid-template-columns: minmax(0, 1fr); }
  body.lt .rm.wk.shell .wk-col, body.lt .rm.wk.shell .sum, body.lt .rm.wk.shell .sum-body, body.lt .rm.wk.shell .sum-main { min-width: 0; }
  body.lt .rm.wk.shell .sw-list { overflow-x: auto; overflow-y: hidden; max-width: 100%; }
  body.lt .rm.wk.shell .wk-tabs { overflow-x: auto; }
}

/* ===== Movie Magicians case room, ported from case-movie-magicians.html (7 Nov) ===== */

/* case room v1: one screen, the stage fills the frame */
.room.wk.stage { padding: 20px 0; height: 100vh; min-height: 0; }
.room--iface.wk.stage .room-body.if-frame { width: calc(100vw - 40px); height: calc(100vh - 40px); display: grid; grid-template-rows: auto minmax(0, 1fr); padding-bottom: 0; }
.rm.wk.stage .rm-split.case { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.rm.wk.stage .wk-file { grid-column: 1; min-height: 0; grid-template-rows: auto minmax(0, 1fr) auto; }
.wk-panels { min-height: 0; height: 100%; }
.wk-stage { height: 100%; }
.wk-panel.wk-stage.is-on { display: block; height: 100%; }
.wk-steps { padding-left: 30px; }
.wk-steps .wk-crumb { font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-lo); padding-right: 22px; margin-right: 10px; border-right: 1px solid var(--if-line); white-space: nowrap; }
.wk-steps .wk-crumb b { color: var(--ink-hi); font-weight: 600; }
.wk-stage .wk-devs { inset: 26px 40px 26px 33%; align-items: center; }
.wk-stage .dev-mon { width: min(100%, calc((100vh - 380px) * 1.7)); margin-top: 0; }
.wk-stage .wk-cap.web { top: auto; bottom: 26px; width: min(380px, 28%); }
.wk-cap .sw-name.xl { font-size: clamp(36px, 3.8vw, 68px); }
.wk-cap.wide { width: min(620px, 56%); }
.wk-stage .wk-facts { width: min(380px, 30%); }
.wk-stage .wk-bg.fit img { max-width: 44%; margin-left: 20%; }

/* v2: nothing on the stage but the work; one console strip under it */
.rm.wk.stage .wk-file { grid-template-rows: auto minmax(0, 1fr) auto; }
.wk-read { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 1.5fr) auto; grid-template-rows: auto auto; column-gap: 32px; align-items: center; padding: 12px 30px 0; border-top: 1px solid var(--if-line); background: rgba(8,9,16,.22); }
.wk-read-main .if-kicker { margin: 0; }
.wk-read-main .sw-name { margin: 4px 0 0; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.1; text-wrap: balance; }
.wk-read-copy { margin: 0; font-family: 'Tomorrow', sans-serif; font-size: 13px; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wk-read-side { display: grid; justify-items: end; gap: 10px; }
.wk-read-cmd { grid-column: 1 / -1; margin: 10px -30px 0; }
.wk-read.swap > *:not(.wk-read-cmd) { animation: mmSwap 360ms var(--ease-out) both; }
.wk-stage .wk-strip { bottom: 20px; right: 20px; }
.wk-stage .wk-bg.fit img { max-width: 56%; margin-left: 0; }
.wk-stage .wk-bg::after { background: linear-gradient(0deg, rgba(8,9,16,.35) 0%, rgba(8,9,16,0) 30%); }
.wk-stage .wk-devs { inset: 26px 40px 26px 40px; grid-template-columns: minmax(0, 1fr) 190px; }
.wk-stage .dev-mon { width: min(100%, calc((100vh - 400px) * 1.7)); margin-inline: auto; }
.wk-marks-ov { bottom: 20px; right: 20px; }
.wk-type-ov { top: 20px; right: 20px; }
@media (max-width: 960px) { .wk-read { grid-template-columns: 1fr; row-gap: 8px; } .wk-read-side { justify-items: start; } }

/* v3: content column left, tall stage right, no foot strip */
.rm.wk.stage .wk-file.case2 { display: grid; grid-template-columns: minmax(350px, .68fr) minmax(0, 2.1fr); grid-template-rows: auto minmax(0, 1fr); min-height: 0; }
.wk-file.case2 .wk-steps { grid-column: 1 / -1; }
.wk-side { display: grid; grid-template-rows: auto 1fr auto; min-height: 0; padding: 24px 26px 18px 30px; border-right: 1px solid var(--if-line); background: rgba(8,9,16,.22); }
.wk-side .if-kicker { margin: 0; }
.wk-side .sw-name { margin: 8px 0 0; font-size: clamp(26px, 2.2vw, 40px); line-height: 1.06; text-wrap: balance; }
.wk-side .wk-read-copy { margin: 14px 0 0; font-size: 14.5px; line-height: 1.6; -webkit-line-clamp: 12; }
.wk-side-facts { margin: 22px 0 0; align-self: start; display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--if-line); }
.wk-side-facts > div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline; }
.wk-side-facts dt { font-family: 'Tomorrow', sans-serif; font-weight: 500; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-lo); }
.wk-side-facts dd { margin: 0; font-family: 'Tomorrow', sans-serif; font-size: 13px; line-height: 1.5; color: var(--ink); }
.wk-side-top { grid-row: 1; }
.wk-side-facts { grid-row: 2; }
.wk-side-foot { grid-row: 3; align-self: end; display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--if-line); }
.wk-steps { height: 48px; box-sizing: border-box; display: flex; align-items: stretch; }
.wk-steps .wk-crumb { display: inline-flex; align-items: center; }
.wk-steps .wk-step { display: inline-flex; align-items: center; height: 100%; padding-top: 0; padding-bottom: 0; margin-bottom: 0; border-bottom: 2px solid transparent; box-sizing: border-box; }
.wk-steps .wk-step.is-on { border-bottom-color: var(--yellow); }
.wk-steps .wk-arrows { margin-left: auto; align-self: center; height: 32px; margin-bottom: 0; }
.wk-steps .wk-arrow { height: 32px; }
.wk-side.swap > .wk-side-top > * { animation: mmSwap 360ms var(--ease-out) both; }
.wk-panels { grid-column: 2; }
.wk-stage .wk-devs { inset: 26px 34px; grid-template-columns: minmax(0, 1fr) 170px; }
.wk-stage .dev-mon { width: min(100%, calc((100vh - 330px) * 1.7)); }
.wk-stage .dev-ph { max-width: 170px; }
.wk-stage .wk-bg.fit img { max-width: 62%; }
@media (max-width: 960px) { .rm.wk.stage .wk-file.case2 { grid-template-columns: 1fr; } .wk-side { border-right: 0; border-bottom: 1px solid var(--if-line); } .wk-panels { grid-column: 1; } }

body.lt .room.wk.stage { position: fixed; inset: 0; z-index: 41; min-height: 0; opacity: 0; overflow: hidden; padding: 20px; place-items: center; height: auto; }
body.lt .room.wk.stage.open { opacity: 1; }
body.lt .room.wk.stage::after { display: block; }
body.lt .room--iface.wk.stage .room-body.if-frame { max-height: none; }
body.lt .wk-next.case-x { cursor: pointer; }
@media (max-width: 960px) {
  body.lt .room.wk.stage { padding: 0; place-items: start center; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  body.lt .room--iface.wk.stage .room-body.if-frame { height: auto; min-height: 100dvh; width: 100%; max-width: 100vw; overflow-x: hidden; }
  body.lt .rm.wk.stage .wk-file.case2 { grid-template-columns: minmax(0, 1fr); }
  body.lt .rm.wk.stage .wk-side, body.lt .rm.wk.stage .wk-panels { min-width: 0; }
  body.lt .rm.wk.stage .wk-panel.wk-stage.is-on { height: 62vh; }
}

/* ===== trial (12 Nov, ?rail=motion): the rail's own form, with new motion. Scoped to .rail--motion. ===== */
.lt .rail.rail--motion .rail-mark::before {
  transition:
    background 260ms var(--ease-out),
    border-color 260ms var(--ease-out),
    transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 260ms var(--ease-out);
}
.lt .rail.rail--motion .rail-link.is-flash .rail-mark::before {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: scale(1.7);
  box-shadow: 0 0 14px rgba(255, 221, 77, 0.95);
}
.lt .rail.rail--motion .rail-pulse {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 3;
  width: 3px;
  height: 24px;
  margin: -18px 0 0 -1.5px;
  border-radius: 2px;
  background: linear-gradient(to bottom, rgba(255, 221, 77, 0), var(--yellow) 70%, #fff);
  box-shadow: 0 0 12px rgba(255, 221, 77, 0.9);
  pointer-events: none;
  will-change: transform, opacity;
}
@media (max-width: 900px) and (min-height: 501px) {
  .lt .rail.rail--motion .rail-pulse {
    left: 0;
    top: 50%;
    width: 24px;
    height: 3px;
    margin: -1.5px 0 0 -18px;
    background: linear-gradient(to right, rgba(255, 221, 77, 0), var(--yellow) 70%, #fff);
  }
}

/* trial (?rail=motion), hover: the square blinks, and the name is a yellow tag that wipes out from the square (Naveen 12 Nov) */
.lt .rail.rail--motion .rail-link:hover .rail-mark::before,
.lt .rail.rail--motion .rail-link:focus-visible .rail-mark::before {
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 0 12px rgba(255, 221, 77, 0.9);
  animation: railSquareBlink 720ms var(--ease-in-out) infinite;
}
@keyframes railSquareBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.lt .rail.rail--motion .rail-label {
  right: 38px;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0b0b12;
  background: var(--yellow);
  border-radius: 0;
  padding: 8px 12px 7px;
  box-shadow:
    0 0 18px rgba(255, 221, 77, 0.35),
    0 4px 18px rgba(0, 0, 0, 0.4);
  opacity: 1;
  transform: translate(0, -50%);
  clip-path: inset(0 0 0 100%); /* fully hidden, its connector too */
  transition: clip-path 280ms cubic-bezier(0.7, 0, 0.2, 1);
}
.lt .rail.rail--motion .rail-label::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  width: 10px;
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--yellow);
}
.lt .rail.rail--motion .rail-link:hover .rail-label,
.lt .rail.rail--motion .rail-link:focus-visible .rail-label,
.lt .rail.rail--motion .rail-map:hover .rail-label,
.lt .rail.rail--motion .rail-map:focus-visible .rail-label {
  clip-path: inset(0 -12px 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .lt .rail.rail--motion .rail-link:hover .rail-mark::before {
    animation: none;
  }
  .lt .rail.rail--motion .rail-label {
    transition: none;
  }
}

/* trial (?rail=motion): the map mark answers the pointer as the squares do (Naveen 12 Nov) */
.lt .rail.rail--motion .rail-map-mark svg {
  transition: color 200ms var(--ease-out);
}
.lt .rail.rail--motion .rail-map:hover .rail-map-mark svg,
.lt .rail.rail--motion .rail-map:focus-visible .rail-map-mark svg {
  color: var(--yellow);
  filter: drop-shadow(0 0 6px rgba(255, 221, 77, 0.9));
  animation: railSquareBlink 720ms var(--ease-in-out) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .lt .rail.rail--motion .rail-map:hover .rail-map-mark svg {
    animation: none;
  }
}

/* trial (?rail=motion): one rail. On desktop it stays over the city map and the map's own numbered list is not shown. */
@media (min-width: 901px) {
  body.rail-one.lt-mm .rail.is-on {
    visibility: visible;
    z-index: 36;
  }
  body.rail-one .mm-list {
    display: none;
  }
  /* over the map a square needs no name tag: its pin lights and its card opens */
  body.rail-one.lt-mm .rail .rail-link .rail-label {
    display: none;
  }
}

/* trial (?rail=motion), the map's pin labels in the interface's own terms (Naveen 12 Nov): a small glass tag in the display
   type, the district number in yellow, two corner marks; the district you are in is the yellow tag, as on the rail */
body.rail-one .mm-pin {
  counter-reset: pin var(--k);
}
body.rail-one .mm-pin-place {
  top: 66px;
  padding: 6px 10px 5px;
  font-family: "Tektur", sans-serif;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--copy);
  background: linear-gradient(180deg, rgba(12, 14, 26, 0.66), rgba(12, 14, 26, 0.46));
  -webkit-backdrop-filter: blur(9px) saturate(1.2);
  backdrop-filter: blur(9px) saturate(1.2);
  border: 1px solid rgba(242, 240, 236, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(242, 240, 236, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.35);
  transition:
    background 220ms var(--ease-out),
    color 220ms var(--ease-out),
    border-color 220ms var(--ease-out);
}
body.rail-one .mm-pin:not(:first-child) .mm-pin-place::before {
  content: counter(pin, decimal-leading-zero) "\00a0\00a0";
  color: var(--yellow);
}
body.rail-one .mm-pin-place::after {
  content: "";
  position: absolute;
  inset: -4px;
  pointer-events: none;
  --c: var(--copy);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 7px 1.5px,
    linear-gradient(var(--c), var(--c)) 0 0 / 1.5px 7px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 7px 1.5px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 1.5px 7px;
  background-repeat: no-repeat;
  opacity: 0.85;
}
body.rail-one .mm-pin.is-hot .mm-pin-place {
  border-color: rgba(255, 221, 77, 0.75);
  color: #fff;
}
body.rail-one .mm-pin.is-hot .mm-pin-place::after {
  --c: var(--yellow);
  opacity: 1;
}
body.rail-one .mm-pin.is-here .mm-pin-place {
  color: #0b0b12;
  background: var(--yellow);
  border-color: var(--yellow);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 0 18px rgba(255, 221, 77, 0.35), 0 4px 18px rgba(0, 0, 0, 0.4);
}
body.rail-one .mm-pin.is-here .mm-pin-place::before {
  color: #0b0b12;
}
body.rail-one .mm-pin.is-here .mm-pin-place::after {
  --c: var(--yellow);
  opacity: 1;
}

/* trial (?rail=motion): the card that opens from a pin, as a small district panel (Naveen 12 Nov) */
.mm-card--if {
  padding-top: 0;
}
.mm-card--if .mm-card-bar {
  margin: 0 -20px 14px;
  padding: 10px 20px 9px;
  gap: 12px;
  font-size: 10px;
}
.mm-card--if.is-compact .mm-card-bar {
  margin: 0 -16px 13px;
  padding: 7px 16px 6px;
  font-size: 9.5px;
}
/* the compact card keeps its old height with the bar added, so it still finds room beside its pin */
/* 13 Nov (Naveen: "looks a bit congested"): more air between the lines */
.mm-card--if.is-compact {
  padding-bottom: 16px;
}
.mm-card--if.is-compact .mm-card-t {
  margin-top: 9px;
  font-size: 19px;
}
.mm-card--if.is-compact .mm-card-s {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.4;
}
.mm-card--if.is-compact .mm-card-go {
  margin-top: 14px;
  padding: 6px 11px 6px 9px;
}
.mm-card--if .mm-card-bar .if-sys {
  white-space: nowrap;
}
.mm-card--if .mm-card-bar .if-sys b {
  color: var(--copy);
  font-weight: 600;
}
.mm-card--if .mm-card-bar .if-seg i {
  width: 8px;
}
.mm-card--if .mm-card-bar .if-seg i.lit {
  background: var(--purple-lit);
}
.mm-card--if .mm-card-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.mm-card--if .mm-card-live b {
  font-weight: 500;
  color: var(--copy);
}
.mm-card--if .mm-card-live i {
  width: 6px;
  height: 6px;
  background: rgba(242, 240, 236, 0.45);
}
.mm-card--if .mm-card-live.st-you-are-here i {
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 221, 77, 0.9);
}
.mm-card--if .mm-card-live.st-you-are-here b {
  color: var(--yellow);
}
.mm-card--if .mm-card-live.st-visited i,
.mm-card--if .mm-card-live.st-where-we-started i {
  background: var(--copy);
}
/* the heading: a yellow dot, then the district alias (13 Nov, Naveen: a dot in place of the dash) */
.mm-card--if .mm-card-k {
  display: flex;
  align-items: center;
  gap: 9px;
}
.mm-card--if .mm-card-k::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 221, 77, 0.8);
  flex: none;
}
/* the status row repeats the header now */
.mm-card--if .mm-card-r {
  display: none;
}
/* four corners, and the rulers above and below, as on every panel */
.mm-c--tr {
  right: -5px;
  top: -5px;
  border-right-width: 2px;
  border-top-width: 2px;
}
.mm-c--bl {
  left: -5px;
  bottom: -5px;
  border-left-width: 2px;
  border-bottom-width: 2px;
}
.mm-card--if::before,
.mm-card--if::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 6px;
  pointer-events: none;
  opacity: 0.5;
  background: repeating-linear-gradient(90deg, rgba(242, 240, 236, 0.7) 0 1px, transparent 1px 10px);
}
.mm-card--if::before {
  top: -7px;
}
.mm-card--if::after {
  bottom: -7px;
}
/* the panel scan, once, as the card opens */
.mm-card-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 60px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, rgba(134, 87, 224, 0) 0%, rgba(134, 87, 224, 0.1) 70%, rgba(242, 240, 236, 0.5) 99%, rgba(242, 240, 236, 0) 100%);
}
.mm-card--if.on .mm-card-scan {
  --scan-h: 240px;
  animation: ifScan 800ms cubic-bezier(0.4, 0, 0.2, 1) 300ms 1 both;
}
.mm-card--if {
  overflow: visible;
}
@media (prefers-reduced-motion: reduce) {
  .mm-card--if.on .mm-card-scan {
    animation: none;
  }
}

/* 13 Nov (Naveen: "remove the hyphen from gates as well"): on the district panels the Arrived line opens with the same
   yellow dot as the pin box heading, in place of the dash. The rooms follow (Naveen, same day): every small yellow heading in a room opens with the dot, and so does "The route" above the phone map's list. */
.gate .if-kicker::before,
.room .if-kicker::before,
.if-kicker.mm-list-k::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 221, 77, 0.8);
  flex: none;
}


/* ---------- 14 Nov (Naveen): the rail on phones ----------
   No words, marks are progress only (not tappable), a small yellow cat walks the line (assets/js/railcat.js),
   the district's square blinks twice on arrival and stays yellow, no viewfinder, the map mark sits on the line in yellow.
   Desktop is untouched. */
.rail-cat {
  display: none;
}
@media (max-width: 900px) and (min-height: 501px) {
  .lt .rail .rail-link {
    pointer-events: none;
  }
  .lt .rail .rail-lock,
  .lt .rail .rail-ping {
    display: none;
  }
  .lt .rail .rail-line-done {
    background: var(--yellow);
  }
  .lt .rail .rail-cat {
    display: block;
    position: absolute;
    left: 0;
    z-index: 3;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }
  .lt .rail .rail-link.is-here .rail-mark::before {
    box-shadow: none;
    transition:
      background-color 0s linear 0.66s,
      border-color 0s linear 0.66s;
  }
  .lt .rail .rail-link.cat-landed .rail-mark::before {
    animation: railCatBlink 600ms steps(1, end) 1;
  }
  /* the map mark on the rail's own line (it sat 18px lower: the desktop's gap below the squares), with a full-size touch area */
  .lt .rail .rail-map {
    margin-top: 0;
  }
  .lt .rail .rail-map::after {
    content: "";
    position: absolute;
    inset: 0 -6px;
  }
  .lt .rail .rail-map-mark svg {
    width: 18px;
    height: 18px;
    color: var(--yellow);
    filter: drop-shadow(0 1px 1px rgba(5, 5, 8, 0.8));
  }
  /* the cat's own gestures are the scroll cue now; the next square no longer carries a pulsing frame */
  .lt .rail.cue-next .rail-link.is-next .rail-mark::after {
    border-color: inherit;
    animation: none;
  }
  /* back on the title screen the stroll line stands clear of the rail */
  body.rail-cat-on .s0-instruction {
    translate: 0 -52px;
  }
}
@keyframes railCatBlink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0.15;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lt .rail .rail-link.is-here .rail-mark::before {
    transition: none;
  }
  .lt .rail .rail-link.cat-landed .rail-mark::before {
    animation: none;
  }
}
/* 14 Nov (Naveen): on phones the city map is the district list only, no aerial view (also as the last stop of the walk) */
@media (max-width: 760px) {
  .lt .mapmenu picture,
  .lt .mapmenu .mapmenu-shade,
  .lt .mapmenu .mapmenu-route,
  .lt .mapmenu .mapmenu-pins,
  .lt .mapmenu .mm-scan,
  .lt .mapmenu .mm-grid,
  .lt .mapmenu::after {
    display: none;
  }
  .lt .mapmenu {
    background: var(--room);
  }
  .lt .mapmenu .mm-list {
    top: var(--mm-strip-top, 60px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .lt .mapmenu .mm-rows {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden auto; /* all nine rows share the height; on a very short screen the rows scroll */
    overscroll-behavior: contain;
  }
  .lt .mapmenu .mm-rows > * {
    flex: 1 0 52px;
  }
}

/* ---------- 14 Nov (Naveen: "I want to move the rail to bottom", with the Desktop Rail Cat Demo) ----------
   On desktop the rail now runs along the bottom, centred, as it does on phones, and carries the cat (assets/js/railcat.js).
   The squares keep their own motion (the opening pulse, the flash, the hover blink) and the yellow name tag, which now opens
   below its square. No viewfinder: the district you are in is the yellow square. The map mark sits at the end of the line. */
@media (min-width: 901px) {
  .lt .rail {
    --row: clamp(40px, calc((100vw - 120px) / 11), 72px);
    top: auto;
    right: auto;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    flex-direction: row;
    align-items: center;
  }
  .lt .rail::before {
    display: none;
  }
  .lt .rail-list {
    flex-direction: row;
    align-items: center;
  }
  .lt .rail-item {
    height: 44px;
    width: var(--row);
  }
  .lt .rail-link,
  .lt .rail-map {
    min-width: 0;
    width: var(--row);
    height: 44px;
    justify-content: center;
  }
  .lt .rail-mark,
  .lt .rail-map-mark {
    height: 44px;
  }
  .lt .rail-line {
    right: auto;
    top: 22px;
    left: calc(var(--row) / 2);
    width: calc(var(--row) * 8);
    height: 1.5px;
    background: repeating-linear-gradient(to right, var(--copy) 0 1.5px, transparent 1.5px 5px);
  }
  .lt .rail-line-done,
  .lt .rail-line-active {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .lt .rail-line-active {
    top: -0.75px;
    bottom: -0.75px;
  }
  .lt .rail .rail-line-done {
    background: var(--yellow);
  }
  .lt .rail-lock {
    left: 0;
    top: 50%;
  }
  .lt .rail .rail-lock,
  .lt .rail .rail-ping {
    display: none;
  }
  .lt .rail .rail-map {
    margin-top: 0;
  }
  .lt .rail .rail-map-mark svg {
    width: 18px;
    height: 18px;
    color: var(--yellow);
  }
  .lt .rail.rail--motion .rail-pulse {
    left: 0;
    top: 50%;
    width: 24px;
    height: 3px;
    margin: -1.5px 0 0 -18px;
    background: linear-gradient(to right, rgba(255, 221, 77, 0), var(--yellow) 70%, #fff);
  }
  /* the district you are in: its square turns yellow as the cat lands, and blinks twice */
  .lt .rail .rail-link.is-here:not(:hover) .rail-mark::before {
    transition:
      background-color 0s linear 0.66s,
      border-color 0s linear 0.66s;
  }
  .lt .rail .rail-link.cat-landed .rail-mark::before {
    animation: railCatBlink 600ms steps(1, end) 1;
  }
  .lt .rail.cue-next .rail-link.is-next .rail-mark::after {
    border-color: inherit;
    animation: none;
  }
  /* the cat's canvas sits over the line and never takes the pointer; a small button rides with the cat for clicks.
     14 Nov, evening: the desktop cat has its own canvas (.rail-cat-desk, assets/js/railcat-desk.js); the phone's .rail-cat is never shown here */
  .lt .rail .rail-cat-desk {
    display: block;
    position: absolute;
    z-index: 3;
    pointer-events: none;
  }
  .lt .rail .rail-cat-hit {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    width: 40px;
    height: 38px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  /* the name tag opens below its square */
  .lt .rail.rail--motion .rail-link .rail-label,
  .lt .rail.rail--motion .rail-map .rail-label {
    right: auto;
    left: 50%;
    top: calc(50% + 16px);
    transform: translate(-50%, 0);
    clip-path: inset(0 0 100% 0);
  }
  .lt .rail.rail--motion .rail-link .rail-label::after,
  .lt .rail.rail--motion .rail-map .rail-label::after {
    right: auto;
    left: 50%;
    top: -9px;
    width: 1.5px;
    height: 9px;
    margin: 0 0 0 -0.75px;
  }
  .lt .rail.rail--motion .rail-link:hover .rail-label,
  .lt .rail.rail--motion .rail-link:focus-visible .rail-label,
  .lt .rail.rail--motion .rail-map:hover .rail-label,
  .lt .rail.rail--motion .rail-map:focus-visible .rail-label {
    transform: translate(-50%, 0);
    clip-path: inset(-10px 0 0 0);
  }
  /* on the title screen the stroll line stands clear of the rail */
  body.rail-cat-on .s0-instruction {
    translate: 0 -74px;
  }
  /* the bottom band is the rail's now, as on phones: the centred "Scroll" cue is not shown; the pulse to the next square
     and the cat leaning toward it are the cue */
  .lt #continue-hint {
    display: none;
  }
}
.rail-cat-hit,
.rail-cat-desk {
  display: none;
}
@media (min-width: 901px) {
  .lt .rail .rail-cat-hit {
    display: block;
  }
}

/* 14 Nov (Naveen: "remove the rail. Just a cat and a proper arrow. Let the cat play with the arrow"):
   the title screen carries no rail and no stroll words (the words stay in the page for screen readers and the editor).
   One small canvas at the bottom centre holds a scroll arrow and the cat that plays with it (HomeCat, assets/js/homecat.js). */
.s0-instruction {
  font-size: 0;
  line-height: 0;
}
.s0-instruction::after {
  display: none;
}
.home-cat {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  opacity: 0;
  transition:
    opacity 400ms var(--ease-out),
    translate 300ms var(--ease-out);
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.home-cat.is-on {
  opacity: 1;
}
/* back on the title screen the rail is there with its own cat: the arrow alone stands clear of it
   (rail-cat-desk-on: the desktop rail cat is showing; rail-cat-on: the phone rail cat is showing) */
body.rail-cat-desk-on .home-cat {
  translate: 0 -78px;
}
body.rail-cat-on .home-cat {
  translate: 0 -56px;
}

/* 14 Nov (Naveen: "These logos can just auto scroll slowly, the rows can scroll both sides"): the Clientele wall is three rows of
   real client logos (one-colour SVG, assets/img/clients/). Each row is its set of tiles twice over and slides by exactly one
   set, so the loop has no seam; alternate rows run the other way, each at its own slow pace. Transform only. The wall holds
   still while the pointer is on it. The sector tabs are gone (a moving wall cannot be filtered).
   Reduced motion: no movement, the logos sit as a centred grid. */
.cl-wall.cl-wall--run {
  display: block;
  padding: 22px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cl-row {
  list-style: none;
  display: flex;
  gap: 10px;
  width: max-content;
  margin: 0 0 10px;
  padding: 0;
  animation: clRun var(--t, 64s) linear infinite;
  will-change: transform;
}
.cl-row:last-child {
  margin-bottom: 0;
}
.cl-row--rev {
  animation-direction: reverse;
}
@media (hover: hover) and (pointer: fine) {
  .cl-wall--run:hover .cl-row {
    animation-play-state: paused;
  }
}
@keyframes clRun {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 5px));
  }
}
.cl-wall--run .cl-tile {
  flex: 0 0 auto;
  width: 196px;
}
/* 14 Nov, later (Naveen: "some of the logos are big and some are small; reduce the big logos who fill the box a bit"):
   each logo carries its own height (--h), worked out from its shape and from how much of its box is ink, so the heavy
   solid marks (KTM, SBI, Levi's, Movie Magicians) come down by up to a fifth and the light, thin ones stay as they were. */
.cl-mark {
  display: block;
  height: var(--h, clamp(24px, calc(148px / var(--r, 3)), 54px));
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.86;
  transition: opacity 200ms;
}
.cl-tile:hover .cl-mark {
  opacity: 1;
}
@media (max-width: 900px) {
  .cl-wall--run .cl-tile {
    width: 148px;
    height: 76px;
  }
  .cl-mark {
    height: calc(var(--h, 40px) * 0.76);
    max-width: 114px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cl-wall.cl-wall--run {
    -webkit-mask-image: none;
    mask-image: none;
    padding: 22px 30px;
  }
  .cl-row {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  .cl-row .cl-tile[aria-hidden="true"] {
    display: none;
  }
}

/* 15 Nov (Naveen: "this part in the Power Grid room looks congested; give some space above the list"): the side heading now runs
   to two lines, so it gets room below it and a little more air between its lines, and the close line sits lower. */
.rm--pg .pg-side .if-kicker {
  margin: 0 0 20px;
  line-height: 1.55;
}
.rm--pg .pg-side .cn-chips {
  margin-bottom: 22px;
}

/* 15 Nov (Naveen): the Power Grid room's channel list is the platform's fourteen channels, and its capability list runs to
   thirteen (Audience Targeting, Predictive Analysis, Dynamic Ad Builder and Smart Recommendation added). */

/* 15 Nov (Naveen: "keep a scroll for Capabilities"): with thirteen capabilities the list made the room taller than the screen.
   On desktop it now shows eight and a half rows and scrolls inside its own frame; the half row says there is more. Phones keep
   the full list, since the whole room scrolls there and a list inside a list is awkward under a thumb. */
@media (min-width: 901px) {
  .rm--pg .sw-list {
    max-height: 294px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 221, 77, 0.75) rgba(205, 196, 240, 0.08);
  }
  .rm--pg .sw-list::-webkit-scrollbar {
    width: 5px;
  }
  .rm--pg .sw-list::-webkit-scrollbar-track {
    background: rgba(205, 196, 240, 0.08);
  }
  .rm--pg .sw-list::-webkit-scrollbar-thumb {
    background: rgba(255, 221, 77, 0.75);
  }
}

/* 15 Nov (Naveen: "Clientele is still big; reduce a bit more; keep the logo sizes uniform visually"): every logo's height (--h, in
   the page) is now set so that all 22 carry about the same visual weight: the same area once the amount of ink is allowed for,
   capped at 42 px high and 132 px wide. */
.cl-wall--run .cl-mark {
  max-width: 132px;
}

/* 15 Nov (Naveen: "remove Mindz, it is too small"): 21 logos, seven to a row. Each row now carries its set four times and
   still slides by half its length (two sets), so the loop stays seamless on very wide screens too; the loops are twice as
   long in time, so the pace is unchanged. */

/* ===================== 16 Nov: launch content sync (working copy -> build) ===================== */
/* "District 01 / 08": the count names what it counts. The word is its own span so a bar with no room can drop it. */
.if-dw { font: inherit; letter-spacing: inherit; }
/* phones: no tags under the readouts, on any gate (Naveen, 16 Nov) */
@media (max-width: 900px) {
  body.lt .lt-stop .iface--dash .if-list { display: none; }
}
/* phones: the gate paragraph is never cut to three lines (Naveen, 16 Nov) */
@media (max-width: 760px) and (max-height: 740px) {
  body.lt .lt-stop .iface--dash .if-text,
  body.lt .lt-stop .iface--gate .if-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
}
/* the manifesto ends on the Curio:City logo, white, in place of the text word mark */
.mf-logo { margin: 0; line-height: 0; }
.mf-logo img { display: block; width: min(340px, 60vw); height: auto; }
.mf-end--logo { padding-bottom: 110px; }
/* contact: the Social card, three platform marks */
.ct-soc { display: flex; gap: 14px; margin: 10px 0 0; padding: 0; list-style: none; }
.ct-soc-a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--if-line, rgba(242, 240, 236, 0.22)); color: var(--ink, #f2f0ec);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease; }
.ct-soc-a svg { width: 18px; height: 18px; fill: currentColor; }
a.ct-soc-a[href]:hover, a.ct-soc-a[href]:focus-visible { color: var(--yellow); border-color: var(--yellow); background: rgba(255, 221, 77, 0.08); }
.ct-hp { position: absolute; left: -9999px; }
/* use cases: every case reads "in preparation" and nothing else */
.cf-cols--prep { grid-template-columns: 1fr; }
/* word readouts (Clients gate): sentence-length values need a smaller size than figures */
.if-stats--words .if-stat dd { font-size: clamp(15px, 1.5vw, 22px); white-space: nowrap; }
@media (max-width: 760px) {
  body.lt .lt-stop .iface--dash .if-stats--words .if-stat { padding-right: 6px; }
  body.lt .lt-stop .iface--dash .if-stats--words .if-stat dd { font-size: clamp(13px, 3.9vw, 16px); }
}
/* the map list: a third line per row, the one-line sub-line (16 Nov) */
.mm-row-s { display: none; }
@media (max-width: 760px) {
  .lt .mapmenu .mm-row,
  .lt .mapmenu .mm-list.is-compact .mm-row { grid-template-rows: auto auto auto; row-gap: 1px; }
  .lt .mapmenu .mm-row-n,
  .lt .mapmenu .mm-row-st { grid-row: 1 / span 3; }
  .lt .mapmenu .mm-row-d { color: var(--yellow); }
  .lt .mapmenu .mm-row-s { display: block; grid-column: 2; font-family: "Tomorrow", sans-serif; font-size: 11.5px; line-height: 1.35; color: var(--copy);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* "District 03 / 08" stays on one line in a phone's gate bar; the progress meter gives up the width */
@media (max-width: 760px) {
  body.lt .lt-stop .iface .if-bar .if-sys { white-space: nowrap; }
}
/* the same on a phone held sideways: the paragraph shows in full, and a panel taller than the screen scrolls inside itself (the walk already allows that) */
@media (max-height: 500px) and (orientation: landscape) {
  body.lt .lt-stop .iface--dash .if-text,
  body.lt .lt-stop .iface--gate .if-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
}
/* a room's bar on a phone has no room for the word: it keeps "CURIO:CITY // 03 / 08", as before */
@media (max-width: 760px) {
  .room .if-bar .if-dw { display: none; }
}
/* the "slow down" line: two lines on a phone instead of an ellipsis, and always clear of the rail */
#lt-calm { bottom: max(14vh, 104px); }
@media (max-width: 760px) {
  #lt-calm { white-space: normal; text-align: left; width: max-content; max-width: calc(100vw - 48px); line-height: 1.45; }
}

/* ===================== 16 Nov: content round 2 ===================== */
/* the manifesto ends on "AN END.", the dedication, then the logo */
.mf-end--logo .mf-ps { margin: 18px 0 44px; }

/* ===================== 16 Nov, 18:00: fixes after Naveen's review of staging ===================== */
/* the district panels sit where they sat before: the Sample tag under each panel was also what held it at the
   middle of the screen, so its removal dropped every panel to the bottom. An empty spacer of the same height takes its place. */
body.lt .lt-stop > .gate.hud.iface--dash::after { content: ""; flex: none; height: 26px; margin-bottom: auto; }
@media (max-width: 760px) {
  body.lt .lt-stop > .gate.hud.iface--dash::after { height: 24px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  body.lt .lt-stop > .gate.hud.iface--dash::after { height: 18px; }
}
/* gate paragraphs show in full on every screen, short desktop windows included (Naveen) */
.iface--dash .if-text,
body.lt .lt-stop .iface--dash .if-text,
body.lt .lt-stop .iface--gate .if-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
/* the manifesto's "AN END." and its dedication are lines of text, not a logo (Naveen) */
.mf-word.mf-word--end { font-family: "Tektur", sans-serif; font-weight: 600; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.2; letter-spacing: 0.04em;
  background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink-hi, #fff); -webkit-text-fill-color: currentColor; filter: none; }
.mf-end--logo .mf-ps { margin: 8px 0 40px; font-size: 13px; }
/* the map's pin box: no "Visited" tag, only a dot. Green: visited. Yellow: not visited yet (Naveen) */
.mm-card--if .mm-card-live b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mm-card--if .mm-card-live i,
.mm-card--if .mm-card-live.st-ahead i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 8px rgba(255, 221, 77, 0.7); }
.mm-card--if .mm-card-live.st-visited i,
.mm-card--if .mm-card-live.st-where-we-started i,
.mm-card--if .mm-card-live.st-you-are-here i { background: #3ddc84; box-shadow: 0 0 8px rgba(61, 220, 132, 0.75); }

/* ===================== 16 Nov, 18:30: second review ===================== */
/* headlines break into balanced lines, never one word alone on the last line (Naveen) */
.room-headline, .gate-line, .if-display, .if-head, .sw-name, .trio-headline, .cn-dname, .mm-card-t, .gate-sub { text-wrap: balance; }
/* manifesto: the carried words (silos, agency, expressions, creativity) stay visible once their line is read; they were left transparent after their flash */
.mf-carry { -webkit-text-fill-color: rgba(205, 196, 240, 0.2); }
.mf-l.on .mf-carry { -webkit-text-fill-color: #f6f3ff; }
@keyframes mfFlash {
  0% { -webkit-text-fill-color: var(--yellow); text-shadow: 0 0 16px rgba(255, 221, 77, 0.8); }
  100% { -webkit-text-fill-color: #f6f3ff; text-shadow: none; }
}
/* manifesto ending: on the same left edge as the lines, and only a little space after the logo */
.mf-end { margin-left: 0; }
.mf-end--logo { padding-bottom: 0; }
#room8a .mf2-scroll { padding-bottom: 16vh; }

/* ===================== 16 Nov, 19:00 ===================== */
/* a room's opening scan line no longer stays parked below the room after its pass: parked there it made the Services room
   scroll about 180 px into nothing, and the rows sliding under the pointer made the detail flicker (Naveen) */
.room--iface.open .room-body > .if-scan { animation-fill-mode: backwards; }
.room--iface .room-body > .if-scan.again { animation-fill-mode: backwards !important; }

/* ===================== 16 Nov, 20:40: mobile and room UI pass (Naveen's review) ===================== */

/* ---- 1. the Enter button asks to be pressed: a slow pulse and a nudging arrow, on every gate ---- */
@keyframes enterPulse {
  0%, 55%, 100% { box-shadow: 0 0 0 0 rgba(255, 221, 77, 0); background-color: rgba(255, 221, 77, 0.08); }
  12% { box-shadow: 0 0 0 0 rgba(255, 221, 77, 0.55); background-color: rgba(255, 221, 77, 0.26); }
  40% { box-shadow: 0 0 0 12px rgba(255, 221, 77, 0); background-color: rgba(255, 221, 77, 0.08); }
}
@keyframes enterNudge {
  0%, 55%, 100% { transform: translateX(0); }
  18% { transform: translateX(6px); }
  32% { transform: translateX(0); }
  42% { transform: translateX(4px); }
}
.gate.hud.hud-in .gate-hit.hud-cta { animation: enterPulse 2.6s ease-out 1.6s infinite; }
.gate.hud.hud-in .gate-hit.hud-cta svg { animation: enterNudge 2.6s ease-in-out 1.6s infinite; }
.gate.hud .gate-hit.hud-cta:hover,
.gate.hud .gate-hit.hud-cta:focus-visible { animation: none; }
.gate.hud .gate-hit.hud-cta:hover svg { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .gate.hud.hud-in .gate-hit.hud-cta, .gate.hud.hud-in .gate-hit.hud-cta svg { animation: none; }
  .gate.hud .gate-hit.hud-cta { background: rgba(255, 221, 77, 0.2); }
}

/* ---- 2. the Close button: easy to find on desktop, lighter on phones ---- */
.room--iface .room-x.if-close,
.mapmenu .mapmenu-close.if-close { padding: 8px 14px 8px 16px; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--yellow); border: 1px solid rgba(255, 221, 77, 0.8); background: rgba(255, 221, 77, 0.08); }
.room--iface .room-x.if-close svg,
.mapmenu .mapmenu-close.if-close svg { width: 13px; height: 13px; }
.room--iface .room-x.if-close:hover,
.mapmenu .mapmenu-close.if-close:hover { background: var(--yellow); color: #0b0b12; border-color: var(--yellow); }
.room--iface .room-x.if-close:focus-visible { background: rgba(255, 221, 77, 0.08); color: var(--yellow); outline: 2px solid var(--yellow); outline-offset: 2px; }
@media (max-width: 760px) {
  .lt-rooms .room--iface .room-x.if-close,
  .lt .mapmenu .mapmenu-close.if-close { position: relative; min-height: 0; min-width: 0; padding: 7px 11px 7px 12px; gap: 8px; font-size: 11px; }
  /* the button looks small; the area that answers a thumb stays 44 px high */
  .lt-rooms .room--iface .room-x.if-close::after,
  .lt .mapmenu .mapmenu-close.if-close::after { content: ""; position: absolute; inset: -8px -6px; }
}

/* ---- 3. the yellow line above a room's headline starts on the headline's left edge (Services room) ---- */
.room--console .room-body .cn-head .if-kicker,
.room--console .room-body .cn-left > .if-kicker { margin: 0; }

/* ---- 4. Office card: the clock and "replies within 24 h" on one baseline ---- */
.ct-note { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 2px; line-height: 1.4; }
.ct-note .hud-live { line-height: inherit; }

/* ---- 5. Power Grid gate: "Data partners" on two lines where the other labels take two ---- */
.br-ph { display: none; }

/* ---- 6. phones ---- */
@media (max-width: 760px) {
  .br-ph { display: inline; }
  /* a room's bar: no cut-off name; the kicker under it names the place */
  .room .if-bar .if-rn { display: none; }
  .lt-rooms .room--iface .if-bar .if-sys { font-size: 11px; }
  /* gate readouts: labels take two lines' height so the three values sit on one line */
  body.lt .lt-stop .iface--dash .if-stat dt { font-size: 10.5px; min-height: 2.6em; display: flex; align-items: flex-end; }
  body.lt .lt-stop .iface--dash .if-stats--words .if-stat dt { min-height: 2.6em; }
  /* small type, one step up */
  body.lt .if-kicker { font-size: 11.5px; letter-spacing: 0.16em; }
  .lt-rooms .if-stat dt, .lt-rooms .cl-stats dt, .lt-rooms .ct-reads dt, .lt-rooms .pg-cap, .lt-rooms .cf-k { font-size: 11px; }
  .lt-rooms .cn-chips li, .lt-rooms .sum-tags li { font-size: 12.5px; }
  .lt-rooms .sw-d, .lt-rooms .sum-tag, .lt-rooms .sum-open { font-size: 11.5px; }
  .lt-rooms .cn-graph > span { font-size: 10.5px; }
  .lt-rooms .ct-copy { font-size: 11.5px; padding-top: 9px; padding-bottom: 9px; }
  .lt .mapmenu .mm-row-d { font-size: 11px; }
  .lt .mapmenu .mm-row-s { font-size: 12.5px; }
  .lt .mapmenu .mm-legend span, .lt .mapmenu .mm-legend { font-size: 10.5px; }
  body.lt .lt-stop .if-mod-k { font-size: 10.5px; }
  /* Clients room: "GCC & India" fits its box */
  .lt-rooms .cl-stats dd { font-size: clamp(22px, 6.4vw, 28px); line-height: 1.15; white-space: nowrap; }
  /* map header: one line */
  .lt .mapmenu .mm-bar .if-sys { white-space: nowrap; overflow: hidden; text-overflow: clip; }
  .lt .mapmenu .mm-bar .if-sys .mm-bar-x { display: none; }

  /* the accordion: the description opens under the tapped row */
  .room.is-acc .cn-right { display: none; }
  .room.is-acc .cn-row.is-on, .sw.is-acc .sw-btn.is-on { border-bottom-color: transparent; }
  .room.is-acc .cn-list li > .cn-detail,
  .sw.is-acc .sw-list li > .sw-out { display: block; margin: 0; padding: 4px 16px 20px 18px; border: 0; border-left: 2px solid var(--yellow); background: linear-gradient(90deg, rgba(255, 221, 77, 0.07), rgba(255, 221, 77, 0) 70%); min-height: 0; }
  .room.is-acc .cn-list li > .cn-detail .cn-graph { display: none; }
  .room.is-acc .cn-list li > .cn-detail .if-kicker,
  .sw.is-acc .sw-list li > .sw-out .if-kicker { display: none; }
  .room.is-acc .cn-list li > .cn-detail .cn-dname,
  .sw.is-acc .sw-list li > .sw-out .sw-name { display: none; }
  .room.is-acc .cn-list li > .cn-detail .cn-dcopy,
  .sw.is-acc .sw-list li > .sw-out .sw-copy { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink); max-width: none; }
  .room.is-acc .cn-list li > .cn-detail .cn-chips { margin-top: 14px; }
  .sw.is-acc .sw-list { max-height: none; overflow: visible; }
  /* a closed row says it opens */
  .room.is-acc .cn-row::after, .sw.is-acc .sw-btn::after { content: ""; flex: none; width: 8px; height: 8px; margin-left: 12px; border-right: 1.5px solid rgba(242, 240, 236, 0.6); border-bottom: 1.5px solid rgba(242, 240, 236, 0.6); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s ease; justify-self: end; }
  .room.is-acc .cn-row.is-on::after, .sw.is-acc .sw-btn.is-on::after { transform: rotate(-135deg) translateY(-2px); border-color: var(--yellow); }
  .room.is-acc .cn-row .cn-meter { display: none; }
}
@media (max-width: 760px) {
  .room.is-acc .cn-row { grid-template-columns: 44px 1fr 20px; }
}
@media (max-width: 760px) {
  .lt-rooms .room--iface .room-x.if-close { top: auto; right: auto; }
  .sw.is-acc .sw-btn { padding-right: 40px; }
  .sw.is-acc .sw-btn::after { position: absolute; right: 16px; top: 50%; margin: -6px 0 0; }
  /* Portfolio: the four tabs fit the screen */
  body.lt .rm.wk .wk-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  body.lt .rm.wk .wk-tabs .wk-tab { min-width: 0; padding-left: 8px; padding-right: 8px; text-align: center; }
  body.lt .rm.wk .wk-tabs .wk-tab span { display: none; }
  body.lt .rm.wk .wk-tabs .wk-tab b { font-size: 11px; letter-spacing: 0.1em; }
}
@media (max-width: 760px) {
  /* a room's bar stays readable while the room scrolls under it */
  .lt-rooms .room--iface .if-bar { background: linear-gradient(90deg, #1d1638, #0f0e1a 70%); }
  .room.is-acc .cn-list li, .sw.is-acc .sw-list li { scroll-margin-top: 62px; }
}

/* ===================== 16 Nov, 21:40: third review (Naveen) ===================== */
/* Enter: the same pulse, quicker */
.gate.hud.hud-in .gate-hit.hud-cta { animation-duration: 1.5s; animation-delay: 1.1s; }
.gate.hud.hud-in .gate-hit.hud-cta svg { animation-duration: 1.5s; animation-delay: 1.1s; }

/* the map's pin box: the count line sits in the box itself, without a second box around it */
.mm-card--if .mm-card-bar { background: none; border-bottom: 0; margin-bottom: 2px; padding-top: 14px; padding-bottom: 4px; }
.mm-card--if.is-compact .mm-card-bar { margin-bottom: 0; padding-top: 11px; padding-bottom: 2px; }

/* Close: the word and the cross centred in the button */
.room--iface .room-x.if-close,
.mapmenu .mapmenu-close.if-close { justify-content: center; line-height: 1; padding: 9px 15px 8px 15px; }
.room--iface .room-x.if-close span,
.mapmenu .mapmenu-close.if-close span { display: block; line-height: 1; margin-right: -0.18em; }
.room--iface .room-x.if-close svg,
.mapmenu .mapmenu-close.if-close svg { display: block; flex: none; }

/* the manifesto's phone heading (desktop keeps it in the side column) */
.mf2-top { display: none; }

/* accordion rows that are closed */
.room.is-acc .cn-list li > .cn-detail[hidden],
.sw.is-acc .sw-list li > .sw-out[hidden] { display: none !important; }

@media (max-width: 900px) {
  .mf2-top { display: block; margin: 0 0 26px; }
  .mf2-top .if-kicker { margin: 0 0 10px; }
  .mf2-top .mf2-top-h { margin: 0; }
}
@media (max-width: 760px) {
  .lt-rooms .room--iface .room-x.if-close,
  .lt .mapmenu .mapmenu-close.if-close { padding: 8px 12px 7px 12px; }
  /* gate readouts: no reserved second line above a one-line label; the values still share a line when a label wraps */
  body.lt .lt-stop .iface--dash .if-stat { display: flex; flex-direction: column; }
  body.lt .lt-stop .iface--dash .if-stat dt,
  body.lt .lt-stop .iface--dash .if-stats--words .if-stat dt { min-height: 0; display: block; margin-bottom: auto; }
  /* map list: the alias, larger, and its line; the district name is left to the pins */
  .lt .mapmenu .mm-row-d { display: none; }
  .lt .mapmenu .mm-row,
  .lt .mapmenu .mm-list.is-compact .mm-row { grid-template-rows: auto auto; row-gap: 3px; }
  .lt .mapmenu .mm-row-n, .lt .mapmenu .mm-row-st { grid-row: 1 / span 2; }
  .lt .mapmenu .mm-row-t { font-size: 19px; line-height: 1.2; }
  .lt .mapmenu .mm-row-s { font-size: 13px; }
}
/* phones: a district panel always ends clear of the rail and its cat; a panel taller than that space scrolls inside itself */
@media (max-width: 760px) {
  body.lt .lt-stop > .gate.hud { margin-bottom: 34px; }
  body.lt .lt-stop > .gate.hud.iface--gate { padding-bottom: 6px; }
}
/* a sentence that takes two lines breaks into two balanced lines, everywhere (Naveen). Short lines are balanced outright;
   long paragraphs only lose a lone last word; descriptions that happen to take two lines are balanced by the page script. */
.cap-text, .walk-support, .trio-support, .trio-headline, .if-mod-v, .if-mod-k, .room-sub, .rm-sub, .cn-sub, .if-sub, .gate-sub,
.cn-name, .sw-t, .sw-d, .mf-l, .mf-ps, .hud-next, .if-kicker, .if-stat dt, .cl-stats dt, .ct-reads dt, .mm-row-s, .mm-row-t, .mm-card-s,
.pg-close, .cn-cap, .ct-note, .sum-name, .wk-title, .if-cmd-t, .room-headline, .gate-line { text-wrap: balance; }
.if-text, .cn-dcopy, .sw-copy, .sum-copy, .pg-lead, .rm-lead, p { text-wrap: pretty; }
.cap-text, .walk-support, .trio-support, .room-sub, .if-sub, .gate-sub, .mf-l, .mf-ps, .if-kicker, .mm-row-s, .mm-card-s, .pg-close, .ct-note, .if-cmd-t { text-wrap: balance; }
.is-two { text-wrap: balance !important; }
@media (max-width: 760px) {
  /* map header on phones: the clock gives its room to the Close button */
  .lt .mapmenu .mm-bar .hud-live { display: none; }
  .lt .mapmenu .mapmenu-close.if-close { margin-left: auto; flex: none; }
}
/* the pin box: a little air under the count line */
.mm-card--if .mm-card-bar { margin-bottom: 8px; }
.mm-card--if.is-compact .mm-card-bar { margin-bottom: 5px; }

/* ===================== 16 Nov, 22:20: manifesto reading focus; caption readouts on phones (Naveen) ===================== */
.mf-head { position: absolute; left: 22px; top: 0; width: 2px; height: 0; pointer-events: none; opacity: 0; background: var(--yellow);
  box-shadow: 0 0 10px rgba(255, 221, 77, 0.75); transition: transform 0.42s cubic-bezier(0.3, 0.7, 0.2, 1), height 0.42s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.3s ease; will-change: transform; }
.mf-head::before { content: ""; position: absolute; left: -3px; top: -3px; width: 8px; height: 2px; background: var(--yellow); }
.mf-head::after { content: ""; position: absolute; left: -3px; bottom: -3px; width: 8px; height: 2px; background: var(--yellow); }
.mf-head.on { opacity: 1; }
.mf-read.mf-done .mf-head { opacity: 0; }
/* a line ahead waits a little lower; it rises as it is read */
.mf-read .mf-l { transform: translateY(7px); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.5s ease, filter 0.5s ease; }
.mf-read .mf-l.on { transform: none; opacity: 0.46; filter: none; }
.mf-read .mf-l--big.on { opacity: 0.6; }
.mf-read .mf-l.on.now { opacity: 1; filter: drop-shadow(0 0 12px rgba(134, 87, 224, 0.5)); }
/* the whole manifesto stands at full strength once it has been read to the end */
.mf-read.mf-done .mf-l.on { opacity: 1; transition-duration: 0.9s; }
.mf-read .mf-tx { transition-duration: 0.75s; }
@media (max-width: 900px) {
  .mf-head { left: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .mf-read .mf-l { transform: none; transition: none; }
  .mf-read .mf-l.on { opacity: 1; }
  .mf-head { display: none; }
}

/* caption readouts on phones: smaller type, and the step marks leave the top row to the coordinates and the count */
@media (max-width: 760px) {
  .lt .cap-x .cap-steps i { display: none; }
  .lt .cap-x .cap-rd, .lt .cap-x .cap-st { font-size: 9px; letter-spacing: 0.1em; }
  .lt .cap-x .cap-rd--br { font-size: 8.5px; letter-spacing: 0.08em; white-space: nowrap; }
  .lt .cap-x .cap-rd--br .cap-tc { margin-left: 3px; }
  .lt .cap-x .cap-tel { font-size: 9.5px; letter-spacing: 0.12em; gap: 7px; }
  .lt .cap-x .cap-tel-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .lt .cap-x .cap-tel-r { flex: none; white-space: nowrap; }
  .lt .cap-x .cap-ruler { flex: 1 1 6px; min-width: 6px; }
}
@media (max-width: 380px) {
  .lt .cap-x .cap-tel { font-size: 9px; letter-spacing: 0.05em; gap: 5px; }
}

/* ===================== 16 Nov, 23:00: manifesto reads itself at reading pace; no loose corner marks inside rooms (Naveen) ===================== */
/* the fill follows the scroll: the script sets --mf-p (0 to 1) on each line; nothing here is timed */
.mf-read .mf-head { display: none; }
.mf-read .mf-tx, .mf-read .mf-l.on .mf-tx { transition: none; background-position: calc((1 - var(--mf-p, 0)) * 100%) 0; }
.mf-read .mf-l, .mf-read .mf-l.on { transform: none; opacity: 1; filter: none; transition: filter 0.4s ease; }
/* the words with their own moment wait for the fill to reach them (class .hit), and let go when it leaves */
.mf-read .mf-l .mf-amp:not(.hit) { -webkit-text-fill-color: rgba(255, 221, 77, 0.25); color: rgba(255, 221, 77, 0.25); text-shadow: none; animation: none; }
.mf-read .mf-l .mf-amp { transition: -webkit-text-fill-color 300ms ease, color 300ms ease, text-shadow 300ms ease; }
.mf-read .mf-l .mf-amp.hit:nth-of-type(n) { animation-delay: 0s; }
.mf-read .mf-l .mf-dash:not(.hit) path { opacity: 0.35; animation: none; }
.mf-read .mf-l .mf-dash.hit path { animation-delay: 0ms; animation-duration: 700ms; }
.mf-read .mf-l .mf-carry, .mf-read .mf-l .mf-catch { transition: -webkit-text-fill-color 320ms ease; }
/* until the fill reaches them they are ordinary words of the line (plain inline, no colour of their own), so the line's fill passes through them like any other word */
.mf-read .mf-l .mf-carry { display: inline; }
.mf-read .mf-l .mf-carry:not(.hit), .mf-read .mf-l .mf-catch:not(.hit) { display: inline; -webkit-text-fill-color: transparent; animation: none; transition: none; }
.mf-read .mf-l .mf-carry.hit, .mf-read .mf-l .mf-catch.hit { -webkit-text-fill-color: #f6f3ff; }
@media (prefers-reduced-motion: reduce) {
  .mf-read .mf-l .mf-amp, .mf-read .mf-l .mf-carry, .mf-read .mf-l .mf-catch { transition: none; }
}
/* corner marks sit just outside their frame, so anything that cuts the frame's edge leaves a loose dash or dot.
   Rule: a corner mark is whole or it is not there.
   1. a frame that scrolls inside its window drops its marks (class set by the script; visibility, so the measurement stays stable)
   2. rooms: the Services room was the only one still carrying marks on its scrolling body (the other six dropped them in October)
   3. home screen frame on phones: the corners move inside the frame instead of hanging off the screen edge
   4. phone map list: its two small corners were cut to a speck */
.if-over > .if-c { visibility: hidden; }
.room .room-body > .if-c { display: none; }
@media (max-width: 380px) {
  .s0-vf .hud-corner--tl, .s0-vf .hud-corner--bl { left: 0; }
  .s0-vf .hud-corner--tr, .s0-vf .hud-corner--br { right: 0; }
}
@media (max-width: 900px) {
  .lt .mapmenu .mm-list .mm-c { display: none; }
}
/* Close button: no focus ring unless the visitor is on the keyboard (class set by the script) */
.room--iface .room-x.if-close.no-ring:focus-visible, .mapmenu .mapmenu-close.if-close.no-ring:focus-visible { outline: none; }
/* 16 Nov, 23:40 (Naveen): less empty space under the logo at the end of the manifesto: shorter end padding and a shorter bottom fade */
#room8a .mf2-scroll { padding-bottom: 9vh;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 92%, transparent 100%); }
/* Portfolio film tile: its corner marks were cut by the tile, leaving a lone yellow dot. Removed (Naveen). */
.sum-hero .if-c { display: none; }

/* ===================== 17 Nov: phones. District panels fit above the rail; District 01 bar; Manifesto room heading; purple logo (Naveen) ===================== */
/* District 01 bar on phones: the same bar as every other district (number left, segments, clock on the right edge) */
@media (max-width: 900px) {
  body.lt .lt-stop #g1 .if-bar { padding: 11px 20px; gap: 12px; }
  body.lt .lt-stop #g1 .if-bar .if-seg { display: flex; flex: 1 1 0%; }
  body.lt .lt-stop #g1 .if-bar .if-seg i { display: block; }
  body.lt .lt-stop #g1 .if-bar .hud-live { margin-left: auto; }
  body.lt .lt-stop #g1 .if-bar .hud-tz { display: none; } /* the other districts show the clock without the zone on phones */
  /* every district bar on narrow phones: the segments narrow before the clock is pushed toward the border */
  body.lt .lt-stop .gate .if-bar .if-seg { min-width: 0; }
  body.lt .lt-stop .gate .if-bar .if-seg i { flex: 1 1 10px; max-width: 10px; min-width: 3px; }
  body.lt .lt-stop .gate .if-bar .hud-live { flex: none; }
  /* the spacer that centres panels 02 to 08 gives way before a panel overflows */
  body.lt .lt-stop > .gate.hud.iface--dash::after { flex: 0 1 auto; min-height: 0; }
}
/* the opening scan line of a district panel ended its sweep parked below the panel, invisible but 90 px tall. Where a panel
   reached near the rail gap that made the panel scroll inside itself although it fitted (District 02 on Naveen's phone).
   Same fault and same cure as the rooms on 16 Nov: after its sweep the line returns to its hidden start. */
.iface.hud-in .if-scan, .iface.cap-in .if-scan { animation-fill-mode: backwards; }
.iface .if-scan.again { animation-fill-mode: backwards !important; }
/* Manifesto room on phones: the kicker and heading start where they start in every other room (same top, 10 px between them),
   and a rule separates the heading from the manifesto so it does not read as its first line. No scroll hint on phones. */
@media (max-width: 900px) {
  #room8a .mf2-scroll { padding-top: 16px; padding-left: 16px; padding-right: 16px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 3%, #000 92%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 3%, #000 92%, transparent 100%); }
  #room8a .mf2-top { margin: 0 0 24px; padding: 0 0 20px; border-bottom: 1px solid rgba(160, 150, 215, 0.26); }
  #room8a .mf2-top .if-kicker { margin: 0 0 10px; }
  #room8a .mf2-top .mf2-top-h { margin: 0; }
  #room8a .mf2-hint { display: none; }
}
/* the purple logo closes the manifesto, kept small */
.mf-logo--purple img { width: min(210px, 46vw); }
/* District panels on phones: the script measures each panel on the device and sets data-fit to the first step at which the
   whole panel sits above the rail. No step is tied to a window height. Step 0 (no attribute) is the full layout. */
@media (max-width: 900px) {
  /* District 01, step 1: a little tighter, everything shown */
  body.lt .lt-stop #g1[data-fit="1"] .if-main, body.lt .lt-stop #g1[data-fit="2"] .if-main, body.lt .lt-stop #g1[data-fit="3"] .if-main, body.lt .lt-stop #g1[data-fit="4"] .if-main, body.lt .lt-stop #g1[data-fit="5"] .if-main, body.lt .lt-stop #g1[data-fit="6"] .if-main { padding-top: 16px; padding-bottom: 6px; }
  body.lt .lt-stop #g1[data-fit="1"] .gate-line, body.lt .lt-stop #g1[data-fit="2"] .gate-line, body.lt .lt-stop #g1[data-fit="3"] .gate-line, body.lt .lt-stop #g1[data-fit="4"] .gate-line, body.lt .lt-stop #g1[data-fit="5"] .gate-line, body.lt .lt-stop #g1[data-fit="6"] .gate-line { margin-top: 12px; }
  body.lt .lt-stop #g1[data-fit="1"] .if-text, body.lt .lt-stop #g1[data-fit="2"] .if-text, body.lt .lt-stop #g1[data-fit="3"] .if-text, body.lt .lt-stop #g1[data-fit="4"] .if-text, body.lt .lt-stop #g1[data-fit="5"] .if-text, body.lt .lt-stop #g1[data-fit="6"] .if-text { margin: 10px 0; line-height: 1.47; }
  body.lt .lt-stop #g1[data-fit="1"] .if-side, body.lt .lt-stop #g1[data-fit="2"] .if-side, body.lt .lt-stop #g1[data-fit="3"] .if-side, body.lt .lt-stop #g1[data-fit="4"] .if-side, body.lt .lt-stop #g1[data-fit="5"] .if-side, body.lt .lt-stop #g1[data-fit="6"] .if-side { padding-top: 9px; padding-bottom: 9px; }
  body.lt .lt-stop #g1[data-fit="1"] .if-mod, body.lt .lt-stop #g1[data-fit="2"] .if-mod, body.lt .lt-stop #g1[data-fit="3"] .if-mod, body.lt .lt-stop #g1[data-fit="4"] .if-mod, body.lt .lt-stop #g1[data-fit="5"] .if-mod, body.lt .lt-stop #g1[data-fit="6"] .if-mod { padding-top: 7px; padding-bottom: 7px; }
  /* step 2: tighter again, everything still shown */
  body.lt .lt-stop #g1[data-fit="2"] .if-main, body.lt .lt-stop #g1[data-fit="3"] .if-main, body.lt .lt-stop #g1[data-fit="4"] .if-main, body.lt .lt-stop #g1[data-fit="5"] .if-main, body.lt .lt-stop #g1[data-fit="6"] .if-main { padding-top: 13px; padding-bottom: 4px; }
  body.lt .lt-stop #g1[data-fit="2"] .gate-line, body.lt .lt-stop #g1[data-fit="3"] .gate-line, body.lt .lt-stop #g1[data-fit="4"] .gate-line, body.lt .lt-stop #g1[data-fit="5"] .gate-line, body.lt .lt-stop #g1[data-fit="6"] .gate-line { margin-top: 10px; }
  body.lt .lt-stop #g1[data-fit="2"] .if-text, body.lt .lt-stop #g1[data-fit="3"] .if-text, body.lt .lt-stop #g1[data-fit="4"] .if-text, body.lt .lt-stop #g1[data-fit="5"] .if-text, body.lt .lt-stop #g1[data-fit="6"] .if-text { margin: 8px 0; line-height: 1.4; }
  body.lt .lt-stop #g1[data-fit="2"] .if-side, body.lt .lt-stop #g1[data-fit="3"] .if-side, body.lt .lt-stop #g1[data-fit="4"] .if-side, body.lt .lt-stop #g1[data-fit="5"] .if-side, body.lt .lt-stop #g1[data-fit="6"] .if-side { padding-top: 7px; padding-bottom: 7px; }
  body.lt .lt-stop #g1[data-fit="2"] .if-mod, body.lt .lt-stop #g1[data-fit="3"] .if-mod, body.lt .lt-stop #g1[data-fit="4"] .if-mod, body.lt .lt-stop #g1[data-fit="5"] .if-mod, body.lt .lt-stop #g1[data-fit="6"] .if-mod { padding-top: 5px; padding-bottom: 5px; }
  /* step 3: text half a point smaller */
  body.lt .lt-stop #g1[data-fit="3"] .if-text, body.lt .lt-stop #g1[data-fit="4"] .if-text, body.lt .lt-stop #g1[data-fit="5"] .if-text, body.lt .lt-stop #g1[data-fit="6"] .if-text { font-size: 13.5px; line-height: 1.38; }
  body.lt .lt-stop #g1[data-fit="3"] .if-mod-v, body.lt .lt-stop #g1[data-fit="4"] .if-mod-v, body.lt .lt-stop #g1[data-fit="5"] .if-mod-v, body.lt .lt-stop #g1[data-fit="6"] .if-mod-v { font-size: 13px; }
  /* step 4: the small bar charts give their width to the answers */
  body.lt .lt-stop #g1[data-fit="4"] .if-mod, body.lt .lt-stop #g1[data-fit="5"] .if-mod, body.lt .lt-stop #g1[data-fit="6"] .if-mod { display: block; }
  body.lt .lt-stop #g1[data-fit="4"] .if-spark, body.lt .lt-stop #g1[data-fit="5"] .if-spark, body.lt .lt-stop #g1[data-fit="6"] .if-spark { display: none; }
  /* steps 5 and 6: smallest phones */
  body.lt .lt-stop #g1[data-fit="5"] .if-text, body.lt .lt-stop #g1[data-fit="6"] .if-text { font-size: 13px; line-height: 1.36; }
  body.lt .lt-stop #g1[data-fit="5"] .if-mod-v, body.lt .lt-stop #g1[data-fit="6"] .if-mod-v { font-size: 12.5px; }
  body.lt .lt-stop #g1[data-fit="5"] .if-mod, body.lt .lt-stop #g1[data-fit="6"] .if-mod { padding-top: 4px; padding-bottom: 4px; }
  body.lt .lt-stop #g1[data-fit="6"] .if-main { padding-top: 10px; padding-bottom: 4px; }
  body.lt .lt-stop #g1[data-fit="6"] .if-side { padding-top: 5px; padding-bottom: 5px; }
  body.lt .lt-stop #g1[data-fit="6"] .if-mod { padding-top: 3px; padding-bottom: 3px; }
  body.lt .lt-stop #g1[data-fit="6"] .gate-line { margin-top: 8px; }
  /* Districts 02 to 08, step 1: a little tighter, everything shown */
  body.lt .lt-stop .iface--dash[data-fit="1"] .if-pad, body.lt .lt-stop .iface--dash[data-fit="2"] .if-pad, body.lt .lt-stop .iface--dash[data-fit="3"] .if-pad, body.lt .lt-stop .iface--dash[data-fit="4"] .if-pad, body.lt .lt-stop .iface--dash[data-fit="5"] .if-pad, body.lt .lt-stop .iface--dash[data-fit="6"] .if-pad { padding-top: 14px; }
  body.lt .lt-stop .iface--dash[data-fit="1"] .gate-rule, body.lt .lt-stop .iface--dash[data-fit="2"] .gate-rule, body.lt .lt-stop .iface--dash[data-fit="3"] .gate-rule, body.lt .lt-stop .iface--dash[data-fit="4"] .gate-rule, body.lt .lt-stop .iface--dash[data-fit="5"] .gate-rule, body.lt .lt-stop .iface--dash[data-fit="6"] .gate-rule { margin-top: 12px; margin-bottom: 10px; }
  body.lt .lt-stop .iface--dash[data-fit="1"] .if-text, body.lt .lt-stop .iface--dash[data-fit="2"] .if-text, body.lt .lt-stop .iface--dash[data-fit="3"] .if-text, body.lt .lt-stop .iface--dash[data-fit="4"] .if-text, body.lt .lt-stop .iface--dash[data-fit="5"] .if-text, body.lt .lt-stop .iface--dash[data-fit="6"] .if-text { line-height: 1.45; margin-bottom: 10px; }
  body.lt .lt-stop .iface--dash[data-fit="1"] .if-stat, body.lt .lt-stop .iface--dash[data-fit="2"] .if-stat, body.lt .lt-stop .iface--dash[data-fit="3"] .if-stat, body.lt .lt-stop .iface--dash[data-fit="4"] .if-stat, body.lt .lt-stop .iface--dash[data-fit="5"] .if-stat, body.lt .lt-stop .iface--dash[data-fit="6"] .if-stat { padding-top: 8px; padding-bottom: 8px; }
  body.lt .lt-stop .iface--dash[data-fit="1"] .if-act, body.lt .lt-stop .iface--dash[data-fit="2"] .if-act, body.lt .lt-stop .iface--dash[data-fit="3"] .if-act, body.lt .lt-stop .iface--dash[data-fit="4"] .if-act, body.lt .lt-stop .iface--dash[data-fit="5"] .if-act, body.lt .lt-stop .iface--dash[data-fit="6"] .if-act { padding-top: 10px; padding-bottom: 10px; }
  /* step 2: tighter again, everything still shown */
  body.lt .lt-stop .iface--dash[data-fit="2"] .if-pad, body.lt .lt-stop .iface--dash[data-fit="3"] .if-pad, body.lt .lt-stop .iface--dash[data-fit="4"] .if-pad, body.lt .lt-stop .iface--dash[data-fit="5"] .if-pad, body.lt .lt-stop .iface--dash[data-fit="6"] .if-pad { padding-top: 12px; }
  body.lt .lt-stop .iface--dash[data-fit="2"] .gate-line, body.lt .lt-stop .iface--dash[data-fit="3"] .gate-line, body.lt .lt-stop .iface--dash[data-fit="4"] .gate-line, body.lt .lt-stop .iface--dash[data-fit="5"] .gate-line, body.lt .lt-stop .iface--dash[data-fit="6"] .gate-line { margin-top: 8px; }
  body.lt .lt-stop .iface--dash[data-fit="2"] .gate-sub, body.lt .lt-stop .iface--dash[data-fit="3"] .gate-sub, body.lt .lt-stop .iface--dash[data-fit="4"] .gate-sub, body.lt .lt-stop .iface--dash[data-fit="5"] .gate-sub, body.lt .lt-stop .iface--dash[data-fit="6"] .gate-sub { margin-top: 6px; }
  body.lt .lt-stop .iface--dash[data-fit="2"] .gate-rule, body.lt .lt-stop .iface--dash[data-fit="3"] .gate-rule, body.lt .lt-stop .iface--dash[data-fit="4"] .gate-rule, body.lt .lt-stop .iface--dash[data-fit="5"] .gate-rule, body.lt .lt-stop .iface--dash[data-fit="6"] .gate-rule { margin-top: 9px; margin-bottom: 8px; }
  body.lt .lt-stop .iface--dash[data-fit="2"] .if-text, body.lt .lt-stop .iface--dash[data-fit="3"] .if-text, body.lt .lt-stop .iface--dash[data-fit="4"] .if-text, body.lt .lt-stop .iface--dash[data-fit="5"] .if-text, body.lt .lt-stop .iface--dash[data-fit="6"] .if-text { line-height: 1.4; margin-bottom: 8px; }
  body.lt .lt-stop .iface--dash[data-fit="2"] .if-stat, body.lt .lt-stop .iface--dash[data-fit="3"] .if-stat, body.lt .lt-stop .iface--dash[data-fit="4"] .if-stat, body.lt .lt-stop .iface--dash[data-fit="5"] .if-stat, body.lt .lt-stop .iface--dash[data-fit="6"] .if-stat { padding-top: 6px; padding-bottom: 6px; }
  body.lt .lt-stop .iface--dash[data-fit="2"] .if-act .gate-hit, body.lt .lt-stop .iface--dash[data-fit="3"] .if-act .gate-hit, body.lt .lt-stop .iface--dash[data-fit="4"] .if-act .gate-hit, body.lt .lt-stop .iface--dash[data-fit="5"] .if-act .gate-hit, body.lt .lt-stop .iface--dash[data-fit="6"] .if-act .gate-hit { padding-top: 9px; padding-bottom: 9px; }
  /* step 3: text half a point smaller */
  body.lt .lt-stop .iface--dash[data-fit="3"] .if-text, body.lt .lt-stop .iface--dash[data-fit="4"] .if-text, body.lt .lt-stop .iface--dash[data-fit="5"] .if-text, body.lt .lt-stop .iface--dash[data-fit="6"] .if-text { font-size: 13.5px; line-height: 1.38; }
  /* step 4: the small bar charts under the three readouts go */
  body.lt .lt-stop .iface--dash[data-fit="4"] .if-stat svg, body.lt .lt-stop .iface--dash[data-fit="5"] .if-stat svg, body.lt .lt-stop .iface--dash[data-fit="6"] .if-stat svg { display: none; }
  body.lt .lt-stop .iface--dash[data-fit="4"] .if-stat dd, body.lt .lt-stop .iface--dash[data-fit="5"] .if-stat dd, body.lt .lt-stop .iface--dash[data-fit="6"] .if-stat dd { margin-bottom: 0; }
  /* steps 5 and 6: smallest phones */
  body.lt .lt-stop .iface--dash[data-fit="5"] .if-text, body.lt .lt-stop .iface--dash[data-fit="6"] .if-text { font-size: 13px; line-height: 1.36; }
  body.lt .lt-stop .iface--dash[data-fit="5"] .if-act, body.lt .lt-stop .iface--dash[data-fit="6"] .if-act { padding-top: 8px; padding-bottom: 8px; }
  body.lt .lt-stop .iface--dash[data-fit="6"] .if-bar { padding-top: 9px; padding-bottom: 9px; }
  body.lt .lt-stop .iface--dash[data-fit="6"] .gate-rule { margin-top: 7px; margin-bottom: 7px; }
}
