.legal-gated .app,.legal-gated .umvion-welcome{display:none!important}
.legal-launch{--legal-top:max(10px,env(safe-area-inset-top));--legal-bottom:max(10px,env(safe-area-inset-bottom));position:fixed;inset:0;z-index:10000;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;background:#091727;color:#e3edf3;padding:var(--legal-top) 12px var(--legal-bottom);font:17px/1.4 system-ui,"Segoe UI",sans-serif}
.legal-launch *,.legal-document-dialog *{box-sizing:border-box}
.legal-launch-card{max-width:680px;margin:auto;display:grid;gap:8px;min-width:0}
.legal-launch-card.legal-reading{height:calc(100dvh - var(--legal-top) - var(--legal-bottom));grid-template-rows:auto auto minmax(180px,1fr) auto auto auto auto;gap:6px}
.legal-launch-heading{display:flex;gap:10px;align-items:center;min-width:0}
.legal-launch-heading img{width:34px;height:34px;flex:none}
.legal-launch h1{font-size:21px;line-height:1.2;margin:0;overflow-wrap:anywhere}
.legal-launch p{margin:0;font-size:15px;line-height:1.35}
.legal-reader{height:auto;min-width:0;min-height:180px;overflow:auto;overscroll-behavior:contain;border:1px solid #426779;border-radius:14px;background:#0c2230;padding:12px 14px;scrollbar-gutter:stable;font-size:17px;line-height:1.5}
.legal-reader h1{font-size:22px}
.legal-reader h2,.legal-document-scroll h2{font-size:20px;line-height:1.25;margin:20px 0 10px}
.legal-reader p,.legal-document-scroll p{margin:10px 0;line-height:1.5;font-size:17px}
.legal-read-status{color:#9ac8d6}
.legal-launch .legal-read-status{font-size:13px;line-height:1.3}
.legal-check{display:flex;gap:9px;align-items:flex-start;padding:2px 0;cursor:pointer;font-size:15px;line-height:1.3;min-width:0}
.legal-check input{flex:0 0 22px;width:22px;height:22px;margin:0;accent-color:#70ddd8}
.legal-check span{min-width:0}
.legal-links,.legal-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;min-width:0}
.legal-launch .legal-links>button,.legal-launch .legal-choice>button{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;height:auto;margin:0;white-space:normal;line-height:1.25;text-align:center;overflow-wrap:break-word}
.legal-launch .legal-links>button{padding:8px;color:#a3e7e7;background:#0e2939;border:1px solid #365d70;border-radius:10px;font:inherit;font-size:14px;line-height:1.25;min-height:44px}
.legal-launch .legal-choice>button{min-height:48px;padding:10px 8px;font-size:16px}
.legal-launch #legal-status:empty{display:none}
.legal-document-dialog{width:min(760px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:14px;background:#091727;color:#e3edf3;border:1px solid #426779;border-radius:18px;overflow:hidden}
.legal-document-dialog[open]{display:flex;flex-direction:column;gap:12px}
.legal-document-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;font:17px/1.5 system-ui,"Segoe UI",sans-serif;flex:1;scrollbar-gutter:stable}
.legal-document-scroll h1{font-size:25px;line-height:1.2;overflow-wrap:anywhere}
.legal-document-dialog>button{width:100%;min-height:48px;flex:none;margin:0;padding:10px 14px;white-space:normal;line-height:1.25}
.legal-document-dialog::backdrop{background:#020c16c9}
.legal-fatal{position:fixed;inset:0;z-index:10000;background:#091727;color:#e3edf3;padding:24px;font-size:20px}
.legal-launch button:disabled{opacity:.45}
.legal-launch :focus-visible,.legal-document-dialog :focus-visible{outline:2px solid #ffd18a;outline-offset:3px}
@media(max-width:340px){.legal-launch{padding-inline:10px}.legal-reader{padding:10px 12px}.legal-launch-heading{gap:8px}.legal-launch h1{font-size:20px}.legal-launch .legal-links>button{padding:7px 5px;font-size:13px}.legal-launch .legal-choice>button{font-size:15px;padding:9px 6px}.legal-check{font-size:14px}}
@media(max-height:600px){.legal-launch-card.legal-reading{gap:5px}.legal-launch-heading img{width:30px;height:30px}.legal-launch h1{font-size:19px}.legal-launch p{font-size:14px}.legal-reader p{font-size:17px}.legal-launch .legal-read-status{font-size:12px}}
@media(prefers-reduced-motion:reduce){.legal-launch *,.legal-document-dialog *{animation:none!important;scroll-behavior:auto!important}}
