/* Scene 6 — How do you make a map bigger?
   Trimmed: only transposed conv. Single output panel. */

.s6-root { padding: 0 24px 32px; }
.s6-wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Hero */
.s6-hero h1 { margin-bottom: 4px; }
.s6-hero .subtitle {
  font-style: italic;
  color: var(--ink-secondary);
  margin: 0 0 12px;
  max-width: 880px;
}
.s6-hero .lede {
  font-size: 14px;
  line-height: 1.6;
  max-width: 880px;
  margin: 0;
}
.s6-hero .lede em { font-style: italic; color: var(--ink); }
.s6-hero .lede code {
  font-family: "SF Mono", Menlo, monospace;
  font-size: 0.92em;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1px 5px;
}

.s6-mini-host { align-self: flex-start; }

/* Main: input | operator label | output */
.s6-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 22px;
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: 4px;
  flex-wrap: wrap;
}

.s6-input-col, .s6-out-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.s6-panel-label {
  font-family: "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 600;
}
.s6-panel-sub {
  font-size: 11px;
  color: var(--ink-secondary);
  font-style: italic;
  text-align: center;
  max-width: 220px;
  line-height: 1.45;
}
.s6-panel-sub code {
  font-family: "SF Mono", Menlo, monospace;
  font-size: 0.92em;
}

.s6-input-host, .s6-out-host {
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--bg);
}
.s6-input-host canvas, .s6-out-host canvas {
  display: block;
  image-rendering: pixelated;
}

/* Swatch picker for input pattern */
.s6-swatch-row {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.s6-swatch-btn {
  background: transparent;
  border: 2px solid var(--rule);
  border-radius: 3px;
  padding: 2px;
  cursor: pointer;
  transition: border-color 0.12s;
}
.s6-swatch-btn:hover { border-color: var(--ink-secondary); }
.s6-swatch-btn.active { border-color: var(--accent, #d97a1f); }
.s6-swatch-host {
  border: 1px solid var(--rule);
  background: var(--bg);
}
.s6-swatch-host canvas {
  display: block;
  image-rendering: pixelated;
}

/* Operator label between input and output */
.s6-op-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}
.s6-op-arrow {
  font-size: 36px;
  color: var(--accent, #d97a1f);
  line-height: 1;
}
.s6-op-name {
  font-family: "SF Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.s6-op-sub {
  font-size: 11px;
  color: var(--ink-secondary);
  font-style: italic;
  text-align: center;
}

/* Forwarding caption at the bottom */
.s6-caption {
  font-style: italic;
  color: var(--ink-secondary);
  text-align: center;
  margin: 0;
  line-height: 1.55;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.s6-caption em { color: var(--ink); }
.s6-caption strong { color: var(--ink); font-style: normal; }

/* Narrow viewport */
@media (max-width: 820px) {
  .s6-main { flex-direction: column; }
  .s6-op-label { padding: 8px 0; }
  .s6-op-arrow { transform: rotate(90deg); }
}
