body.funding-page > .container .mobile-table-switch{
  display:none;
}


#arbitrage-table{
  width:100%;
  min-width:1100px;
  max-width:100%;
  border-left:1px solid var(--border);
  border-right:1px solid var(--border);
}

#arbitrage-table th,
#arbitrage-table td{
  padding-top:8px;
  padding-bottom:8px;
  white-space:nowrap;
}



#arbitrage-table th:nth-child(1),
#arbitrage-table td:nth-child(1){
  width:164px;
  max-width:196px;
  padding-left:6px;
  padding-right:6px;
}


#arbitrage-table th:nth-child(2),
#arbitrage-table td:nth-child(2){
  width:230px;
  max-width:250px;
}


#arbitrage-table th:nth-child(3),
#arbitrage-table td:nth-child(3){
  width:auto;
  max-width:none;
  padding-left:4px;
  padding-right:12px; 
}


#arbitrage-table th:nth-child(4),
#arbitrage-table td:nth-child(4){
  width:80px;
  max-width:90px;
  padding-left:10px;
  padding-right:4px;
}


#arbitrage-table th:nth-child(5),
#arbitrage-table td:nth-child(5){
  width:80px;
  max-width:90px;
  padding-left:4px;
  padding-right:4px;
}


#arbitrage-table th:nth-child(6),
#arbitrage-table td:nth-child(6){
  width:90px;
  max-width:96px;
  padding-left:4px;
  padding-right:4px;
}


#arbitrage-table th:nth-child(7),
#arbitrage-table td:nth-child(7){
  width:110px;
  max-width:120px;
}


#arbitrage-table th:nth-child(8),
#arbitrage-table td:nth-child(8){
  width:110px;
  max-width:120px;
}


#arbitrage-table th:nth-child(9),
#arbitrage-table td:nth-child(9){
  width:70px;
  max-width:80px;
}


#arbitrage-table td.fund-col{
  white-space:nowrap; 
}

#arbitrage-table td[data-label="FS 24h"]{
  text-align:right;
}

#arbitrage-table td[data-label="FS 24h"] .fund-spread-stack{
  align-items:flex-end;
}

#arbitrage-table td[data-label="Token"] a{
  color:#2f8cff;
  text-decoration:none;
}

#arbitrage-table td[data-label="Token"] a:hover{
  color:#63b2ff;
  text-decoration:underline;
}

#arbitrage-table td[data-label="Token"] mark{
  background:rgba(255,255,0,.18);
  padding:0 2px;
}

.token-cell{
  display:grid;
  grid-template-columns:52px 1fr;
  align-items:center;
  column-gap:6px;
}

.group-toggle{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:2px 6px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:#9fb3c8;
  font-size:11px;
  line-height:1;
  cursor:pointer;
  min-width:46px;
  justify-content:center;
}

.group-toggle .caret{
  width:0;
  height:0;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:6px solid currentColor;
  transition:transform .2s ease;
}

.group-toggle.expanded .caret{
  transform:rotate(180deg);
}

.group-toggle.spacer{
  visibility:hidden;
}

.token-cell a{
  justify-self:start;
}

.token-label-content{
  display:inline-flex;
  align-items:flex-start;
  gap:2px;
  min-width:0;
  max-width:100%;
}

.token-label-text{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.token-new-badge{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:12px;
  height:12px;
  border:1px solid rgba(34,197,94,.7);
  border-radius:999px;
  background:rgba(34,197,94,.18);
  color:#22c55e;
  padding:0;
  margin-left:2px;
  transform:translateY(-.05em);
  font-size:8px;
  font-weight:800;
  line-height:1;
  letter-spacing:0;
}

.matched-new-token-links{
  margin-top:12px;
  padding:6px 8px;
  border:1px solid rgba(148,163,184,.12);
  border-radius:8px;
  background:rgba(15,23,42,.35);
}
.matched-new-token-links[hidden]{
  display:none!important;
}
.matched-new-token-links__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:6px;
}
.matched-new-token-links__title{
  display:inline-flex;
  align-items:center;
  min-height:0;
  margin:0;
  padding:0;
  border:none;
  background:transparent;
  color:rgba(148,163,184,.82);
  font-size:11px;
  font-weight:700;
  line-height:1;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
}
.matched-new-token-links__meta{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  font-size:12px;
  color:rgba(148,163,184,.86);
  background:rgba(30,41,59,.4);
  border:1px solid rgba(148,163,184,.16);
  border-radius:999px;
  padding:0 8px;
}
.matched-new-token-links__items{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.matched-new-token-link{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:3px 8px;
  border-radius:8px;
  border:1px solid rgba(96,165,250,.28);
  background:rgba(15,23,42,.6);
  color:#e2e8f0;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
}
.page-title-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.page-info-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.45);
  color:rgba(226,232,240,.9);
  font-size:12px;
  font-weight:800;
  text-decoration:none;
}
.page-info-icon:hover,
.page-info-icon:focus{
  color:#fff;
  border-color:rgba(59,130,246,.6);
  text-decoration:none;
}
.page-info-sheet{
  position:relative;
  margin-top:10px;
  border:1px solid rgba(148,163,184,.18);
  background:rgba(10,16,24,.88);
  box-shadow:0 16px 32px rgba(0,0,0,.28);
  border-radius:10px;
  max-height:0;
  opacity:0;
  overflow:hidden;
  transition:max-height .2s ease, opacity .2s ease;
}
.page-info-sheet[open]{
  max-height:70vh;
  opacity:1;
}
.page-info-sheet summary{
  display:none;
}
.page-info-sheet .funding-seo-disclosure-body{
  max-height:70vh;
  overflow:auto;
  padding:22px 24px 26px;
}
.page-info-sheet .page-info-sheet__close{
  position:absolute;
  top:12px;
  right:16px;
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.35);
  background:transparent;
  color:rgba(226,232,240,.9);
  font-size:16px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
}
.page-info-sheet .page-info-sheet__close:hover,
.page-info-sheet .page-info-sheet__close:focus{
  color:#fff;
  border-color:rgba(59,130,246,.6);
}
.matched-new-token-link:hover,
.matched-new-token-link:focus{
  color:#fff;
  border-color:rgba(59,130,246,.6);
  text-decoration:none;
}
.matched-new-token-empty{
  color:rgba(148,163,184,.9);
  font-size:12px;
}
.matched-new-token-links.is-compact{
  display:flex;
  align-items:center;
  gap:10px 12px;
  flex-wrap:wrap;
}
.matched-new-token-links.is-compact .matched-new-token-links__head{
  display:contents;
}
.matched-new-token-links.is-compact .matched-new-token-links__items{
  order:2;
  gap:6px;
  flex:1 1 280px;
  min-width:0;
}
.matched-new-token-links.is-compact .matched-new-token-links__title{
  order:1;
  margin:0;
  white-space:nowrap;
}
.matched-new-token-links.is-compact .matched-new-token-links__meta{
  order:3;
  margin-left:auto;
  white-space:nowrap;
}
.matched-new-token-links.is-compact .matched-new-token-empty{
  white-space:nowrap;
}
body.light .matched-new-token-links{
  border-color:rgba(148,163,184,.22);
  background:rgba(255,255,255,.82);
}
body.light .matched-new-token-links__title{
  color:rgba(71,85,105,.88);
}
body.light .matched-new-token-links__meta{
  color:rgba(71,85,105,.88);
  background:rgba(241,245,249,.92);
  border-color:rgba(148,163,184,.22);
}
body.light .matched-new-token-link{
  border-color:rgba(148,163,184,.3);
  background:#fff;
  color:#0f172a;
}
body.light .matched-new-token-link:hover,
body.light .matched-new-token-link:focus{
  color:#0f172a;
  border-color:rgba(59,130,246,.35);
  background:rgba(248,250,252,.98);
}
body.light .matched-new-token-empty{
  color:rgba(71,85,105,.9);
}

.commodity-tag{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:999px;
  font-size:11px;
  line-height:1;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}

.commodity-tag-oil{
  background:linear-gradient(180deg, rgba(53,117,83,.95), rgba(23,67,45,.95));
  color:#e8fff2;
}

.commodity-tag-metal{
  background:linear-gradient(180deg, rgba(122,132,146,.95), rgba(67,74,84,.95));
  color:#f5f7fa;
}

.funding-group-row.is-collapsed{
  display:none;
}

.funding-group-row{
  background:rgba(0,0,0,.02);
}

.funding-group-row .token-cell{
  grid-template-columns:52px minmax(0, 1fr);
  justify-content:flex-start;
  min-width:0;
}

.funding-group-row .token-cell a{
  justify-self:start;
  min-width:0;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  display:block;
}

.funding-group-row .group-toggle.spacer{
  display:inline-flex;
  visibility:hidden;
}

.funding-group-primary .token-cell{
  justify-content:flex-start;
}

.funding-group-row td[data-label="Token"] a{
  display:block;
  width:100%;
}

body.dark .funding-group-row{
  background:rgba(255,255,255,.03);
}

body.dark .funding-group-row td{
  color:#c7d1dc;
}


.exchange-cell{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
}

.exchange-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  padding:3px 6px;
  border-radius:6px;
  background:#fafafa;
  min-height:28px;
}

.exchange-price-wrap,
.exchange-funding-wrap{
  display:flex;
  align-items:center;
}

.exchange-name{
  display:flex;
  align-items:center;
  gap:6px;
  width:110px;
  white-space:nowrap;
  overflow:hidden;
}

.exchange-name img{
  width:16px;
  height:16px;
}

.exchange-name span{
  font-weight:500;
  font-size:13px;
  white-space:nowrap;
}

.limit-indicator{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  border-radius:50%;
  font-size:10px;
  font-weight:700;
  line-height:1;
  background:#fff3cd;
  color:#7a4b00;
  border:1px solid #e5c876;
  cursor:help;
  flex:0 0 auto;
}

.exchange-price{
  font-variant-numeric:tabular-nums;
  color:#333;
  font-size:13px;
  min-width:60px;
  text-align:right;
  margin:0;
}

.mobile-only{
  display:none;
}

.exchange-meta.mobile-only{
  display:none !important;
}


.bg-long,
.bg-short{
  border-radius:6px;
  padding:2px 6px;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.bg-long{
  background:#d4f8e6;
}

.bg-short{
  background:#f8d4d4;
}


.fund-wrap{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  padding:5px 6px;
  background:#f3f4f6;
  border-radius:5px;
  border:1px solid #e1e4ea;
}

.fund-row{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  line-height:1.4;
}

.fund-rate{
  display:inline-block;
  font-weight:500;
  text-align:right;
  min-width:64px;
  font-variant-numeric:tabular-nums;
}

.fund-interval{
  font-size:11px;
  font-weight:600;
  border-radius:4px;
  padding:2px 4px;
  text-align:center;
  color:#fff;
  min-width:18px;
  display:inline-block;
}

.timer{
  display:block;
  font-size:11px;
  font-weight:400;
}

.fund-rate.is-empty,
.timer.is-empty{
  color:var(--muted);
}

.fund-interval.is-empty{
  background:transparent !important;
  color:var(--muted) !important;
  border:none !important;
  padding:0 !important;
}

.token-continued-link{
  color:inherit;
  text-decoration:none;
  font-weight:700;
}

.token-continued-link:hover{
  text-decoration:underline;
}

.group-child-arrow{
  display:inline-flex;
  width:24px;
  justify-content:center;
  color:var(--muted);
  font-size:13px;
  line-height:1;
}

.exchange-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px 6px;
}

.fund-spread-stack{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
}

.fund-spread-now,
.fund-spread-24h{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:72px;
  padding:4px 8px;
  border-radius:999px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

.fund-spread-now{
  font-size:11px;
  font-weight:700;
  border:1px solid rgba(148, 163, 184, 0.35);
  background:rgba(148, 163, 184, 0.14);
  color:var(--text);
}

.fund-spread-now.is-empty{
  border-style:dashed;
  background:transparent;
  color:var(--muted);
}

.fund-spread-24h{
  font-size:10px;
  font-weight:600;
  color:var(--muted);
  border:1px solid rgba(148, 163, 184, 0.25);
  background:rgba(148, 163, 184, 0.08);
}

body.light .fund-spread-now{
  background:#f8fafc;
  border-color:#dbe4ef;
  color:#0f172a;
}

body.light .fund-spread-24h{
  background:#ffffff;
  border-color:#e2e8f0;
  color:#475569;
}

.mobile-chip-fspread{
  font-weight:700;
}

.mobile-chip-fspread.is-empty{
  color:var(--muted);
  background:transparent;
}

.badge-cell{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:82px;
  padding:5px 8px;
  border-radius:10px;
  border:1px solid var(--border);
  background:rgba(255, 255, 255, 0.04);
  color:var(--text);
  font-weight:700;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
}

body.light .badge-cell{
  background:#f8fafc;
  border-color:#e2e8f0;
  color:#0f172a;
}

.route-lifetime{
  letter-spacing:0.01em;
}

body.funding-page #footer-container{
  width:100%;
}

body.funding-page #footer-container .site-footer,
body.funding-page #footer-container footer{
  width:100%;
  text-align:center;
}


.interval-1h{ --interval-bg:rgba(134,239,172,.18); --interval-border:rgba(134,239,172,.34); --interval-fg:#bbf7d0; }
.interval-2h{ --interval-bg:rgba(59,130,246,.14); --interval-border:rgba(59,130,246,.26); --interval-fg:#93c5fd; }
.interval-3h{ --interval-bg:rgba(132,204,22,.14); --interval-border:rgba(132,204,22,.26); --interval-fg:#bef264; }
.interval-4h{ --interval-bg:rgba(4,120,87,.22); --interval-border:rgba(4,120,87,.38); --interval-fg:#34d399; }
.interval-6h{ --interval-bg:rgba(234,179,8,.14); --interval-border:rgba(234,179,8,.28); --interval-fg:#fde68a; }
.interval-8h{ --interval-bg:rgba(249,115,22,.14); --interval-border:rgba(249,115,22,.28); --interval-fg:#fdba74; }
.interval-default{ --interval-bg:rgba(148,163,184,.14); --interval-border:rgba(148,163,184,.26); --interval-fg:#cbd5e1; }


.volume-col .vol-line{
  display:block;
  line-height:1.8;
  font-weight:600;
  margin:0;
  font-size:inherit;          
  color:inherit;              
  font-variant-numeric:tabular-nums;
}


body.dark .volume-col .vol-line{ opacity:.85; }



#exchange-filter{
  width:330px;
  max-width:92vw;
  max-height:70vh;
  overflow:hidden;
}

.exch-scroll{
  max-height:56vh;
  overflow:auto;
}

.exch-item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  margin-bottom:6px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fff;
  font-size:14px;
  line-height:1.2;
}

.exch-item input{
  margin:0;
}

.exch-item img{
  width:16px;
  height:16px;
}

.exch-item span{
  color:#111;
  font-weight:500;
}

.exch-item:hover{
  background:#f7f7f7;
}


.modal{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.6);
  display:none;
  align-items:center;
  justify-content:center;
}

.modal.show{
  display:flex;
}

.modal-content{
  background:#fff;
  padding:20px;
  border-radius:8px;
  width:90%;
  max-width:680px;
  max-height:88vh;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:8px;
  margin-bottom:10px;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.modal-title{
  font-size:18px;
  font-weight:700;
}

.modal-close{
  border:0;
  background:transparent;
  color:#a8b1bb;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  padding:2px;
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
}

.funding-history-wrap{
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid rgba(0,0,0,.08);
  border-radius:10px;
}

#fundingHistoryTable{
  font-size:12px;
  line-height:1.25;
  width:100%;
  table-layout:fixed;
}

#fundingHistoryTable thead th{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.3px;
  white-space:nowrap;
  position:sticky;
  top:0;
  z-index:2;
  background:#f8fafc;
}

#fundingHistoryTable th,
#fundingHistoryTable td{
  padding:6px 10px;
  white-space:nowrap;
}

#fundingHistoryTable td{
  font-variant-numeric: tabular-nums;
}

#fundingHistoryTable td:first-child,
#fundingHistoryTable th:first-child{
  text-align:left;
  width:36%;
}

#fundingHistoryTable th:nth-child(2),
#fundingHistoryTable td:nth-child(2){
  width:22%;
}

#fundingHistoryTable th:nth-child(3),
#fundingHistoryTable td:nth-child(3){
  width:22%;
}

#fundingHistoryTable th:nth-child(4),
#fundingHistoryTable td:nth-child(4){
  width:20%;
}

#fundingHistoryTable td:not(:first-child),
#fundingHistoryTable th:not(:first-child){
  text-align:right;
}

#fundingHistoryTable tbody tr:nth-child(odd){
  background:rgba(0,0,0,.03);
}

body.dark #fundingHistoryTable tbody tr:nth-child(odd){
  background:rgba(255,255,255,.04);
}


.token-header{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.token-search-btn{
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
  line-height:1;
  opacity:.85;
}

.token-search-btn:hover{
  opacity:1;
}

.token-popover{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  margin-top:6px;
  width:220px;
  background:#fff;
  border:1px solid #ccc;
  border-radius:8px;
  padding:8px;
  z-index:50;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}

.token-popover.show{
  display:block;
}

.token-popover input{
  width:100%;
  padding:6px 8px;
  font-size:12px;
  border:1px solid #ccc;
  border-radius:6px;
  outline:none;
}

.token-popover .token-clear{
  position:absolute;
  right:14px;
  top:12px;
  background:transparent;
  border:0;
  color:#999;
  cursor:pointer;
}


.funding-history-cell a.fh24-link{
  display:block;
  color:inherit;
  text-decoration:none;
  line-height:1.8;
  font-weight:600;
  margin:0;
}

.funding-mobile-list{
  display:none;
}

.mobile-token-cell .group-child-arrow{
  display:inline-flex;
  width:24px;
  justify-content:center;
  color:var(--muted);
  font-size:13px;
  line-height:1;
}

@media (max-width: 991.98px){
  body.funding-page > .container .table-wrapper{
    overflow:visible;
    padding:0 8px 12px;
  }

  #arbitrage-table{
    display:none;
  }

  .funding-mobile-list{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }

  .funding-mobile-card{
    border:1px solid var(--card-border);
    border-radius:14px;
    background:var(--card-bg);
    box-shadow:var(--card-shadow), var(--card-glow);
    padding:10px;
  }

  .funding-mobile-card.funding-group-row{
    background:var(--card-bg);
  }

  .mobile-card-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:8px;
  }

  .mobile-token-cell{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
  }

  .mobile-token-cell a{
    min-width:0;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#2f8cff;
    text-decoration:none;
    font-weight:700;
    font-size:14px;
  }

  .mobile-token-cell a:hover{
    color:#63b2ff;
    text-decoration:underline;
  }

  body.funding-page.dark .mobile-token-cell a{
    color:#64b5ff;
  }

  body.funding-page.dark .mobile-token-cell a:hover{
    color:#9cd3ff;
  }

  .mobile-token-cell .group-toggle{
    min-width:46px;
    padding:3px 8px;
    background:rgba(255,255,255,0.03);
    border-color:var(--border);
    color:var(--text);
  }

  .mobile-token-cell .group-toggle .group-count{
    font-size:14px;
    font-weight:700;
    letter-spacing:0.01em;
  }

  .mobile-token-cell .group-toggle.empty{
    opacity:0.55;
  }

  .mobile-chip-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    margin-top:6px;
  }

  .mobile-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    border:1px solid var(--border);
    background:rgba(255,255,255,0.02);
    padding:3px 8px;
    font-size:11px;
    font-weight:600;
    line-height:1.2;
    font-variant-numeric:tabular-nums;
  }

  .mobile-chip-apr{
    font-size:12px;
    border:none;
    white-space:nowrap;
    font-weight:800;
    letter-spacing:0.01em;
  }

  .mobile-chip-open{
    font-weight:700;
  }

  .mobile-exchange-list{
    display:grid;
    gap:8px;
    margin-top:8px;
  }

  .mobile-exchange-line{
    display:flex;
    flex-wrap:wrap;
    gap:6px 8px;
    align-items:center;
    border:1px solid var(--border);
    border-radius:10px;
    padding:7px 8px;
    background:rgba(255,255,255,0.02);
  }

  .mobile-exchange-name{
    display:flex;
    align-items:center;
    justify-self:start;
    width:auto;
    max-width:100%;
    border-radius:999px;
    padding:2px 7px;
    border:1px solid var(--border);
    flex:0 1 auto;
  }

  .mobile-exchange-name a{
    min-width:unset;
    max-width:100%;
    display:flex !important;
    align-items:center;
    gap:6px !important;
  }

  .mobile-exchange-name span{
    display:inline-block;
    max-width:88px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:11px;
    font-weight:600;
  }

  .mobile-exchange-name.bg-long,
  .mobile-exchange-name.bg-short{
    background:rgba(255,255,255,0.01);
  }

  .mobile-exchange-name.bg-long{
    border-left:2px solid #22c55e;
  }

  .mobile-exchange-name.bg-short{
    border-left:2px solid #ef4444;
  }

  .mobile-exchange-price{
    font-size:12px;
    font-variant-numeric:tabular-nums;
    color:var(--muted);
    text-align:right;
    white-space:nowrap;
    margin-left:auto;
    min-width:74px;
  }

  .mobile-exchange-funding{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:6px 8px;
  }

  .mobile-funding-rate-wrap{
    display:flex;
    align-items:center;
    gap:6px;
    min-width:0;
  }

  .mobile-exchange-funding .fund-rate{
    font-size:12px;
    font-weight:700;
    line-height:1.2;
    min-width:74px;
    text-align:left;
  }

  .mobile-exchange-funding .fund-interval{
    font-size:10px;
    padding:2px 5px;
    line-height:1;
  }

  .mobile-exchange-funding .timer{
    text-align:center;
    font-size:12px;
    color:var(--text);
    min-width:64px;
    line-height:1.2;
    border:1px solid var(--border);
    border-radius:999px;
    padding:2px 7px;
    font-weight:700;
    font-variant-numeric:tabular-nums;
    background:rgba(255,255,255,0.02);
  }

  .mobile-exchange-funding .timer.is-empty{
    color:var(--muted);
    font-weight:500;
  }

  .mobile-details{
    margin-top:8px;
    border-top:1px dashed var(--border);
    padding-top:8px;
  }

  .mobile-details > summary{
    cursor:pointer;
    font-size:11px;
    font-weight:700;
    color:var(--muted);
    list-style:none;
    user-select:none;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:3px 0;
  }

  .mobile-details > summary::after{
    content:'▾';
    font-size:11px;
    line-height:1;
    transition:transform .16s ease;
  }

  .mobile-details[open] > summary::after{
    transform:rotate(180deg);
  }

  .mobile-details > summary::-webkit-details-marker{
    display:none;
  }

  .mobile-details-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:8px;
  }

  .mobile-details-label{
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:0.04em;
    color:var(--muted);
    margin-bottom:4px;
  }

  .mobile-fh24-cell a.fh24-link{
    line-height:1.45;
    font-size:12px;
    font-weight:500;
    color:var(--text);
    opacity:.88;
  }

  .mobile-volume-col .vol-line{
    line-height:1.45;
    font-size:12px;
  }

  body.light .mobile-exchange-line{
    background:#f8fafc;
  }

  body.dark .mobile-exchange-line{
    background:rgba(255,255,255,0.03);
  }

  body.dark .mobile-chip{
    background:rgba(255,255,255,0.04);
    border-color:#2f3846;
  }
}


body.dark{
  background: var(--bg);
  color:#e0e0e0;
}

body.dark h2{
  color:#f5f5f5;
}

.fh-miss{
  color:#c97c7c;
  font-weight:600;
}

.fh-delta-pos{
  color:#16a34a;
  font-weight:700;
}

.fh-delta-neg{
  color:#dc2626;
  font-weight:700;
}

.fh-delta-empty{
  color:var(--muted);
}

body.dark th{
  color:#bbb;
}

body.funding-page.dark > .container .table-wrapper{
  border:1px solid #2f3846;
  border-radius:14px;
}

body.dark #arbitrage-table{
  border:1px solid #333;
  border-radius:12px;
  overflow:hidden;
}

body.dark .exchange-price{
  color:#999;
}

body.dark .limit-indicator{
  background:#3a2c12;
  color:#f2d18b;
  border-color:#6a5321;
}

body.dark .exchange-row{
  background:#1a1a1a;
}

body.dark hr{
  border-color:#2b2b2b;
}

body.dark .fund-interval{
  opacity:.95;
}

body.dark .timer{
  color:#f5f5f5;
}

body.dark .update-timer{
  color:#e7e7e7;
  border-color:rgba(229, 186, 110, 0.35);
  background:rgba(229, 186, 110, 0.16);
}

body.dark .bg-long{
  background:#2a4a36;
  color:#b9f6ca;
}

body.dark .bg-short{
  background:#4a2a2a;
  color:#ffbdbd;
}

body.dark .fund-wrap{
  background:#151515;
  border-color:#2a2a2a;
}

body.dark #arbitrage-table td[data-label="Token"] a{
  color:#64b5ff;
}

body.dark #arbitrage-table td[data-label="Token"] a:hover{
  color:#9cd3ff;
}

body.dark #arbitrage-table td[data-label="Token"] mark{
  background:rgba(255,255,0,.28);
}

body.dark #exchange-filter{
  background:#151515;
  border-color:#333;
}

body.dark .exch-item{
  background:#141414;
  border-color:#2a2a2a;
}

body.dark .exch-item:hover{
  background:#1d1d1d;
}

body.dark .exch-item span{
  color:#f5f5f5;
}

body.dark .modal-content{
  background:#151515;
  color:#eee;
}

body.dark .modal-header{
  border-bottom-color:#2b2f39;
}

body.dark .modal-close{
  color:#cbd5e1;
}

body.dark .funding-history-wrap{
  border-color:#2b2f39;
}

body.dark #fundingHistoryTable thead th{
  background:#0f172a;
}

body.dark .token-popover{
  background:#1a1a1a;
  border-color:#333;
  box-shadow:0 8px 24px rgba(0,0,0,.5);
}

body.dark .token-popover input{
  background:#111;
  color:#eee;
  border-color:#333;
}


body.dark .view-switch .btn-outline-primary{
  border-color:#888;
  color:#ddd;
}

body.dark .view-switch .btn-outline-primary:hover{
  background:#444;
  border-color:#aaa;
  color:#fff;
}

body.funding-page.dark > .container .view-switch .btn.btn-primary.active{
  color:#dbeafe !important;
  background:rgba(59,130,246,.24) !important;
  border-color:rgba(96,165,250,.56) !important;
}

body.dark .view-switch .vip-pill{
  color:#1f2937;
  background:#fbbf24;
  border-color:rgba(255,255,255,.14);
}

@media (max-width: 900px){
  .table-wrapper{
    padding:10px 8px 14px;
    overflow:visible;
  }

  #arbitrage-table{
    min-width:0;
    border:none;
    background:transparent;
    box-shadow:none;
  }

  #arbitrage-table thead{
    display:none;
  }

  #arbitrage-table tbody{
    display:grid;
    gap:12px;
  }

  #arbitrage-table tr{
    display:grid;
    grid-template-columns:minmax(0, 1fr);
    grid-template-areas:
      "token"
      "exchange"
      "apr"
      "fs24"
      "open"
      "life"
      "fh24"
      "vol";
    gap:10px;
    padding:14px;
    border-radius:16px;
    background:var(--card-bg);
    border:1px solid var(--card-border);
    box-shadow:var(--card-shadow);
  }

  #arbitrage-table tr.funding-group-row.is-collapsed{
    display:none;
  }

  body.light #arbitrage-table tr{
    box-shadow:var(--card-shadow);
  }

  #arbitrage-table th,
  #arbitrage-table td{
    white-space:normal;
  }

  #arbitrage-table td{
    border:0;
    padding:0;
    text-align:left;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    min-width:0;
    width:100%;
    justify-self:stretch;
    align-self:stretch;
  }

  #arbitrage-table td::before{
    content:attr(data-label);
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:0.12em;
    color:var(--muted);
    line-height:1;
    flex:0 0 auto;
  }

  #arbitrage-table td[data-label="Token"]{
    grid-area:token;
  }

  #arbitrage-table td[data-label="Token"]::before{
    display:none;
  }

  #arbitrage-table td[data-label="Exchange"]{
    grid-area:exchange;
  }

  #arbitrage-table td[data-label="FR"]{
    grid-area:funding;
  }

  #arbitrage-table td[data-label="FH 24h"]{
    grid-area:fh24;
  }

  #arbitrage-table td[data-label="FS 24h"]{
    grid-area:fs24;
    font-weight:700;
  }

  #arbitrage-table td[data-label="FS 24h"] .fund-spread-stack{
    width:100%;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:8px;
  }

  #arbitrage-table td[data-label="FS 24h"] .fund-spread-now,
  #arbitrage-table td[data-label="FS 24h"] .fund-spread-24h{
    min-width:98px;
  }

  #arbitrage-table td[data-label="Vol"]{
    grid-area:vol;
  }

  #arbitrage-table td[data-label="APR"]{
    grid-area:apr;
  }

  #arbitrage-table td[data-label="Open"]{
    grid-area:open;
  }

  #arbitrage-table td[data-label="Life"]{
    grid-area:life;
  }

  .token-cell{
    display:flex;
    align-items:center;
    gap:8px;
    width:100%;
  }

  .token-cell a{
    font-size:16px;
    font-weight:800;
    letter-spacing:0.02em;
  }

  .token-cell .group-toggle{
    margin-left:auto;
    padding:2px 8px;
    min-width:38px;
    border-radius:999px;
  }

  #arbitrage-table td[data-label="Exchange"],
  #arbitrage-table td[data-label="FR"]{
    align-items:stretch;
    width:100%;
    min-width:0;
  }

  #arbitrage-table td[data-label="FR"]{
    display:none;
  }

  #arbitrage-table td:not([data-label="Token"]):not([data-label="Exchange"]):not([data-label="FR"]){
    padding:10px 12px;
    border-radius:12px;
    background:rgba(255, 255, 255, 0.04);
    box-shadow:var(--card-glow);
    min-height:56px;
    font-variant-numeric:tabular-nums;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }

  body.light #arbitrage-table td:not([data-label="Token"]):not([data-label="Exchange"]):not([data-label="FR"]){
    background:#f8fafc;
    box-shadow:inset 0 0 0 1px rgba(15, 23, 42, 0.06);
  }

  .exchange-cell{
    gap:6px;
    width:100%;
    align-items:stretch;
  }

  .exchange-row{
    padding:8px 10px;
    border-radius:12px;
    background:rgba(255, 255, 255, 0.04);
    display:grid;
    grid-template-columns:92px minmax(0, 1fr) auto;
    align-items:center;
    gap:8px;
    width:100%;
    min-width:0;
  }

  body.light .exchange-row{
    background:#f1f5f9;
  }

  .exchange-name{
    width:92px;
    min-width:92px;
    height:32px;
    padding:0 4px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    position:relative;
  }

  .exchange-name a{
    max-width:none;
    width:100%;
    justify-content:center;
    display:flex;
    align-items:center;
    gap:6px;
    overflow:visible;
  }

  #arbitrage-table .exchange-name img{
    width:18px;
    height:18px;
  }

  .exchange-name span{
    display:inline-block;
    font-size:11px;
    max-width:66px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:var(--text);
    font-weight:600;
  }

  .exchange-name.bg-long::after,
  .exchange-name.bg-short::after{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:14px;
    height:14px;
    border-radius:999px;
    font-size:9px;
    font-weight:700;
    background:rgba(255, 255, 255, 0.12);
    color:var(--text);
    position:absolute;
    top:-5px;
    right:-5px;
  }

  .exchange-name.bg-long::after{
    content:"↗";
  }

  .exchange-name.bg-short::after{
    content:"↘";
  }

  .exchange-price{
    color:var(--text);
    font-weight:700;
    font-size:12px;
    flex:1 1 auto;
    min-width:0;
    text-align:right;
  }

  .mobile-only{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:4px 6px;
    font-size:11px;
    color:var(--muted);
    white-space:nowrap;
    justify-self:end;
    margin-left:auto;
    flex:0 0 auto;
  }

  .exchange-meta.mobile-only{
    display:flex !important;
  }

  .mobile-only .fund-inline{
    font-weight:700;
    color:var(--text);
  }

  .mobile-only .timer{
    font-size:10px;
    color:var(--muted);
    flex:0 0 100%;
    text-align:right;
  }

  #arbitrage-table td[data-label="APR"]{
    text-align:left;
  }

  #arbitrage-table td[data-label="APR"]::before{
    display:block;
  }

  #arbitrage-table td[data-label="APR"] span{
    width:auto;
    min-width:96px;
    text-align:center;
    padding:4px 8px;
    font-size:11px;
    margin-left:auto;
  }

  #arbitrage-table td.fund-col .fund-wrap{
    width:100%;
    background:transparent;
    border:0;
    align-items:stretch;
    padding:0;
    gap:6px;
  }

  .fund-row{
    display:flex;
    align-items:center;
    gap:8px;
    justify-content:space-between;
    width:100%;
    padding:6px 8px;
    border-radius:10px;
    background:rgba(255, 255, 255, 0.04);
  }

  #arbitrage-table td[data-label="FR"] .fund-rate{
    font-size:12px;
    font-weight:700;
    min-width:0;
    white-space:nowrap;
  }

  #arbitrage-table td[data-label="FR"] .fund-interval{
    font-size:10px;
    padding:2px 4px;
  }

  #arbitrage-table td[data-label="FR"] .timer{
    font-size:10px;
    color:var(--muted);
    margin-left:auto;
  }

  #arbitrage-table td[data-label="APR"] span,
  #arbitrage-table td[data-label="Open"] span,
  #arbitrage-table td[data-label="Life"] span{
    padding:5px 10px;
    border-radius:999px;
    font-weight:700;
    font-size:12px;
    width:auto;
    min-width:96px;
    text-align:center;
    margin-left:auto;
  }

  #arbitrage-table td[data-label="Life"] span{
    background:rgba(255, 255, 255, 0.08);
  }

  body.light #arbitrage-table td[data-label="Life"] span{
    background:rgba(15, 23, 42, 0.06);
  }

  .funding-history-cell a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    font-weight:700;
    line-height:1.35;
  }

  .funding-history-cell a::before{
    content:"Long";
    font-size:9px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--muted);
  }

  .funding-history-cell a:last-child::before{
    content:"Short";
  }

  .volume-col .vol-line{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    font-weight:700;
    font-size:12px;
  }

  #arbitrage-table td[data-label="FH 24h"],
  #arbitrage-table td[data-label="Vol"]{
    flex-direction:column;
    align-items:stretch;
  }

  #arbitrage-table td[data-label="FH 24h"]::before,
  #arbitrage-table td[data-label="Vol"]::before{
    margin-bottom:2px;
  }

  .volume-col .vol-line::before{
    content:"Long";
    font-size:9px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--muted);
  }

  .volume-col .vol-line:last-child::before{
    content:"Short";
  }
}

@media (max-width: 560px){
  #arbitrage-table tr{
    padding:10px;
    gap:6px;
  }

  #arbitrage-table td::before{
    font-size:9px;
    letter-spacing:0.1em;
  }

  .token-cell a{
    font-size:15px;
  }

  .exchange-price{
    font-size:11px;
  }

  .exchange-row{
    grid-template-columns:78px minmax(0, 1fr) auto;
  }

  .exchange-name{
    width:78px;
    min-width:78px;
  }

  .exchange-name span{
    max-width:48px;
    font-size:10px;
  }

  #arbitrage-table td[data-label="FR"] .fund-rate{
    font-size:11px;
  }
}


@media (max-width:768px){
  .toolbar{
    align-items:stretch;
  }
  .view-switch{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .view-switch .btn-group{
    flex-wrap:nowrap;
  }
  .view-switch .btn{
    padding:6px 10px;
  }
  .toolbar > .dropdown,
  .toolbar > .token-search,
  .toolbar > button.btn,
  .toolbar > .update-timer{
    width:100%;
  }
  .toolbar > .update-timer{
    justify-content:center;
    margin-left:0;
  }
  #exchange-filter{
    width:92vw;
  }
  .exch-item{
    padding:8px 10px;
    font-size:15px;
  }
}

@media (max-width: 700px){
  .modal-content{
    width:94%;
    max-height:92vh;
    padding:12px;
    border-radius:12px;
  }

  .modal-title{
    font-size:15px;
    line-height:1.25;
  }

  .funding-history-wrap{
    border-radius:10px;
  }

  #fundingHistoryTable{
    table-layout:auto;
    border-collapse:separate;
    border-spacing:0;
  }

  #fundingHistoryTable thead{
    display:none;
  }

  #fundingHistoryTable,
  #fundingHistoryTable tbody,
  #fundingHistoryTable tr{
    display:block;
    width:100%;
  }

  #fundingHistoryTable tbody{
    display:grid;
    gap:8px;
    padding:6px;
  }

  #fundingHistoryTable tr{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
    border:1px solid var(--border);
    border-radius:10px;
    padding:8px;
    margin:0;
    background:rgba(255,255,255,0.02) !important;
  }

  #fundingHistoryTable td{
    width:100%;
    white-space:normal;
    border:1px solid var(--border);
    border-radius:8px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:3px;
    text-align:left;
    font-size:12px;
    background:rgba(255,255,255,0.02);
    padding:6px 8px;
    font-variant-numeric:tabular-nums;
    font-weight:600;
  }

  #fundingHistoryTable td:first-child{
    grid-column:1 / -1;
    border:none;
    border-radius:0;
    border-bottom:1px dashed var(--border);
    background:transparent;
    padding:0 0 6px;
    display:flex;
    flex-direction:row;
    align-items:baseline;
    justify-content:space-between;
    gap:8px;
    font-size:13px;
    font-weight:700;
  }

  #fundingHistoryTable td::before{
    content:attr(data-label);
    color:var(--muted);
    font-size:10px;
    letter-spacing:.04em;
    text-transform:uppercase;
    font-weight:700;
    line-height:1.1;
  }

  #fundingHistoryTable td:first-child::before{
    margin-right:8px;
  }

  #fundingHistoryTable td:nth-child(2):last-child{
    grid-column:1 / -1;
  }

  #fundingHistoryTable td.fh-delta-pos,
  #fundingHistoryTable td.fh-delta-neg,
  #fundingHistoryTable td.fh-delta-empty{
    align-items:flex-start;
  }

  #fundingHistoryTable td.fh-delta-pos{
    border-color:rgba(22,163,74,.35);
    background:rgba(22,163,74,.12);
  }

  #fundingHistoryTable td.fh-delta-neg{
    border-color:rgba(220,38,38,.35);
    background:rgba(220,38,38,.12);
  }

  #fundingHistoryTable td b{
    font-weight:800;
  }

  body.dark #fundingHistoryTable tr{
    background:rgba(255,255,255,0.03) !important;
  }

  body.dark #fundingHistoryTable td{
    background:rgba(255,255,255,0.02);
    border-color:#273244;
  }

  body.dark #fundingHistoryTable td.fh-delta-pos{
    background:rgba(22,163,74,.18);
    border-color:rgba(22,163,74,.42);
  }

  body.dark #fundingHistoryTable td.fh-delta-neg{
    background:rgba(220,38,38,.18);
    border-color:rgba(220,38,38,.42);
  }
}

img[src^="/uploads/exchange-logos/"]{
  width:18px;
  height:18px;
  object-fit:contain;
  border-radius:5px;
  background:transparent;
  box-shadow:none;
}
body.light img[src^="/uploads/exchange-logos/"]{
  background:transparent;
  box-shadow:none;
}

@media (max-width: 991.98px){
  body.funding-page > .container .table-wrapper{
    overflow:visible;
    padding:2px 4px 10px;
    min-height:160px;
  }

  .funding-page #arbitrage-table{
    display:none !important;
  }

  .funding-page .funding-mobile-list{
    display:grid;
  }
}

@media (max-width: 560px){
  body.funding-page > .container .table-wrapper{
    padding:2px 0 8px;
  }
}

@media (max-width: 768px){
  body.funding-page > .container .toolbar{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:6px;
    align-items:stretch;
    margin-bottom:8px;
  }

  body.funding-page > .container .toolbar .view-switch{
    display:none !important;
  }

  body.funding-page > .container .toolbar .mobile-table-switch{
    grid-column:1 / -1;
    width:100%;
    display:block;
  }

  body.funding-page > .container .toolbar .mobile-table-switch > .btn{
    width:100%;
    min-height:34px;
    border-radius:10px;
    font-size:12px;
    font-weight:700;
    padding:5px 10px;
    text-align:left;
  }

  body.funding-page > .container .toolbar .mobile-table-switch .dropdown-menu{
    width:100%;
    min-width:0;
    border-radius:12px;
    padding:4px;
  }

  body.funding-page > .container .toolbar .mobile-table-switch .dropdown-item{
    border-radius:10px;
    padding:7px 10px;
    font-size:12px;
  }

  body.funding-page > .container .toolbar .mobile-table-switch .dropdown-item.active{
    background:rgba(47,140,255,.16);
    color:var(--text);
  }

  body.funding-page > .container .toolbar > .dropdown:not(.mobile-table-switch){
    grid-column:1 / 2;
    width:100% !important;
    margin-left:0 !important;
  }

  body.funding-page > .container .toolbar > .dropdown:not(.mobile-table-switch) > .btn{
    min-height:36px;
    border-radius:10px;
    font-size:13px;
    padding-top:5px;
    padding-bottom:5px;
  }

  body.funding-page > .container .toolbar > #last-update-timer{
    grid-column:2 / 3;
    width:100% !important;
    margin:0 !important;
    justify-content:center;
    min-height:32px;
    border-radius:10px;
    font-size:10px;
    gap:4px;
    padding:1px 7px;
  }

  body.funding-page > .container .toolbar > #last-update-timer .update-label{
    font-size:9px;
  }

  body.funding-page > .container .toolbar > #last-update-timer .update-value{
    font-size:10px;
  }

  body.funding-page > .container .toolbar > .token-search{
    grid-column:1 / -1;
    width:100% !important;
    min-height:36px;
    border-radius:10px;
    font-size:15px;
    padding-top:5px;
    padding-bottom:5px;
  }

  body.funding-page > .container .toolbar > #calc-btn,
  body.funding-page > .container .toolbar > #url-builder-btn,
  body.funding-page > .container .toolbar > #signup-links-btn{
    grid-column:1 / -1;
    width:100% !important;
    min-height:32px;
    border-radius:10px;
    padding-top:4px;
    padding-bottom:4px;
    font-size:12px;
  }

  body.funding-page > .container{
    margin-top:12px;
    padding-left:10px;
    padding-right:10px;
  }

  body.funding-page > .container h2{
    margin-bottom:6px;
    font-size:clamp(22px, 7.2vw, 34px);
    line-height:1.04;
  }

  body.funding-page > .container .page-subtitle{
    margin-bottom:8px;
    font-size:clamp(12px, 3.8vw, 14px);
    line-height:1.22;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
}

@media (max-width: 480px){
  body.funding-page > .container .toolbar{
    grid-template-columns:minmax(0,1fr) 106px;
    gap:5px;
  }

  body.funding-page > .container .toolbar .mobile-table-switch > .btn{
    min-height:32px;
    font-size:11px;
    padding:4px 9px;
  }

  body.funding-page > .container .toolbar > .dropdown:not(.mobile-table-switch) > .btn{
    min-height:34px;
    font-size:12px;
  }

  body.funding-page > .container .toolbar > #last-update-timer{
    min-height:30px;
    font-size:9.5px;
  }

  body.funding-page > .container .toolbar > .token-search,
  body.funding-page > .container .toolbar > #calc-btn,
  body.funding-page > .container .toolbar > #url-builder-btn,
  body.funding-page > .container .toolbar > #signup-links-btn{
    min-height:32px;
  }

  body.funding-page > .container h2{
    margin-bottom:4px;
    font-size:clamp(20px, 7.6vw, 28px);
  }
}

@media (max-width: 420px){
  body.funding-page > .container .page-subtitle{
    display:none;
  }

  body.funding-page > .container .toolbar > #last-update-timer{
    font-size:9px;
  }
}

/* Keep funding mobile cards consistent with futures mobile density */
@media (max-width: 991.98px){
  body.funding-page.table-mobile-ref .funding-mobile-list{
    gap:8px;
  }

  body.funding-page.table-mobile-ref .funding-mobile-card{
    padding:8px;
    border-radius:12px;
    overflow:hidden;
  }

  body.funding-page.table-mobile-ref .mobile-card-top{
    gap:6px;
    align-items:center;
  }

  body.funding-page.table-mobile-ref .mobile-token-cell{
    flex:1 1 auto;
    min-width:0;
  }

  body.funding-page.table-mobile-ref .mobile-card-badges{
    margin-left:auto;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:center;
    gap:4px;
    min-width:0;
    max-width:62%;
    flex:0 1 auto;
  }

  body.funding-page.table-mobile-ref .mobile-card-badges .mobile-chip-apr{
    margin-left:auto;
  }

  body.funding-page.table-mobile-ref .mobile-card-badges .mobile-chip-row{
    margin-top:0;
    justify-content:flex-end;
    flex-wrap:nowrap;
    gap:4px;
    min-width:0;
    max-width:100%;
  }

  body.funding-page.table-mobile-ref .mobile-card-badges .mobile-chip{
    white-space:nowrap;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  body.funding-page.table-mobile-ref .mobile-chip-row{
    margin-top:4px;
    gap:5px;
  }

  body.funding-page.table-mobile-ref .mobile-chip{
    padding:2px 7px;
    font-size:10.5px;
  }

  body.funding-page.table-mobile-ref .mobile-exchange-list{
    margin-top:6px;
    gap:6px;
  }

  body.funding-page.table-mobile-ref .mobile-exchange-line{
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    padding:6px 7px;
    overflow:hidden;
  }

  body.funding-page.table-mobile-ref .mobile-exchange-name{
    max-width:112px;
    min-width:0;
    flex:0 1 auto;
  }

  body.funding-page.table-mobile-ref .mobile-exchange-name span{
    max-width:56px;
    font-size:11px;
    font-weight:600;
  }

  body.funding-page.table-mobile-ref .mobile-exchange-price{
    font-size:11px;
    text-align:left;
    white-space:nowrap;
    margin-left:4px;
    margin-right:auto;
    min-width:0;
    line-height:1.15;
    flex:0 0 auto;
  }

  body.funding-page.table-mobile-ref .mobile-exchange-funding{
    width:auto;
    margin-left:auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:4px;
    min-width:0;
    flex:0 0 auto;
  }

  body.funding-page.table-mobile-ref .mobile-funding-rate-wrap{
    display:flex;
    align-items:center;
    gap:4px;
    min-width:0;
    flex:0 0 auto;
    white-space:nowrap;
  }

  body.funding-page.table-mobile-ref .mobile-exchange-funding .fund-rate{
    display:inline-block;
    font-size:11px;
    line-height:1.1;
    min-width:0;
    text-align:right;
    white-space:nowrap;
  }

  body.funding-page.table-mobile-ref .mobile-exchange-funding .fund-interval{
    font-size:10px;
    padding:2px 5px;
    line-height:1;
    flex:0 0 auto;
  }

  body.funding-page.table-mobile-ref .mobile-exchange-funding .timer{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:auto !important;
    max-width:100%;
    text-align:center;
    font-size:11px;
    min-width:58px;
    line-height:1.1;
    border:1px solid var(--border);
    border-radius:999px;
    padding:2px 6px;
    font-weight:700;
    font-variant-numeric:tabular-nums;
    background:rgba(255,255,255,0.02);
    white-space:nowrap;
    flex:0 0 auto;
  }

  body.funding-page.table-mobile-ref .mobile-details > summary{
    padding:6px 0 0;
    font-size:12px;
  }
}

@media (min-width: 901px){
  body.funding-page #arbitrage-table{
    width:100%;
    min-width:1100px;
    max-width:100%;
    border-left:1px solid var(--border);
    border-right:1px solid var(--border);
    border-collapse:collapse;
    background:var(--panel);
    border-radius:12px;
    overflow:hidden;
    box-shadow:var(--shadow);
  }

  body.funding-page #arbitrage-table td{
    padding:8px 6px;
    text-align:center;
    font-size:13px;
    border-bottom:1px solid var(--border);
    white-space:nowrap;
    color:var(--text);
  }

  body.funding-page #arbitrage-table th:nth-child(1),
  body.funding-page #arbitrage-table td:nth-child(1){
    width:164px;
    max-width:196px;
    padding-left:6px;
    padding-right:6px;
  }

  body.funding-page #arbitrage-table th:nth-child(2),
  body.funding-page #arbitrage-table td:nth-child(2){
    width:230px;
    max-width:250px;
  }

  body.funding-page #arbitrage-table th:nth-child(3),
  body.funding-page #arbitrage-table td:nth-child(3),
  body.funding-page #arbitrage-table th:nth-child(4),
  body.funding-page #arbitrage-table td:nth-child(4),
  body.funding-page #arbitrage-table th:nth-child(5),
  body.funding-page #arbitrage-table td:nth-child(5),
  body.funding-page #arbitrage-table th:nth-child(6),
  body.funding-page #arbitrage-table td:nth-child(6),
  body.funding-page #arbitrage-table th:nth-child(7),
  body.funding-page #arbitrage-table td:nth-child(7),
  body.funding-page #arbitrage-table th:nth-child(8),
  body.funding-page #arbitrage-table td:nth-child(8){
    padding-left:6px;
    padding-right:6px;
  }

  body.funding-page #arbitrage-table td[data-label="Token"] a{
    color:#2f8cff;
    text-decoration:none;
    font-weight:700;
  }

  body.funding-page #arbitrage-table td[data-label="Token"] a:hover{
    color:#63b2ff;
    text-decoration:underline;
  }

  body.funding-page #arbitrage-table td[data-label="Token"] mark{
    background:rgba(255,255,0,.18);
    padding:0 2px;
  }

  body.funding-page.dark #arbitrage-table td[data-label="Token"] a{
    color:#64b5ff;
  }

  body.funding-page.dark #arbitrage-table td[data-label="Token"] a:hover{
    color:#9cd3ff;
  }

  body.funding-page.dark #arbitrage-table td[data-label="Token"] mark{
    background:rgba(255,255,0,.28);
  }

  body.funding-page .token-cell{
    display:grid;
    grid-template-columns:52px 1fr;
    align-items:center;
    column-gap:6px;
    min-width:0;
  }

  body.funding-page .token-label{
    display:block;
    min-width:0;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  body.funding-page .group-toggle{
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:2px 6px;
    border-radius:999px;
    border:1px solid var(--border);
    background:rgba(255,255,255,.04);
    color:#9fb3c8;
    font-size:11px;
    line-height:1;
    cursor:pointer;
    min-width:46px;
    justify-content:center;
  }

  body.funding-page .token-cell a{
    justify-self:start;
  }

  body.funding-page .funding-group-row{
    background:rgba(0,0,0,.02);
  }

  body.funding-page.dark .funding-group-row{
    background:rgba(255,255,255,.03);
  }

  body.funding-page .exchange-cell{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:4px;
  }

  body.funding-page .exchange-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    padding:3px 6px;
    border-radius:6px;
    background:#fafafa;
    min-height:28px;
  }

  body.funding-page.dark .exchange-row{
    background:#1a1a1a;
  }

  body.funding-page .exchange-name{
    display:flex;
    align-items:center;
    gap:6px;
    width:110px;
    min-width:110px;
    white-space:nowrap;
    overflow:hidden;
  }

  body.funding-page .exchange-name img{
    width:16px;
    height:16px;
  }

  body.funding-page .exchange-name span{
    font-weight:500;
    font-size:13px;
    white-space:nowrap;
  }

  body.funding-page .exchange-price{
    font-variant-numeric:tabular-nums;
    color:#333;
    font-size:13px;
    min-width:60px;
    text-align:right;
  }

  body.funding-page .exchange-meta.mobile-only{
    display:none !important;
  }

  body.funding-page.dark .exchange-price{
    color:#999;
  }

  body.funding-page td.fund-col{
    background:transparent;
  }

  body.funding-page .fund-wrap{
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    gap:4px;
    padding:5px 6px;
    background:#f3f4f6;
    border-radius:5px;
    border:1px solid #e1e4ea;
  }

  body.funding-page.dark .fund-wrap{
    background:#151515;
    border-color:#2a2a2a;
  }

  body.funding-page .fund-row{
    display:grid;
    grid-template-columns:76px 34px 60px;
    justify-content:center;
    align-items:center;
    column-gap:8px;
    line-height:1.4;
  }

  body.funding-page .fund-rate{
    display:block;
    font-weight:500;
    text-align:right;
    min-width:0;
    font-variant-numeric:tabular-nums;
  }

  body.funding-page .fund-interval{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:600;
    border-radius:4px;
    padding:2px 4px;
    text-align:center;
    color:#fff;
    min-width:0;
  }

  body.funding-page .timer{
    display:block;
    min-width:0;
    width:100%;
    text-align:center;
    font-size:11px;
    font-weight:400;
    font-variant-numeric:tabular-nums;
  }

  body.funding-page.dark .timer{
    color:#f5f5f5;
  }

  body.funding-page .fund-rate.is-empty,
  body.funding-page .fund-interval.is-empty,
  body.funding-page .timer.is-empty{
    text-align:center;
  }

  body.funding-page .fund-interval.is-empty{
    background:transparent !important;
    color:inherit !important;
    border:none !important;
    padding:0 !important;
  }

  body.funding-page td.funding-history-cell{
    text-align:center;
  }

  body.funding-page .funding-history-cell .fh24-link{
    display:block;
    color:inherit;
    text-decoration:none;
    line-height:1.8;
    font-weight:600;
  }

  body.funding-page .volume-col .vol-line{
    display:block;
    line-height:1.8;
    font-weight:600;
    margin:0;
    font-size:inherit;
    color:inherit;
    font-variant-numeric:tabular-nums;
  }

body.funding-page .badge-cell{
    display:inline-block;
    padding:5px 7px;
    border-radius:6px;
    font-weight:bold;
    min-width:70px;
    line-height:1.2;
    font-variant-numeric:tabular-nums;
  }
}

/* Mobile compact toolbar: one row (table switch + exchanges + search) */
@media (max-width: 768px){
  body.funding-page > .container .toolbar{
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:6px !important;
    overflow-x:auto;
    overflow-y:visible;
    -webkit-overflow-scrolling:touch;
    padding-bottom:2px;
    margin-bottom:8px !important;
    position:relative;
    z-index:1200;
    isolation:isolate;
  }

  body.funding-page > .container .toolbar.dropdown-open,
  body.funding-page > .container .toolbar:has(.dropdown.show){
    overflow:visible !important;
  }

  body.funding-page > .container .toolbar .dropdown,
  body.funding-page > .container .toolbar .mobile-table-switch{
    position:relative;
    z-index:1201;
  }

  body.funding-page > .container .toolbar .dropdown-menu{
    z-index:1400 !important;
  }

  body.funding-page > .container .table-wrapper{
    position:relative;
    z-index:1;
  }

  body.funding-page > .container .toolbar .view-switch{
    display:none !important;
  }

  body.funding-page > .container .toolbar .mobile-table-switch{
    display:block !important;
    width:auto !important;
    min-width:112px;
    flex:0 0 auto;
  }

  body.funding-page > .container .toolbar .mobile-table-switch > .btn{
    width:auto !important;
    min-height:34px;
    border-radius:10px;
    font-size:12px;
    font-weight:700;
    padding:5px 10px;
    text-align:left;
    white-space:nowrap;
  }

  body.funding-page > .container .toolbar .mobile-table-switch .dropdown-menu{
    width:220px !important;
    min-width:220px !important;
    max-width:90vw;
  }

  body.funding-page > .container .toolbar > #calc-btn,
  body.funding-page > .container .toolbar > #url-builder-btn,
  body.funding-page > .container .toolbar > #signup-links-btn,
  body.funding-page > .container .toolbar > #last-update-timer,
  body.funding-page > .container .toolbar > #last-update{
    display:none !important;
  }

  body.funding-page > .container .toolbar > .dropdown:not(.mobile-table-switch){
    grid-column:auto !important;
    width:auto !important;
    margin-left:0 !important;
    min-width:106px;
    flex:0 0 auto;
  }

  body.funding-page > .container .toolbar > .dropdown:not(.mobile-table-switch) > .btn{
    width:auto !important;
    min-height:34px;
    border-radius:10px;
    font-size:12px;
    padding:5px 10px;
    white-space:nowrap;
  }

  body.funding-page > .container .toolbar > .token-search,
  body.funding-page > .container .toolbar > #tokenFilter{
    grid-column:auto !important;
    width:auto !important;
    min-height:34px;
    border-radius:10px;
    font-size:14px;
    padding-top:5px;
    padding-bottom:5px;
    min-width:140px;
    flex:1 0 140px;
  }
}

@media (max-width: 480px){
  body.funding-page > .container .toolbar .mobile-table-switch{
    min-width:102px;
  }

  body.funding-page > .container .toolbar > .dropdown:not(.mobile-table-switch){
    min-width:98px;
  }

  body.funding-page > .container .toolbar > .token-search,
  body.funding-page > .container .toolbar > #tokenFilter{
    min-width:126px;
    flex-basis:126px;
    font-size:13px;
  }
}

@media (min-width: 901px){
  body.funding-page.dark > .container .table-wrapper{
    border:1px solid #2a2a2a !important;
    border-radius:14px !important;
  }

  body.funding-page.dark #arbitrage-table{
    border:1px solid #2a2a2a !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
    border-radius:12px !important;
    overflow:hidden !important;
  }

  body.funding-page.dark #arbitrage-table thead th:first-child{
    border-top-left-radius:12px;
  }

  body.funding-page.dark #arbitrage-table thead th:last-child{
    border-top-right-radius:12px;
  }

  body.funding-page.dark #arbitrage-table tbody tr:last-child td:first-child{
    border-bottom-left-radius:12px;
  }

  body.funding-page.dark #arbitrage-table tbody tr:last-child td:last-child{
    border-bottom-right-radius:12px;
  }
}

/* Final dark table frame override (all breakpoints) */
body.funding-page.dark > .container .table-wrapper{
  border:1px solid #2a2a2a !important;
  border-radius:14px !important;
  overflow:hidden;
}

body.funding-page.dark #arbitrage-table{
  border:1px solid #2a2a2a !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  border-radius:12px !important;
  overflow:hidden !important;
}

body.funding-page.dark #arbitrage-table thead th:first-child{
  border-top-left-radius:12px;
}

body.funding-page.dark #arbitrage-table thead th:last-child{
  border-top-right-radius:12px;
}

body.funding-page.dark #arbitrage-table tbody tr:last-child td:first-child{
  border-bottom-left-radius:12px;
}

body.funding-page.dark #arbitrage-table tbody tr:last-child td:last-child{
  border-bottom-right-radius:12px;
}

@media (max-width: 900px){
  body.funding-page.dark > .container .table-wrapper{
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:transparent !important;
    overflow:visible !important;
  }

  body.funding-page.dark #arbitrage-table{
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:transparent !important;
  }
}

/* Unified interval chips */
.fund-interval{
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:28px !important;
  padding:1px 5px !important;
  border-radius:5px !important;
  border:1px solid var(--interval-border, rgba(148,163,184,.28)) !important;
  background:var(--interval-bg, rgba(148,163,184,.14)) !important;
  color:var(--interval-fg, #cbd5e1) !important;
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1.15 !important;
  text-align:center !important;
}

.fund-interval.is-empty{
  background:transparent !important;
  color:var(--muted) !important;
  border:0 !important;
  padding:0 !important;
  min-width:0 !important;
}

.interval-1h{ --interval-bg:rgba(134,239,172,.18); --interval-border:rgba(134,239,172,.34); --interval-fg:#bbf7d0; }
.interval-2h{ --interval-bg:rgba(59,130,246,.14); --interval-border:rgba(59,130,246,.26); --interval-fg:#93c5fd; }
.interval-3h{ --interval-bg:rgba(132,204,22,.14); --interval-border:rgba(132,204,22,.26); --interval-fg:#bef264; }
.interval-4h{ --interval-bg:rgba(4,120,87,.22); --interval-border:rgba(4,120,87,.38); --interval-fg:#34d399; }
.interval-6h{ --interval-bg:rgba(234,179,8,.14); --interval-border:rgba(234,179,8,.28); --interval-fg:#fde68a; }
.interval-8h{ --interval-bg:rgba(249,115,22,.14); --interval-border:rgba(249,115,22,.28); --interval-fg:#fdba74; }
.interval-default{ --interval-bg:rgba(148,163,184,.14); --interval-border:rgba(148,163,184,.26); --interval-fg:#cbd5e1; }

body.light .interval-1h,
body[data-theme="light"] .interval-1h,
html[data-theme="light"] body .interval-1h{ --interval-bg:rgba(187,247,208,.55); --interval-border:rgba(74,222,128,.34); --interval-fg:#16a34a; }
body.light .interval-2h,
body[data-theme="light"] .interval-2h,
html[data-theme="light"] body .interval-2h{ --interval-bg:rgba(37,99,235,.10); --interval-border:rgba(37,99,235,.20); --interval-fg:#2563eb; }
body.light .interval-3h,
body[data-theme="light"] .interval-3h,
html[data-theme="light"] body .interval-3h{ --interval-bg:rgba(101,163,13,.10); --interval-border:rgba(101,163,13,.22); --interval-fg:#4d7c0f; }
body.light .interval-4h,
body[data-theme="light"] .interval-4h,
html[data-theme="light"] body .interval-4h{ --interval-bg:rgba(4,120,87,.16); --interval-border:rgba(4,120,87,.28); --interval-fg:#065f46; }
body.light .interval-6h,
body[data-theme="light"] .interval-6h,
html[data-theme="light"] body .interval-6h{ --interval-bg:rgba(202,138,4,.12); --interval-border:rgba(202,138,4,.22); --interval-fg:#a16207; }
body.light .interval-8h,
body[data-theme="light"] .interval-8h,
html[data-theme="light"] body .interval-8h{ --interval-bg:rgba(234,88,12,.10); --interval-border:rgba(234,88,12,.22); --interval-fg:#c2410c; }
body.light .interval-default,
body[data-theme="light"] .interval-default,
html[data-theme="light"] body .interval-default{ --interval-bg:rgba(100,116,139,.10); --interval-border:rgba(100,116,139,.20); --interval-fg:#475569; }

/* WUAH table tone refresh */
body.table-mobile-ref.dark{
  --wuah-table-bg:#151a22;
  --wuah-table-head:#111720;
  --wuah-table-row:#181e27;
  --wuah-table-row-alt:#181e27;
  --wuah-table-border:rgba(88,101,120,.34);
  --wuah-table-border-strong:rgba(112,128,150,.46);
  --wuah-table-link:#64b5ff;
  --wuah-table-link-hover:#9cd3ff;
}

body.table-mobile-ref.dark > .container .table-wrapper{
  border:1px solid var(--wuah-table-border) !important;
  border-radius:14px !important;
  background:linear-gradient(180deg, rgba(96,115,138,.045), rgba(15,19,26,.18)) !important;
  box-shadow:0 18px 40px rgba(0,0,0,.34) !important;
}

body.table-mobile-ref.dark #arbitrage-table{
  border-color:var(--wuah-table-border) !important;
  background:var(--wuah-table-bg) !important;
}

body.table-mobile-ref.dark #arbitrage-table thead,
body.table-mobile-ref.dark #arbitrage-table thead th{
  background:linear-gradient(180deg, #171d26, var(--wuah-table-head)) !important;
}

body.table-mobile-ref.dark #arbitrage-table thead th{
  color:#e6edf6 !important;
  border-bottom:1px solid var(--wuah-table-border-strong) !important;
}

body.table-mobile-ref.dark #arbitrage-table td{
  border-bottom-color:rgba(88,101,120,.24) !important;
  color:#dfe4ec;
}

body.table-mobile-ref.dark #arbitrage-table tbody tr:nth-child(odd){
  background:var(--wuah-table-row) !important;
}

body.table-mobile-ref.dark #arbitrage-table tbody tr:nth-child(even),
body.table-mobile-ref.dark .token-group-row{
  background:var(--wuah-table-row) !important;
}

body.table-mobile-ref.dark #arbitrage-table tbody tr:hover{
  background:#1d2631 !important;
}

body.table-mobile-ref.dark #arbitrage-table td[data-label="Token"] a,
body.table-mobile-ref.dark .matched-new-token-link{
  color:var(--wuah-table-link) !important;
}

body.table-mobile-ref.dark #arbitrage-table td[data-label="Token"] a:hover,
body.table-mobile-ref.dark .matched-new-token-link:hover{
  color:var(--wuah-table-link-hover) !important;
}

body.table-mobile-ref.dark .group-toggle,
body.table-mobile-ref.dark .exchange-row,
body.table-mobile-ref.dark .fund-wrap,
body.table-mobile-ref.dark .timer,
body.table-mobile-ref.dark .fund-spread-now,
body.table-mobile-ref.dark .fund-spread-24h{
  border-color:rgba(88,101,120,.30) !important;
  background:rgba(255,255,255,.035) !important;
}

body.table-mobile-ref.dark .bg-long{
  background:rgba(34,197,94,.18) !important;
  color:#d8f8e4 !important;
}

body.table-mobile-ref.dark .bg-short{
  background:rgba(244,63,94,.18) !important;
  color:#ffd6dd !important;
}

body.table-mobile-ref.dark .exchange-price,
body.table-mobile-ref.dark .volume-col .vol-line{
  color:#c7cfdb !important;
}

body.table-mobile-ref.dark .volume-col .vol-line.is-low-volume{
  color:#d6a84a !important;
}

body.table-mobile-ref.dark .volume-col .vol-line.is-very-low-volume{
  color:#df6f6f !important;
}

body.table-mobile-ref.dark .badge-cell{
  border:1px solid rgba(255,255,255,.055);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04), 0 8px 18px rgba(0,0,0,.18);
}

body.table-mobile-ref.dark .route-lifetime{
  background:rgba(232,238,247,.075) !important;
  color:#eef2f7 !important;
}

body.table-mobile-ref.dark > .container .view-switch .btn.btn-primary.active,
body.funding-page.dark > .container .view-switch .btn.btn-primary.active,
body.table-mobile-ref.dark .toolbar .mobile-table-switch .dropdown-item.active{
  color:#eaf2fb !important;
  background:linear-gradient(180deg, rgba(72,88,108,.58), rgba(45,57,72,.42)) !important;
  border-color:rgba(112,128,150,.56) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035) !important;
}

@media (max-width:900px){
  body.table-mobile-ref.dark > .container .table-wrapper{
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
}
