:root{
  --bg:#070b14;
  --bg2:#0b1220;
  --panel:#0c1528;
  --panel2:#0a1224;
  --line:rgba(255,255,255,.08);
  --text:#eaf1ff;
  --muted:#97a7c7;

  --accent:#18ff6d;
  --accent2:#00d4ff;
  --danger:#ff3b3b;

  --paper:#f4f6fb;
  --shadow: 0 14px 40px rgba(0,0,0,.45);
  --shadow2: 0 10px 24px rgba(0,0,0,.35);

  --radius:16px;
  --radius2:22px;

  --footerH: 64px;
  --adStripH: 86px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

/* Overlay for mobile menu */
.overlay{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
  z-index:40;
}
.overlay.is-on{
  opacity:1;
  pointer-events:auto;
}

.app{
  display:grid;
  grid-template-columns: 290px 1fr;
  min-height:100vh;
}

/* Sidebar */
.sidebar{
  position:sticky;
  top:0;
  height:100vh;
  padding:16px 14px;
  background: linear-gradient(180deg, rgba(12,21,40,.92), rgba(7,11,20,.94));
  border-right:1px solid var(--line);
  z-index:50;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 10px 14px;
  border-bottom:1px solid var(--line);
}
.brand__logo{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:14px;
  font-weight:900;
  letter-spacing:.4px;
  color:var(--accent);
  background: rgba(24,255,109,.10);
  border:1px solid rgba(24,255,109,.25);
  box-shadow: 0 0 0 1px rgba(24,255,109,.06) inset;
  overflow:hidden;
}

.brand__logoimg{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:12px;
  display:block;
}
.brand__name{
  font-weight:900;
  letter-spacing:.8px;
  font-size:14px;
}
.brand__tag{
  margin-top:2px;
  color:var(--muted);
  font-size:12px;
}

.menu{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:12px 8px;
}
.menu__divider{
  height:1px;
  background: var(--line);
  margin:6px 2px;
}

/* ✅ tüm butonlar ortalı */
.menu__item{
  border:1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  color: var(--text);
  padding:10px 12px;
  border-radius: 14px;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  cursor:pointer;
  font-weight:800;
  letter-spacing:.4px;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.menu__item:hover{
  transform: translateY(-1px);
  border-color: rgba(24,255,109,.28);
  background: rgba(24,255,109,.06);
  box-shadow: 0 0 0 1px rgba(24,255,109,.08) inset;
}
.menu__item.is-active{
  border-color: rgba(24,255,109,.55);
  background: rgba(24,255,109,.11);
  color: var(--accent);
  box-shadow: 0 0 18px rgba(24,255,109,.12);
}

.sidebar__hint{
  margin: 10px 10px 0;
  padding: 12px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}
.hint__title{
  font-weight:900;
  letter-spacing:.4px;
  font-size:12px;
  color: rgba(255,255,255,.9);
}
.hint__text{
  margin-top:6px;
  font-size:12px;
  color: var(--muted);
  line-height: 1.35;
}

/* Main */
.main{
  min-width:0;
  display:flex;
  flex-direction:column;
  padding-bottom: calc(var(--adStripH) + 18px);
}

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:30;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 14px 16px;
  border-bottom:1px solid var(--line);
  background: rgba(10,18,36,.72);
  backdrop-filter: blur(10px);
}
.topbar__titlewrap{ min-width:0; }
.topbar__title{
  font-weight: 950;
  letter-spacing:.5px;
  font-size: 18px;
}
.topbar__subtitle{
  margin-top:2px;
  font-size: 12px;
  color: var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.topbar__actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.iconbtn{
  width:44px; height:40px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor:pointer;
  display:grid;
  place-items:center;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.iconbtn:hover{
  transform: translateY(-1px);
  border-color: rgba(24,255,109,.25);
  background: rgba(24,255,109,.05);
}
.iconbtn__bars{
  width:18px;
  height:2px;
  background: var(--text);
  position:relative;
  display:block;
  border-radius: 2px;
}
.iconbtn__bars:before,
.iconbtn__bars:after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background: var(--text);
  border-radius: 2px;
}
.iconbtn__bars:before{ top:-6px; }
.iconbtn__bars:after{ top:6px; }

.ghostbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 14px;
  font-weight: 850;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.ghostbtn:hover{
  transform: translateY(-1px);
  border-color: rgba(0,212,255,.25);
  background: rgba(0,212,255,.05);
}

.content{
  padding: 16px;
}

/* Cards */
.card{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  box-shadow: 0 0 0 1px rgba(255,255,255,.02) inset;
  padding: 14px;
  overflow:hidden;
  position:relative;
}
.card.glow:before{
  content:"";
  position:absolute;
  inset:-120px;
  background: radial-gradient(circle at 20% 20%, rgba(24,255,109,.18), transparent 45%),
              radial-gradient(circle at 80% 20%, rgba(0,212,255,.14), transparent 45%);
  filter: blur(10px);
  opacity:.55;
  pointer-events:none;
}
.card__title{
  font-weight: 950;
  letter-spacing:.4px;
  font-size: 12px;
  color: rgba(255,255,255,.92);
}
.muted{ color: var(--muted); font-size:12px; }

/* ===== HOME layout (✅ SABİT GRID) ===== */
.home-grid{
  display:grid;
  gap:14px;
  align-items:start;

  /* solda daha dar, sağda daha geniş (senin ekrana benzer) */
  grid-template-columns: minmax(360px, 460px) minmax(520px, 1fr);

  grid-template-areas:
    "dom  vol"
    "mc   feat"
    "ad   .";
}

.home-dom{ grid-area: dom; }
.home-vol{ grid-area: vol; }
.home-mc{ grid-area: mc; }
.home-feat{ grid-area: feat; }
.home-ad{ grid-area: ad; }

/* ✅ home başlıkları yeşil */
.home-title-green{
  color: rgba(24,255,109,.96);
  text-shadow: 0 0 18px rgba(24,255,109,.20);
}

/* ✅ dominance küçük (eski hal) */
.statSmall{
  width: min(360px, 100%);
  min-height: 175px;
}

  .indicator-card{
  width: min(720px, 100%);
  min-height: 360px;
  display:flex;
  flex-direction:column;
}
    .indicator-row{
    display:flex;
    gap:16px;
    align-items:stretch;
    flex-wrap:wrap;
    margin-bottom:16px;
  }
.indicator-chart{
  margin-top:10px;
  flex:1;
  min-height:260px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  padding:8px;
  position: relative;
}
.indicator-chart canvas{
  width:100%;
  height:100%;
  display:block;
  touch-action: pan-y;
}

.indicator-tooltip{
  position:absolute;
  left:0;
  top:0;
  padding:6px 8px;
  border-radius:10px;
  background: rgba(5,10,20,.85);
  border:1px solid rgba(255,255,255,.2);
  color:#e8f2ff;
  font-size:12px;
  font-weight:600;
  letter-spacing:.2px;
  white-space:nowrap;
  opacity:0;
  transform: translate(-50%, -115%);
  transition: opacity .12s ease;
  pointer-events:none;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
  z-index:2;
}
.indicator-tooltip.is-on{
  opacity:1;
}
.indicator-tooltip::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-6px;
  transform: translateX(-50%);
  width:0;
  height:0;
  border-left:6px solid transparent;
  border-right:6px solid transparent;
  border-top:6px solid rgba(5,10,20,.85);
}

.indicator-card--gauge{
  width: min(360px, 100%);
  padding-bottom: 5px;
  min-height: 0;
}
.indicator-gauge{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flow-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:6px;
}
.flow-title{
  font-weight:900;
  color: var(--accent);
  letter-spacing:.08em;
}
.flow-meta{
  font-size:11px;
  text-transform: uppercase;
  letter-spacing:.16em;
  color: var(--muted);
}
.flow-labels--below{
  margin-top:8px;
}

.flow-labels{
  display:flex;
  justify-content:space-between;
  font-weight:800;
  font-size:12px;
  letter-spacing:.3px;
}
.flow-label{
  display:flex;
  align-items:center;
  gap:6px;
}
.flow-label--crypto{ color: var(--accent); }
.flow-label--usdt{ color: var(--accent2); }
.flow-bar{
  margin-top:6px;
  height:16px;
  border-radius:999px;
  overflow:hidden;
  display:flex;
  align-items:center;
  position:relative;
  --crypto-pct: 50;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 12px rgba(0,0,0,.35);
}
.flow-bar__fill{
  height:100%;
  position:relative;
  z-index:1;
  transition: width .4s ease;
}
.flow-bar__fill--crypto{
  background: linear-gradient(90deg, rgba(24,255,109,.9), rgba(24,255,109,.35));
}
.flow-bar__fill--usdt{
  background: linear-gradient(90deg, rgba(0,212,255,.35), rgba(0,212,255,.9));
}
.flow-bar__text{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 10px;
  color:#fff;
  font-weight:700;
  font-size:12px;
  letter-spacing:.2px;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
  z-index:2;
  pointer-events:none;
}
.flow-bar::after{
  content:"";
  position:absolute;
  top:-8px;
  bottom:-8px;
  width:12px;
  left: calc(var(--crypto-pct, 50) * 1% - 6px);
  background: radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(24,255,109,.55) 45%, rgba(0,0,0,0) 70%);
  filter: blur(1px);
  opacity:.8;
  z-index:3;
  pointer-events:none;
  animation: flow-edge 2.4s ease-in-out infinite;
}
@keyframes flow-edge{
  0%,100%{ transform: translateX(-4px); opacity:.5; }
  50%{ transform: translateX(4px); opacity:1; }
}

.indicator-card--rank{
  width: min(270px, 100%);
  min-height: 250px;
}
.rank-table{
  margin-top: 8px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.rank-rows{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.rank-row{
  display:grid;
  grid-template-columns: 32px 1fr auto;
  gap:8px;
  align-items:center;
  padding:6px 8px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.rank-head{
  text-transform: uppercase;
  font-size:10px;
  letter-spacing:.12em;
  color: var(--muted);
  background: rgba(255,255,255,.06);
}
.rank-num{
  text-align:center;
  font-weight:900;
  color: var(--accent);
}
.rank-coin{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:800;
}
.rank-coin img{
  width:18px;
  height:18px;
  object-fit:contain;
}
.fiat-logos{
  display:inline-flex;
  align-items:center;
  gap:3px;
}
.fiat-logos img{
  width:18px;
  height:18px;
  object-fit:contain;
}
.rank-val{
  text-align:right;
  font-weight:900;
  color: var(--accent);
}
.rank-empty{
  text-align:center;
  color: var(--muted);
  font-size:12px;
}
.gauge-caption{
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.gauge-sub{
  font-size: 12px;
  color: var(--text);
}



/* ✅ volume geniş (güzel kalan) */
.statWide{
  width: min(540px, 100%);
  min-height: 175px;
}

/* ✅ market cap / featured orta genişlik */
.statMid{
  width: min(540px, 100%);
}

.statrow{
  margin-top: 12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.kv{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}
.kv__k{
  font-weight: 900;
  letter-spacing:.3px;
  font-size:12px;
  color: rgba(255,255,255,.92);
}
.kv__v{ font-weight: 950; letter-spacing:.2px; }

.home-updated{
  margin-top:auto;
  padding-top:10px;
}

/* ✅ 2x2 grid */
.statgrid2{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
}
.mini{
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}

/* ✅ TOP + value yan yana */
.mini__row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}
.mini__k{
  font-size:11px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  color: rgba(255,255,255,.82);
  white-space:nowrap;
}
.mini__v{
  font-weight:950;
  font-size:16px;
  letter-spacing:.2px;
  white-space:nowrap;
}

/* Featured coins list */
.list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top: 10px;
}
.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.row:hover{
  transform: translateY(-1px);
  border-color: rgba(24,255,109,.25);
  background: rgba(24,255,109,.05);
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight: 950;
}
.pill{
  font-size: 11px;
  font-weight: 950;
  padding: 4px 8px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.92);
}
.pill--from{
  color: #ff5b5b;
  border-color: rgba(255,91,91,.35);
  background: rgba(255,91,91,.12);
}
.pill--to{
  color: #18ff6d;
  border-color: rgba(24,255,109,.35);
  background: rgba(24,255,109,.12);
}
.delta{
  font-size: 11px;
  font-weight: 900;
  margin-left:8px;
  opacity:.9;
}
.delta.up{ color: var(--accent); }
.delta.down{ color: var(--danger); }

/* 300x300 ad */
.ad300{
  min-height: 300px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:10px;
  border-style:dashed;
}
.adlabel{
  font-size: 11px;
  color: var(--muted);
  font-weight: 850;
  letter-spacing:.3px;
}
.adbox{
  width: 300px;
  height: 300px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  display:grid;
  place-items:center;
  color: rgba(255,255,255,.88);
  font-weight: 950;
  letter-spacing:.5px;
}

/* Table */
.tablewrap{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  overflow:hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.02) inset;
}

.tabletop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.12);
}
.tabletop__left{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.tabletop__title{
  font-weight: 950;
  letter-spacing:.4px;
}
.tabletop__meta{
  color: var(--muted);
  font-size: 12px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  font-size: 12px;
  min-height: 40px;
}
.search{
  display:flex;
  align-items:center;
  gap:10px;
}
.search input{
  width: 220px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  color: var(--text);
  outline:none;
  height:40px;
}
.search input::placeholder{ color: rgba(151,167,199,.7); }

table{
  width:100%;
  border-collapse: collapse;
  font-size: 13px;
}
thead th{
  text-align:left;
  padding: 12px 14px;
  color: rgba(255,255,255,.86);
  font-weight: 950;
  letter-spacing:.3px;
  background: rgba(255,255,255,.02);
}
tbody td{
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.90);
  vertical-align: top;
}
tbody tr{ transition: background .12s ease; }
tbody tr:hover{ background: rgba(24,255,109,.06); }

.coincell{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 950;
}
.coinicon{
  width: 26px;
  height: 26px;
  border-radius: 10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  display:grid;
  place-items:center;
  font-size: 11px;
  font-weight: 950;
  color: rgba(255,255,255,.92);
}
.valuebig{ font-weight: 950; }
.valueline{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}
.valueusd{
  color: var(--accent);
  font-weight: 950;
}
.viewbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 12px;
  border-radius:12px;
  border:1px solid rgba(24,255,109,.45);
  background: rgba(24,255,109,.12);
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
  letter-spacing:.6px;
  text-decoration:none;
  white-space:nowrap;
}
.viewbtn:hover{
  background: rgba(24,255,109,.18);
  border-color: rgba(24,255,109,.7);
}
.viewbtn.is-disabled{
  opacity:.45;
  pointer-events:none;
}
.valuesub{ color: var(--muted); font-size: 12px; margin-top:2px; }

.addr a{
  color: rgba(234,241,255,.95);
  text-decoration: none;
  border-bottom: 1px dashed rgba(234,241,255,.25);
}
.addr a:hover{
  border-bottom-color: rgba(24,255,109,.55);
  color: var(--accent);
}
.kwstamp{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight: 950;
  letter-spacing:.3px;
  color: rgba(24,255,109,.95);
}
.kwstamp .dot{
  width:8px;
  height:8px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(24,255,109,.35);
  animation: livePulse 1.4s ease-in-out infinite;
}

/* Ad strip above footer */
.ad-strip{
  position: fixed;
  left: 290px;
  right: 0;
  bottom: 0;
  height: var(--adStripH);
  border-top: 1px solid var(--line);
  background: rgba(10,18,36,.70);
  backdrop-filter: blur(10px);
  display:flex;
  align-items:center;
  gap:12px;
  padding: 10px 14px;
  z-index:25;
}
.ad-strip__label{
  font-size: 11px;
  font-weight: 950;
  letter-spacing:.4px;
  color: var(--muted);
  white-space:nowrap;
}
.ad-strip__slot{
  flex:1;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ad-strip__placeholder{
  width: min(728px, 100%);
  height: 66px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
  display:grid;
  place-items:center;
  color: rgba(255,255,255,.88);
  font-weight: 950;
  letter-spacing:.4px;
}

/* Footer fixed */
.footer{
  position: fixed;
  left: 290px;
  right: 0;
  bottom: 0;
  height: var(--footerH);
  border-top: 1px solid var(--line);
  background: rgba(10,18,36,.78);
  backdrop-filter: blur(10px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 14px;
  z-index:26;
}

/* Responsive: sidebar becomes overlay */
@media (max-width: 980px){
  .app{ grid-template-columns: 1fr; }
  .sidebar{
    position:fixed;
    left:0; top:0;
    width: 290px;
    transform: translateX(-110%);
    transition: transform .18s ease;
    box-shadow: var(--shadow);
  }
  .sidebar.is-open{ transform: translateX(0); }
  .footer, .ad-strip{ left: 0; }

  /* ✅ HOME: mobilde kontrollü sıra */
  .home-grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "dom"
      "vol"
      "mc"
      "feat"
      "ad";
  }
}

/* Smaller tables on mobile */
@media (max-width: 720px){
  .search input{ width: 160px; }
  thead{ display:none; }
  table, tbody, tr, td{ display:block; width:100%; }
  tbody td{
    border-top: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 10px 14px;
  }
  tbody tr{ padding: 10px 0; }
  tbody tr:hover{ background: transparent; }
  tbody tr:not(.ad-row){
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    margin: 8px 0 12px;
    background: rgba(255,255,255,.02);
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
  }

  .topbar__actions .ghostbtn{
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 12px;
  }
  .topbar__actions .livebtn .live-dot{
    width: 6px;
    height: 6px;
  }

  .premium-total{
    padding: 10px 12px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .premium-total__label{
    font-size: 8px;
    letter-spacing: .08em;
    white-space: normal;
    line-height: 1.2;
  }
  .premium-total__value{
    font-size: 12px;
    line-height: 1.2;
  }

  .indicator-card{
    min-height: 0;
  }
    .indicator-row{
      flex-direction: column;
    }
  .indicator-chart{
    min-height: 200px;
    padding: 6px;
  }

  .indicator-card--gauge{
  width: min(360px, 100%);
  padding-bottom: 5px;
  min-height: 0;
}
  .indicator-gauge{
    gap: 8px;
  }
  .gauge-caption{
    font-size: 10px;
  }
  .gauge-sub{
    font-size: 11px;
  }

  .flow-bar{
  margin-top:6px;
  height:16px;
  border-radius:999px;
  overflow:hidden;
  display:flex;
  align-items:center;
  position:relative;
  --crypto-pct: 50;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 12px rgba(0,0,0,.35);
}

  .indicator-card--rank{
    width: 100%;
  }
}

/* loading */
.skel{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  padding: 14px;
}
.skelbar{
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  overflow:hidden;
  position:relative;
}
.skelbar:after{
  content:"";
  position:absolute;
  inset:0;
  transform: translateX(-55%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
  animation: shimmer 1.1s infinite;
}
@keyframes shimmer{
  0%{ transform: translateX(-55%); }
  100%{ transform: translateX(55%); }
}

/* =========================
   ✅ USDT: badge between title and rows/search
   ========================= */
.tabletop--triple{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
}
.tabletop--triple .tabletop__mid{
  display:flex;
  justify-content:center;
  align-items:center;
}

.premium-total{
  display:inline-flex;
  align-items:center;
  gap:14px;
  padding:12px 18px;
  border-radius:16px;
  border:1px solid rgba(24,255,109,.35);
  background:
    radial-gradient(140% 140% at 0% 0%, rgba(24,255,109,.18), rgba(0,0,0,0) 70%),
    radial-gradient(120% 120% at 100% 0%, rgba(0,212,255,.12), rgba(0,0,0,0) 70%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow: 0 16px 34px rgba(0,0,0,.45), 0 0 18px rgba(24,255,109,.18);
  backdrop-filter: blur(10px);
}
.premium-total__label{
  font-size:11px;
  letter-spacing:.10em;
  text-transform:uppercase;
  color: rgba(234,241,255,.92);
  white-space:nowrap;
  line-height:1;
}
.premium-total__value{
  font-size:20px;
  font-weight:950;
  color: rgba(24,255,109,.96);
  text-shadow: 0 0 18px rgba(24,255,109,.45);
  white-space:nowrap;
  line-height:1;
}
@media (max-width: 900px){
  .tabletop--triple{
    grid-template-columns: 1fr;
    gap:10px;
    align-items:start;
  }
  .tabletop--triple .tabletop__mid{
    justify-content:flex-start;
  }
}

/* =========================
   ✅ USDT logos
   ========================= */
.coinlogo{ width:18px; height:18px; object-fit:contain; }
.menulogo{ width:18px; height:18px; object-fit:contain; }
.menulogo + .menulogo{ margin-left:3px; }
.titlelogo{
  width:20px;
  height:20px;
  object-fit:contain;
  margin-right:8px;
  transform: translateY(3px);
}

/* =========================
   ✅ NEW TRANSFER EFFECT
   ========================= */
tr.row-new{
  animation: newRowGlow 1.4s ease-out;
}
@keyframes newRowGlow{
  0%{
    background: rgba(24,255,109,.20);
    box-shadow: inset 0 0 0 1px rgba(24,255,109,.22);
  }
  100%{
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0);
  }
}

/* FEATURED COINS kartını biraz daha dar yap */
.statFeatured{
  width: min(360px, 100%);
}


/* Sidebar footer */
.sidebar__foot{
  margin: 12px 10px 0;
  padding: 12px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}
.sidebar__foot .footer__brand{
  font-weight:900;
  letter-spacing:.4px;
  font-size:12px;
  color: var(--accent);
}
.sidebar__foot .footer__meta{
  margin-top:6px;
  font-size:11px;
  color: var(--muted);
  line-height: 1.35;
}
.sidebar__foot .footer__links{
  margin-top:8px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  font-size:11px;
  color: var(--muted);
}
.sidebar__foot .footer__links a{
  color: #6ea8ff;
  text-decoration:none;
  border-bottom:none;
}
.sidebar__foot .footer__links a:hover{
  color: #6ea8ff;
  border-color: transparent;
}
.sidebar__foot .footer__links span{
  opacity:.6;
}

/* Menu icon: desktop eye, mobile bars */
.iconbtn__eye{
  width:24px;
  height:24px;
  display:block;
}
.iconbtn__bars{
  display:none;
}
@media (max-width: 980px){
  .iconbtn__eye{ display:none !important; }
  .iconbtn__bars{ display:block !important; }
}

/* Top 5 transfer cards */
.top5-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, 420px);
  gap:18px;
  margin: 4px 0 20px;
  justify-content:center;
}
.top5-card{
  width:420px;
  height:320px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(24,255,109,.35);
  background: linear-gradient(180deg, rgba(24,255,109,.06), rgba(0,0,0,.22));
  display:flex;
  flex-direction:column;
  gap:12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 18px rgba(24,255,109,.18);
  position:relative;
  overflow:hidden;
}
.top5-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(120px 120px at 20% 0%, rgba(24,255,109,.18), transparent 60%);
  pointer-events:none;
}
.top5-header{
  display:flex;
  align-items:center;
  gap:12px;
  justify-content:space-between;
}
.top5-headcoin{
  display:flex;
  align-items:center;
  gap:8px;
  color: var(--accent);
  font-weight:900;
  letter-spacing:.4px;
}
.top5-headtext{
  display:flex;
  flex-direction:column;
  gap:2px;
  text-align:right;
}
.top5-headlabel{
  font-size:10px;
  letter-spacing:.5px;
  color: var(--muted);
  font-weight:800;
  white-space:nowrap;
}
.top5-headvalue{
  font-size:14px;
  font-weight:900;
  color: var(--text);
  white-space:nowrap;
}
.top5-logo{
  width:24px;
  height:24px;
  object-fit:contain;
}
.top5-title{
  font-size:13px;
}
.top5-list{
  display:flex;
  flex-direction:column;
  gap:8px;
  overflow:auto;
  padding-right:4px;
}
.top5-row{
  display:grid;
  grid-template-columns: 22px 1fr;
  gap:8px;
  padding:8px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.24);
}
.top5-rank{
  width:22px;
  height:22px;
  border-radius:8px;
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:11px;
  color: var(--accent);
  background: rgba(24,255,109,.16);
  border:1px solid rgba(24,255,109,.25);
}
.top5-rowbody{
  min-width:0;
}
.top5-amount{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}
.top5-amttext{
  font-weight:800;
  font-size:11px;
  min-width:0;
  color: var(--text);
}
.top5-usd{
  color: var(--accent);
  font-weight:900;
  margin-left:6px;
  font-size:11px;
}
.top5-time{
  padding:3px 8px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight:800;
  font-size:8px;
  letter-spacing:.4px;
}
.top5-view{
  padding:4px 10px;
  border-radius:10px;
  border:1px solid rgba(24,255,109,.45);
  background: rgba(24,255,109,.12);
  color: var(--accent);
  font-weight:900;
  font-size:9px;
  letter-spacing:.6px;
  text-decoration:none;
  box-shadow: 0 0 10px rgba(24,255,109,.2);
}
.top5-view:hover{
  background: rgba(24,255,109,.18);
  border-color: rgba(24,255,109,.7);
}
.top5-view.is-disabled{
  opacity:.45;
  pointer-events:none;
}
.top5-empty{
  padding:8px;
  border-radius:12px;
  border:1px dashed rgba(255,255,255,.18);
  color: var(--muted);
  font-size:11px;
  text-align:center;
}
.top5-chain{
  margin-left:6px;
  padding:2px 6px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  font-size:9px;
  color: var(--muted);
}
@media (max-width: 460px){
  .top5-grid{ grid-template-columns: 1fr; }
  .top5-card{ width:100%; height:320px; }
  .top5-headlabel{ font-size:10px; }
  .top5-headvalue{ font-size:12px; }
  .top5-title{ font-size:12px; }
  .top5-amttext{ font-size:10px; }
  .top5-usd{ font-size:10px; }
  .top5-time{ font-size:8px; padding:3px 8px; }
  .top5-view{ font-size:8px; padding:3px 8px; }
}

@keyframes livePulse{
  0%{ transform:scale(1); opacity:1; }
  70%{ transform:scale(1.6); opacity:.4; }
  100%{ transform:scale(1); opacity:1; }
}
.live-dot{
  width:8px;
  height:8px;
  border-radius:99px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(24,255,109,.35);
  animation: livePulse 1.4s ease-in-out infinite;
}

.livebtn{
  color: rgba(24,255,109,.95);
}
.livebtn .live-dot{
  width:8px;
  height:8px;
  border-radius:99px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(24,255,109,.35);
}










