.pitico-background{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}.pitico-background canvas{display:block;width:100%;height:100%}.pitico-background:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(17,27,47,.16),transparent 28%,transparent 88%,rgba(17,27,47,.08))}.pitico-background .pitico-fallback{width:100%;height:100%;object-fit:cover;display:block}

/* light version (bg/stills.js): the still pictures of the arena. The layer is a little larger than the box
   so the pictures can zoom and drop during a jump without showing an edge. */
.pitico-stills{background:var(--color-grey-200)}
.pitico-stills-layer{position:absolute;inset:-4%;pointer-events:none}
.pitico-stills-layer img{position:absolute;inset:0;inline-size:100%;block-size:100%;object-fit:cover;display:block;will-change:opacity,transform;user-select:none}

/* flat version (bg/flat.js, 2026-11-26): flat navy pages, the drawn paper jump, the origami horse */
.pitico-flat{background:var(--color-navy-900)}
.pitico-flat:after{display:none}
.pitico-flat .pitico-horse img{filter:brightness(1.22);transition:filter .4s ease}
.pitico-flat.on-white .pitico-horse img{filter:none}
.pitico-fence{position:absolute;left:50%;transform-origin:50% 100%;pointer-events:none;will-change:transform,opacity}
.pitico-fence svg{display:block;inline-size:100%;block-size:auto;overflow:visible}
/* white paper on navy pages, navy paper on white pages (as in the flat version of 2026-11-23) */
.pitico-fence.on-navy{--a:var(--color-core-white);--b:var(--color-navy-100);--c:var(--color-grey-100);--pw:var(--color-core-white)}
.pitico-fence.on-white{--a:var(--color-navy-900);--b:var(--color-navy-600);--c:var(--color-navy-700);--pw:var(--color-navy-900)}
.pitico-fence .fa{fill:var(--a)}.pitico-fence .fb{fill:var(--b)}.pitico-fence .fc{fill:var(--c)}
.pitico-fence .po{fill:var(--color-orange-500)}.pitico-fence .pw{fill:var(--pw)}.pitico-fence .ps{fill:var(--color-navy-900);fill-opacity:.2}
