.cw-legal-reader{box-sizing:border-box;position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);border:0;background:#faf9f6;color:#171717;overflow:hidden}
.cw-legal-reader[open]{display:flex;flex-direction:column}
.cw-legal-reader::backdrop{background:rgba(17,17,17,.45)}
.cw-legal-reader>header{display:flex;align-items:center;gap:16px;flex-shrink:0;padding:8px 16px;border-bottom:1px solid #dedbd3;font:700 16px Satoshi,sans-serif}
.cw-legal-reader>header button{min-height:44px;padding:8px 12px;border:1px solid #dedbd3;border-radius:8px;background:transparent;color:inherit;font:inherit;cursor:pointer}
.cw-legal-reader>header strong{margin-left:auto}
.cw-legal-reader>iframe{flex:1;min-height:0;width:100%;border:0;background:#faf9f6}
/* Fast authentication needs no spinner. Longer waits reveal it gently,
   without delaying navigation or manufacturing a minimum loading time. */
#gateLoading .boot-world{animation:cw-loading-reveal 180ms ease-out 250ms both}
@keyframes cw-loading-reveal{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){#gateLoading .boot-world{animation:none}}
