/* Typing keyboard for the homepage phone demo (v5). Motion is driven by cine-free-v1.js (GSAP). */
#cine .tp-kb{position:absolute;left:0;right:0;bottom:0;z-index:20;background:#D1D5DB;padding:6px 3px 9px;border-radius:8px 8px 0 0;opacity:0;pointer-events:none}
#cine .tp-kb .r{display:flex;justify-content:center;gap:3px;margin-bottom:4px}
#cine .tp-kb .k{flex:0 0 auto;min-width:16px;height:18px;border-radius:4px;background:#fff;color:#1f2937;font:600 9px/18px system-ui,sans-serif;text-align:center;box-shadow:0 1px 0 #9aa0a6;transition:transform .1s ease-out,box-shadow .1s ease-out}
#cine .tp-kb .k.hit{transform:translateY(-14px) scale(1.7);z-index:5;box-shadow:0 3px 8px rgba(0,0,0,.35);border-radius:6px}
/* comment bar: typed word, then caret, then the placeholder right after the caret */
#cine #scrPost .box{gap:0}
#cine #scrPost .box .av.me{order:0;margin-right:7px}
#cine #scrPost .box .typed{order:1;min-width:0;margin:0!important}
#cine #scrPost .box .caret{order:2;margin:0 5px 0 1px!important;flex:0 0 auto}
#cine #scrPost .box .ph{order:3;position:static!important;left:auto!important;top:auto!important;transform:none!important}
/* the DM badge is driven by the timeline, so no CSS fade lag over the keyboard */
#cine .fb2.floating-badge{transition:none!important}
#cine #scrPost .box,#cine .tp-kb{will-change:transform}
