/* Shared interaction polish; preserve all approved layout and type sizes. */
html{scroll-padding-top:96px}
html.level-dialog-open{overflow:hidden}
:where(a,button,summary,input,select,textarea):focus-visible{outline:2px solid currentColor;outline-offset:4px}
:where(button,a,summary){-webkit-tap-highlight-color:transparent;touch-action:manipulation}
dialog{max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overscroll-behavior:contain}
@media(prefers-reduced-motion:no-preference){
 html{scroll-behavior:smooth}
 .level-reveal{opacity:0;translate:0 12px;transition:opacity .7s ease,translate .8s cubic-bezier(.22,1,.36,1)}
 .level-revealed{opacity:1;translate:none}
 dialog[open]{animation:level-dialog-in .22s ease-out}
 dialog[open]::backdrop{animation:level-dialog-in .22s ease-out}
 @keyframes level-dialog-in{from{opacity:0}to{opacity:1}}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 a .link-arrow,button .link-arrow{transition:transform .28s cubic-bezier(.22,1,.36,1)}
 a:hover .link-arrow,button:hover .link-arrow{transform:translate(2px,-2px)}
 .coach-card-link{transition:opacity .25s ease}.coach-card-link:hover{opacity:.88}
 :where(.direction-page,.coaches-page) :where(.direction-cta,.kids-action,.beauty-action,.scene-card a):hover{filter:brightness(1.08)}
}
@media(max-width:850px){
 html{scroll-padding-top:80px}
 header nav.open{max-height:calc(100dvh - 78px);overflow-y:auto;overscroll-behavior:contain}
 header nav.open a,header nav.open summary{min-height:44px;display:flex;align-items:center}
 .burger{min-width:44px;min-height:44px}
 dialog{max-height:100dvh}
 :where(.kids-dialog,.beauty-dialog) input,:where(.kids-dialog,.beauty-dialog) select{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 .level-reveal{opacity:1;translate:none}
 .scene-picture img,.motion-drift img,.ambient-slide img{transform:none!important}
}
