app
AI Flow: Video
Public Made by Adomby adom
Turn a board build into a narrated walkthrough video on your wiki page and YouTube.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
/* AI Flow Video, the narration page. Tokens, header, tooltips, toasts and the settings dialog come from base.css. */
html, body { overflow: hidden; }
body { display: flex; flex-direction: column; }
.app-header { flex: none; }
main { flex: 1; min-height: 0; height: auto; grid-template-columns: minmax(0, 1fr) 320px; }
.stage { position: relative; }
adom-video { width: min(100%, calc((100dvh - 44px - 64px - 24px) * var(--ar, 1.7778))); }
aside { overflow: auto; scrollbar-width: thin; }
.target-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.target-chip b { color: var(--text); font-weight: 500; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.led.ok { background: var(--green); } .led.bad { background: var(--red); }
.help-pop { max-width: 420px; } .help-pop ol { margin: 0; padding-left: 18px; } .help-pop li { margin: 6px 0; font-size: 13px; }
.btn { font: 600 14px var(--font-body); border-radius: 8px; padding: 8px 14px; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .05s ease; white-space: nowrap; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.btn.ghost { background: transparent; color: var(--text-body); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--accent); color: var(--text); background: var(--elevated); }
.btn.rec { background: var(--red); border-color: var(--red); color: #1a0504; }
.btn.rec:hover { background: #ff6a63; border-color: #ff6a63; }
.btn:disabled { opacity: .4; cursor: default; }
.btn.lg { font-size: 16px; padding: 11px 20px; }
.steps-list { list-style: none; margin: 0 0 14px; padding: 0; }
.steps-list li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 8px; border-radius: 8px; border: 1px solid transparent; }
.steps-list li { cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.steps-list li:hover { background: var(--elevated); border-color: var(--border); }
.steps-list li:active { transform: translateY(1px); }
.steps-list li:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.steps-list li.now { border-color: var(--accent); background: var(--elevated); }
.steps-list .n { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font: 500 12px var(--font-mono); color: var(--muted); }
.steps-list li.done .n { background: var(--green); border-color: var(--green); color: #04130a; }
.steps-list b { display: block; color: var(--text); font-weight: 600; }
.steps-list small { color: var(--muted); font-size: 12px; }
.select.wide { width: 100%; align-self: stretch; }
.meter { height: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 7px; overflow: hidden; position: relative; margin-top: 8px; }
.meter i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .06s linear; }
.meter i.hot { background: var(--red); }
.meter em { position: absolute; left: 66%; top: 0; bottom: 0; border-left: 2px dashed var(--text-2); }
.heard { font-size: 12px; color: var(--muted); margin: 4px 0 8px; min-height: 17px; }
.boost-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.boost-row input { flex: 1; accent-color: var(--accent); }
.boost-row b { color: var(--text); font-weight: 500; min-width: 44px; text-align: right; }
.btn-row { display: flex; gap: 8px; margin: 10px 0 16px; }
.takes { list-style: none; margin: 0 0 14px; padding: 0; }
.takes li { border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; }
.takes li.chosen { border-color: var(--green); }
.takes li.empty { border-style: dashed; color: var(--muted); font-size: 13px; }
.takes .head { display: flex; justify-content: space-between; gap: 8px; color: var(--text); font-weight: 600; }
.takes .sub { font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.takes .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.takes .btn { font-size: 12px; padding: 5px 9px; }
.ainote { font-size: 13px; color: var(--muted); border: 1px dashed var(--border); border-radius: 8px; padding: 8px 10px; }
.ainote.live { color: var(--text-body); border-style: solid; border-color: var(--accent); }
.recbar { flex: none; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: var(--surface); border-top: 1px solid var(--line); }
.clock { font-size: 15px; color: var(--muted); white-space: nowrap; } .clock b { color: var(--text); font-weight: 500; font-size: 20px; }
.left { font-size: 13px; color: var(--muted); white-space: nowrap; min-width: 78px; }
.left.soon { color: var(--yellow); } .left.now { color: var(--red); font-weight: 500; }
.progress { flex: 1; min-width: 80px; height: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; position: relative; overflow: hidden; }
.progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); opacity: .85; }
.progress.rec i { background: var(--red); }
.segs { position: absolute; inset: 0; z-index: 1; }
.segs span { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--surface); }
.chap { min-width: 0; max-width: 300px; display: flex; flex-direction: column; line-height: 1.2; }
.chap b { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chap small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mode { font: 600 12px var(--font-head); letter-spacing: .04em; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.mode.rec { color: var(--red); border-color: var(--red); } .mode.play { color: var(--accent-bright); border-color: var(--accent); }
.overlay { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; background: rgba(13,17,23,.78); z-index: 5; text-align: center; }
.overlay.on { display: flex; }
.pre-num { font: 700 clamp(90px, 14vw, 220px)/1 var(--font-head); color: var(--text); font-variant-numeric: tabular-nums; }
.pre-text { font: 500 clamp(18px, 1.8vw, 30px) var(--font-body); color: var(--text-body); margin-top: 8px; max-width: 80%; }
.wrapup { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); z-index: 6; display: none; align-items: baseline; gap: 10px; background: rgba(22,27,34,.94); border: 2px solid var(--yellow); border-radius: 12px; padding: 8px 18px; color: var(--text); font: 500 clamp(16px, 1.5vw, 24px) var(--font-body); white-space: nowrap; }
.wrapup.on { display: flex; } .wrapup.final { border-color: var(--red); }
.wrapup b { font: 700 clamp(30px, 3.2vw, 56px)/1 var(--font-head); font-variant-numeric: tabular-nums; }
.recbadge { position: absolute; top: 22px; left: 28px; z-index: 6; display: none; align-items: center; gap: 8px; background: rgba(22,27,34,.9); border: 1px solid var(--red); border-radius: 999px; padding: 5px 12px; color: var(--text); font: 600 13px var(--font-body); }
.recbadge.on { display: flex; }
.recbadge i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 1s infinite; }
.recbadge.review { border-color: var(--accent); } .recbadge.review i { background: var(--accent); animation: none; }
@keyframes pulse { 50% { opacity: .25; } }
.modal { position: fixed; inset: 0; z-index: 9000; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.3); }
.modal.on { display: flex; }
.card { width: min(1100px, 82vw); max-height: 88vh; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 26px 30px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.card .pills { display: flex; gap: 8px; margin-bottom: 16px; white-space: nowrap; }
.card .pills span { font-size: clamp(12px, .9vw, 16px); padding: 3px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.card .pills span.now { border-color: var(--accent); color: var(--accent-bright); } .card .pills span.done { color: var(--text); }
.card h2 { margin: 0 0 8px; font: 700 clamp(24px, 2.3vw, 44px) var(--font-head); color: var(--text); }
.card p { margin: 0 0 14px; color: var(--text-2); font-size: clamp(15px, 1.15vw, 22px); }
.card .read { font: 600 clamp(28px, 2.8vw, 56px)/1.25 var(--font-head); color: var(--text); margin: 12px 0 18px; }
.card .count { display: flex; align-items: center; gap: 16px; }
.card .count b { font: 700 clamp(48px, 4.6vw, 92px)/1 var(--font-head); color: var(--text); min-width: 1.4em; font-variant-numeric: tabular-nums; }
.card .prog { flex: 1; height: clamp(10px, .8vw, 16px); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.card .prog i { display: block; height: 100%; width: 0; background: var(--accent); }
.card .bigmeter { height: clamp(20px, 1.6vw, 32px); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-top: 16px; position: relative; }
.card .bigmeter i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .06s linear; }
.card .bigmeter em { position: absolute; left: 66%; top: 0; bottom: 0; border-left: 2px dashed var(--text-2); }
.card table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: clamp(15px, 1.2vw, 24px); }
.card td { padding: 8px; border-bottom: 1px solid var(--border); color: var(--text-body); } .card td:first-child { color: var(--text-2); width: 42%; }
.card b.to { color: var(--accent-bright); }
.card .verdict { font-size: clamp(15px, 1.2vw, 24px); margin-bottom: 18px; color: var(--text-body); }
.card .next { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; color: var(--text-body); font-size: clamp(14px, 1.05vw, 20px); }
.card .next b { color: var(--text); }
.card .row { display: flex; gap: 10px; flex-wrap: wrap; }
.good { color: var(--green); font-weight: 700; } .warn { color: var(--yellow); font-weight: 700; } .bad { color: var(--red); font-weight: 700; }
@media (max-width: 860px) { html, body { overflow: auto; } main { grid-template-columns: 1fr; } .recbar { height: auto; flex-wrap: wrap; padding: 10px 16px; } .chap, .mode { display: none; } }
.drawbar { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 6; display: none; align-items: center; gap: 10px; background: rgba(22,27,34,.94); border: 1px solid var(--border); border-radius: 999px; padding: 6px 8px 6px 14px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.drawbar.on { display: flex; }
.drawbar b { color: var(--text); font-weight: 600; }
.drawbar .pen { width: 12px; height: 12px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 3px rgba(0,230,220,.2); }
.drawbar .btn { font-size: 12px; padding: 4px 10px; border-radius: 999px; }
kbd { font: 500 11px var(--font-mono); border: 1px solid var(--border); border-radius: 4px; padding: 0 5px; margin-left: 4px; color: var(--text-2); }
.startover { width: 100%; margin: -4px 0 16px; font-size: 13px; padding: 6px 10px; }
.startover.armed { border-color: var(--red); color: var(--red); }
.ainote.pulse { position: relative; z-index: 9001; border-style: solid; border-color: var(--accent-bright); box-shadow: 0 0 0 3px rgba(0,230,220,.25); animation: notepulse 1.2s ease-in-out infinite; background: var(--surface); }
@keyframes notepulse { 50% { box-shadow: 0 0 0 7px rgba(0,230,220,.10); } }
/* the narrator's camera, shown where and how it will sit in the film */
.pipbox { position: absolute; z-index: 8; display: none; overflow: hidden; border-radius: 12px; border: 2px solid var(--accent); box-shadow: 0 8px 28px rgba(0,0,0,.5); background: #000; cursor: grab; touch-action: none; }
.pipbox.on { display: block; } .pipbox.circle { border-radius: 50%; } .pipbox.drag { cursor: grabbing; }
.campip { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.pipctl { display: none; flex-direction: column; gap: 4px; margin: 0 0 8px; } .pipctl.on { display: flex; }
.pipctl .boost-row span { min-width: 74px; } .pipctl .select { align-self: center; flex: 1; }
.btn.small { padding: 4px 10px; font-size: 12px; }
.pipgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.pipgrid label { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); min-width: 0; }
.pipgrid label span { display: flex; justify-content: space-between; } .pipgrid b { color: var(--text); font-weight: 500; }
.pipgrid input { width: 100%; accent-color: var(--accent); margin: 2px 0 4px; }
.steps-list small { display: block; }
@media (max-height: 900px) { aside h2 { margin: 4px 0 5px; } .steps-list li { padding-top: 6px; padding-bottom: 6px; } .heard { margin: 2px 0 5px; } }
.piph { position: absolute; width: 22px; height: 22px; z-index: 2; opacity: 0; transition: opacity .15s; }
.pipbox:hover .piph, .pipbox.sizing .piph { opacity: 1; }
.piph::after { content: ""; position: absolute; inset: 4px; border: 3px solid var(--accent); border-radius: 2px; }
.piph.tl { left: 0; top: 0; cursor: nwse-resize; } .piph.tl::after { border-right: none; border-bottom: none; }
.piph.tr { right: 0; top: 0; cursor: nesw-resize; } .piph.tr::after { border-left: none; border-bottom: none; }
.piph.bl { left: 0; bottom: 0; cursor: nesw-resize; } .piph.bl::after { border-right: none; border-top: none; }
.piph.br { right: 0; bottom: 0; cursor: nwse-resize; } .piph.br::after { border-left: none; border-top: none; }
.pipbox.circle { overflow: visible; } .pipbox.circle .campip { border-radius: 50%; }
.pipbar { position: absolute; left: 50%; top: 6px; transform: translateX(-50%); display: flex; gap: 4px; z-index: 3; opacity: 0; transition: opacity .15s; white-space: nowrap; }
.pipbox:hover .pipbar { opacity: 1; } .pipbox.drag .pipbar, .pipbox.sizing .pipbar { opacity: 0; }
.pipbar button { background: rgba(13,17,23,.85); color: var(--text); border: 1px solid var(--accent); border-radius: 999px; padding: 3px 10px; font: 500 12px var(--font-body); cursor: pointer; }
.pipbar button:hover { background: var(--accent); color: #04211f; }
.piptoggle { width: 100%; margin: 0 0 6px; text-align: left; } .piptoggle b { float: right; color: var(--muted); }
.piptoggle.is-on { border-color: var(--accent); background: rgba(0,184,177,.12); } .piptoggle.is-on b { color: var(--accent); }
/* the picture's own buttons sit outside it, so a small picture never clips them */
.pipbox { overflow: visible; } .pipbox.circle { overflow: visible; }
.pipclip { position: absolute; inset: 0; overflow: hidden; border-radius: 10px; } .pipbox.circle .pipclip { border-radius: 50%; }
.pipbar { top: auto; bottom: 100%; padding-bottom: 8px; }
.pipbox.barlow .pipbar { bottom: auto; top: 100%; padding: 8px 0 0; }
.piph { margin: -3px; }
/* title and thumbnail: shown the way YouTube shows them */
.pitchbox { display: none; gap: 10px; align-items: center; padding: 8px; margin: 0 0 10px; border: 1px solid var(--accent); border-radius: 10px; cursor: pointer; background: rgba(0,184,177,.08); }
.pitchbox.on { display: flex; } .pitchbox img { width: 96px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; background: #000; }
.pitchbox b { display: block; font: 600 13px var(--font-body); color: var(--text); } .pitchbox small { color: var(--muted); font-size: 12px; }
.pitch-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 10px 0 14px; }
.pitch-thumbs button, .pitch-titles button { all: unset; cursor: pointer; border: 2px solid var(--border); border-radius: 10px; box-sizing: border-box; }
.pitch-thumbs button { position: relative; overflow: hidden; } .pitch-thumbs img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.pitch-thumbs button.is-on, .pitch-titles button.is-on { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(0,184,177,.25); }
.pitch-titles { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; } .pitch-titles button { padding: 8px 12px; font: 500 15px var(--font-body); color: var(--text); width: 100%; }
.pitch-titles button.is-on { background: rgba(0,184,177,.1); }
.pitch-preview { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; background: #0f0f0f; margin: 0 0 14px; }
.pitch-preview .th { position: relative; width: 300px; flex: none; } .pitch-preview img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; display: block; }
.pitch-preview .dur { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.8); color: #fff; font: 500 12px/1 Roboto, Arial, sans-serif; padding: 3px 5px; border-radius: 4px; }
.pitch-preview .tt { font: 500 17px/1.3 Roboto, Arial, sans-serif; color: #f1f1f1; } .pitch-preview .ch { font: 400 13px Roboto, Arial, sans-serif; color: #aaa; margin-top: 6px; }
/* pose shot: a still of you for the thumbnail */
.pose { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; margin: 10px 0 14px; }
.pose video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.pose .dot { position: absolute; width: 46px; height: 46px; margin: -23px; border-radius: 50%; border: 4px solid var(--accent); background: rgba(0,184,177,.25); box-shadow: 0 0 0 9999px rgba(0,0,0,0); animation: pulse 1s infinite; cursor: grab; }
.pose .dot::after { content: "point here"; position: absolute; left: 50%; top: 110%; transform: translateX(-50%); white-space: nowrap; font: 600 14px var(--font-body); color: #fff; text-shadow: 0 1px 4px #000; }
.pose .count { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 clamp(80px, 14vw, 220px) var(--font-head); color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.6); pointer-events: none; }
.pose .flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; transition: opacity .25s; }
.pose-shots { display: flex; gap: 8px; margin: 0 0 12px; } .pose-shots img { width: 32%; border-radius: 8px; border: 1px solid var(--border); }
.esc-hint { align-self: center; color: var(--muted); font-size: 13px; }
.pose .target { position: absolute; width: 30%; transform: translate(-50%, -50%); cursor: grab; border: 5px solid #ffd43b; border-radius: 12px; box-shadow: 0 0 0 4px rgba(0,0,0,.45), 0 0 40px rgba(255,212,59,.8); animation: pulse 1s infinite; }
.pose .target img { display: block; width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 7px; opacity: .88; pointer-events: none; }
.pose .target b { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -8px); white-space: nowrap; background: #ffd43b; color: #111; font: 800 clamp(16px, 1.8vw, 30px) var(--font-head); padding: 4px 14px; border-radius: 999px; }
.pose .target .arrow { position: absolute; right: 100%; top: 50%; width: 0; height: 0; margin: -22px 14px 0 0; border: 22px solid transparent; border-left: 34px solid #ffd43b; animation: nudge .7s ease-in-out infinite alternate; }
@keyframes nudge { from { transform: translateX(-14px); } to { transform: translateX(0); } }