/* Opt-in immersive surfaces. No dependencies; original media stays untouched. */
[data-mf-depth]{--mf-rx:0deg;--mf-ry:0deg;--mf-lift:0px;--mf-press:1;--mf-shine-x:50%;--mf-shine-y:42%;--mf-edge:#e4fb63;position:relative;isolation:isolate;transform:perspective(1050px) translateY(var(--mf-lift)) rotateX(var(--mf-rx)) rotateY(var(--mf-ry)) scale(var(--mf-press));transform-origin:center;transition:transform 280ms cubic-bezier(.2,.75,.27,1),box-shadow 230ms ease;box-shadow:0 1px 2px #0005,0 15px 35px -24px #000a}
[data-mf-depth]::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;background:radial-gradient(ellipse 75% 65% at var(--mf-shine-x) var(--mf-shine-y),#e4fb6330,transparent 69%);opacity:0;transition:opacity 220ms ease}
[data-mf-depth].mf-tracking,[data-mf-depth]:focus-within{--mf-lift:-4px;box-shadow:0 2px 3px #0007,0 24px 44px -26px #000d,0 0 0 1px #e4fb6360}
[data-mf-depth].mf-tracking::after,[data-mf-depth]:focus-within::after{opacity:1}
[data-mf-depth].mf-engaged{box-shadow:inset 0 0 0 2px #e4fb63,0 18px 36px -26px #e4fb63;--mf-lift:-3px}
[data-mf-action]{position:relative;touch-action:manipulation;transition:transform 160ms cubic-bezier(.2,.75,.27,1),box-shadow 160ms ease,filter 160ms ease}
[data-mf-action]:focus-visible{outline:3px solid #e4fb63;outline-offset:4px}
[data-mf-action]:active,[data-mf-action].mf-press{transform:translateY(2px) scale(.98);filter:brightness(1.12);box-shadow:0 0 0 3px #e4fb6360}
[data-mf-choice][aria-pressed=true]{box-shadow:inset 0 0 0 2px #e4fb63,0 6px 15px -8px #e4fb63}
[data-mf-reveal]{animation:mf-enter 640ms cubic-bezier(.2,.75,.27,1) both}
@keyframes mf-enter{from{opacity:.72;translate:0 11px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){[data-mf-depth],[data-mf-action]{transform:none!important;transition:none!important}[data-mf-depth]::after{transition:none!important}[data-mf-reveal]{animation:none!important}}
@media(hover:none),(pointer:coarse){[data-mf-depth]{--mf-rx:0deg!important;--mf-ry:0deg!important}}