/* Smoke uses the existing work-detail shell without production controls. */
.smoke-page .smoke-artwork {
  grid-column: auto;
}

.smoke-artwork img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.smoke-stage {
  position: relative;
  aspect-ratio: 6 / 7;
  background: #fff;
  overflow: hidden;
}

.smoke-stage canvas,
.smoke-stage .smoke-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.smoke-stage canvas { visibility: hidden; }
.smoke-stage.is-running canvas { visibility: visible; }
.smoke-stage.is-running .smoke-poster { visibility: hidden; }
.smoke-stage .smoke-poster[hidden] { display: none; }
.smoke-stage[data-background="TRANSPARENT"],
.smoke-stage[data-background="TRANSPARENT"] .smoke-poster { background: transparent; }

/* Keep both 44px targets underneath the complete media. */
.smoke-gallery {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  column-gap: 0;
  row-gap: 1rem;
  align-items: center;
  min-width: 0;
  color: var(--chromatic-ink);
  outline: 0;
}
.smoke-stage { grid-column: 1 / -1; grid-row: 1; }
.smoke-arrow {
  grid-row: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  opacity: 0.8;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.smoke-previous { grid-column: 1; }
.smoke-next { grid-column: 3; }
.smoke-arrow svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 0.5; }
.smoke-arrow:hover, .smoke-arrow:focus-visible, .smoke-gallery:focus-visible .smoke-arrow { opacity: 1; }
.smoke-arrow:disabled { cursor: default; opacity: 0.2; }
.smoke-status {
  position: absolute;
  inset: auto 1rem 1rem;
  margin: 0;
  color: var(--chromatic-muted);
  font-size: 0.6875rem;
  line-height: 1.5;
  pointer-events: none;
}
.smoke-status[hidden] { display: none; }

.smoke-gallery .smoke-arrow:is(:focus, :active, :focus-visible) { border: 0; outline: 0; box-shadow: none; }
.smoke-arrow:focus-visible svg,
.smoke-gallery:focus-visible .smoke-arrow svg { stroke-width: 0.9; }
.smoke-gallery + .chromatic-installation-meta { margin-inline: 0; }

/* Match the existing Work card hierarchy, preserving the complete still. */
.work-grid .work-card--smoke .work-card__visual {
  aspect-ratio: 49 / 45;
  background: #fff;
}

.work-grid .work-card--smoke .work-card__visual::after {
  display: none;
}

.work-grid .work-card--smoke img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work-grid .work-card--smoke .work-card__meta {
  display: grid;
  gap: 0.38rem;
  min-height: 0;
  padding: clamp(0.45rem, 0.7vw, 0.65rem) 0.1rem 0.15rem;
}

.work-grid .work-card--smoke .work-card__meta strong {
  text-transform: none;
}
