/* Mockup procrastination-test: pracovný stôl zhora. Žltý blok so zoznamom desiatich úloh = desať otázok v poradí, v akom
   prichádzajú. Vôbec nie / Skôr nie = úloha odškrtnutá a prečiarknutá, Možno = rozrobená (zvýraznená napoly),
   Skôr áno / Určite áno = červená šípka ju odsunie "na potom" a na kôpku vpravo pribudne lepiaci lístok.
   Presýpacie hodiny ukazujú, koľko otázok už prešlo; ceruzka stojí pri aktuálnej úlohe.
   Farby: dubový stôl, žltý papier, modré linky; v tmavom režime orechový stôl pri lampe. */
.pc-fig{--pc-desk:#e8cfa6;--pc-grain:#c9a77a;--pc-paper:#fff6c2;--pc-line:#a9c4e8;--pc-margin:#e57373;--pc-bind:#b8473d;--pc-ink:#3f4a66;--pc-ok:#2f855a;--pc-late:#dc2626;--pc-hl:#fde047;--pc-wood:#8a5a2e;--pc-sand:#e0a84f;--pc-glass:rgba(220,236,255,.55);--pc-mug:#3b82a6}
@media(prefers-color-scheme:dark){.pc-fig{--pc-desk:#2c2119;--pc-grain:#3e2e21;--pc-paper:#e7dca4;--pc-line:#8aa2c4;--pc-margin:#c55a5a;--pc-bind:#8e3029;--pc-ink:#2c344a;--pc-ok:#237249;--pc-late:#c51f1f;--pc-wood:#6b4422;--pc-sand:#d39a45;--pc-glass:rgba(160,190,230,.28);--pc-mug:#2c6a88}}

.pc-fig{position:relative;margin:.4rem auto 1rem;padding:0;max-width:540px;border-radius:22px;overflow:hidden;background:var(--pc-desk);border:1px solid color-mix(in srgb,var(--pc-wood) 35%,transparent)}
.pc-svg{display:block;width:100%;height:auto}
.pc-desk{fill:var(--pc-desk)}
.pc-grain{fill:none;stroke:var(--pc-grain);stroke-width:2;opacity:.7}
.pc-shadow{fill:#000;opacity:.13}
.pc-paper{fill:var(--pc-paper)}
.pc-lines{stroke:var(--pc-line);stroke-width:1;opacity:.8}
.pc-margin{stroke:var(--pc-margin);stroke-width:1.4}
.pc-bind{fill:var(--pc-bind)}
.pc-holes circle{fill:var(--pc-desk);opacity:.85}
.pc-title{fill:none;stroke:var(--pc-ink);stroke-width:3.4;stroke-linecap:round}
.pc-cnt text{font:700 17px/1 "Segoe Print","Comic Sans MS","Bradley Hand",cursive;fill:var(--pc-late);text-anchor:end;font-variant-numeric:tabular-nums}

/* riadky úloh */
.pc-box{fill:#fffdf0;stroke:var(--pc-ink);stroke-width:1.5}
.pc-task{fill:none;stroke:var(--pc-ink);stroke-width:1.8;stroke-linecap:round;opacity:.7;transition:opacity .5s}
.pc-hl{stroke:var(--pc-hl);stroke-width:11;stroke-linecap:round;opacity:0;transition:opacity .5s}
.pc-strike,.pc-chk,.pc-arr{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .6s ease-out}
.pc-strike{stroke:var(--pc-ok);stroke-width:2}
.pc-chk{stroke:var(--pc-ok);stroke-width:3}
.pc-arr{stroke:var(--pc-late);stroke-width:2}
.pc-dash{stroke:#d97706;stroke-width:3;stroke-linecap:round;opacity:0;transition:opacity .4s}
.pc-row.s-done .pc-chk,.pc-row.s-done .pc-strike,.pc-row.s-later .pc-arr{stroke-dashoffset:0}
.pc-row.s-done .pc-task{opacity:.35}
.pc-row.s-half .pc-hl{opacity:.65}.pc-row.s-half .pc-dash{opacity:1}
.pc-row.s-later .pc-task{opacity:.3}.pc-row.s-later .pc-box{stroke:var(--pc-late);stroke-dasharray:2 2}
.pc-row.cur .pc-box{stroke-width:2.4;animation:pc-blink 1s ease-in-out infinite alternate}
@keyframes pc-blink{to{fill:#fde68a}}

/* ceruzka */
.pc-pencil{transition:transform .7s cubic-bezier(.4,1.3,.5,1)}
.pc-pb{fill:#f5b70a}.pc-pf{fill:#b7bcc6}.pc-pe{fill:#f08b9a}.pc-pw{fill:#f2d7a8}.pc-pt{fill:#2b2b2b}

/* hrnček, papierová guľa */
.pc-mb{fill:var(--pc-mug)}.pc-mh{fill:none;stroke:var(--pc-mug);stroke-width:5}.pc-mc{fill:#5b3a1f}
.pc-steam{fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;opacity:.45;animation:pc-steam 3s ease-in-out infinite alternate}
@keyframes pc-steam{to{opacity:.15;transform:translateY(-4px)}}
.pc-ball circle{fill:#f4f1e6}.pc-ball path{fill:none;stroke:#b8b2a0;stroke-width:1.2}

/* presýpacie hodiny */
.pc-wood{fill:var(--pc-wood)}.pc-post{fill:var(--pc-wood)}
.pc-bulb{fill:var(--pc-glass);stroke:color-mix(in srgb,var(--pc-wood) 60%,#fff);stroke-width:1.6}
.pc-sand{fill:var(--pc-sand);transition:all .8s ease}
.pc-stream{stroke:var(--pc-sand);stroke-width:2.4;stroke-dasharray:3 5;animation:pc-fall .6s linear infinite;transition:opacity .4s}
@keyframes pc-fall{to{stroke-dashoffset:-8}}
.pc-fig.is-done .pc-stream{opacity:0}
.pc-shine{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;opacity:.45}

/* kôpka odložených lístkov */
.pc-note{opacity:0;transition:opacity .4s}
.pc-note.on{opacity:1}
.pc-note rect{stroke:rgba(0,0,0,.12);stroke-width:1}
.pc-note path{stroke:rgba(0,0,0,.25);stroke-width:2;stroke-linecap:round}
.pc-note.n1 rect{fill:#fde68a}.pc-note.n2 rect{fill:#fbcfe8}.pc-note.n3 rect{fill:#bfdbfe}.pc-note.n4 rect{fill:#bbf7d0}
@media(max-width:520px){.pc-fig{border-radius:16px}.pc-cnt text{font-size:21px}}
@media(prefers-reduced-motion:reduce){.pc-stream,.pc-steam,.pc-row.cur .pc-box{animation:none}.pc-pencil,.pc-sand,.pc-strike,.pc-chk,.pc-arr{transition:none}}
