/* Categories and networks share the top row with the ranking controls. */
.reference-layout .reference-main .reference-filters{height:33px;min-height:33px;flex-wrap:nowrap;align-items:center;margin-bottom:16px;padding-bottom:0;overflow-x:auto}
.reference-layout .reference-main .reference-filters .discover-chains{margin-left:auto;padding-bottom:0;flex-shrink:0}
.reference-layout .reference-rail{padding-top:0}
.reference-layout .reference-rail .rail-controls{height:33px;min-height:33px;padding:0;margin:0 0 16px;align-items:center;gap:8px}
.reference-layout .rail-tabs{display:flex;align-items:center;gap:8px;flex-shrink:0}
.reference-layout .rail-controls .rail-time{margin-left:auto}
.reference-layout .rail-controls .icon-button{margin-left:0;flex-shrink:0;width:28px;height:32px}
.reference-layout .rail-controls .pill{white-space:nowrap}
@media(max-width:640px){.reference-layout .reference-main .reference-filters{height:38px}}

.reference-layout .rail-controls .rail-nft-switch{height:32px;gap:4px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:999px;backdrop-filter:blur(24px);transition:background .2s,border-color .2s,transform .2s}
.reference-layout .rail-controls .rail-nft-switch.active{background:#ffffff14;border-color:#ffffff1f}
.reference-layout .rail-controls .rail-nft-switch:hover,.reference-layout .rail-controls .rail-nft-switch:focus-visible{background:#ffffff26;border-color:#ffffff38}
.reference-layout .rail-controls .rail-nft-switch:active{transform:scale(.97)}
.rail-nft-switch svg{display:block;flex:none;width:16px;height:16px}
.rail-tooltip{position:fixed;z-index:1000;padding:10px 8px;background:#111315;border:1px solid #282b30;border-radius:5px;color:#fff;font-size:14px;font-weight:500;line-height:18px;pointer-events:none;box-shadow:0 2px 8px #0003}
.rail-tooltip[hidden]{display:none}
