/* The drawn apps' parts, shared by the home page and /features. Every size is in
   em, so a drawing scales with the font-size its container gives it. */
@property --p { syntax:"<number>"; inherits:true; initial-value:62; }
.pi { fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.ico { flex:none; width:2em; height:2em; border-radius:50%; background:var(--accent); color:#fff; display:grid; place-items:center; }
.ico svg { width:1.15em; height:1.15em; }
.ico.rose { background:#b5506b; }
.ico.teal { background:#2f7d6b; }
.ico.blue { background:#4a7fc0; }
.avatar { flex:none; width:2.1em; height:2.1em; border-radius:50%; background:var(--chip); border:1px solid var(--chip-line); color:var(--accent); display:grid; place-items:center; }
.avatar b { font-size:.8em; font-weight:800; }
.tcard { position:relative; overflow:hidden; display:flex; align-items:center; gap:.8em; border-radius:.9em; background:var(--card2); }
.tcard.sel { background:var(--chip); }
.dir { flex:none; width:2.1em; height:2.1em; border-radius:50%; background:var(--card); border:1px solid var(--line); display:grid; place-items:center; color:var(--muted); }
.dir svg { width:1.15em; height:1.15em; stroke-width:2.4; }
.dir.ok { color:var(--ok); }
.t { flex:1; min-width:0; display:flex; flex-direction:column; }
.n { font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.s { color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bar { position:absolute; left:0; right:0; bottom:0; height:.28em; }
.bar i { display:block; height:100%; background:var(--accent); width:62%; animation:fill 9s linear infinite; }
.bar.slow i { width:34%; animation-duration:16s; }
/* A bar that follows the drawing's --p, as a piece map does. */
.bar.sync i { width:calc(var(--p) * 1%); animation:none; }
.on-dot { width:.55em; height:.55em; border-radius:50%; background:var(--ok); }
.wm i { color:var(--accent); font-style:normal; }
.s-item { display:flex; align-items:center; gap:.7em; padding:.45em .6em; border-radius:.8em; background:var(--card); font-weight:600; white-space:nowrap; }
.s-item.on { background:var(--chip); padding-block:.8em; font-weight:700; }
.s-item .on-dot { margin-left:auto; }
.s-head { font-size:.85em; font-weight:600; color:var(--muted); margin:.7em 0 .1em .4em; }
.pieces { display:grid; grid-template-columns:repeat(12,1fr); gap:.2em; }
/* A piece is held once the progress passes its own mark, --at (set by the page's script). */
.pieces i { aspect-ratio:1; border-radius:.14em; background:color-mix(in srgb, var(--accent) calc(clamp(0, (var(--p) - var(--at)) * 100, 1) * 100%), var(--line)); }
@keyframes fill { from { width:8% } to { width:100% } }
@keyframes move { from { --p:4 } 88%, to { --p:100 } }
