/* One navigation component for every Dexaris riddle, including success pages. */
body.echo-collection-game { --dexaris-nav-height:64px; padding-top:var(--dexaris-nav-height) !important; }
html { scroll-padding-top:76px; }
#echo-collection-nav.dexaris-hub-nav { position:fixed; inset:0 0 auto 0; z-index:10000; isolation:isolate; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:16px; box-sizing:border-box; width:100%; height:64px; min-height:64px; padding:9px clamp(12px,3vw,40px); margin:0; border:0; border-bottom:1px solid #35465b; border-radius:0; background:#0a1220; color:#c7d8eb; font:500 14px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif; box-shadow:none; text-transform:none; letter-spacing:normal; overflow:visible; }
#echo-collection-nav.dexaris-hub-nav > a { all:unset; box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; gap:9px; height:44px; min-height:44px; min-width:0; padding:10px 14px; margin:0; border:1px solid #3b536b; border-radius:8px; background:#14263b; color:#f0f6fc; font:650 15px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif; text-decoration:none; text-transform:none; letter-spacing:normal; white-space:nowrap; cursor:pointer; user-select:none; flex-shrink:0; box-shadow:none; transform:none; }
#echo-collection-nav.dexaris-hub-nav > a::before, #echo-collection-nav.dexaris-hub-nav > a::after { content:none; display:none; }
#echo-collection-nav.dexaris-hub-nav > a.dexaris-hub-back { min-width:146px; }
#echo-collection-nav.dexaris-hub-nav > a.dexaris-storage-link { min-width:88px; border-color:#31465c; background:#0e1d2d; color:#d6e7f4; }
#echo-collection-nav.dexaris-hub-nav > a:hover { background:#223e56; border-color:#7aafa9; color:#fff; }
#echo-collection-nav.dexaris-hub-nav > a:active { background:#294b62; }
#echo-collection-nav.dexaris-hub-nav > a:focus-visible { outline:3px solid #87e1d2; outline-offset:3px; }
#echo-collection-nav.dexaris-hub-nav > a > span { display:inline; margin:0; padding:0; color:inherit; font:inherit; white-space:nowrap; }
#echo-collection-nav.dexaris-hub-nav .dexaris-hub-icon { display:block; flex:0 0 19px; width:19px; height:19px; min-width:19px; max-width:19px; margin:0; padding:0; fill:none; stroke:currentColor; color:inherit; opacity:1; transform:none; }
#echo-collection-nav.dexaris-hub-nav .echo-collection-current { display:block; min-width:0; max-width:none; padding:0 5px; margin:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-align:right; color:#b5c8dd; font:500 14px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif; }
/* Fully clipped until keyboard focus: transformed offscreen links could leave a strip visible. */
body.echo-collection-game .skip-link:not(:focus) { position:fixed !important; top:0 !important; left:0 !important; z-index:10002 !important; width:1px !important; height:1px !important; min-width:0 !important; min-height:0 !important; max-width:1px !important; max-height:1px !important; margin:0 !important; padding:0 !important; border:0 !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; clip-path:inset(50%) !important; opacity:0 !important; transform:none !important; pointer-events:none; }
body.echo-collection-game .skip-link:focus { position:fixed !important; top:72px !important; left:12px !important; z-index:10002 !important; width:auto !important; height:auto !important; min-height:44px !important; max-width:calc(100vw - 24px) !important; max-height:none !important; margin:0 !important; padding:11px 16px !important; border:2px solid #163d35 !important; border-radius:7px; overflow:visible !important; clip:auto !important; clip-path:none !important; opacity:1 !important; transform:none !important; pointer-events:auto; background:#c6eedb; color:#123b30; font:650 16px/1.4 system-ui,"Segoe UI",sans-serif; text-decoration:none; }
body.echo-collection-game .sidebar { top:64px; }
body.echo-collection-social .topbar { top:64px; }
body.echo-collection-03-mail .app-header { top:64px; }
body.echo-collection-04-portzero .right-column, body.echo-collection-05-hiddennames .right-column { top:86px; }
body.echo-collection-06-pentest .report-column { top:86px; }
body.echo-collection-social .right-column { top:175px; }
@media(max-width:1250px) { body.echo-collection-social .right-column { top:169px; } }
@media(max-width:600px) { #echo-collection-nav.dexaris-hub-nav { grid-template-columns:auto auto; justify-content:space-between; gap:12px; padding-inline:12px; } #echo-collection-nav.dexaris-hub-nav .echo-collection-current { display:none; } }

/* Persistent legal footer outside each game app */
.dexaris-legal-footer{box-sizing:border-box;position:relative;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px 28px;min-height:96px;padding:24px clamp(18px,3vw,40px);margin:0;border-top:1px solid #33465e;background:#0d1726;color:#b9cbe0;font:400 14px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}
.dexaris-legal-footer .dexaris-footer-identity{display:flex;flex-direction:column;gap:5px;min-width:0}
.dexaris-legal-footer strong{color:#ecf6ff;font-size:15px;font-weight:650}
.dexaris-legal-footer nav{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px}
.dexaris-legal-footer a{color:#c5eee7;text-decoration:underline;text-underline-offset:3px;font:inherit}
.dexaris-legal-footer nav a{min-height:36px;display:inline-flex;align-items:center}
.dexaris-legal-footer a:hover{color:#fff}
.dexaris-legal-footer a:focus-visible{outline:3px solid #72d9cc;outline-offset:4px;border-radius:2px}
body.echo-collection-social:not(.completion-page) .dexaris-legal-footer{margin-left:228px}
body.echo-collection-03-mail .dexaris-legal-footer{margin-left:220px}
@media(max-width:1060px){body.echo-collection-social:not(.completion-page) .dexaris-legal-footer{margin-left:200px}}
@media(max-width:730px){body.echo-collection-social:not(.completion-page) .dexaris-legal-footer{margin-left:0}}
@media(max-width:700px){body.echo-collection-03-mail .dexaris-legal-footer{margin-left:0}.dexaris-legal-footer{align-items:flex-start;gap:14px;padding:22px 18px}.dexaris-legal-footer nav{width:100%;gap:12px 22px}}
