/* ==========================================================================
   NADIR Product Walkthrough — Apple-style episodic demos
   ========================================================================== */

:root {
  --wt-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wt-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wt-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wt-bg: #070707;
  --wt-panel: #0e0f0e;
  --wt-elevated: #141514;
  --wt-line: rgba(255, 255, 255, 0.08);
  --wt-line-strong: rgba(255, 255, 255, 0.14);
  --wt-text: #ece8df;
  --wt-muted: #8a8780;
  --wt-dim: #5c5a55;
  --wt-accent: #ff6534;
  --wt-green: #7ee39a;
  --wt-amber: #ffc15a;
  --wt-red: #ff625a;
  --wt-cyan: #65d2dc;
  --wt-radius: 16px;
  --wt-radius-sm: 10px;
  --wt-font: "Manrope", system-ui, sans-serif;
  --wt-display: "DM Sans", system-ui, sans-serif;
  --wt-mono: "JetBrains Mono", ui-monospace, monospace;
  --wt-cursor-size: 22px;
}

/* ---- Page shell ---- */

.wt-page {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 101, 52, 0.09), transparent),
    radial-gradient(circle at 100% 50%, rgba(126, 227, 154, 0.04), transparent 40%),
    var(--wt-bg);
}

.wt-hero-band {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--wt-line);
}

.wt-hero-band .container {
  display: grid;
  gap: 32px;
  align-items: end;
  grid-template-columns: 1fr 1fr;
}

.wt-hero-band h1 {
  margin: 12px 0 16px;
  font-family: var(--wt-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.wt-hero-band h1 em {
  font-style: normal;
  background: linear-gradient(112deg, #f7f3eb, #ffb14a 45%, #ff6534 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wt-hero-band p {
  max-width: 52ch;
  color: var(--wt-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.wt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wt-accent);
  font-family: var(--wt-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wt-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wt-accent);
  box-shadow: 0 0 12px rgba(255, 101, 52, 0.6);
  animation: wt-pulse 2s ease-in-out infinite;
}

.wt-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wt-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--wt-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--wt-muted);
  font-family: var(--wt-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wt-data-band {
  padding: 28px 0;
  border-bottom: 1px solid var(--wt-line);
  background: rgba(255, 255, 255, 0.01);
}

.wt-data-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wt-data-card {
  padding: 16px 18px;
  border: 1px solid var(--wt-line);
  border-radius: var(--wt-radius-sm);
  background: linear-gradient(165deg, rgba(18, 19, 18, 0.95), rgba(10, 10, 9, 0.98));
}

.wt-data-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--wt-accent);
  font-family: var(--wt-mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
}

.wt-data-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--wt-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wt-data-card p {
  margin: 0;
  color: var(--wt-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.wt-flow-band {
  padding: 36px 0;
  border-bottom: 1px solid var(--wt-line);
}

.wt-flow-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.wt-flow-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--wt-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.72rem;
}

.wt-flow-step span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--wt-muted);
  font-family: var(--wt-mono);
  font-size: 0.55rem;
}

.wt-flow-step.is-on {
  border-color: rgba(255, 101, 52, 0.35);
  background: rgba(255, 101, 52, 0.08);
}

.wt-flow-step.is-on span {
  background: rgba(255, 101, 52, 0.2);
  color: var(--wt-accent);
}

.wt-flow-arrow {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--wt-line-strong), transparent);
}

.wt-series-lede {
  max-width: 58ch;
  margin: 10px 0 0;
  color: var(--wt-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.wt-stat-pill {
  padding: 8px 12px;
  border: 1px solid var(--wt-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--wt-mono);
  font-size: 0.52rem;
  letter-spacing: 0.06em;
}

.wt-stat-pill b {
  color: var(--wt-text);
  font-weight: 600;
}

/* ---- Episode grid ---- */

.wt-series {
  padding: 48px 0 80px;
}

.wt-series-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.wt-series-head h2 {
  margin: 8px 0 0;
  font-family: var(--wt-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.wt-series-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wt-series-nav button {
  padding: 8px 14px;
  border: 1px solid var(--wt-line);
  border-radius: 999px;
  background: transparent;
  color: var(--wt-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.wt-series-nav button.is-on,
.wt-series-nav button:hover {
  border-color: rgba(255, 101, 52, 0.35);
  background: rgba(255, 101, 52, 0.08);
  color: var(--wt-text);
}

/* ---- Ordered walkthrough track ---- */

.wt-walkthrough-intro {
  padding: 36px 0 12px;
  border-bottom: 1px solid var(--wt-line);
}

.wt-walkthrough-intro h2 {
  margin: 8px 0 10px;
  max-width: 28ch;
  font-family: var(--wt-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.wt-walkthrough-main {
  padding: 0 0 64px;
}

.wt-walkthrough-shell {
  display: grid;
  gap: 48px;
  align-items: start;
  grid-template-columns: 240px minmax(0, 1fr);
}

.wt-step-rail {
  position: sticky;
  top: 92px;
  padding: 20px 16px;
  border: 1px solid var(--wt-line);
  border-radius: var(--wt-radius);
  background: linear-gradient(165deg, rgba(16, 17, 16, 0.98), rgba(8, 8, 7, 0.98));
}

.wt-rail-head p {
  margin: 6px 0 0;
  color: var(--wt-muted);
  font-size: 0.78rem;
}

.wt-rail-list {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.wt-rail-link {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 8px;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.wt-rail-link:hover,
.wt-rail-link.is-active {
  background: rgba(255, 101, 52, 0.1);
}

.wt-rail-link.is-active .wt-rail-num {
  border-color: rgba(255, 101, 52, 0.5);
  color: var(--wt-accent);
  background: rgba(255, 101, 52, 0.15);
}

.wt-rail-num {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--wt-line);
  border-radius: 10px;
  font-family: var(--wt-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.wt-rail-text strong {
  display: block;
  font-size: 0.82rem;
}

.wt-rail-text small {
  display: block;
  margin-top: 2px;
  color: var(--wt-dim);
  font-size: 0.65rem;
  line-height: 1.35;
}

.wt-rail-play {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--wt-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--wt-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
}

.wt-rail-play:hover {
  border-color: rgba(255, 101, 52, 0.35);
}

.wt-walkthrough-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.wt-walkthrough-track::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 27px;
  width: 2px;
  background: linear-gradient(var(--wt-line-strong), rgba(255, 101, 52, 0.25), var(--wt-line-strong));
  pointer-events: none;
}

.wt-step-block {
  position: relative;
  padding: 48px 0 56px 56px;
  border-bottom: 1px solid var(--wt-line);
  scroll-margin-top: 100px;
}

.wt-step-block:last-child {
  border-bottom: none;
  padding-bottom: 24px;
}

.wt-step-block.is-active .wt-step-marker span {
  border-color: rgba(255, 101, 52, 0.55);
  color: var(--wt-accent);
  box-shadow: 0 0 24px rgba(255, 101, 52, 0.25);
}

.wt-step-marker {
  position: absolute;
  left: 0;
  top: 48px;
  z-index: 2;
}

.wt-step-marker span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid var(--wt-line-strong);
  border-radius: 50%;
  background: var(--wt-bg);
  font-family: var(--wt-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: border-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.wt-step-grid {
  display: grid;
  gap: 36px;
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
}

.wt-step-grid.is-flip {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
}

.wt-step-grid.is-flip .wt-step-copy {
  order: 2;
}

.wt-step-grid.is-flip .wt-step-demo {
  order: 1;
}

.wt-step-label {
  display: block;
  margin-bottom: 8px;
  color: var(--wt-accent);
  font-family: var(--wt-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wt-step-copy h3 {
  margin: 0 0 8px;
  font-family: var(--wt-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.wt-step-sub {
  margin: 0 0 14px;
  color: var(--wt-muted);
  font-size: 0.88rem;
}

.wt-step-desc {
  margin: 0 0 16px;
  color: var(--wt-text);
  font-size: 0.92rem;
  line-height: 1.65;
}

.wt-step-bullets {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--wt-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.wt-step-bullets li {
  margin-bottom: 6px;
}

.wt-step-impact {
  margin: 0;
  padding: 10px 14px;
  border-left: 3px solid var(--wt-accent);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 101, 52, 0.06);
  color: #ffd4c4;
  font-size: 0.84rem;
  font-weight: 500;
}

.wt-step-demo .wt-episode-card {
  margin: 0;
}

.wt-step-demo .wt-stage-wrap {
  margin: 16px 16px 0;
  min-height: 340px;
  aspect-ratio: 16 / 10;
}

.wt-episode-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (max-width: 1100px) {
  .wt-walkthrough-shell {
    grid-template-columns: 1fr;
  }

  .wt-step-rail {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px;
  }

  .wt-rail-head {
    flex: 1 1 100%;
  }

  .wt-rail-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    overflow-x: auto;
    flex: 1 1 auto;
  }

  .wt-rail-list li {
    flex: 0 0 auto;
  }

  .wt-rail-link {
    grid-template-columns: 1fr;
    gap: 4px;
    min-width: 72px;
    text-align: center;
  }

  .wt-rail-text small {
    display: none;
  }

  .wt-rail-play {
    flex: 0 0 auto;
    width: auto;
  }

  .wt-walkthrough-track::before {
    display: none;
  }

  .wt-step-block {
    padding-left: 0;
  }

  .wt-step-marker {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 16px;
  }

  .wt-step-grid,
  .wt-step-grid.is-flip {
    grid-template-columns: 1fr;
  }

  .wt-step-grid.is-flip .wt-step-copy,
  .wt-step-grid.is-flip .wt-step-demo {
    order: unset;
  }
}


.wt-episode-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--wt-line);
  border-radius: calc(var(--wt-radius) + 4px);
  background: linear-gradient(165deg, rgba(20, 21, 20, 0.98), rgba(8, 8, 7, 0.98));
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    inset 0 1px rgba(255, 255, 255, 0.04);
  transition: border-color 0.35s var(--wt-ease), transform 0.35s var(--wt-ease);
}

.wt-episode-card.is-focused {
  border-color: rgba(255, 101, 52, 0.35);
  transform: translateY(-2px);
}

.wt-episode-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 0;
}

.wt-episode-meta h3 {
  margin: 6px 0 4px;
  font-family: var(--wt-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wt-episode-meta p {
  margin: 0;
  color: var(--wt-muted);
  font-size: 0.78rem;
}

.wt-episode-step {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--wt-dim);
  font-family: var(--wt-mono);
  font-size: 0.48rem;
  letter-spacing: 0.1em;
}

.wt-stage-wrap {
  position: relative;
  margin: 16px 16px 0;
  overflow: hidden;
  border: 1px solid var(--wt-line);
  border-radius: var(--wt-radius);
  background: #0a0b0a;
  aspect-ratio: 16 / 10;
}

.wt-stage-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.35));
}

.wt-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.wt-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 22px 18px;
}

.wt-caption-bar span {
  color: var(--wt-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.wt-caption-bar small {
  display: block;
  margin-bottom: 3px;
  color: var(--wt-accent);
  font-family: var(--wt-mono);
  font-size: 0.44rem;
  letter-spacing: 0.1em;
}

.wt-progress {
  height: 2px;
  margin: 0 22px 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.wt-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--wt-accent), var(--wt-green));
  transition: width 0.08s linear;
}

/* ---- Hero embed (homepage) ---- */

.wt-hero-embed {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  margin-right: 0;
  transform: perspective(1400px) rotateY(-1.5deg) rotateX(0.5deg);
  transform-origin: center;
}

.wt-hero-embed .wt-stage-wrap {
  margin: 0;
  aspect-ratio: 16 / 10;
  height: 430px;
  box-shadow:
    0 44px 90px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(0, 0, 0, 0.55);
}

.wt-hero-embed .wt-episode-meta,
.wt-hero-embed .wt-caption-bar,
.wt-hero-embed .wt-progress {
  display: none;
}

.wt-hero-embed .wt-hero-inner {
  border: none;
  background: transparent;
  box-shadow: none;
}

.wt-hero-embed .wt-hero-inner .wt-stage-wrap {
  margin: 0;
}

.wt-hero-link {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  color: var(--wt-muted);
  font-size: 0.72rem;
  text-decoration: none;
}

.wt-hero-link:hover {
  color: var(--wt-accent);
}

.wt-hero-glow {
  position: absolute;
  z-index: -1;
  inset: 5% 2% -12% 7%;
  background: radial-gradient(ellipse, rgba(255, 83, 29, 0.22), transparent 63%);
  filter: blur(35px);
  pointer-events: none;
}

/* ---- Console chrome inside stage ---- */

.wt-app {
  display: grid;
  height: 100%;
  grid-template-rows: 38px 1fr;
  background: #0a0b0a;
}

.wt-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid var(--wt-line);
  background: #111210;
}

.wt-app-bar .brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--wt-mono);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.wt-app-bar .brand img {
  width: 16px;
  height: 16px;
}

.wt-app-bar .live {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid rgba(126, 227, 154, 0.15);
  border-radius: 999px;
  color: #95a397;
  font-family: var(--wt-mono);
  font-size: 0.42rem;
  letter-spacing: 0.08em;
}

.wt-app-bar .live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wt-green);
  box-shadow: 0 0 8px var(--wt-green);
}

.wt-app-body {
  display: grid;
  overflow: hidden;
  grid-template-columns: 42px 1fr;
}

.wt-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-right: 1px solid var(--wt-line);
  background: #0d0e0d;
}

.wt-rail span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  color: #4e504c;
}

.wt-rail span.on {
  color: var(--wt-accent);
  background: rgba(255, 101, 52, 0.12);
}

.wt-main {
  position: relative;
  padding: 14px 16px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    #0a0b0a;
  background-size: 20px 20px;
}

.wt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.wt-head h4 {
  margin: 4px 0 0;
  font-family: var(--wt-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wt-label {
  color: var(--wt-dim);
  font-family: var(--wt-mono);
  font-size: 0.42rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wt-meta {
  color: var(--wt-dim);
  font-family: var(--wt-mono);
  font-size: 0.42rem;
}

/* ---- Connect episode ---- */

.wt-connect {
  display: grid;
  gap: 12px;
  height: calc(100% - 40px);
  grid-template-columns: 1fr 0.8fr 1fr;
}

.wt-provider-list {
  display: grid;
  gap: 8px;
  align-content: start;
}

.wt-provider {
  padding: 10px 12px;
  border: 1px solid var(--wt-line);
  border-radius: var(--wt-radius-sm);
  background: rgba(18, 19, 18, 0.9);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--wt-ease);
}

.wt-provider.is-active {
  border-color: rgba(126, 227, 154, 0.35);
  background: rgba(126, 227, 154, 0.06);
  transform: scale(1.02);
}

.wt-provider.is-target {
  border-color: rgba(255, 101, 52, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 101, 52, 0.15);
}

.wt-provider strong {
  display: block;
  font-size: 0.78rem;
}

.wt-provider small {
  color: var(--wt-muted);
  font-size: 0.62rem;
}

.wt-provider .status {
  float: right;
  color: var(--wt-green);
  font-family: var(--wt-mono);
  font-size: 0.44rem;
}

.wt-connect-mid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.wt-van-icon {
  position: relative;
  width: 72px;
  height: 72px;
  border: 1px solid var(--wt-line);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 101, 52, 0.12), transparent 70%);
}

.wt-van-icon svg {
  position: absolute;
  inset: 22% 18%;
  width: 64%;
  height: auto;
  stroke: var(--wt-text);
  fill: none;
  stroke-width: 1.2;
}

.wt-beam {
  position: absolute;
  width: 2px;
  height: 0;
  border-radius: 999px;
  background: linear-gradient(var(--wt-accent), var(--wt-green));
  opacity: 0;
  transform-origin: top center;
  transition: height 0.6s var(--wt-ease-out), opacity 0.3s;
}

.wt-beam.on {
  height: 48px;
  opacity: 1;
}

.wt-fleet-list {
  display: grid;
  gap: 6px;
  align-content: start;
}

.wt-fleet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  opacity: 0;
  transform: translateX(10px);
  font-family: var(--wt-mono);
  font-size: 0.48rem;
  transition: opacity 0.4s var(--wt-ease), transform 0.4s var(--wt-ease);
}

.wt-fleet-row.show {
  opacity: 1;
  transform: translateX(0);
}

.wt-fleet-row b {
  color: var(--wt-text);
  font-weight: 600;
}

.wt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255, 101, 52, 0.35);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 101, 52, 0.18), rgba(255, 101, 52, 0.08));
  color: #ffd4c4;
  font-family: var(--wt-mono);
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  transition: transform 0.15s var(--wt-ease-spring), box-shadow 0.15s;
}

.wt-btn.is-pressed {
  transform: scale(0.96);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35);
}

.wt-btn.is-highlight {
  box-shadow: 0 0 0 2px rgba(255, 101, 52, 0.35), 0 8px 24px rgba(255, 101, 52, 0.2);
}

/* ---- Import / table ---- */

.wt-table-wrap {
  overflow: hidden;
  border: 1px solid var(--wt-line);
  border-radius: var(--wt-radius-sm);
  background: rgba(14, 15, 14, 0.95);
}

.wt-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--wt-mono);
  font-size: 0.44rem;
}

.wt-table th {
  padding: 8px 10px;
  border-bottom: 1px solid var(--wt-line);
  color: var(--wt-dim);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: left;
}

.wt-table td {
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #c9c5bc;
}

.wt-table tr {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--wt-ease), transform 0.35s var(--wt-ease);
}

.wt-table tr.show {
  opacity: 1;
  transform: translateY(0);
}

.wt-table tr.flash {
  background: rgba(255, 101, 52, 0.08);
}

.wt-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  margin-bottom: 10px;
  padding: 16px;
  border: 1px dashed rgba(255, 101, 52, 0.35);
  border-radius: var(--wt-radius-sm);
  background: rgba(255, 101, 52, 0.04);
  transition: border-color 0.3s, background 0.3s;
}

.wt-dropzone.active {
  border-color: rgba(126, 227, 154, 0.45);
  background: rgba(126, 227, 154, 0.06);
}

.wt-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--wt-line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  font-family: var(--wt-mono);
  font-size: 0.48rem;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.4s var(--wt-ease), transform 0.4s var(--wt-ease-spring);
}

.wt-file-chip.show {
  opacity: 1;
  transform: scale(1);
}

/* ---- Analytics ---- */

.wt-analytics-grid {
  display: grid;
  gap: 10px;
  height: calc(100% - 36px);
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
}

.wt-chart-card {
  padding: 10px 12px;
  border: 1px solid var(--wt-line);
  border-radius: var(--wt-radius-sm);
  background: rgba(16, 17, 16, 0.95);
}

.wt-chart-card.span2 {
  grid-row: span 2;
}

.wt-chart-card h5 {
  margin: 0 0 8px;
  color: var(--wt-dim);
  font-family: var(--wt-mono);
  font-size: 0.42rem;
  letter-spacing: 0.08em;
}

.wt-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
}

.wt-bar-chart span {
  flex: 1;
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--wt-accent), rgba(255, 101, 52, 0.3));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--wt-ease-out);
}

.wt-bar-chart span.show {
  transform: scaleY(1);
}

.wt-tier-bars {
  display: grid;
  gap: 8px;
}

.wt-tier-row {
  display: grid;
  align-items: center;
  gap: 8px;
  grid-template-columns: 56px 1fr 24px;
  font-family: var(--wt-mono);
  font-size: 0.42rem;
}

.wt-tier-row i {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.wt-tier-row i::after {
  content: "";
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  transition: width 0.6s var(--wt-ease-out);
}

.wt-tier-row.nom i::after { background: var(--wt-green); }
.wt-tier-row.cau i::after { background: var(--wt-amber); }
.wt-tier-row.cri i::after { background: var(--wt-red); }

.wt-tier-row.show i::after { width: var(--w, 50%); }

.wt-line-chart svg {
  width: 100%;
  height: 80px;
}

.wt-line-chart path {
  fill: none;
  stroke: var(--wt-red);
  stroke-width: 2;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.2s var(--wt-ease-out);
}

.wt-line-chart path.show {
  stroke-dashoffset: 0;
}

.wt-kpi-row {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}

.wt-kpi {
  padding: 8px;
  border: 1px solid var(--wt-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.wt-kpi small {
  color: var(--wt-dim);
  font-family: var(--wt-mono);
  font-size: 0.38rem;
  letter-spacing: 0.06em;
}

.wt-kpi strong {
  display: block;
  margin-top: 4px;
  font-family: var(--wt-mono);
  font-size: 0.82rem;
}

.wt-kpi.pass strong { color: var(--wt-green); }

/* ---- Queue ---- */

.wt-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.wt-tab {
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--wt-dim);
  font-family: var(--wt-mono);
  font-size: 0.42rem;
  transition: all 0.25s;
}

.wt-tab.on {
  border-color: rgba(255, 98, 90, 0.3);
  background: rgba(255, 98, 90, 0.1);
  color: #ffb4af;
}

.wt-queue {
  display: grid;
  gap: 6px;
}

.wt-q-item {
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--wt-line);
  border-radius: 10px;
  background: rgba(16, 17, 16, 0.9);
  cursor: default;
  grid-template-columns: auto 1fr 64px auto;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--wt-ease);
}

.wt-q-item.is-target {
  border-color: rgba(255, 101, 52, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 101, 52, 0.12);
}

.wt-q-item.is-selected {
  border-color: rgba(255, 98, 90, 0.35);
  background: rgba(255, 98, 90, 0.06);
  transform: scale(1.01);
}

.wt-q-item strong {
  font-size: 0.72rem;
}

.wt-q-item small {
  display: block;
  color: var(--wt-muted);
  font-size: 0.58rem;
}

.wt-spark {
  height: 24px;
}

.wt-spark path {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.wt-badge {
  padding: 3px 7px;
  border-radius: 999px;
  font-family: var(--wt-mono);
  font-size: 0.38rem;
  letter-spacing: 0.05em;
}

.wt-badge.cri {
  border: 1px solid rgba(255, 98, 90, 0.25);
  background: rgba(255, 98, 90, 0.1);
  color: #ffb4af;
}

.wt-badge.cau {
  border: 1px solid rgba(255, 193, 90, 0.22);
  background: rgba(255, 193, 90, 0.08);
  color: #ffd899;
}

/* ---- Inspect detail ---- */

.wt-detail {
  display: grid;
  gap: 10px;
  grid-template-columns: 0.7fr 1.3fr;
  height: calc(100% - 36px);
}

.wt-sensor-viz {
  position: relative;
  min-height: 120px;
  border: 1px solid var(--wt-line);
  border-radius: var(--wt-radius-sm);
  background: radial-gradient(circle at 50% 60%, rgba(255, 98, 90, 0.08), transparent 55%);
}

.wt-sensor-viz svg {
  position: absolute;
  inset: 10%;
  width: 80%;
  height: 80%;
}

.wt-detail-panel {
  padding: 12px;
  border: 1px solid rgba(255, 98, 90, 0.18);
  border-radius: var(--wt-radius-sm);
  background: rgba(18, 19, 18, 0.95);
}

.wt-detail-panel h5 {
  margin: 0 0 8px;
  font-size: 0.82rem;
}

.wt-anchor-line {
  height: 70px;
  margin: 8px 0;
}

.wt-metrics {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, 1fr);
}

/* ---- Evidence ---- */

.wt-evidence {
  display: grid;
  gap: 12px;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  height: calc(100% - 36px);
}

.wt-evb {
  padding: 16px;
  border: 1px solid var(--wt-line-strong);
  border-radius: 14px;
  background: linear-gradient(160deg, #161716, #0c0d0c);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.wt-evb-id {
  margin: 8px 0;
  font-family: var(--wt-mono);
  font-size: 0.88rem;
  font-weight: 600;
}

.wt-verify-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
  border: 1px solid var(--wt-line);
  border-radius: 8px;
  font-size: 0.68rem;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.35s var(--wt-ease), transform 0.35s var(--wt-ease);
}

.wt-verify-step.show {
  opacity: 1;
  transform: translateX(0);
}

.wt-check {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: transparent;
  font-size: 0.6rem;
}

.wt-verify-step.done .wt-check {
  background: rgba(126, 227, 154, 0.15);
  color: var(--wt-green);
}

.wt-stamp {
  display: grid;
  place-items: center;
  min-height: 100px;
  border: 2px solid rgba(126, 227, 154, 0.35);
  border-radius: 12px;
  background: rgba(126, 227, 154, 0.06);
  color: var(--wt-green);
  font-family: var(--wt-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.45s var(--wt-ease), transform 0.45s var(--wt-ease-spring);
}

.wt-stamp.show {
  opacity: 1;
  transform: scale(1);
}

/* ---- Cursor ---- */

.wt-cursor-layer {
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  overflow: hidden;
}

.wt-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--wt-cursor-size);
  height: var(--wt-cursor-size);
  will-change: transform;
}

.wt-cursor svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.wt-cursor-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: opacity 0.15s, transform 0.35s var(--wt-ease-out);
}

.wt-cursor.is-clicking .wt-cursor-ring {
  opacity: 0.6;
  transform: translate(-50%, -50%) scale(2.5);
}

.wt-cursor-label {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  padding: 4px 8px;
  border: 1px solid var(--wt-line);
  border-radius: 6px;
  background: rgba(10, 11, 10, 0.92);
  color: var(--wt-text);
  font-family: var(--wt-mono);
  font-size: 0.42rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.2s, transform 0.2s var(--wt-ease);
}

.wt-cursor-label.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wt-click-ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  animation: wt-ripple 0.55s var(--wt-ease-out) forwards;
}

/* ---- Linear theater mode ---- */

.wt-theater {
  padding: 32px 0 64px;
  border-top: 1px solid var(--wt-line);
}

.wt-theater-stage {
  max-width: 960px;
  margin: 0 auto;
}

.wt-theater .wt-stage-wrap {
  aspect-ratio: 16 / 9;
  margin: 0;
}

.wt-theater-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.wt-theater-controls button {
  padding: 10px 18px;
  border: 1px solid var(--wt-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--wt-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
}

.wt-theater-controls button:hover {
  border-color: rgba(255, 101, 52, 0.35);
}

/* ---- Animations ---- */

@keyframes wt-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

@keyframes wt-ripple {
  from {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wt-cursor-layer { display: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1100px) {
  .wt-hero-embed {
    width: 100%;
    margin-right: 0;
    transform: none;
  }

  .wt-hero-band .container {
    grid-template-columns: 1fr;
  }

  .wt-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wt-episode-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wt-connect {
    grid-template-columns: 1fr;
  }

  .wt-data-grid {
    grid-template-columns: 1fr;
  }

  .wt-analytics-grid {
    grid-template-columns: 1fr;
  }

  .wt-evidence {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Design canvas — crisp UI at any stage size (Apple-style scale)
   ========================================================================== */

.wt-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 1200px;
  height: 675px;
  transform-origin: 0 0;
  will-change: transform;
}

.wt-canvas .wt-app {
  width: 100%;
  height: 100%;
}

.wt-canvas .wt-app-bar .brand {
  font-size: 11px;
}

.wt-canvas .wt-app-bar .live {
  font-size: 10px;
}

.wt-canvas .wt-head h4 {
  font-size: 20px;
}

.wt-canvas .wt-label,
.wt-canvas .wt-meta {
  font-size: 11px;
}

.wt-canvas .wt-table {
  font-size: 11px;
}

.wt-canvas .wt-provider strong {
  font-size: 14px;
}

.wt-canvas .wt-provider small {
  font-size: 11px;
}

.wt-canvas .wt-btn {
  font-size: 11px;
  min-height: 36px;
}

.wt-operator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--wt-muted);
  font-size: 11px;
}

.wt-avatar {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6534, #ffb14a);
  color: #0a0a09;
  font-family: var(--wt-mono);
  font-size: 9px;
  font-weight: 700;
}

/* ---- Filmstrip ---- */

.wt-filmstrip-band {
  padding: 20px 0 8px;
  border-bottom: 1px solid var(--wt-line);
  overflow: hidden;
}

.wt-filmstrip {
  display: flex;
  gap: 12px;
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.wt-filmstrip::-webkit-scrollbar {
  display: none;
}

.wt-film-card {
  flex: 0 0 148px;
  scroll-snap-align: start;
  padding: 14px 16px;
  border: 1px solid var(--wt-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.25s, transform 0.25s var(--wt-ease), background 0.25s;
}

.wt-film-card:hover,
.wt-film-card.is-on {
  border-color: rgba(255, 101, 52, 0.4);
  background: rgba(255, 101, 52, 0.08);
  transform: translateY(-2px);
}

.wt-film-num {
  display: block;
  margin-bottom: 8px;
  color: var(--wt-accent);
  font-family: var(--wt-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.wt-film-card strong {
  display: block;
  font-family: var(--wt-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.wt-film-card small {
  display: block;
  margin-top: 4px;
  color: var(--wt-muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

/* ---- Connect: vehicle grid ---- */

.wt-connect {
  grid-template-columns: 1.05fr 0.75fr 1.2fr;
  gap: 16px;
}

.wt-connect-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.wt-connect-note {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wt-connect-note span {
  padding: 4px 8px;
  border: 1px solid var(--wt-line);
  border-radius: 999px;
  color: var(--wt-dim);
  font-family: var(--wt-mono);
  font-size: 10px;
}

.wt-provider {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
}

.wt-provider-logo {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--logo) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--logo) 35%, transparent);
  color: var(--logo);
  font-family: var(--wt-mono);
  font-size: 11px;
  font-weight: 700;
}

.wt-provider .status {
  float: none;
  font-size: 10px;
}

.wt-sync-ring {
  position: absolute;
  width: 96px;
  height: 96px;
  border: 2px solid transparent;
  border-radius: 50%;
  opacity: 0;
}

.wt-sync-ring.on {
  opacity: 1;
  border-color: rgba(255, 101, 52, 0.25);
  animation: wt-sync-spin 1.2s linear infinite;
}

.wt-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  color: var(--wt-muted);
  font-family: var(--wt-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wt-col-head b {
  color: var(--wt-green);
}

.wt-vehicle-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.wt-vehicle-tile {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--wt-line);
  border-radius: 12px;
  background: rgba(14, 15, 14, 0.95);
  color: inherit;
  cursor: default;
  font: inherit;
  text-align: left;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.35s var(--wt-ease), transform 0.35s var(--wt-ease), border-color 0.2s, box-shadow 0.2s;
}

.wt-vehicle-tile.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wt-vehicle-tile.is-live {
  border-color: rgba(126, 227, 154, 0.2);
}

.wt-vehicle-tile.is-target {
  border-color: rgba(255, 101, 52, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 101, 52, 0.2);
}

.wt-vehicle-tile.is-selected {
  border-color: rgba(255, 101, 52, 0.55);
  background: rgba(255, 101, 52, 0.08);
  box-shadow: 0 8px 24px rgba(255, 101, 52, 0.15);
}

.wt-vehicle-art {
  display: block;
  width: 100%;
  height: 28px;
  opacity: 0.85;
}

.wt-vehicle-art svg {
  width: 42px;
  height: auto;
  stroke: var(--wt-text);
  fill: none;
}

.wt-vehicle-tile strong {
  font-size: 12px;
}

.wt-vehicle-tile small {
  color: var(--wt-muted);
  font-size: 10px;
  line-height: 1.3;
}

.wt-vehicle-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(126, 227, 154, 0.12);
  color: var(--wt-green);
  font-family: var(--wt-mono);
  font-size: 9px;
}

.wt-btn-primary {
  margin-top: 6px;
}

.wt-btn-ghost {
  border-color: var(--wt-line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--wt-muted);
}

/* ---- Import layout ---- */

.wt-import-layout {
  display: grid;
  gap: 12px;
  grid-template-columns: 0.9fr 1.1fr;
  height: calc(100% - 48px);
}

.wt-drop-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 8px;
  border: 1px dashed var(--wt-line-strong);
  border-radius: 12px;
  color: var(--wt-accent);
  font-size: 18px;
}

/* ---- Analytics extras ---- */

.wt-area {
  fill: rgba(255, 101, 52, 0.08);
  opacity: 0;
  transition: opacity 0.6s var(--wt-ease);
}

.wt-area.show {
  opacity: 1;
}

.wt-shop-bars {
  display: grid;
  gap: 8px;
}

.wt-shop-row {
  display: grid;
  grid-template-columns: 120px 1fr 24px;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(6px);
  font-size: 11px;
  transition: opacity 0.35s, transform 0.35s var(--wt-ease);
}

.wt-shop-row.show {
  opacity: 1;
  transform: translateX(0);
}

.wt-shop-row i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wt-accent), var(--wt-amber));
}

.wt-bar-chart span i {
  display: block;
  margin-top: 4px;
  color: var(--wt-dim);
  font-family: var(--wt-mono);
  font-size: 9px;
  font-style: normal;
}

.wt-kpi span {
  display: block;
  margin-top: 2px;
  color: var(--wt-dim);
  font-size: 10px;
}

.wt-kpi.cri strong {
  color: var(--wt-red);
}

/* ---- Inspect ---- */

.wt-vehicle-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid var(--wt-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.wt-vehicle-hero svg {
  width: 48px;
  stroke: var(--wt-text);
  fill: none;
}

.wt-vehicle-hero strong {
  display: block;
  font-size: 14px;
}

.wt-vehicle-hero span {
  color: var(--wt-muted);
  font-size: 11px;
}

.wt-detail-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

/* ---- Cursor trail ---- */

.wt-cursor-trail span {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.wt-stage-wrap {
  min-height: 280px;
}

.wt-episode-grid .wt-stage-wrap {
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

@keyframes wt-sync-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
  .wt-import-layout {
    grid-template-columns: 1fr;
  }

  .wt-connect {
    grid-template-columns: 1fr;
  }
}
