/* Kritter run film — every style that moves is set from time in film.js (seek). Nothing here transitions. */
.film{position:relative;width:100%;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#efede9;border:1px solid #d6d3cf;
  box-shadow:0 40px 80px -30px rgba(8,123,115,.35),0 2px 6px rgba(16,24,40,.08);contain:layout paint;user-select:none}
.film img.f-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.f-stage{position:absolute;left:0;top:0;width:1600px;height:900px;transform-origin:0 0;background:#efede9;overflow:hidden;
  font-family:"Geist",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:17px;line-height:1.45;color:#1c1917;letter-spacing:-.008em}
.f-world{position:absolute;left:0;top:0;width:1600px;height:900px;transform-origin:0 0}
.f-col{position:absolute;left:400px;top:-900px;width:800px;height:1770px;background:#fff;border:1px solid #dedbd6;border-radius:22px;
  display:flex;flex-direction:column;justify-content:flex-end;padding:0 26px 24px;box-shadow:0 1px 2px rgba(16,24,40,.04),0 18px 44px -18px rgba(16,24,40,.16)}
.f-row{height:0;overflow:hidden;flex:none}
.f-in{padding:0}

/* messages */
.f-msg .f-in{display:flex;gap:14px;padding:12px 2px 14px}
.f-av{flex:none;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:650;font-size:14px;color:#fff;letter-spacing:0}
.f-av.res{background:linear-gradient(135deg,#60a5fa,#1d4ed8)}.f-av.ana{background:linear-gradient(135deg,#a78bfa,#6d28d9)}.f-av.you{background:#44403c}.f-av.lead{background:linear-gradient(135deg,#25C69A,#087B73)}.f-av.rev{background:linear-gradient(135deg,#f59e0b,#c2410c)}
.f-av.sm{width:26px;height:26px;font-size:11.5px}
.f-who{font-weight:650;letter-spacing:-.015em;flex:none}.f-when{color:#8a837c;font-size:13px;margin-left:8px;font-weight:400}
.f-body{color:#292524}
.f-at{color:#0f766e;background:#e6faf5;border-radius:6px;padding:1px 6px;font-weight:560}
.f-line{overflow:hidden;height:25px;white-space:nowrap}.f-line>span{display:block}
.f-chart{position:relative;height:120px;margin:12px 0 4px;padding:10px 12px 0;border:1px solid #e7e5e1;border-radius:12px;background:#faf9f7;display:flex;align-items:flex-end;gap:5px}
.f-bar{flex:1;border-radius:3px 3px 0 0;background:#d6d3cf;transform-origin:50% 100%}
.f-bar.hi{background:#0f766e}
.f-med{position:absolute;left:12px;right:12px;height:0;border-top:1.5px dashed #a8a29e;transform-origin:0 50%}
.f-medlab{position:absolute;right:14px;font-family:"Geist Mono",ui-monospace,monospace;font-size:11px;color:#78716c;background:#faf9f7;padding:0 4px}
.f-chips{display:flex;gap:8px;margin-top:10px}
.f-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #e7e5e1;border-radius:999px;padding:4px 11px;font-size:13.5px;color:#44403c;background:#fff;transform-origin:0 50%}
.f-chip.ok{border-color:#a7f3d0;background:#ecfdf5;color:#047857;font-weight:560}
.f-chip svg{width:14px;height:14px}

/* live cards */
.f-dock{border:1px solid #e2dfda;border-radius:14px;overflow:hidden;background:#fff;margin:0 -6px;flex:none}
.f-card .f-in,.f-sub .f-in{display:flex;align-items:center;gap:10px;height:46px;padding:0 14px;border-top:1px solid #efede9;white-space:nowrap}
.f-sub .f-in{height:38px;padding-left:34px;font-size:14.5px;border-top:0}
.f-elbow{color:#a8a29e;font-family:"Geist Mono",monospace;font-size:13px;margin-right:-2px}
.f-act{display:grid;grid-template-columns:repeat(4,4px);grid-template-rows:repeat(2,4px);gap:2px;flex:none}
.f-act i{width:4px;height:4px;border-radius:1px;background:#1c1917}
.f-tool{font-size:15px;color:#78716c;display:inline-flex;align-items:center;gap:6px;overflow:hidden;height:24px;position:relative;flex:1;min-width:0}
.f-tool>span{position:absolute;left:0;top:0;height:24px;display:inline-flex;align-items:center;gap:7px}
.f-tool code,.f-perm code{font-family:"Geist Mono",ui-monospace,monospace;font-size:13.5px;color:#44403c;background:#f5f5f4;border-radius:5px;padding:1px 6px}
.f-task{background:#f5f5f4;color:#57534e;border-radius:6px;padding:2px 8px}
.f-fill{flex:1}
.f-spark{color:#d97757;font-size:15px;line-height:1}
.f-model{font-family:"Geist Mono",ui-monospace,monospace;font-size:12.5px;background:#f5f5f4;border-radius:6px;padding:2px 7px;color:#292524}
.f-model b{color:#2563eb;font-weight:600}
.f-tok{font-family:"Geist Mono",ui-monospace,monospace;font-size:12.5px;color:#78716c;min-width:52px}
.f-tok.up::before{content:"↑ ";color:#2563eb}.f-tok.dn::before{content:"↓ ";color:#16a34a}
.f-time{font-family:"Geist Mono",ui-monospace,monospace;font-size:12.5px;color:#78716c;min-width:38px;text-align:right}
.f-subs{display:inline-flex;align-items:center;gap:5px;background:#fff1e6;color:#c2410c;border-radius:7px;padding:2px 8px;font-size:13px;font-weight:600;transform-origin:50% 50%}
.f-done{width:16px;height:16px;border-radius:50%;background:#10b981;display:inline-flex;align-items:center;justify-content:center;flex:none}
.f-done svg{width:10px;height:10px}
.f-verdict{height:22px;box-sizing:border-box;display:inline-flex;align-items:center;gap:6px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;border-radius:7px;padding:1px 9px;font-size:13.5px;font-weight:600;transform-origin:0 50%}

/* permission strip */
.f-perm .f-in{display:flex;align-items:center;gap:10px;height:54px;padding:0 14px;border-top:1px solid #efede9;background:#fffbeb;white-space:nowrap;font-size:15px}
.f-btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 13px;border-radius:9px;border:1px solid #d6d3cf;background:#fff;font-weight:560;font-size:14px;color:#292524}
.f-btn.go{background:#0f766e;border-color:#0f766e;color:#fff}

/* composer */
.f-composer{flex:none;margin-top:12px;height:64px;border:1.5px solid #d6d3cf;border-radius:18px;display:flex;align-items:center;padding:0 12px 0 20px;gap:12px;background:#fff}
.f-input{flex:1;position:relative;height:26px;white-space:nowrap;overflow:hidden}
.f-ph{color:#a8a29e;position:absolute;left:0;top:0}
.f-typed{position:absolute;left:0;top:0}
.f-caret{display:inline-block;width:2px;height:20px;background:#0f766e;vertical-align:-4px;margin-left:1px}
.f-send{width:40px;height:40px;border-radius:50%;background:#0f766e;display:flex;align-items:center;justify-content:center;flex:none}
.f-send svg{width:18px;height:18px}
.f-head{flex:none;margin:0 0 8px 2px;font-family:"Geist Mono",ui-monospace,monospace;font-size:13px;color:#78716c;display:flex;gap:8px;align-items:center}
.f-head b{color:#292524;font-weight:560}

/* overlays in stage space */
.f-flood{position:absolute;left:0;top:0;border-radius:50%;width:0;height:0;display:none}
.f-cursor{position:absolute;left:0;top:0;width:34px;height:34px;transform-origin:3px 2px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.28))}
.f-toast{position:absolute;right:36px;bottom:22px;width:430px;background:#1c1917;color:#fafaf9;border-radius:22px;padding:16px 20px;display:flex;gap:14px;align-items:center;
  box-shadow:0 22px 50px -16px rgba(0,0,0,.5);font-size:21px;line-height:1.3}
.f-toast img{width:44px;height:44px;flex:none;background:#fff;border-radius:12px;padding:6px}
.f-toast small{display:block;font-family:"Geist Mono",ui-monospace,monospace;font-size:13px;color:#a8a29e;letter-spacing:.04em;text-transform:uppercase;margin-bottom:2px}
.f-cap{position:absolute;left:40px;bottom:36px;height:64px;border-radius:16px;background:#0b2b29;color:#fff;display:flex;align-items:center;gap:14px;padding:0 22px 0 16px;overflow:hidden;transform-origin:0 100%}
.f-cap .f-n{font-family:"Geist Mono",ui-monospace,monospace;font-size:17px;color:#7BF5C6;width:30px;height:30px;position:relative;overflow:hidden}
.f-cap .f-t{position:relative;height:36px;overflow:hidden;font-size:28px;font-weight:560;letter-spacing:-.02em}
.f-cap .f-n span,.f-cap .f-t span{position:absolute;left:0;top:0;white-space:nowrap;line-height:36px}
.f-cap .f-n span{line-height:30px}
.f-brand{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;pointer-events:none}
.f-brand img{width:132px;height:132px}
.f-brand .f-mask{overflow:hidden}
.f-brand .f-word{font-size:120px;font-weight:650;letter-spacing:-.05em;line-height:1.12}
.f-brand .f-tag{font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-size:46px;color:#a7f3d0;line-height:1.3}
.f-brand .f-url{font-family:"Geist Mono",ui-monospace,monospace;font-size:25px;letter-spacing:.06em;color:#7BF5C6;line-height:1.4}
.f-brand .f-mask:last-child{margin-top:16px}
.film.is-narrow .f-toast{bottom:auto;top:30px}
