 .world-short,.atlas-aux{display:none}
@media(max-width:790px){
 html{scroll-padding-top:var(--atlas-pinned-height,0px)}
 .shell{overflow-anchor:none}
 .shell>.rail{
  --s:0;--across:0;--up:0;
  --edge-top:20px;--edge-side:24px;--edge-bottom:14px;--world-gap:7px;--world-top:18px;--category-top:15px;
  --world-start-width:135px;--world-start-height:50px;--world-bottom:0px;--world-pad:10px;--mark:25px;
  position:sticky;top:0;z-index:6;overflow:visible;
  padding:calc(var(--edge-top) + (4px - var(--edge-top))*var(--s))
   calc(var(--edge-side) + (10px - var(--edge-side))*var(--s))
   calc(var(--edge-bottom) + (1px - var(--edge-bottom))*var(--s));
 }
 .atlas-mobile-compact .shell>.rail{box-shadow:0 2px 10px #0007}
 .shell>.rail .brand{
  --compass-size:calc(28px - 9px*var(--s));
  grid-template-columns:var(--compass-size) minmax(0,1fr) var(--compass-size);
  max-width:calc(280px - 104px*var(--s));margin-inline:auto;
  min-height:33px;
 }
 .shell>.rail .brand-name{font-size:calc(24px - 5px*var(--s))}
 .shell>.rail .brand svg{width:var(--compass-size);height:calc(32px - 13px*var(--s))}
 .shell>.rail .brand-caption{display:none}
 .shell>.rail .worlds{
  --gap:calc(var(--world-gap) + (2px - var(--world-gap))*var(--across));
  --quarter:calc((100% - 3*var(--gap))/4);
  --world-height:calc(var(--world-start-height) + (44px - var(--world-start-height))*var(--s));
  display:block;position:relative;
  height:calc(var(--world-height) + var(--world-bottom)*(1 - var(--up)) + 5px*(1 - var(--s)));
  margin:calc(var(--world-top) + (1px - var(--world-top))*var(--s)) 0 0;padding:0;
  overflow-x:auto;scrollbar-width:none;
 }
 .shell>.rail .world{
  --start-x:calc(var(--column)*(var(--world-start-width) + var(--world-gap)));
  --end-x:calc(var(--column)*(var(--quarter) + var(--gap)));
  position:absolute;left:calc(var(--start-x)*(1 - var(--across)) + var(--end-x)*var(--across));
  top:0;min-width:0;min-height:44px;height:var(--world-height);
  width:calc(var(--world-start-width)*(1 - var(--across)) + var(--quarter)*var(--across));
  padding:0 calc(var(--world-pad) + (4px - var(--world-pad))*var(--across));
  gap:0;overflow:hidden;white-space:nowrap;
 }
 .world:nth-child(1){--column:0;--start-column:0}
 .world:nth-child(2){--column:1;--start-column:1}
 .world:nth-child(3){--column:2;--start-column:0}
 .world:nth-child(4){--column:3;--start-column:1}
 .shell>.rail .world-mark{
  position:absolute;left:calc(var(--world-pad)*(1 - var(--across)) + (50% - 22px)*var(--across));
  flex:none;width:calc(var(--mark) + (18px - var(--mark))*var(--across));margin:0;
  font-size:calc(20px - 3px*var(--across));
 }
 .shell>.rail .world-text{opacity:calc(max(0,1 - 3*var(--across)));margin-left:calc(var(--mark) + 8px)}
 .shell>.rail .world-short{
  position:absolute;display:inline;left:calc(50% + 1px);
  opacity:calc(max(0,(var(--across) - .37)/.63));
 }
 .shell>.rail .categories,.shell>.rail #topics,.atlas-aux nav{
  display:flex;flex-wrap:nowrap;gap:calc(5px - 3px*var(--s));overflow-x:auto;overflow-y:hidden;
  scrollbar-width:none;overscroll-behavior-inline:contain;
 }
 .shell>.rail .categories{margin-top:calc(var(--category-top) + (1px - var(--category-top))*var(--s));padding:0 calc(2px*(1 - var(--s))) calc(6px*(1 - var(--s)))}
 .shell>.rail #topics{margin:1px 0 0;padding-block:calc(6px*(1 - var(--s)))}
 .shell>.rail #topics:empty{display:none}
 .shell>.rail .category,.shell>.rail #topics .topic{min-height:44px;flex:none;display:inline-flex;align-items:center}
 .shell>.rail #topics .topic{padding:0 calc(11px - 2px*var(--s));font-size:11px;white-space:nowrap}
 .shell>.rail .category{padding-inline:calc(10px - var(--s)*1px)}
 .rail :is(.world,.category,.topic):focus-visible,.atlas-aux a:focus-visible{outline-offset:-3px}
 .atlas-mobile-compact .az-jumps{top:var(--atlas-pinned-height,0px)}
 .atlas-aux{display:block;position:sticky;top:0;z-index:6;height:0;overflow:visible}
 .atlas-aux-inner{display:none}
 .atlas-mobile-compact .atlas-aux-inner{display:block;padding:4px 10px 1px;background:#171b1d;color:#e6dfca;box-shadow:0 2px 10px #0007}
 .atlas-aux .atlas-aux-brand{display:flex;justify-content:center;align-items:center;gap:8px;min-height:33px;font:19px Georgia,serif;text-decoration:none;color:inherit}
 .atlas-aux .atlas-aux-brand svg{width:19px;height:19px;color:#dbbf7e}
 .atlas-aux .atlas-aux-worlds{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;margin-top:1px}
 .atlas-aux :is(.atlas-aux-worlds,nav) a{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:0 9px;border:1px solid #4d5144;border-radius:6px;color:inherit;text-decoration:none;white-space:nowrap;font:12px system-ui,sans-serif}
 .atlas-aux a[aria-current="true"]{background:#574c34;color:#fff2c9}
}
@media(max-width:530px){
 .shell>.rail{
  --edge-top:18px;--edge-side:18px;--edge-bottom:10px;--world-gap:6px;--world-top:17px;--category-top:10px;
  --world-start-width:calc((100% - var(--world-gap))/2);--world-start-height:48px;--mark:20px;
 }
 .shell>.rail .worlds{
  --world-bottom:calc(var(--world-height) + var(--world-gap));
  height:calc(var(--world-height) + var(--world-bottom)*(1 - var(--up)));
  overflow:visible;
 }
 .shell>.rail .world{--start-x:calc(var(--start-column)*(var(--world-start-width) + var(--world-gap)))}
 .shell>.rail .world:nth-child(n+3){top:calc(var(--world-bottom)*(1 - var(--up)))}
}

@media(max-width:790px){
 body{padding-bottom:var(--atlas-anchor-room,0px)}
 .resource .favorite{width:44px;height:44px;flex:0 0 44px}
 .az-jumps>a[href^="#az-"]{position:relative;min-width:44px;min-height:44px;border-color:transparent;background:transparent;isolation:isolate}
 .az-jumps>a[href^="#az-"]::before{content:"";position:absolute;inset:4px 5px;z-index:-1;border:1px solid #726750;border-radius:5px;pointer-events:none}
 .shell .az-jumps>a[href^="#az-"]::before{background:#32382f;border-color:#4c5542}
}
