/* Short input feedback, coloured by the active JaiSue skin. No cursor hiding,
   hit testing, cloned controls, canvas loop or persistent preference. */
.ht-click-burst { position:fixed;left:var(--ht-x);top:var(--ht-y);width:0;height:0;z-index:2147483000;pointer-events:none;user-select:none; }
.ht-click-burst * { pointer-events:none; }
.ht-click-ring { position:absolute;left:-9px;top:-9px;width:18px;height:18px;border:2px solid var(--home-ui-ribbon-a,#ffad4f);border-radius:50%;animation:ht-ring .6s cubic-bezier(.16,.75,.3,1) both; }
.ht-click-spark { position:absolute;left:-3px;top:-3px;width:6px;height:6px;background:var(--home-ui-ribbon-a,#ffad4f);clip-path:polygon(50% 0,63% 36%,100% 50%,63% 64%,50% 100%,37% 64%,0 50%,37% 36%);animation:ht-spark .5s cubic-bezier(.1,.7,.3,1) both; }
.ht-click-spark:nth-child(2n) { background:var(--home-ui-ribbon-b,#b484ef);width:8px;height:8px; }
@keyframes ht-ring { from{opacity:.85;transform:scale(.3)} to{opacity:0;transform:scale(3.2)} }
@keyframes ht-spark { from{opacity:1;transform:rotate(var(--ht-angle)) translateX(3px) scale(.5)} to{opacity:0;transform:rotate(var(--ht-angle)) translateX(var(--ht-distance)) scale(.15)} }
.ht-theme-wash { position:fixed;inset:0;z-index:2147482990;pointer-events:none;background:var(--home-ui-surface,#fff9ef);animation:ht-wash .25s ease-out both; }
@keyframes ht-wash { from{opacity:.2} to{opacity:0} }
.ht-icon-turn { animation:ht-icon-turn .45s cubic-bezier(.2,.8,.25,1) both; }
@keyframes ht-icon-turn { 0%{transform:rotate(-60deg) scale(.7);opacity:.5} 100%{transform:rotate(0) scale(1);opacity:1} }
html[data-home-theme-transition="reveal"]::view-transition-old(root),
html[data-home-theme-transition="reveal"]::view-transition-new(root) { animation:none;mix-blend-mode:normal;pointer-events:none; }
html[data-home-theme-transition="reveal"]::view-transition-group(root) { animation-duration:0s; }
html[data-home-theme-transition="reveal"]::view-transition-old(root) { z-index:1; }
html[data-home-theme-transition="reveal"]::view-transition-new(root) { z-index:2; }
html[data-home-theme-effects]::view-transition,
html[data-home-theme-effects]::view-transition-group(*),
html[data-home-theme-effects]::view-transition-image-pair(*),
html[data-home-theme-effects]::view-transition-old(*),
html[data-home-theme-effects]::view-transition-new(*) { pointer-events:none; }
@media(prefers-reduced-motion:no-preference) {
    html[data-home-background]:not([data-background-motion="off"]) :is(button:not(:disabled),a[href],.cat-chip,[role="button"],.hb-segments label):active { scale:.96; }
}
@media(prefers-reduced-motion:reduce) {
    .ht-click-burst,.ht-theme-wash { display:none!important; }
    .ht-icon-turn { animation:none!important; }
}
