/* Scene 2 of the app clone: two terminal cards side by side, split by a 4px
   gap of window black, each with its tab pill floating over its top. The
   colours are the app's dark terminal theme (utils/terminalTheme.ts), where
   bold text takes the bright colours. */

.ac[data-scene='term'] .ac-band .ac-tab { opacity: 0; }
.ac-band .ac-tab { transition: opacity 0.4s; }

.ac-terms { position: absolute; inset: 0; display: flex; }
.ac-terms .ac-term { flex: 1; border-radius: 12px 0 0 12px; }
/* The lines that the dev server's window covers are kept clear, so Claude
   Code's newest line always shows above it. app-clone-play.js sets --cover. */
.ac-terms .ac-term-screen { padding-bottom: calc(var(--cover, 0px) + 8px); }
.ac-term { position: relative; min-width: 0; border-radius: 12px; overflow: hidden; background: #000; display: flex; flex-direction: column; }
.ac-term-strip { height: 36px; flex: none; display: flex; align-items: center; justify-content: center; }
.ac-term-tab { height: 26px; box-sizing: border-box; display: inline-flex; align-items: center; gap: var(--sem-space-xs); padding: 0 12px 0 10px; border-radius: var(--sem-radius-pill); border: 1px solid var(--sem-color-border-subtle); background: var(--sem-color-bg-surface); font-size: var(--sem-font-size-meta); font-weight: 500; color: var(--sem-color-text-default); white-space: nowrap; }
.ac-term.focused .ac-term-tab { color: var(--sem-color-text-primary); box-shadow: var(--sem-shadow-popover); }
.ac-term-glyph { width: 13px; height: 13px; color: var(--sem-color-text-muted); }

.ac-term-screen { flex: 1; min-height: 0; overflow: hidden; padding: 8px; display: flex; flex-direction: column; justify-content: flex-start; font-family: var(--sem-font-family-mono); font-size: 13px; line-height: 1.3; color: #ececec; white-space: pre-wrap; word-break: break-word; font-variant-ligatures: none; }
.tl { min-height: 1.3em; }
.t-dim { color: #8a8a8a; }
.t-b { font-weight: 500; color: #fff; }
.t-green { color: #4e9a06; }
.t-green .t-b, .t-b .t-green, .t-green.t-b { color: #8ae234; }
.t-red { color: #cc0000; }
.t-red .t-b, .t-b .t-red { color: #ef2929; }
.t-yellow { color: #c4a000; }
.t-cyan { color: #06989a; }
.t-cyan .t-b, .t-b .t-cyan { color: #34e2e2; }
.t-claude { color: #d97757; }
.t-box { border: 1px solid #d97757; border-radius: 6px; padding: 4px 8px; margin: 2px 0; white-space: pre; overflow: hidden; }
.t-type::after { content: ''; display: inline-block; width: 0.6em; height: 1.1em; margin-left: 1px; vertical-align: -0.2em; background: #ececec; }
.t-type.done::after { display: none; }
.t-input { border: 1px solid #5a5a5a; border-radius: 6px; padding: 4px 8px; margin-top: 2px; }

/* The dev server's window: a smaller app window, in front of the first. */
.ac-devwin { position: absolute; left: 0; top: 0; width: 560px; transform-origin: top left; display: flex; flex-direction: column; padding: 0 4px 4px; box-sizing: border-box; border-radius: 12px; background: var(--sem-color-bg-surface); font-family: var(--sem-font-family-ui); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px -24px rgba(0, 0, 0, 0.85), 0 14px 30px -12px rgba(0, 0, 0, 0.6); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ac-devwin .ac-term { flex: 1; }
.ac-devwin .ac-term-strip { height: 32px; }
.ac[data-scene='chat'] .ac-devwin { opacity: 0; pointer-events: none; }
