#boot-art { width:min(284px, calc(100vw - 48px)); container-type:inline-size; }

/* Artwork and motion shared with the local mascot demo. */
#boot-art .scene {
  --cycle:3s;
  --soft-ease:cubic-bezier(.37,0,.36,1);
  position:relative;
  aspect-ratio:1.26;
  overflow:hidden;
  isolation:isolate;
  background:transparent;
}
#boot-art .halo { position:absolute; inset:8% 14% 10%; border-radius:49% 51% 45% 55%; background:#fffaf2a8; }
#boot-art .glass {
  position:absolute; isolation:isolate; overflow:hidden; left:36%; top:13%; width:45%; height:65%;
  border:.9cqw solid #fdfafa; border-radius:17%; background:linear-gradient(145deg,#edf8fc,#d9edf4 58%,#e5e0f0);
  box-shadow:0 0 0 .2cqw #c0cddd, 0 2.2cqw 4.6cqw #6e7c9e24, inset 0 0 0 .32cqw #becddd;
}
#boot-art .glass::before, .glass::after { content:""; position:absolute; height:162%; top:-29%; background:#ffffff85; transform:rotate(38deg); }
#boot-art .glass::before { left:35%; width:21%; }
#boot-art .glass::after { left:61%; width:5%; }
#boot-art .haze { position:absolute; z-index:1; left:36%; top:50%; width:45%; height:35%; border-radius:47% 53% 56% 44%; background:radial-gradient(ellipse,#b5c8d899 6%,#c5d0e43d 57%,transparent 72%); opacity:.78; animation:haze var(--cycle) infinite; }
#boot-art .haze i { position:absolute; width:12%; aspect-ratio:1.45; border-radius:62% 38% 53% 47%; background:#98b2bf8c; }
#boot-art .haze i:nth-child(1) { left:18%; top:26%; }
#boot-art .haze i:nth-child(2) { left:58%; top:39%; width:8%; }
#boot-art .haze i:nth-child(3) { left:40%; top:58%; width:9%; }
#boot-art .ledge { position:absolute; left:33%; top:77%; width:51%; height:2.2%; border-radius:50px; background:#fdf9f5; box-shadow:0 .35cqw 0 #ccd2e1, 0 .8cqw 1.6cqw #67768e17; }
#boot-art .ground { position:absolute; left:18%; right:16%; bottom:9%; height:6%; border-radius:50%; background:#dad8e76b; }
#boot-art .scenery-bubble {
  position:absolute; aspect-ratio:1; border-radius:50%; border:.19cqw solid #ffffffa8;
  box-shadow:inset -.65cqw -.65cqw #9b9fc52b, 0 .5cqw 1cqw #9b9fc519;
}
#boot-art .scenery-bubble.one { width:5.6%; left:16.5%; top:34%; background:#d2eae9; }
#boot-art .scenery-bubble.two { width:3%; left:21.5%; top:26%; background:#f2dbe5; }
#boot-art .scenery-bubble.three { width:3.6%; left:83.5%; top:61%; background:#f4e1cb; }
#boot-art .buddy { position:absolute; isolation:isolate; left:22%; top:43%; width:34%; height:44%; }
#boot-art .shadow { position:absolute; left:7%; right:0; bottom:-4%; height:12%; border-radius:50%; z-index:-2; background:#a39fbf43; opacity:.85; animation:shadow var(--cycle) infinite; }
#boot-art .foot {
  position:absolute; bottom:0; width:27%; height:15%; border-radius:48% 55% 48% 49%; z-index:-1;
  border:.25cqw solid #aac9da; background:linear-gradient(155deg,#e0f6f4,#bddde7 70%,#c6c4e1);
  box-shadow:inset 0 .25cqw #ffffff85, inset 0 -.42cqw #9eacc933;
  transform:rotate(var(--tilt));
  animation:foot var(--cycle) infinite;
}
#boot-art .foot.left { left:10%; --tilt:-14deg; --step:-4deg; }
#boot-art .foot.right { right:9%; --tilt:14deg; --step:5deg; }
#boot-art .body {
  --rest-radius:50% 51% 47% 48% / 53% 54% 46% 47%;
  position:absolute; inset:1% 1% 6%; overflow:hidden;
  border-radius:var(--rest-radius);
  border:.32cqw solid #a5cbd8;
  background:
    radial-gradient(ellipse at 18% 65%,#faedf7d9,transparent 29%),
    radial-gradient(ellipse at 87% 38%,#ead9f2ca,transparent 43%),
    radial-gradient(ellipse at 36% 17%,#fbfffe,#e1f5f5 38%,#bfe6eb 65%,#b5cce7 100%);
  box-shadow:inset 0 .4cqw .85cqw #fff9, inset 0 -.9cqw 1.55cqw #9fafd56b, 0 .95cqw 2.2cqw #7b93ad24;
  transform-origin:52% 95%;
  animation:body var(--cycle) infinite;
}
#boot-art .shine { position:absolute; top:15%; left:12%; width:31%; height:28%; border-top:.95cqw solid #fffc; border-radius:60%; transform:rotate(-42deg); animation:shine var(--cycle) infinite; }
#boot-art .shine::after { content:""; position:absolute; left:83%; top:4%; width:14%; aspect-ratio:1; background:#ffffffb3; border-radius:50%; }
#boot-art .rim { position:absolute; right:13%; bottom:8%; width:30%; height:12%; border-radius:50%; border-bottom:.55cqw solid #f7e9f8bd; transform:rotate(-32deg); }
#boot-art .eyes { position:absolute; inset:0; animation:gaze var(--cycle) infinite; }
#boot-art .eye { position:absolute; top:43%; width:8%; height:13%; border-radius:50%; transform-origin:50% 80%; background:#345061; animation:blink var(--cycle) infinite; }
#boot-art .eye.left { left:33%; }
#boot-art .eye.right { left:61%; }
#boot-art .eye::before, .eye::after { content:""; position:absolute; border-radius:50%; background:#fff; aspect-ratio:1; }
#boot-art .eye::before { top:13%; left:20%; width:40%; }
#boot-art .eye::after { top:56%; right:15%; width:18%; opacity:.75; }
#boot-art .cheek { position:absolute; top:58%; width:17%; height:12%; border-radius:50%; background:radial-gradient(ellipse,#f3aabec9,#f8c1cd6e 58%,transparent 75%); }
#boot-art .cheek.left { left:17%; }
#boot-art .cheek.right { right:13%; }
#boot-art .smile { position:absolute; top:52%; left:45%; width:13%; height:13%; border-bottom:.46cqw solid #3d5666; border-radius:0 0 50% 50%; transform-origin:50% 82%; animation:smile var(--cycle) infinite; }
#boot-art .crest {
  position:absolute; top:-6%; right:11%; width:19%; aspect-ratio:1; border-radius:50%; border:.22cqw solid #b6c8de;
  background:radial-gradient(circle at 36% 29%,#f7fdff 0 13%,#deeff9 20%,#d6d6ee 78%);
  box-shadow:0 .5cqw .8cqw #9e9fc321; animation:crest var(--cycle) infinite;
}
#boot-art .polisher { position:absolute; left:59%; top:64%; animation:reach var(--cycle) infinite; }
#boot-art .orbit { animation:orbit var(--cycle) infinite; }
#boot-art .grip { position:absolute; left:-2.7cqw; width:0; height:0; animation:counterturn var(--cycle) infinite; }
#boot-art .arm {
  position:absolute; top:.25cqw; left:-9.4cqw; width:10cqw; height:3.55cqw;
  border:.22cqw solid #aacbd8; border-radius:2cqw;
  background:linear-gradient(160deg,#e9f9f8,#c0e1eb 85%); box-shadow:inset 0 .33cqw #fff7;
  transform-origin:82% 50%; transform:rotate(-20deg);
}
#boot-art .cloth {
  position:absolute; top:-4.2cqw; left:-2.95cqw; width:10.2cqw; height:8.5cqw;
  border:.26cqw solid #b6a4d1; border-radius:1.7cqw 2cqw 1.9cqw 1.6cqw;
  background:linear-gradient(145deg,#f1e9fa,#e1d3f0 60%,#d5c4e9);
  box-shadow:inset 0 .46cqw #ffffff7a, 0 .5cqw 0 #b5a1cc, 0 1.1cqw 1.9cqw #74658b29;
  transform:rotate(-13deg); transform-origin:19% 74%; animation:cloth var(--cycle) infinite;
}
#boot-art .cloth::before, .cloth::after { content:""; position:absolute; inset:.7cqw; border:.2cqw dashed #ad9bc58c; border-radius:1.05cqw; }
#boot-art .cloth::after { inset:auto .24cqw .46cqw auto; width:2.6cqw; height:1.7cqw; border:0; border-radius:100% 0 58% 21%; background:#f4eafa; box-shadow:-.18cqw -.13cqw #b5a3cf70; }
#boot-art .spark { position:absolute; width:6%; aspect-ratio:1; background:#fffefa; opacity:0; clip-path:polygon(50% 0,63% 37%,100% 50%,63% 63%,50% 100%,37% 63%,0 50%,37% 37%); animation:gleam var(--cycle) infinite; }
#boot-art .spark.one { left:65%; top:32%; }
#boot-art .spark.two { left:73%; top:26%; width:3.8%; animation-delay:.19s; }
#boot-art .spark.three { left:69%; top:42%; width:2.8%; animation-delay:.33s; }
#boot-art .riser {
  position:absolute; left:62%; top:48%; width:5.2%; aspect-ratio:1; border-radius:50%; border:.24cqw solid #ffffffcb;
  background:radial-gradient(circle at 34% 26%,#fff 0 11%,#d3edf5b5 17%,#f6ddf0ba 82%);
  box-shadow:inset -.34cqw -.54cqw #afabd52b;
  opacity:0; animation:rise var(--cycle) infinite;
}

/* Both turns use the same timing so the hand stays upright around the circular path. */
@keyframes orbit {
  0%, 11% { transform:rotate(0deg); animation-timing-function:cubic-bezier(.22,.14,.70,.93); }
  49%, 100% { transform:rotate(720deg); }
}
@keyframes counterturn {
  0%, 11% { transform:rotate(0deg); animation-timing-function:cubic-bezier(.22,.14,.70,.93); }
  49%, 100% { transform:rotate(-720deg); }
}
@keyframes reach {
  0%, 5%, 62%, 100% { transform:translate(0,0); }
  11%, 49% { transform:translate(1.4cqw,-3.9cqw); }
  54% { transform:translate(.4cqw,.65cqw); }
}
@keyframes cloth {
  0%, 5%, 62%, 100% { transform:rotate(-13deg); }
  13%, 28%, 46% { transform:rotate(3deg) scaleY(.96); }
  21%, 38% { transform:rotate(-5deg) scaleY(1.02); }
  54% { transform:rotate(-21deg); }
}
@keyframes body {
  0%, 4%, 69%, 100% { transform:none; border-radius:var(--rest-radius); }
  9% { transform:translateX(-.55cqw) rotate(-4deg) scale(1.069,.936); }
  16%, 35% { transform:translateX(.62cqw) rotate(5.4deg) scale(.944,1.059); }
  25%, 43% { transform:translateX(.23cqw) rotate(2deg) scale(1.048,.954); }
  48% { transform:translateX(.76cqw) rotate(4deg) scale(.977,1.024); border-radius:var(--rest-radius); }
  51% {
    transform:translateX(.96cqw) rotate(6.2deg) scale(1.13,.885);
    border-radius:53% 47% 40% 48% / 55% 55% 43% 46%;
  }
  55% {
    transform:translateX(-.54cqw) rotate(-4.9deg) scale(.92,1.087);
    border-radius:48% 54% 49% 47% / 53% 56% 47% 46%;
  }
  58% { transform:translateX(.36cqw) rotate(3.15deg) scale(1.061,.943); }
  61% { transform:translateX(-.23cqw) rotate(-1.9deg) scale(.966,1.035); }
  63.5% { transform:translateX(.11cqw) rotate(1deg) scale(1.018,.982); }
  66% { transform:translateX(-.045cqw) rotate(-.38deg) scale(.993,1.007); }
  82% { transform:scale(.989,1.011); }
}
@keyframes shadow {
  0%, 100% { transform:scale(1); opacity:.85; }
  16%, 35% { transform:translateX(.45cqw) scale(.94,.9); opacity:.72; }
  25%, 43% { transform:translateX(.24cqw) scale(1.04); }
  51% { transform:translateX(.52cqw) scale(1.13,1.08); opacity:1; }
  55% { transform:translateX(-.28cqw) scale(.92,.91); opacity:.73; }
  58% { transform:translateX(.18cqw) scale(1.06,1.03); opacity:.93; }
  61% { transform:scale(.975,.98); opacity:.83; }
  66% { transform:scale(1); opacity:.85; }
}
@keyframes shine {
  0%, 67%, 100% { transform:rotate(-42deg); }
  18%, 38% { transform:translate(-.45cqw,.44cqw) rotate(-45deg); }
  26%, 44% { transform:translate(.4cqw,-.32cqw) rotate(-40deg); }
  52% { transform:translate(.82cqw,-.64cqw) rotate(-38deg); }
  56% { transform:translate(-.51cqw,.42cqw) rotate(-45deg); }
  60% { transform:translate(.25cqw,-.17cqw) rotate(-41deg); }
}
@keyframes foot {
  0%, 8%, 65%, 100% { transform:rotate(var(--tilt)); }
  18%, 35% { transform:translateY(-.34cqw) rotate(calc(var(--tilt) + var(--step))); }
  50% { transform:rotate(calc(var(--tilt) - var(--step))); }
}
@keyframes crest {
  0%, 100% { transform:none; }
  12% { transform:translate(-.83cqw,.58cqw); }
  20%, 38% { transform:translate(1.03cqw,-1.38cqw); }
  29%, 46% { transform:translate(.23cqw,-.2cqw); }
  53% { transform:translate(1.6cqw,1.18cqw) scale(1.05,.95); }
  57% { transform:translate(-.94cqw,-1.5cqw) scale(.96,1.04); }
  60% { transform:translate(.63cqw,.62cqw); }
  63% { transform:translate(-.4cqw,-.4cqw); }
  66% { transform:translate(.18cqw,.2cqw); }
  69% { transform:none; }
}
@keyframes gaze {
  0%, 1%, 68%, 100% { transform:none; }
  8%, 47% { transform:translate(1.05cqw,-.45cqw); }
  51%, 54% { transform:translate(-.45cqw,-1cqw); }
  57%, 62% { transform:translate(.75cqw,-1.02cqw); }
}
@keyframes blink {
  0%, 58%, 63%, 86%, 90%, 100% { transform:scaleY(1); }
  60%, 88% { transform:scaleY(.13); }
}
@keyframes smile {
  0%, 100% { transform:none; }
  12%, 48% { transform:scale(.83,.66); }
  62% { transform:scale(1.19,1.25); }
  81% { transform:scale(1.08,1.1); }
}
@keyframes haze {
  0%, 10%, 100% { opacity:.78; }
  28% { opacity:.45; }
  48%, 82% { opacity:0; }
}
@keyframes gleam {
  0%, 46%, 77%, 100% { transform:scale(.25) rotate(-10deg); opacity:0; }
  53% { transform:scale(1) rotate(0deg); opacity:1; }
  62% { transform:scale(.8); opacity:.72; }
}
@keyframes rise {
  0%, 48% { transform:translate(0,0) scale(.48); opacity:0; }
  55% { opacity:.85; }
  68% { transform:translate(2.3cqw,-8.2cqw) scale(.94); opacity:.72; }
  79%, 100% { transform:translate(.6cqw,-13cqw) scale(1); opacity:0; }
}

#boot-art .scene * { animation-timing-function:var(--soft-ease); }
@media (prefers-reduced-motion:reduce) {
  #boot-art .scene * { animation:none; }
}
