/* At most two rows, with overflow categories omitted from the navigation. */
.ty-child-categories{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));grid-auto-flow:row;align-items:stretch;overflow:hidden;scrollbar-width:none}
.ty-child-categories a{min-width:0;width:100%;height:36px;padding:0 8px;white-space:nowrap;border-bottom:1px solid #3a3a3a}
.ty-child-categories a:nth-child(n+21){display:none}
.ty-child-categories a:hover,.ty-child-categories a:focus-visible{background:#177ddc;color:#fff}
.ty-child-categories a:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.ty-child-categories::-webkit-scrollbar{display:none}
.ty-child-categories:empty,.ty-pills.mac-flink-native:not(:has(a)){display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}
@media(max-width:900px){.ty-child-categories{grid-template-columns:repeat(4,minmax(0,1fr))}.ty-child-categories a{padding:0 4px;font-size:13px}.ty-child-categories a:nth-child(n+9){display:none}}

/* Friend links wrap in normal document flow on mobile, on all page types. */
@media(max-width:900px){
  .ty-pills.mac-flink-native{flex-wrap:wrap;overflow:visible}
  .ty-pills.mac-flink-native a{flex:0 1 auto;max-width:100%;height:auto;min-height:34px;white-space:normal;overflow-wrap:anywhere;text-align:center}
}
