/* Shared native mast/nav layout for research and collection; no account state. */
body:is([data-screen=research],[data-screen=dinos]) #workshop-nav{transform:none;width:100%;max-width:none;margin:0}
body:is([data-screen=research],[data-screen=dinos]){display:grid;grid-template-rows:auto auto minmax(0,1fr);height:100dvh;min-height:0;padding:0;overflow:hidden}
body:is([data-screen=research],[data-screen=dinos]) #mast{position:relative;inset:auto;grid-row:1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 18px;height:auto;min-height:60px;padding:6px max(16px,env(safe-area-inset-right)) 6px max(16px,env(safe-area-inset-left));padding-top:max(6px,env(safe-area-inset-top));background:#0d0e1de8;border-bottom:1px solid #725082;pointer-events:auto}
body:is([data-screen=research],[data-screen=dinos]) .brand{min-width:0;min-height:44px}
body:is([data-screen=research],[data-screen=dinos]) .brand-mark{width:40px;height:40px}
body:is([data-screen=research],[data-screen=dinos]) .brand strong{font-size:18px}
body:is([data-screen=research],[data-screen=dinos]) .brand small{font-size:11px;margin-top:0;color:#c4b2d6}
body:is([data-screen=research],[data-screen=dinos]) .utilities{display:flex;flex-wrap:wrap;gap:5px;padding:0;background:none;border:0;margin-left:auto}
body:is([data-screen=research],[data-screen=dinos]) .utilities>:is(a,#connection,#wallet){display:none!important}
body:is([data-screen=research],[data-screen=dinos]) .utilities button{min-height:44px;padding:6px 12px;font-size:12px;color:#e7dced;background:#181528;border-color:#766480}
body:is([data-screen=research],[data-screen=dinos]) #workshop-nav{position:relative;inset:auto;grid-row:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:7px max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left));background:#0d0c1ee6;border-bottom:2px solid #694082;z-index:7}
body:is([data-screen=research],[data-screen=dinos]) #workshop-nav button{min-width:0;min-height:54px;padding:7px 10px;gap:8px;font-size:clamp(12px,1.6vw,21px);border-color:#766480;background:linear-gradient(150deg,#292535,#0c1020);color:#eee7f2}
body:is([data-screen=research],[data-screen=dinos]) #workshop-nav button[aria-current=page]{background:linear-gradient(150deg,#ffe47e,#f5a916);color:#1d131d;border-color:#ffe3a2;box-shadow:inset 0 2px #fff4c4,0 3px #9a4d11}
body:is([data-screen=research],[data-screen=dinos]) #workshop-nav :is(img,svg){width:28px;height:28px;object-fit:contain}
@media(max-width:600px){body:is([data-screen=research],[data-screen=dinos]) #mast{gap:2px 6px;padding:4px 8px;min-height:0}
body:is([data-screen=research],[data-screen=dinos]) .brand{gap:5px}
body:is([data-screen=research],[data-screen=dinos]) .brand-mark{width:28px;height:28px}
body:is([data-screen=research],[data-screen=dinos]) .brand strong{font-size:14px}
body:is([data-screen=research],[data-screen=dinos]) .utilities{gap:3px}
body:is([data-screen=research],[data-screen=dinos]) .utilities button{padding:4px 7px;font-size:11px}
body:is([data-screen=research],[data-screen=dinos]) #workshop-nav{padding:6px 8px;gap:4px}
body:is([data-screen=research],[data-screen=dinos]) #workshop-nav button{flex-direction:column;min-height:54px;gap:1px;padding:4px 2px;font-size:11px}
body:is([data-screen=research],[data-screen=dinos]) #workshop-nav button span{font-size:11px;white-space:nowrap}
body:is([data-screen=research],[data-screen=dinos]) #workshop-nav :is(img,svg){width:22px;height:22px}
}
@media(max-height:570px){body:is([data-screen=research],[data-screen=dinos]) #mast{padding-top:2px;padding-bottom:2px;min-height:44px}
body:is([data-screen=research],[data-screen=dinos]) #workshop-nav{padding-top:4px;padding-bottom:4px}
body:is([data-screen=research],[data-screen=dinos]) #workshop-nav button{min-height:44px;padding-top:3px;padding-bottom:3px}
}
body:is([data-screen=research],[data-screen=dinos]) #workshop-nav button[aria-current=page]::before{background:linear-gradient(145deg,#ffe98d,#f7b41d);box-shadow:inset 0 2px #fff6cb,inset 0 -3px #b56c15}
body:is([data-screen=research],[data-screen=dinos]) #workshop-nav button[aria-current=page]{text-shadow:none}
