html body .pe{padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
@keyframes eSwap{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes eSwapG{from{opacity:0;transform:scale(1.025)}to{opacity:1;transform:none}}
html body .pe.pe-swap .pe-gal{animation:eSwapG .46s cubic-bezier(.22,.61,.36,1) both}
html body .pe.pe-swap .pe-info{animation:eSwap .46s cubic-bezier(.22,.61,.36,1) .06s both}
@media (prefers-reduced-motion:reduce){html body .pe.pe-swap .pe-gal,html body .pe.pe-swap .pe-info{animation:none}}
html body .pe{background:#fff!important}

/* unified dock: bar + capsule + chat icon appear together, same centre line */
@keyframes eDock{from{opacity:0}to{opacity:1}}
html body .ed-pill,html body #era-chat-btn{display:none!important;animation:none}
html body.era-dock .ed-pill,html body.era-dock #era-chat-btn{display:flex!important;opacity:1!important;pointer-events:auto!important;transform:none!important;transition:none!important;animation:eDock .22s ease-out both}
html body.era-dock .ed-pill{bottom:calc(10px + env(safe-area-inset-bottom))!important;height:34px;padding:0 16px!important;align-items:center;box-sizing:border-box;z-index:63!important}
html body.era-dock #era-chat-btn{bottom:calc(3px + env(safe-area-inset-bottom))!important;z-index:63!important}
html body.era-dock::after{content:"";position:fixed;left:0;right:0;bottom:0;height:calc(54px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ececec;z-index:61;pointer-events:none;animation:eDock .22s ease-out both}
html body #root{padding-bottom:calc(60px + env(safe-area-inset-bottom))}
/* press feedback + colour easing everywhere (low specificity so specific rules win) */
:where(button,a,[role=button],.era-card,.pe-th,.pe-sz){transition:transform .16s cubic-bezier(.22,.61,.36,1),opacity .22s cubic-bezier(.22,.61,.36,1),background-color .22s cubic-bezier(.22,.61,.36,1),border-color .22s cubic-bezier(.22,.61,.36,1),color .22s cubic-bezier(.22,.61,.36,1);-webkit-tap-highlight-color:transparent}
html body button:not(.ed-pill):not(#era-chat-btn):active,html body a:active,html body [role=button]:active,html body .era-card:active{transform:scale(.97)}
html body .era-card:active{opacity:.9}
/* product page exit + route fade */
@keyframes ePeOut{to{opacity:0;transform:translateY(18px)}}
@keyframes eRt{from{opacity:.4}to{opacity:1}}
html body .pe.pe-out{animation:ePeOut .26s cubic-bezier(.4,0,.6,1) both!important;pointer-events:none}
html body.era-rt #root{animation:eRt .34s cubic-bezier(.22,.61,.36,1) both}
@media (prefers-reduced-motion:reduce){html body .pe.pe-out,html body.era-rt #root{animation:none!important}:where(button,a,[role=button],.era-card){transition:none}html body button:active{transform:none!important}}
