/* Darvareh combined ranking table: stable LTR data grid with Persian headings. */
.table-top-scroll{overflow-x:auto;overflow-y:hidden;height:16px;margin:0 0 6px;border:1px solid var(--line);border-radius:9px;background:#fafbfc;-webkit-overflow-scrolling:touch;direction:ltr}
.table-top-scroll-inner{height:1px;min-width:100%}
.table-top-scroll::-webkit-scrollbar{height:10px}
.table-top-scroll::-webkit-scrollbar-track{background:#f3f4f6;border-radius:999px}
.table-top-scroll::-webkit-scrollbar-thumb{background:#c9ced8;border-radius:999px;border:2px solid #f3f4f6}
.table-top-scroll::-webkit-scrollbar-thumb:hover{background:#aeb5c2}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.table-wrap table{direction:ltr;min-width:1320px;table-layout:auto}
.table-wrap thead{direction:ltr}
.table-wrap th{white-space:nowrap;text-align:left;vertical-align:middle}
.table-wrap td{white-space:nowrap;text-align:left;vertical-align:middle}
.table-wrap th:nth-child(1),.table-wrap td:nth-child(1){width:64px;text-align:center}
.table-wrap th:nth-child(2),.table-wrap td:nth-child(2){min-width:230px;width:260px}
.table-wrap th:nth-child(3),.table-wrap td:nth-child(3){width:120px;text-align:center}
.table-wrap th:nth-child(4),.table-wrap td:nth-child(4),
.table-wrap th:nth-child(5),.table-wrap td:nth-child(5){width:105px;text-align:center}
.table-wrap th:nth-child(6),.table-wrap td:nth-child(6){width:125px;text-align:center}
.table-wrap th:nth-child(7),.table-wrap td:nth-child(7),
.table-wrap th:nth-child(8),.table-wrap td:nth-child(8){width:140px;text-align:center}
.table-wrap th:nth-child(9),.table-wrap td:nth-child(9){width:110px;text-align:center}
.table-wrap th:nth-child(10),.table-wrap td:nth-child(10){min-width:145px;text-align:center}
.table-wrap th:nth-child(11),.table-wrap td:nth-child(11){width:58px;text-align:center}
.table-wrap .model{direction:ltr;text-align:left;justify-content:flex-start}
.table-wrap .model>div{text-align:left;min-width:0}
.table-wrap .model strong,.table-wrap .model small{direction:ltr;text-align:left;unicode-bidi:plaintext}
/* The table already has one dedicated provider icon in .model-icon. Hide any legacy/live logo injected into the model title. */
.table-wrap .model strong>.resolved-logo,
.table-wrap .model strong>.model-logo-wrap,
.table-wrap .model strong>.model-logo-fallback,
.table-wrap .model strong>.verified-extra-logo,
.table-wrap .model strong>.live-or-icon,
.table-wrap .model strong>.tiny-model-icon{display:none!important}
.table-wrap .metric,.table-wrap .price{font-variant-numeric:tabular-nums}
.table-wrap thead th{font-weight:800}

/* Clickable column sorting for Darvareh mode. */
.table-wrap thead .sortable-th{padding:0!important}
.table-sort-button{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:800;width:100%;min-height:52px;padding:14px 16px;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;white-space:nowrap;transition:background .15s ease,color .15s ease;direction:rtl}
.table-wrap th:nth-child(2) .table-sort-button{justify-content:flex-start;direction:ltr}
.table-sort-button i{font-style:normal;font-size:14px;line-height:1;color:#a1a8b8;opacity:.72;transition:opacity .15s ease,color .15s ease,transform .15s ease}
.table-sort-button:hover{background:rgba(109,93,252,.055)}
.table-sort-button:hover i{opacity:1;color:#6d5dfc}
.sortable-th.is-sorted .table-sort-button{color:#5b4ee5;background:rgba(109,93,252,.07)}
.sortable-th.is-sorted .table-sort-button i{color:#5b4ee5;opacity:1;font-size:16px}
.table-sort-button:focus-visible{outline:2px solid #6d5dfc;outline-offset:-3px;border-radius:7px}

@media(max-width:900px){
  .table-top-scroll{height:18px;margin-bottom:5px}
  .table-wrap table{min-width:1260px}
  .table-wrap th,.table-wrap td{padding-left:13px!important;padding-right:13px!important}
  .table-wrap thead .sortable-th{padding:0!important}
  .table-sort-button{min-height:48px;padding:12px 13px}
}
