/* Brock eyes 1.0, styles for brock-eyes.js. Colours as custom properties so a page can theme them */
:root{--de-ink:#141118;--de-cream:#F4EEE3;--de-ora:#FF6A1F;--de-lime:#E4FF1A;--de-vio:#5B2BFF}
.de{display:block;width:100%;height:auto;overflow:visible}
/* the peek: the block sits under the card's bottom edge and rises until only the part below the eyes is cropped */
.de-pk{position:absolute;bottom:0;left:9%;width:46%;transform:translateY(102%);transition:transform .6s cubic-bezier(.2,.9,.25,1.15);pointer-events:none;z-index:1}
.de-pk.up{transform:translateY(14%)}
.de-pk.r{left:auto;right:8%} .de-pk.m{left:27%}
/* the screen peek: bottom left, above everything, never catches a tap */
.de-sp{position:fixed;left:24px;bottom:0;width:min(34vw,220px);z-index:40;transform:translateY(105%);transition:transform .55s cubic-bezier(.2,.9,.25,1.1);pointer-events:none}
.de-sp.up{transform:translateY(14%)}
/* the crowd fills its box */
.de-crowd{position:relative;overflow:hidden}
.de-crowd>svg{position:absolute;inset:0;width:100%;height:100%;display:block}
/* a colour field: the svg fills the box, the box's background is the colour seen through the eyes */
[data-de=field]{overflow:hidden;display:grid;place-items:center}
[data-de=field]>svg{width:100%;height:100%}
/* look here: the key line's figure gets the Orange Soda underline once the eyes settle on it */
.de-lh .key b{background:linear-gradient(var(--de-ora),var(--de-ora)) no-repeat 0 100%/0 .14em;padding-bottom:.08em;transition:background-size .7s cubic-bezier(.65,0,.35,1)}
.de-lh .key.lit b{background-size:100% .14em}
canvas[data-de=pattern],canvas[data-p]{display:block;width:100%}
@media (prefers-reduced-motion:reduce){.de-pk,.de-sp,.de-lh .key b{transition:none}}
