.nts-popular{width:100%;direction:rtl;box-sizing:border-box;font-size:14px}
.nts-popular *{box-sizing:border-box}
.nts-popular__title{font-size:18px;line-height:1.6;margin:0 0 12px;padding:0 0 8px;border-bottom:2px solid currentColor;font-weight:700}
.nts-popular__tabs{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 10px;padding:0}
.nts-popular__tab{appearance:none;border:1px solid rgba(127,127,127,.28);background:transparent;color:inherit;border-radius:4px;padding:6px 9px;font:inherit;font-size:12px;line-height:1.5;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}
.nts-popular__tab:hover,.nts-popular__tab:focus-visible{border-color:currentColor;outline-offset:2px}
.nts-popular__tab.is-active{background:#333;color:#fff;border-color:#333}
.nts-popular__panel[hidden]{display:none!important}
.nts-popular__list{list-style:none;margin:0;padding:0;counter-reset:none}
.nts-popular__item{display:flex;align-items:flex-start;gap:9px;padding:10px 0;border-bottom:1px solid rgba(127,127,127,.2);min-width:0}
.nts-popular__item:last-child{border-bottom:0}
.nts-popular__rank{flex:0 0 21px;width:21px;height:21px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(127,127,127,.13);font-size:11px;font-weight:700;line-height:1;margin-top:2px}
.nts-popular__thumb{flex:0 0 64px;width:64px;height:54px;overflow:hidden;border-radius:4px;display:block;background:rgba(127,127,127,.1)}
.nts-popular__thumb-img{display:block;width:100%;height:100%;object-fit:cover}
.nts-popular__content{min-width:0;flex:1}
.nts-popular__link{display:block;color:inherit;text-decoration:none;font-size:13px;font-weight:600;line-height:1.8;overflow-wrap:anywhere}
.nts-popular__link:hover{text-decoration:underline}
.nts-popular__meta{display:flex;flex-wrap:wrap;gap:4px 9px;margin-top:3px;color:#777;font-size:11px;line-height:1.6}
.nts-popular__type:empty,.nts-popular__views:empty{display:none}
.nts-popular__empty{margin:0;padding:12px 0;color:#777;font-size:12px}
@media(max-width:480px){.nts-popular__tab{padding:5px 7px}.nts-popular__thumb{flex-basis:58px;width:58px;height:50px}}

.nts-popular__retry{appearance:none;border:1px solid rgba(127,127,127,.35);background:transparent;color:inherit;border-radius:4px;padding:5px 9px;font:inherit;font-size:12px;cursor:pointer}
