/* demo.ifagent.net — trang thử nhân vật + photobooth, mở từ QR in ở gian VEEW. */
.demo-hero { padding-block: 64px 48px; }
.demo-cast { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.demo-char {
  display: grid; grid-template-rows: auto 1fr; min-width: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); color: var(--fg); text-decoration: none;
}
.demo-char:hover, .demo-char:focus-visible { border-color: var(--teal); }
.demo-char img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: var(--bg); }
.demo-char-body { display: grid; gap: 6px; padding: 18px; align-content: start; font-size: 15px; color: var(--fg-2); }
.demo-char-body b { font: 600 22px/1.15 var(--display); color: var(--fg); }
.demo-char-body .role { color: var(--teal); font-size: 14px; }
.demo-char-body .go { margin-top: 6px; color: var(--fg); font-weight: 600; }
.demo-char-body .go::after { content: " →"; color: var(--teal); }
.demo-booth > div { max-width: 46rem; }
.demo-booth h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 12px; }
.demo-booth .lead { color: var(--fg-2); margin-top: 12px; }
.demo-themes { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.demo-themes li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--fg-2); }
/* T-009 fallback page (/<slug> when the demo app is down) */
.fallback .fb-media img, .fallback .fb-media video { display: block; width: 100%; max-height: 420px; object-fit: contain; border-radius: var(--radius); background: var(--bg); margin: 16px 0; }
.fb-form { display: grid; gap: 10px; margin-top: 12px; }
.fb-form input[type=tel] { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); }
.fb-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--fg-2); }
.fb-status { min-height: 1.4em; font-size: 14px; color: var(--teal); margin: 0; }
