body footer {
 width:auto;left:50%;right:auto;bottom:calc(10px + env(safe-area-inset-bottom));
 transform:translateX(-50%);padding:6px;gap:6px;flex-wrap:nowrap;
 border:1px solid #a9e4db30;border-radius:14px;background:#112a31c9;
 max-width:calc(100% - 20px);z-index:4;
}
body footer .tools {width:auto;min-width:0;max-width:100%;gap:5px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;}
body footer .tools button {min-height:44px;padding:8px 10px;white-space:nowrap;font-size:11px;flex-shrink:0;}
body footer #intro-resources {
 position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);
 width:min(1120px,calc(100vw - 32px));max-height:min(70dvh,520px);overflow:auto;
 overscroll-behavior:contain;padding:16px;background:#112a31f5;border:1px solid #a9e4db40;
 border-radius:14px;backdrop-filter:blur(12px);
}
body footer #intro-resources[hidden] {display:none;}
#intro-resource-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;}
#intro-resource-grid button {min-width:0;text-align:left;min-height:66px;padding:12px;overflow-wrap:anywhere;font-size:13px;}
#intro-resource-grid b,#intro-resource-grid small {display:block;}
#intro-resource-grid small {margin-top:5px;font-size:11px;color:#b5cecc;line-height:1.4;}
body footer #intro-resources .tech-nav {display:grid;width:100%;max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px;}
body .load-state {bottom:80px;max-width:min(480px,calc(100vw - 36px));}
body .persona-stage {bottom:80px;}
body.route-in-vr header,body.route-in-vr footer,body.route-in-vr .shade,body.route-in-vr .load-state,body.route-in-vr .icon-info,body.route-in-vr #persona-stage,body.route-in-vr dialog {display:none!important;}
@media(max-width:850px){#intro-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:650px){
 body footer{bottom:calc(6px + env(safe-area-inset-bottom));padding:4px;}
 body footer .tools{gap:3px;}body footer .tools button{font-size:10px;padding:6px 8px;}
 body footer #heading{display:none;}
 body footer #intro-resources{padding:10px;max-height:calc(100dvh - 170px - env(safe-area-inset-bottom));}
 #intro-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
 #intro-resource-grid button{padding:8px;min-height:54px;}
}
