/* Day 10 · Building blocks · the few styles only this calm page needs (Worker A, 2026-11-19). Engine styles: ../calm.css */
/* a painted picture that fills its frame */
.bk-pic { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #fbf0dc; }
.bk-pic > img:not(.bk-part) { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the gold ring that points at one part of the painted cell */
.bk-ring { position: absolute; transform: translate(-50%, -50%); aspect-ratio: 1; border-radius: 50%; border: 4px solid #F2C94C; box-shadow: 0 0 0 2px rgba(43, 38, 32, .55), inset 0 0 0 2px rgba(43, 38, 32, .25); pointer-events: none; transition: left .45s ease, top .45s ease, width .45s ease; animation: bkPulse 1.8s ease-in-out infinite; }
@keyframes bkPulse { 50% { box-shadow: 0 0 0 6px rgba(242, 201, 76, .45), inset 0 0 0 2px rgba(43, 38, 32, .25); } }
/* fix the cell: parts drop into the painted cell */
.c-fit .bk-part { height: auto; object-fit: contain; }
.bk-part { position: absolute; transform: translate(-50%, -50%) scale(.4); opacity: 0; transition: transform .45s cubic-bezier(.2, 1.4, .4, 1), opacity .25s; pointer-events: none; }
.bk-part.on { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.bk-tool { flex: 0 0 calc(33.3% - 8px); min-width: 0; align-self: stretch; }
.bk-tool img { display: block; width: 46px; height: 46px; object-fit: contain; }
.bk-tool span { font-size: 16px; }
/* zip the DNA: the four letter buttons */
.bk-letter { min-width: 66px; font-size: 28px; }
@media (prefers-reduced-motion: reduce) { .bk-ring { animation: none; transition: none; } .bk-part { transition: none; } }
