/* TaleToReel mockups — shared app chrome on top of ui-lib (light theme).
   GoTell video frames stay palette B (dark) — that is the video brand
   inside the product; the app itself is light. */

@font-face { font-family:'Inter'; src:url('../fonts/Inter-400.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/Inter-600.woff2') format('woff2'); font-weight:600; font-display:swap; }
@font-face { font-family:'Spectral'; src:url('../fonts/Spectral-400.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Spectral'; src:url('../fonts/Spectral-600.woff2') format('woff2'); font-weight:600; font-display:swap; }

:root {
  /* GoTell palette B — video frames only */
  --gt-bg:#262A31;
  --gt-text:#F1EDE4;
  --gt-muted:#9AA3AE;
  --gt-brass:#B08D57;
}

body { background: var(--color-surface); }

/* ── Top bar ── */
.topbar {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 0.875rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}
.topbar .mark { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--color-text); }
.topbar a.mark, .topbar a.mark:hover { color: var(--color-text); text-decoration: none; }
.topbar a.mark:hover .gem { transform: scale(1.15); }
.topbar .mark .gem { transition: transform var(--transition-fast); }
.topbar .mark .gem { color: var(--color-primary); }
.topbar .crumb { font-size: var(--text-sm); color: var(--color-text-muted); }
.topbar .crumb b { color: var(--color-text); font-weight: 500; }
.topbar .who {
  margin-left: auto;
  width: 2rem; height: 2rem;
  border-radius: var(--radius-full);
  background: #e9e2d3;
  color: var(--color-primary-active);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600;
}
.page { max-width: 56rem; margin: 0 auto; padding: 2rem 1.75rem 6.5rem; }
.page-wide { max-width: 72rem; }

/* ── Page furniture ── */
.sub { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: 0.375rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.875rem; }
.rule-banner { margin: 1.25rem 0 0.5rem; }
.rule-banner .alert-title { color: var(--color-text); }

.prog-row { display: flex; align-items: center; gap: 0.875rem; margin: 1.375rem 0 1.125rem; }
.prog-row .progress { flex: 1; }
.prog-row .label { font-size: var(--text-sm); color: var(--color-text-muted); white-space: nowrap; }
.demo-link { font-size: var(--text-xs); color: var(--color-primary); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ── Bottom dock ── */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 0.875rem 1.75rem;
  display: flex; align-items: center; gap: 1rem;
  z-index: var(--z-sticky);
}
.dock .msg { font-size: var(--text-sm); color: var(--color-text-muted); display: flex; align-items: center; gap: 0.5rem; }
.dock .msg .ico { color: var(--color-warning); }
.dock.ready .msg { color: var(--color-success-hover); }
.dock.ready .msg .ico { color: var(--color-success); }
.dock .grow { flex: 1; }

/* ── GoTell video frame (palette B inside light app) ── */
.gt-frame {
  background: var(--gt-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--gt-text);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.4375rem;
  padding: 0.5rem;
  text-align: center;
  overflow: hidden;
}
.gt-frame .gt-rule { width: 1.625rem; height: 1px; background: var(--gt-brass); flex: none; }
.gt-frame .gt-typo { font-family: 'Spectral', Georgia, serif; font-size: 0.75rem; line-height: 1.35; color: var(--gt-text); }
.gt-frame img { width: 100%; height: 100%; object-fit: cover; }
.gt-frame .gt-label { font-family: var(--font-sans); font-size: 0.5313rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gt-brass); }

/* ── Audio bars ── */
.audio { display: flex; align-items: center; gap: 2px; }
.audio i { display: block; width: 3px; border-radius: 2px; background: var(--color-text-muted); opacity: 0.45; }

/* ── Mono chips ── */
.chip-src { font-family: var(--font-mono); font-size: var(--text-xs); }
