From bc00a7173c49bf7ede48b746087002c6fc2147ed Mon Sep 17 00:00:00 2001 From: ltadeu6 Date: Sun, 7 Jun 2026 12:47:10 -0300 Subject: [PATCH] fix: align reflection to visual feet using measured 11.1% transparent offset --- plugin/contents/ui/dancer.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/plugin/contents/ui/dancer.html b/plugin/contents/ui/dancer.html index e8fafeb..6cafad9 100644 --- a/plugin/contents/ui/dancer.html +++ b/plugin/contents/ui/dancer.html @@ -257,14 +257,16 @@ html, body { ============================================================ */ .robot-reflection { position: absolute; - bottom: 0; + /* skeleton3.apng has 11.1% transparent padding at bottom (feet at 88.8% from top) + = 4.44vh of 40vh. Raise anchor by that amount so it aligns with visual feet. */ + bottom: 4.44vh; left: 50%; transform: translateX(-50%) scaleY(-0.22); transform-origin: bottom center; pointer-events: none; - -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.45) 100%); - mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.45) 100%); - filter: blur(1.5px) brightness(0.5); + -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.45) 70%); + mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.45) 70%); + filter: blur(2px) brightness(0.45); } .robot-wrap {