@charset "UTF-8";
/* =============================================================================
   OpsiClear 4DGS Viewer — site styles
   Two worlds, one system: near-black stage, light editorial only where earned.
   Nine values, no hue. Radius 0. One easing. Every number monospace + tabular.
   ========================================================================== */
:root {
  --oc-ground: #ffffff;
  --oc-ink: #0d0d0d;
  --oc-ink-2: #3d4647;
  --oc-ink-3: #5b696b;
  --oc-ink-4: #97a3a4;
  --oc-rule: #e4e8e8;
  --oc-stage: #0b0d0d;
  --oc-stage-2: #141819;
  --oc-stage-ink: #f2f5f5;
  --oc-stage-ink-2: #a8b4b5;
  --oc-stage-ink-3: #6f7c7d;
  --oc-stage-rule: rgba(255, 255, 255, .16);
  --oc-stage-rule-2: rgba(255, 255, 255, .30);
  --oc-sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --oc-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
             'Liberation Mono', 'Courier New', monospace;
  --oc-1: 4px;
  --oc-2: 8px;
  --oc-3: 12px;
  --oc-4: 16px;
  --oc-5: 20px;
  --oc-6: 24px;
  --oc-8: 32px;
  --oc-10: 40px;
  --oc-ease: cubic-bezier(.2, 0, 0, 1);
  --oc-fast: 120ms;
  --oc-mid: 180ms;
  --oc-slow: 220ms;
  --canvas-opacity: 1;
}

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
  background: var(--oc-stage);
  color: var(--oc-stage-ink);
  font-family: var(--oc-sans);
  font-size: 15px;
  line-height: 1.6;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

canvas {
  opacity: var(--canvas-opacity);
}

.hidden {
  display: none !important;
}

#viewerContainer {
  position: fixed;
  inset: 0;
  touch-action: none;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--oc-stage-rule);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--oc-stage-rule-2);
}

.opsiclear-viewer #watermark {
  font-size: 18px;
}

.opsiclear-viewer #backToScenes {
  color: #fff;
}
.opsiclear-viewer #backToScenes svg {
  display: block;
}
.opsiclear-viewer #backToScenes .stroke {
  stroke: currentColor;
  stroke-width: 0;
}
.opsiclear-viewer #backToScenes .fill {
  fill: currentColor;
}

/* --- icon primitives (shared with the player-ui family) ------------------- */
.oc-i {
  display: block;
}

.oc-i .s {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.oc-i .f {
  fill: currentColor;
  stroke: none;
}

/* =============================================================================
   Drop zone
   ========================================================================== */
#dropZone {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 13, 13, 0.92);
}
#dropZone > #dropMessage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--oc-4);
  padding: var(--oc-10) 56px;
  border: 1px solid var(--oc-stage-rule-2);
  background: var(--oc-stage);
}
#dropZone > #dropMessage > .dropIcon {
  color: var(--oc-stage-ink-2);
}
#dropZone > #dropMessage > .dropText {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--oc-stage-ink);
}
#dropZone > #dropMessage > .dropHint {
  font-family: var(--oc-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oc-stage-ink-3);
  text-align: center;
  line-height: 1.9;
}

/* =============================================================================
   Gallery
   ========================================================================== */
#sceneListOverlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--oc-stage);
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
}
#sceneListOverlay * {
  touch-action: manipulation;
}

.g-eyebrow {
  font-family: var(--oc-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oc-stage-ink-3);
}

.g-pad {
  padding-inline: clamp(20px, 3.4vw, 48px);
}

/* --- masthead ------------------------------------------------------------ */
#landingHeader {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: var(--oc-6);
  height: 58px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--oc-mid) var(--oc-ease), border-color var(--oc-mid) var(--oc-ease);
}

#sceneListOverlay.is-scrolled #landingHeader {
  background: var(--oc-stage);
  border-bottom-color: var(--oc-stage-rule);
}

#landingLogoLink {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: inherit;
}

#landingLogo {
  height: 22px;
  width: auto;
  display: block;
}

.g-wordmark {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.035em;
}

.g-wordmark b {
  color: var(--oc-stage-ink);
  font-weight: 900;
}

.g-wordmark i {
  font-style: normal;
  color: var(--oc-stage-ink-3);
  font-weight: 900;
}

.g-product {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding-left: var(--oc-4);
  border-left: 1px solid var(--oc-stage-rule);
  font-size: 13.5px;
  color: var(--oc-stage-ink-3);
}

.g-gap {
  flex: 1;
}

a.g-link {
  font-size: 13.5px;
  letter-spacing: -0.004em;
  color: var(--oc-stage-ink-2);
  text-decoration: none;
  transition: color var(--oc-fast) var(--oc-ease);
}

a.g-link:hover {
  color: var(--oc-stage-ink);
}

.g-cta {
  padding: 9px 16px;
  border: 1px solid var(--oc-stage-rule-2);
  background: transparent;
  color: var(--oc-stage-ink);
  font-size: 13.5px;
  letter-spacing: -0.004em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--oc-fast) var(--oc-ease), color var(--oc-fast) var(--oc-ease);
}

.g-cta:hover {
  background: var(--oc-stage-ink);
  color: var(--oc-stage);
  border-color: var(--oc-stage-ink);
}

/* --- hero ---------------------------------------------------------------- */
#landingHero {
  position: relative;
  height: calc(100vh - 58px);
  min-height: 540px;
  max-height: 900px;
  overflow: hidden;
  border-bottom: 1px solid var(--oc-stage-rule);
}

/* The featured capture, rendering in the hero.
   Pointer events are off so the wheel reaches the page and the gallery still
   scrolls over a live canvas; the camera orbits on its own instead. The
   player-ui shell mounts inside and keeps owning playback, but none of its
   chrome is drawn here — this is a hero, not a player. */
#heroStage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 900ms var(--oc-ease);
}

#sceneListOverlay.is-hero-live #heroStage {
  opacity: 1;
}

#heroStage #controlsWrap,
#heroStage #scrimT,
#heroStage #scrimL,
#heroStage #settingsPanel,
#heroStage #watermark,
#heroStage #poster,
#heroStage #annotations {
  display: none !important;
}

/* Once the capture is up the poster has done its job. It stays in the DOM as
   the fallback for a hero that never starts. */
#sceneListOverlay.is-hero-live #landingHeroImg {
  opacity: 0;
}

#landingHeroImg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  --ox: 0;
  --oy: 0;
  transform: scale(1.2) translate(calc(var(--ox) * 1%), calc(var(--oy) * 1%));
  transform-origin: 64% 32%;
  opacity: 0;
  transition: opacity 900ms var(--oc-ease), transform 1400ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

#landingHeroImg.is-ready {
  opacity: 1;
}

.g-hero__scrim-t {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 132px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.26) 48%, transparent);
  pointer-events: none;
}

.g-hero__scrim-b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 74%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 26%, rgba(0, 0, 0, 0.34) 56%, transparent 100%);
  pointer-events: none;
}

.g-hero__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: var(--oc-8);
  padding-bottom: clamp(28px, 4vw, 56px);
}

.g-hero__l {
  flex: 1;
  min-width: 0;
}

#landingDescription h1 {
  font-weight: 900;
  font-size: clamp(44px, 8.2vw, 124px);
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

#landingDescription h1 em {
  font-style: normal;
  color: var(--oc-stage-ink-2);
}

#landingDescription > p {
  margin-top: var(--oc-6);
  max-width: 34ch;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--oc-stage-ink-2);
}

.g-hero__play {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(20px, 3.4vw, 48px) 0;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

/* --- capture index strip -------------------------------------------------- */
/* --- sections ------------------------------------------------------------- */
.g-sec {
  display: flex;
  align-items: center;
  gap: var(--oc-4);
  padding-block: clamp(36px, 5vw, 64px) var(--oc-5);
}

.g-sec__rule {
  flex: 1;
  height: 1px;
  background: var(--oc-stage-rule);
}

#partnerCredit {
  padding-bottom: var(--oc-5);
  font-size: 15px;
  color: var(--oc-stage-ink-2);
}

#dymensiumLink {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

#dymensiumLogo {
  height: 13px;
  width: auto;
  filter: invert(1) brightness(1.6);
  opacity: 0.9;
}

/* --- capture tiles --------------------------------------------------------- */
.carouselTrack {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  grid-auto-rows: clamp(240px, 34vw, 420px);
}

.carouselTrack:empty {
  display: none;
}

.sceneCard {
  position: relative;
  display: block;
  grid-column: span 6;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--oc-stage);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.sceneCard[data-span="7"] {
  grid-column: span 7;
}

.sceneCard[data-span="5"] {
  grid-column: span 5;
}

.sceneCard[data-span="12"] {
  grid-column: span 12;
}

.thumbnailWrap {
  position: absolute;
  inset: 0;
}

.sceneCard .thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: opacity var(--oc-slow) var(--oc-ease);
}

.sceneCard .thumbnail.is-ready {
  opacity: 0.74;
}

.sceneCard:hover .thumbnail.is-ready,
.sceneCard:focus-visible .thumbnail.is-ready {
  opacity: 1;
}

.thumbnailPlaceholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--oc-stage-2);
  color: var(--oc-stage-ink-3);
}

.sceneCard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.28) 30%, transparent 52%), linear-gradient(to bottom, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.16) 42%, transparent 68%);
  pointer-events: none;
}

.sceneCard:hover::before,
.sceneCard:focus-visible::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid var(--oc-stage-ink);
  pointer-events: none;
}

.sceneCard:focus-visible {
  outline: none;
}

.sceneInfo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: var(--oc-4);
}

.sceneName {
  max-width: 100%;
  font-weight: 700;
  font-size: clamp(21px, 2.5vw, 36px);
  letter-spacing: -0.028em;
  line-height: 1.02;
  text-wrap: balance;
}

.sceneDescription {
  padding-bottom: 4px;
  font-family: var(--oc-mono);
  font-variant-numeric: tabular-nums;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--oc-stage-ink-2);
}

.sceneDescription--prose {
  font-family: var(--oc-sans);
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
  white-space: normal;
  max-width: 42ch;
  color: var(--oc-stage-ink-2);
}

/* --- states --------------------------------------------------------------- */
#sceneListLoading {
  display: flex;
  align-items: center;
  gap: var(--oc-3);
  padding-block: clamp(36px, 5vw, 64px);
  font-family: var(--oc-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oc-stage-ink-3);
}

.loadingSpinner {
  width: 12px;
  height: 12px;
  border: 1px solid var(--oc-stage-rule-2);
  border-top-color: var(--oc-stage-ink);
  animation: oc-spin 0.9s linear infinite;
}

@keyframes oc-spin {
  to {
    transform: rotate(360deg);
  }
}
#sceneListError {
  margin-block: clamp(36px, 5vw, 64px);
  padding: var(--oc-5);
  border: 1px solid var(--oc-stage-rule-2);
  font-family: var(--oc-mono);
  font-size: 12px;
  color: var(--oc-stage-ink-2);
}

/* --- open a capture ------------------------------------------------------- */
#dropHint {
  display: flex;
  align-items: center;
  gap: var(--oc-5);
  margin-top: clamp(48px, 6vw, 88px);
  padding: var(--oc-6);
  border: 1px solid var(--oc-stage-rule);
  transition: border-color var(--oc-fast) var(--oc-ease), background var(--oc-fast) var(--oc-ease);
}
#dropHint:hover {
  border-color: var(--oc-stage-rule-2);
  background: rgba(255, 255, 255, 0.03);
}
#dropHint > svg {
  color: var(--oc-stage-ink-2);
  flex: 0 0 auto;
}

.g-drop__c {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.g-drop__t {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.018em;
}

.g-drop__h {
  font-size: 14px;
  color: var(--oc-stage-ink-3);
}

#landingFooter {
  display: flex;
  align-items: center;
  gap: var(--oc-5);
  flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 88px);
  padding-block: var(--oc-5) var(--oc-8);
  border-top: 1px solid var(--oc-stage-rule);
}

/* =============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .g-hero__copy {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--oc-5);
  }
  .sceneCard,
  .sceneCard[data-span="7"],
  .sceneCard[data-span="5"],
  .sceneCard[data-span="12"] {
    grid-column: span 12;
  }
  .carouselTrack {
    grid-auto-rows: clamp(200px, 56vw, 340px);
  }
  #landingHeader {
    gap: var(--oc-4);
  }
  .g-product {
    display: none;
  }
}
@media (max-width: 560px) {
  #dropHint {
    flex-wrap: wrap;
  }
  #landingFooter {
    gap: var(--oc-3);
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
/* =============================================================================
   Motion and surface
   Every effect below is derived from how the medium behaves: captures resolve
   as they decode, the camera orbits, the frame is film. Nothing is decoration.
   ========================================================================== */
/* --- film grain: keeps a near-black ground from reading as flat CSS ------- */
#sceneListOverlay::after {
  content: "";
  position: fixed;
  inset: -60%;
  z-index: 60;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: g-grain 1.4s steps(3) infinite;
}

@keyframes g-grain {
  0% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-1.5%, 1%);
  }
  66% {
    transform: translate(1%, -1.5%);
  }
  100% {
    transform: translate(0, 0);
  }
}
/* --- entrance: the page arrives in the order you read it ------------------ */
#landingDescription > * {
  opacity: 0;
  transform: translateY(14px);
}

#sceneListOverlay.is-ready #landingDescription > * {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--oc-ease), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

#sceneListOverlay.is-ready #landingDescription > h1 {
  transition-delay: 80ms;
}

#sceneListOverlay.is-ready #landingDescription > p {
  transition-delay: 220ms;
}

/* --- captures resolve, the way a stream resolves as it decodes ------------ */
.sceneCard {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--oc-ease), transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sceneCard .thumbnail {
  filter: blur(18px) saturate(0.55);
  transform: scale(1.06);
  transition: opacity var(--oc-slow) var(--oc-ease), filter 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sceneCard.is-in {
  opacity: 1;
  transform: none;
}

.sceneCard.is-in .thumbnail {
  filter: none;
  transform: none;
}

/* --- an eyebrow earns a rule --------------------------------------------- */
/* --- stats sit under a hairline, like a spec sheet ------------------------ */
/* --- drag affordance: teach the interaction, then get out of the way ------ */
.g-orbit-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--oc-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oc-stage-ink-3);
  pointer-events: none;
  opacity: 0;
}

#sceneListOverlay.is-ready .g-orbit-hint {
  animation: g-hint 5.4s var(--oc-ease) 1.6s both;
}

.g-orbit-hint span {
  width: 26px;
  height: 1px;
  background: var(--oc-stage-rule-2);
}

@keyframes g-hint {
  0% {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  14% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  78% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
}
/* --- tile type: name and spec share a baseline, divided by a hairline ----- */
.sceneName {
  letter-spacing: -0.032em;
}

@media (hover: none) {
  .g-orbit-hint {
    display: none;
  }
}
/* Motion is a courtesy, never a requirement. */
@media (prefers-reduced-motion: reduce) {
  #sceneListOverlay::after {
    animation: none;
  }
  #landingDescription > *,
  .sceneCard {
    opacity: 1;
    transform: none;
  }
  .sceneCard .thumbnail {
    filter: none;
    transform: none;
  }
  #landingHeroImg {
    transform: scale(1.2);
  }
  .g-orbit-hint {
    display: none;
  }
}
.g-foot__c {
  font-size: 13.5px;
  color: var(--oc-stage-ink-3);
}

/* the affordance is a whisper, not a label */
.g-orbit-hint {
  font-family: var(--oc-sans);
  font-size: 13px;
  letter-spacing: -0.004em;
  text-transform: none;
  color: var(--oc-stage-ink-3);
}

/* =============================================================================
   Hero rail editor — only present with ?rail, never on the live site
   ========================================================================== */
#railEditor {
  position: fixed;
  top: 74px;
  right: 16px;
  z-index: 500;
  width: 372px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 14px;
  border: 1px solid var(--oc-stage-rule-2);
  background: rgba(11, 13, 13, 0.96);
  color: var(--oc-stage-ink);
  font-size: 12px;
  line-height: 1.5;
}
#railEditor .re-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
#railEditor .re-head b {
  font-size: 13px;
}
#railEditor .re-head span {
  color: var(--oc-stage-ink-3);
  font-family: var(--oc-mono);
  font-size: 11px;
}
#railEditor {
  /* The primary control: drag a slider, the hero camera moves with it. */
}
#railEditor .re-sliders {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 11px;
}
#railEditor .re-slider {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  gap: 9px;
}
#railEditor .re-slider > span {
  color: var(--oc-stage-ink-3);
}
#railEditor .re-slider > b {
  font-family: var(--oc-mono);
  font-size: 11px;
  text-align: right;
}
#railEditor .re-slider input[type=range] {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  height: 2px;
  padding: 0;
  background: var(--oc-stage-rule-2);
  cursor: pointer;
}
#railEditor .re-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--oc-stage-ink);
  cursor: grab;
}
#railEditor .re-slider input[type=range]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: var(--oc-stage-ink);
  cursor: grab;
}
#railEditor .re-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
#railEditor .re-bar button {
  flex: 1;
  padding: 7px 6px;
  border: 1px solid var(--oc-stage-rule-2);
  background: transparent;
  color: var(--oc-stage-ink);
  font-family: var(--oc-sans);
  font-size: 11.5px;
  cursor: pointer;
}
#railEditor .re-bar button:hover {
  background: rgba(255, 255, 255, 0.08);
}
#railEditor .re-bar button.is-on {
  background: var(--oc-stage-ink);
  color: var(--oc-stage);
  border-color: var(--oc-stage-ink);
}
#railEditor .re-row {
  display: grid;
  grid-template-columns: 15px 1fr auto auto 18px 16px;
  align-items: center;
  gap: 5px;
  padding: 5px 4px;
  border-top: 1px solid var(--oc-stage-rule);
  cursor: pointer;
}
#railEditor .re-row:hover {
  background: rgba(255, 255, 255, 0.04);
}
#railEditor .re-row.is-sel {
  background: rgba(255, 255, 255, 0.09);
}
#railEditor .re-i {
  color: var(--oc-stage-ink-3);
  font-family: var(--oc-mono);
}
#railEditor .re-nums {
  font-family: var(--oc-mono);
  font-size: 11px;
  color: var(--oc-stage-ink-2);
}
#railEditor label {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--oc-stage-ink-3);
  font-size: 10px;
}
#railEditor input[type=number] {
  width: 40px;
  padding: 3px;
  border: 1px solid var(--oc-stage-rule-2);
  background: transparent;
  color: var(--oc-stage-ink);
  font-family: var(--oc-mono);
  font-size: 11px;
}
#railEditor button[data-del], #railEditor button[data-up] {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--oc-stage-ink-3);
  font-size: 13px;
  line-height: 1;
  padding: 0;
}
#railEditor button[data-del]:hover, #railEditor button[data-up]:hover {
  color: var(--oc-stage-ink);
}
#railEditor .re-empty {
  padding: 10px 0;
  color: var(--oc-stage-ink-3);
}
#railEditor .re-keys {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--oc-stage-rule);
  color: var(--oc-stage-ink-3);
  font-size: 11px;
}
#railEditor .re-keys b {
  color: var(--oc-stage-ink);
  font-family: var(--oc-mono);
}
#railEditor .re-out {
  width: 100%;
  height: 104px;
  margin-top: 8px;
  padding: 7px;
  border: 1px solid var(--oc-stage-rule);
  background: #000;
  color: var(--oc-stage-ink-2);
  font-family: var(--oc-mono);
  font-size: 10.5px;
  line-height: 1.45;
  resize: vertical;
}
#railEditor .re-note {
  margin-top: 6px;
  min-height: 16px;
  color: var(--oc-stage-ink);
}