/* ai-demo public pages. Room read: src/ROOM.md. Lemur brand: orange on near-black, Bebas Neue + Manrope. */
:root {
  --bg: #0d0d0d;
  --raise: #1a1a1a;
  --line: #2e2e2e;
  --text: #f0ede8;
  --muted: #a8a6a1;
  --accent: #e05c0a;
  --accent-ink: #fff7f0;
  --ok: #7fd18b;
  --err: #ff7a6b;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.5 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 560px; margin: 0 auto; padding: 28px 16px 56px; }
h1 {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif; font-weight: 400;
  font-size: 46px; line-height: .95; letter-spacing: .01em; margin: 0 0 10px;
}
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: 19px; margin: 28px 0 10px; }
p { margin: 0 0 14px; }
.lead { color: var(--muted); font-size: 17px; }
a { color: var(--accent); }
[hidden] { display: none !important; }

label { display: block; font-weight: 700; font-size: 15px; margin: 18px 0 6px; }
label span { font-weight: 400; color: var(--muted); }
input[type=text], textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--raise);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
input[type=text]:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 88px; resize: vertical; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  font: inherit; font-weight: 800; font-size: 18px; padding: 16px 18px; margin-top: 22px;
  border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); cursor: pointer;
  text-decoration: none;
}
.btn.secondary { background: var(--raise); color: var(--text); border: 1px solid var(--line); }
.btn:disabled { opacity: .55; cursor: default; }
.btn svg { width: 22px; height: 22px; }

.files { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.file { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.thumb { width: 56px; height: 56px; border-radius: 8px; background: var(--raise) center/cover no-repeat; display: grid; place-items: center; color: var(--muted); font-size: 12px; overflow: hidden; }
.thumb video { width: 100%; height: 100%; object-fit: cover; }
.fname { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fmeta { font-size: 13px; color: var(--muted); }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.file.done .bar i { background: var(--accent); }
.file.failed .fmeta { color: var(--err); }

.notice { background: var(--raise); border-radius: 10px; padding: 16px; margin-top: 22px; }
.notice.ok { border-left: 4px solid var(--accent); }
.status-word { font-family: "Bebas Neue", Impact, sans-serif; font-size: 30px; line-height: 1; color: var(--accent); margin-bottom: 6px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 28px; }
.err { color: var(--err); margin-top: 12px; }

.result video, .result img { width: 100%; border-radius: 10px; background: #000; display: block; }
.result { margin: 18px 0 26px; }
.result .btn { margin-top: 10px; }
