/* Polish layer v3.3: brand top-left, calm motion, hover effects */
html[dir=rtl] header{direction:ltr}
html[dir=rtl] :is(.header-actions,.top-timer,.session-entry,.preferences){direction:rtl}
.brand{justify-self:start;text-align:left}
.brand img{animation:mlos-float 6s ease-in-out infinite;transition:transform .4s}
.brand:hover img{transform:rotate(-6deg) scale(1.06)}
:is(#view,header,.mobile-bar) button{transition:transform .22s,box-shadow .22s,filter .22s,background-color .22s}
:is(#view,header) button:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.22);filter:brightness(1.07)}
:is(#view,header) button:active{transform:translateY(0) scale(.98)}
#view :is(article,section>div,.card,[class*=card]){transition:transform .28s,box-shadow .28s,border-color .28s}
#view :is(article,.card,[class*=card]):hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(0,0,0,.25)}
#view>*{animation:mlos-rise .55s ease both}
:focus-visible{outline:2px solid currentColor;outline-offset:3px}
html{scroll-behavior:smooth}
@keyframes mlos-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes mlos-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.brand img,#view>*{animation:none!important}}
