body {font-size: 16px;}
/*.holder1 {color: #e8fdea;}
.holder2 {color: #b9f8c0;}
.holder3 {color: #8bf495;}
.holder4 {color: #5cf06b;}
.holder5 {color: #2deb41;}
.holder6 {color: #14d227;}
.holder7 {color: #0fa31e;}
.holder8 {color: #0b7416;}
.holder9 {color: #07460d;}
*/
.holder1 {color: #b9d1f8;}
.holder2 {color: #8bd1f4;}
.holder3 {color: #5ca9f0;}
.holder4 {color: #2d73eb;}
.holder5 {color: #1457d2;}
.holder6 {color: #0f49a3;}
.holder7 {color: #0b2d74;}
#quotelp {color: #3f6eff;}
#baselp {color: #d7925f;}
#mcap {color: #fff;}

h1 {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --mixer: #145a9d;
    filter: drop-shadow(0 0 calc((var(--exp, 1) * pow(2, 2)) * 1px) color-mix(in oklch, currentColor, var(--mixer) 30%)) drop-shadow(0 0 calc((var(--exp, 1) * pow(2, 3)) * 1px) color-mix(in oklch, currentColor, var(--mixer) 60%)) drop-shadow(0 0 calc((var(--exp, 1) * pow(2, 4)) * 1px) color-mix(in oklch, currentColor, var(--mixer) 90%));
    color: #1d99cf !important;
}
.va-middle {
  vertical-align: middle;
}
.fade-pulse {
  opacity: 0.7;
  animation: pulseOpacity 2s infinite 0.3s alternate;
}

@keyframes pulseOpacity {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 1;
  }
}
#cc{display:none; border: none;padding: 0;margin: 0;}
#pairs, .copyclipboard {cursor: pointer;}
.whitestroke {
  stroke: #fff;
}
.greenstroke {
  stroke: #5bfd1e;
}
.scrollbar{
  scrollbar-color: auto;
}
::-webkit-scrollbar-thumb {-webkit-border-radius: 0;border-radius: 0;background: #5a6aff;}
::-webkit-scrollbar {background: transparent;width:8px;}
.log-entry {height: 20px;position: absolute;font-variant-numeric: tabular-nums;}
.log-entry:hover {
    background-color: #28282d;
}

.loading-animation {
  color: #00d1b2;
  animation: pulse 1.5s infinite ease-in-out;
}
.mt-2 {margin-top: 10px;}
.mt-3 {margin-top: 15px;}
.mt-5 {margin-top: 25px;}
.mb-2 {margin-bottom: 10px;}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.75;
  }
}
.leaderboard {
  max-height: 500px;
  overflow-y: scroll;
  border: 1px solid #5a6aff38;
  border-radius: 0 0 10px 10px;
}
.holder-item {
    padding: 5px;
    margin: 5px 0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.holder-rank {
    font-size: 16px;
    font-weight: bold;
    font-variant: tabular-nums;
    display: inline-block;
    width: 40px;
    text-align: right;
}

.holder-address {
    flex: 1;
    font-family: monospace;
    font-size: 14px;
    text-align: left;
    text-wrap: nowrap;
    margin-left: 10px;
}

.holder-balance {
    font-size: 14px;
    font-weight: bold;
    font-variant: tabular-nums;
    width: 150px;
    text-align: right;
}
.holder-class {
  font-size: 14px;
  flex: 2;
  text-align: left;
  margin-left: 20px;
}
.noshow{visibility: hidden;}
.number-flip {
    font-size: 2rem;
    font-weight: 800;
    color: hsl(221deg, 14%, 93%);
}
sub {color: #fff;}
sup, #currentprice, .green {color: #5bfd1e;}

.level {
  flex-wrap: wrap;
}
.level-item {
    border: solid 1px #323639;
    border-radius: 0.75rem;
    padding-top: 16px;
    padding-bottom: 8px;
}
.level-holders {min-width: 80px;}
@media(max-width: 767px) {
  .reverse-columns {
    flex-direction: column-reverse;
    display: flex;
  }
}
/*
@media screen and (max-width: 768px) {
  .columns {
    display: flex;
    flex-direction: column;
  }
  .stats-column {
    order: -1;
  }
}
*/
.heading {
  font-weight: 500;
}

h2 { margin-top: 0; font-weight: 300; color: #d1d4dc; }
h3 {
  border-radius: 10px 10px 0 0;
  padding-left: 10px;
  color: #5a6aff !important;
  border-bottom: solid 1px #5a6aff !important;
}
#loadingtxs {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background-color: #2f2929;
  z-index: 9999;
  display: inline-block;
  padding: 0 10px 3px 10px;
  border-radius: 10px;
}

.transaction-wrapper{
  /*height: 300px;*/
}
#tbl-transaction {
  /*overflow-y: scroll;*/
  font-weight: 700
}
#log-transactions .log-entry {
    width: 100%;
}
#tbl-transaction span:nth-child(1), #log-transactions span:nth-child(1) {
    width: 20%;
    display: inline-block;
}
#tbl-transaction span:nth-child(2), #log-transactions span:nth-child(2) {
    width: 10%;
    display: inline-block;
}
#tbl-transaction span:nth-child(3), #log-transactions span:nth-child(3) {
    width: 10%;
    display: inline-block;
}
#tbl-transaction span:nth-child(4), #log-transactions span:nth-child(4) {
    width: 20%;
    display: inline-block;
}
#tbl-transaction span:nth-child(5), #log-transactions span:nth-child(5) {
    width: 10%;
    display: inline-block;
}
#tbl-transaction span:nth-child(6), #log-transactions span:nth-child(6) {
    width: 20%;
    display: inline-block;
}
#tbl-transaction span:nth-child(7), #log-transactions span:nth-child(7) {
    width: 5%;
    display: inline-block;
}
#pairs td:nth-child(n+3):nth-child(-n+10) {
  text-align: right;
}
.tokenchart th:nth-child(n+3):nth-child(-n+10) {
  text-align: right;
}
.tokenchart th, .tokenchart td {
  white-space: nowrap;
}
.txred {color: #f56565;}
.txgreen {color: #48bb78;}
#tbl-transaction span:nth-child(3),#tbl-transaction span:nth-child(4),#tbl-transaction span:nth-child(5) {
  text-align: right;
}
#tbl-transaction span:nth-child(6) {
    text-align: center;
}
#log-transactions span:nth-child(3),#log-transactions span:nth-child(4),#log-transactions span:nth-child(5) {
    text-align: right;
}
#log-transactions span:nth-child(6) {
    text-align: left;
}
article .content {
  border: solid 1px #323639;
}

#main-wrapper {
  min-height: 500px;
  max-height: 600px;
  /*height: 50vh;*/
  /*display: flex;*/
  /*flex-direction: column;*/
  /*width: 80%;*/
  /*margin: 0 auto;*/
}

#header-overlay {
  /*margin: 0 auto;*/
  /*width: 80%;*/
  background-color: #131722;
  z-index: 10;
  /*border-bottom: 1px solid #2a2e39;*/
}

#interval-switcher {
  margin: 0 auto;
  width: 80%;
  background-color: #131722;
}
@media screen and (max-width: 768px) {
  #main-wrapper, #header-overlay, #interval-switcher {
    width: 100%;
    margin: unset;
  }
  #header-overlay {
    justify-content: left;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}
.chartrow { display: flex; align-items: center; justify-content: space-between; }

#chart-title {
    color: #d1d4dc;
    font-size: 14px;
    font-weight: bold;
}

#chart-title a {
    color: #0b77ea;
    text-decoration: none;
}
#tokenimg1, #tokenimg2 {
  border: solid 1px #555;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.tokenimg {
  vertical-align: middle;
}
#ohlc-display {
  color: #d1d4dc;
  font-size: 12px;
  font-family: 'Courier New', Courier, monospace;
  margin-top: 4px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: rgba(27, 30, 36, 0.69);
  border-radius: 5px;
  padding: 5px;
}
#loadingchart {
  position: absolute;
  bottom: 0px;
  right: 0;
  z-index: 2;
  background-color: #333;
  padding: 5px 10px;
  color: lightgreen;
  border-radius: 10px;
  border: solid 1px lightgreen;
}
#interval-switcher {
    margin-top: 8px;
}

.interval-btn, .tool-btn {
    background: transparent;
    border: 1px solid #2a2e39;
    color: #d1d4dc;
    padding: 5px;
    font-size: 11px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.interval-btn:hover, .tool-btn:hover {
    background-color: #2a2e39;
}

.interval-btn.active, .tool-btn.active {
    background-color: #2962ff;
    border-color: #2962ff;
    color: white;
}

.tool-separator {
  border-left: solid 1px #6a6a6a;
}

.tool-btn img {
  width: 10px;
  vertical-align: middle;
  padding-bottom: 2px;
}

.log-on, .pct-on, .flipped-on {
  color: #2962ff;
}
.scaletools {
    position: absolute;
    bottom: 0;
    right: 0;
}
.stickytop {
    position: sticky;
    top: 0;
    z-index: 99;
    display: block;
}
.val { margin-right: 5px; }
.up { color: #34d93c; font-weight: bold;}
.down { color: #e51a2a; font-weight: bold;}
.price-gap { margin-left: 10px; }

#chart-container {
    flex: 1;
    min-height: 0;
    width: 100%;
    position: relative;
}
.table-container-wrapper {
  height: 500px;
  overflow: auto;
  border: 1px solid #5a6aff38;
  border-radius: 0 0 10px 10px;
  position: relative;
}

.virtual-table {
  width: 100%;
  position: relative;
  min-width: 740px;
}

.virtual-rows-wrapper {
  position: relative;
}

.virtual-row {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
}

.virtual-cell {
  padding: 0.5em 0.75em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.virtual-cell:last-child {
  border-right: none;
}

.virtual-header {
  display: flex;
  background-color: #000;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 10;
}

.col-timestamp {width: 160px;text-align: left;font-variant-numeric: tabular-nums;}
.col-type {width: 100px;text-align: left;}
.col-pair1 {width: 120px; text-align: right;font-variant-numeric: tabular-nums;}
.col-pair2 {width: 120px; text-align: right;font-variant-numeric: tabular-nums;}
.col-price {width: 125px; text-align: right;font-variant-numeric: tabular-nums;}
.col-maker {width: 160px; text-align: left;}
.col-maker a {font-family: monospace !important;font-size: 14px;}
.col-txn {width: 70px;text-align: left;}
.type-buy {color: #48c774; font-weight: 600;}
.type-sell {color: #f14668; font-weight: 600;}
.filter-btn {
  margin-left: 0.25rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.filter-btn:hover {
  opacity: 1;
}

.filter-btn.active {
  opacity: 1;
  color: #3273dc;
}
.filter-btn img {
  width: 14px;
  height: 14px;
  vertical-align: text-bottom;
}
.active-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
