.site-legal-footer{position:relative;box-sizing:border-box;width:100%;padding:18px 24px max(18px,env(safe-area-inset-bottom));border-top:1px solid rgba(172,185,225,.18);background:#0b1020;color:#b9bed0;font:12px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;display:flex;justify-content:center;align-items:center;gap:12px 22px;flex-wrap:wrap}.site-legal-footer a{color:#d6c39e;text-underline-offset:3px}.site-legal-footer a:hover{color:#fff}.site-legal-footer a:focus-visible{outline:2px solid #f9d99b;outline-offset:4px}
/* Keep the first-visit policy links above the welcome dialog. Learning/player
   viewport budgets stay unchanged; a footer must not add a strip below video. */
body:has(.vocabulary-test-shell.phase-intro)>.site-legal-footer{position:fixed;left:0;bottom:0;z-index:100001}
body:has(.vocabulary-test-shell.phase-intro) .vocabulary-test-shell.phase-intro{padding-bottom:88px}
body:has(.web-dashboard.has-player)>.site-legal-footer{display:none}
