/* The confused Pep for /peptides. Operator 19 Nov: "Have a pep what have a dream/thought bubble with a cartoon ? and a
   face thats very "I dont understand" look." and 11:34 UTC: "inside the thought bubble is like exclamation mark and
   question mark, where he's like, "What is this?"". One code Pep (Sassy, Red) and the app's night bubble look (film,
   ring, soap glints, gloss) in the site's tokens. All sizes are in units of his still's box (--b): 240 px at 761 px and
   wider, 160 px below. Geometry: bv-globe peptides-pep/build-component.py. Nothing under 1 s; Reduced Motion: still. */
.peptides-pep{--b:240px;--pp-px:4.1667;--pp-mk:1.4881;position:relative;overflow:hidden;width:calc(var(--b) * 1.35905 + 4px);height:calc(var(--b) * 1.28695 + 7px);margin:0 0 16px calc(-1px - var(--b) * .00625);pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
/* --pp-px: SVG user units per CSS px (1000 per box); --pp-mk: glyph units per CSS px (the marks are scaled 2.8): the bobs
   inside the bubble's SVG are in those units */
.peptides-pep-origin{position:absolute;left:calc(var(--b) * .47625 + 2px);top:calc(var(--b) * .42565 + 5px);width:var(--b);height:var(--b)}
.peptides-pep-still{position:absolute;inset:0;display:block;width:100%;height:100%}
/* The clip's canvas is 1408/1024 of the still's: the same Pep size and place */
.peptides-pep-clip{position:absolute;left:-18.75%;top:-18.75%;width:137.5%;height:137.5%;object-fit:contain}
.peptides-pep.is-clip .peptides-pep-still{visibility:hidden}
.peptides-pep-bubble{position:absolute;left:calc(var(--b) * -.47625);top:calc(var(--b) * -.42565);width:calc(var(--b) * .79625);height:calc(var(--b) * .68565);overflow:visible}
/* The night bubble (src/tank/home/NightBubbleLayer.tsx): the film at .12, the ring 2 px at .85, the soap glints 3 px at
   .6, the gloss 3 px at .75. Site tokens: notes.md has the mapping. */
.peptides-pep .pp-film{fill:var(--water);fill-opacity:.12}
.peptides-pep .pp-ring{fill:none;stroke:var(--deep);stroke-opacity:.85;stroke-width:2px;vector-effect:non-scaling-stroke}
.peptides-pep .pp-soap,.peptides-pep .pp-gloss{fill:none;stroke-width:3px;stroke-linecap:round;vector-effect:non-scaling-stroke}
.peptides-pep .pp-soap-a{stroke:var(--lilac);stroke-opacity:.6}
.peptides-pep .pp-soap-b{stroke:var(--mint);stroke-opacity:.6}
.peptides-pep .pp-gloss{stroke:var(--surface);stroke-opacity:.75}
/* the question mark and the exclamation mark: round ends and round dots in the site ink */
.peptides-pep .pp-mark{fill:none;stroke:var(--ink);stroke-width:15;stroke-linecap:round;stroke-linejoin:round}
.peptides-pep .pp-dot{fill:var(--ink)}
@media(prefers-color-scheme:dark){html:not([data-theme="light"]) .peptides-pep .pp-film{fill:var(--ink)}html:not([data-theme="light"]) .peptides-pep .pp-ring{stroke:var(--ink)}html:not([data-theme="light"]) .peptides-pep .pp-gloss{stroke:var(--ink)}}
html[data-theme="dark"] .peptides-pep .pp-film{fill:var(--ink)}
html[data-theme="dark"] .peptides-pep .pp-ring{stroke:var(--ink)}
html[data-theme="dark"] .peptides-pep .pp-gloss{stroke:var(--ink)}
/* Motion: the bubble wobbles (radius 1 +- .025 over 3 s) and bobs (3 px over 4 s); both marks bob 3 px with a 4 degree
   rock over 2.4 s, the exclamation mark 0.3 s after the question mark. */
.peptides-pep .pp-wobble,.peptides-pep .pp-q,.peptides-pep .pp-x{transform-box:fill-box;transform-origin:50% 50%}
.peptides-pep .pp-wobble{animation:pp-wobble 3s ease-in-out infinite}
.peptides-pep .pp-bob{animation:pp-bob 4s ease-in-out infinite}
.peptides-pep .pp-q{animation:pp-mark 2.4s ease-in-out infinite}
.peptides-pep .pp-x{animation:pp-mark 2.4s ease-in-out -2.1s infinite}
@keyframes pp-wobble{0%,100%{transform:scale(1)}25%{transform:scale(1.025)}75%{transform:scale(.975)}}
@keyframes pp-bob{0%,100%{transform:translateY(0)}25%{transform:translateY(calc(var(--pp-px) * 3px))}75%{transform:translateY(calc(var(--pp-px) * -3px))}}
@keyframes pp-mark{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(calc(var(--pp-mk) * -3px)) rotate(2deg)}}
@media(max-width:760px){.peptides-pep{--b:160px;--pp-px:6.25;--pp-mk:2.2321;margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.peptides-pep .pp-wobble,.peptides-pep .pp-bob,.peptides-pep .pp-q,.peptides-pep .pp-x{animation:none}}
