/* ═══════════════════════════════════════════════════════════════════════
   YOBRO BILESEN KATMANI (28 Kas 2026, Cihan: "Sitenin UI/UX'ine gir, kokten bir tasarim degisikligi; hem mobilde
   hem webde bambaska bir uygulama gibi gorunsun ... ama BOZMA").

   Renk ve yazi tipi katmani :root'ta (styles.css). Bu dosya onun ustune BICIMI degistirir: YoBro'nin keskin,
   sikisik, ince cizgili "terminal" gorunusu yerine sicak, yuvarlak, nefes alan bir trading uygulamasi.
   - Kartlar ve paneller 24 px kose, yumusak 1 px kenar ve ince ust isik (isik ZEMIN degradesiyle cizilir,
     inset golgeyle degil: border'li kutuda inset golge cift cizgi yapar, npm run check:cift-cizgi).
   - Dugmeler, sekmeler, cipler ve arama kutusu hap (999px). Secili sekme alt cizgi degil, hap.
   - Ust cubuk yari saydam cam; ust menu tek bir hap rayi, etkin oge turuncu-yumusak hap icinde turuncu yazi.
     (28 Kas aksam, yeni iskelet asama 1: ust menu kalkti, bolumler soldaki ikon cubugunda; dosyanin sonundaki bolum.)
   - Basliklar ve buyuk rakamlar baslik yazi tipiyle (var(--display)); yazi tipinin ADI yalniz :root'ta durur, bu
     dosyada gomulmez (28 Kas: yazi tipi yeniden secilecek). Harf araligi olculu, yazi tipi degisince tasmasin.
   - Turuncu yalniz ana eylemde ve etkin durumda.

   Kabuklarda app.css / docs.css / giris stilinden SONRA yuklenir (web/index.html, web/app/index.html,
   web/docs/index.html, web/404.html; site sayfalari web/index.html basini kopyalar: app/scripts/site-yaz.mjs).
   Ekranlarin yapisi, akislari ve metinleri degismez; geri almak icin bu dosyanin baglantisini kaldirmak yeter.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --yb-line: rgba(255, 255, 255, 0.06);
  --yb-line-2: rgba(255, 255, 255, 0.1);
  --yb-fill: rgba(255, 255, 255, 0.04);
  --yb-fill-2: rgba(255, 255, 255, 0.07);
  --yb-fill-3: rgba(255, 255, 255, 0.1);
  --yb-glass: rgba(16, 13, 20, 0.72);
  --yb-card: linear-gradient(180deg, rgba(255, 255, 255, 0.032) 0, rgba(255, 255, 255, 0) 120px), var(--surface);
  --yb-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.85);
  --yb-r: 14px;
  --yb-r-sm: 10px;
  --yb-pill: 10px;
}

/* ---------- zemin: sicak gece, iki yumusak isik ---------- */
body.ap-page, body.st-page {
  background:
    radial-gradient(1100px 620px at -6% -12%, rgba(255, 106, 0, 0.075), transparent 62%),
    radial-gradient(900px 560px at 108% -8%, rgba(150, 96, 255, 0.055), transparent 60%),
    var(--background);
  background-attachment: fixed;
}
::selection { background: rgba(255, 106, 0, 0.32); color: var(--foreground); }

/* ---------- ust cubuk: cam ---------- */
.ap-top {
  background: var(--yb-glass);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--yb-line);
}
/* Ust menu tek hap rayi; etkin bolum turuncu-yumusak hap icinde turuncu yazi. */
.ap-desknav.only-desk {
  gap: 2px; padding: 4px;
  border-radius: var(--yb-pill);
  background: var(--yb-fill);
  box-shadow: inset 0 0 0 1px var(--yb-line);
}
.ap-deskitem {
  padding: 6px 14px; border-radius: var(--yb-pill);
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em;
}
.ap-deskitem:hover { background: var(--yb-fill-2); color: var(--foreground); }
.ap-deskitem.on, .ap-deskitem.on:hover {
  background: var(--accent-soft); color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.22);
}
.ap-desklogo.only-desk { margin-right: 14px; }
/* arama: hap, cam dolgu */
.ap-topsearch input {
  border-radius: var(--yb-pill);
  border-color: var(--yb-line);
  background: var(--yb-fill);
}
.ap-topsearch input:hover { border-color: var(--yb-line-2); background: var(--yb-fill-2); }
.ap-topsearch input:focus { border-color: rgba(255, 106, 0, 0.55); background: var(--yb-fill-2); box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.14); }
.ap-topsearch kbd { border-radius: var(--yb-pill); border-color: var(--yb-line); background: var(--yb-fill-2); }

/* ---------- dugmeler: hap ---------- */
.btn, .btn.sm { border-radius: var(--yb-pill); font-weight: 700; letter-spacing: -0.005em; }
.btn:not(.ghost) { box-shadow: 0 8px 22px -10px rgba(255, 106, 0, 0.55); }
.btn.ghost { background: var(--yb-fill); border-color: var(--yb-line-2); }
.btn.ghost:hover { background: var(--yb-fill-2); border-color: rgba(255, 255, 255, 0.16); }
.btn:focus-visible, .tm-cta:focus-visible, .ap-sidebtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tm-cta { border-radius: var(--yb-pill); letter-spacing: -0.005em; }
.tm-cta.buy { box-shadow: 0 10px 26px -12px rgba(255, 106, 0, 0.7); }
.tm-cta.sell { box-shadow: 0 10px 26px -12px rgba(255, 77, 109, 0.6); }
.ap-sidebtn { border-radius: var(--yb-pill); }
.ap-sidebtn:not(.on) { box-shadow: inset 0 0 0 1px var(--yb-line-2); }
.ap-sidebtn:not(.on):hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); background: var(--yb-fill); }
.ap-unit { border-radius: var(--yb-pill); }

/* ---------- kartlar ve paneller ---------- */
:is(.ap-panel, .td-list, .tm-strip, .tm-chartcell, .tm-rowcell, .tm-hero, .ag2-stage, .ag2-chat, .fd-card,
    .rk-step, .ab-card, .td-pick, .mt.mt-kutu) {
  border-radius: var(--yb-r);
  border-color: var(--yb-line);
  background: var(--yb-card);
}
:is(.ap-panel, .td-list, .tm-strip, .tm-chartcell, .tm-rowcell, .tm-hero, .ag2-stage, .ag2-chat, .fd-card,
    .rk-step, .ab-card, .mt.mt-kutu):not(.rk-board) { box-shadow: var(--yb-shadow); }
/* kart icindeki kart (ic ice panel) golge tasimaz ve govdeyle ayni dolgudadir */
.mt-notes .ap-panel { background: none; box-shadow: none; }
.ap-panelhead { border-bottom-color: var(--yb-line); }
.ap-gate { border-radius: 12px; border-color: var(--yb-line-2); }
.ap-empty { border-radius: 12px; border-color: var(--yb-line-2); }
/* liderlik basamaklari: 1. turuncu-yumusak, ustte hafif sicak isik */
.rk-step.p1 { background: radial-gradient(120% 80% at 50% 0%, rgba(255, 106, 0, 0.16), transparent 62%), var(--surface); border-color: rgba(255, 106, 0, 0.32); }

/* ---------- sekmeler: alt cizgi yerine hap ---------- */
/* Sol liste (Crypto / Trending / ...): yerlesim ayni kalir, secili sekmenin arkasina hap cizilir (::after). */
.td-tabs { border-bottom-color: var(--yb-line); }
.td-tabs .td-tab { isolation: isolate; transition: color 0.2s ease; }
.td-tabs .td-tab.on::after, .td-tabs .td-kaylist .td-tab.on::after {
  top: 11px; bottom: 11px; left: -7px; right: -7px; height: auto; z-index: -1;
  border-radius: var(--yb-pill); background: var(--yb-fill-3); box-shadow: none;
}
.td-tabs.td-kay { gap: 6px; }
.td-kaylist { padding-left: 7px; }
/* Traders / Positions / Friends */
.rk-view { border-bottom-color: var(--yb-line); }
.rk-view button { isolation: isolate; }
.rk-view button.on::after, .rk-ust .rk-view3 button.on::after {
  top: 8px; bottom: 8px; left: 8%; right: 8%; height: auto; z-index: -1;
  border-radius: var(--yb-pill); background: var(--yb-fill-3); box-shadow: none;
}
.rk-ust, .rk-ust .rk-view3, .aak-head { border-bottom-color: var(--yb-line); }
/* Feed: Global / Social / Following */
.fd-head {
  background: rgba(13, 11, 16, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--yb-line);
}
.fd-tabs { gap: 6px; }
.fd-tabnokta { left: auto; right: 3px; top: 10px; }
.fd-tabs button { isolation: isolate; padding: 0 14px; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
.fd-tabs button.on::after {
  top: 9px; bottom: 9px; left: 0; right: 0; height: auto; z-index: -1;
  border-radius: var(--yb-pill); background: var(--yb-fill-3);
}
.fd-filt { background: var(--yb-fill); box-shadow: inset 0 0 0 1px var(--yb-line); }
.fd-filt button.on { background: var(--yb-fill-3); }
/* Post / Positions / Open orders ... ve token sayfasinin Post / Holders / Trades sekmeleri */
.pu-bartab, .pu-bartab:focus, .pu-bartab:focus-visible {
  border-bottom: 0; border-radius: var(--yb-pill); padding: 6px 14px;
  transition: color 0.2s ease, background 0.2s ease;
}
.pu-bartab:hover { color: var(--foreground); background: var(--yb-fill); }
.pu-bartab.on { color: var(--foreground); background: var(--yb-fill-3); }
html.klavye-odak .pu-bartab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ac-acctbar { border-bottom-color: var(--yb-line); }
.mt-tabs { border-bottom-color: var(--yb-line); gap: 6px; padding: 8px; }
.mt-tabs button {
  border-bottom: 0; margin-bottom: 0; padding: 9px 6px; border-radius: var(--yb-pill);
  transition: color 0.2s ease, background 0.2s ease;
}
.mt-tabs button:hover { color: var(--foreground); background: var(--yb-fill); }
.mt-tabs button.on { background: var(--yb-fill-3); }
/* token sayfasi kutusu (Post / Holders / Trades): ayni hap, sekmeler dogal genislikte */
.mt-kutu .mt-tabs { align-items: center; gap: 6px; padding: 10px 14px; }
.mt-kutu .mt-tabs button[role="tab"] { padding: 9px 16px; border-radius: var(--yb-pill); font-weight: 600; }
.mt-kutu .mt-tabs button[role="tab"].on { background: var(--yb-fill-3); }
/* kucuk anahtarlar (Open / Closed, defter sekmeleri, sure secici) */
.pfx-toggle, .tm-seg { border-radius: var(--yb-pill); background: var(--yb-fill); box-shadow: inset 0 0 0 1px var(--yb-line); }
.pfx-toggle button, .tm-seg button { border-radius: var(--yb-pill); }
.pfx-toggle button.on { background: var(--yb-fill-3); box-shadow: none; }
.tm-booktabs { border-bottom-color: var(--yb-line); }
.tm-booktab { border-radius: var(--yb-pill); padding: 5px 11px; }
.tm-booktab.on { background: var(--yb-fill-3); }

/* Perps istatistik seridi 1280 px'te sigmiyor, son hucre (Max leverage) yarim kesik kaliyordu (yobro oncesinde de);
   1200 px'teki iki satirli dizilis 1380 px'e kadar genisletildi. 28 Kas aksam (yeni iskelet): soldaki ray (92 px)
   icerigi daralttigi icin esik 1480 px (1440'ta da Max leverage kesiliyordu). */
@media (max-width: 1480px) {
  .perp-stat-strip { flex-wrap: wrap; gap: 12px 18px; overflow: visible; }
  .perp-stat-strip .tm-cell { padding-left: 14px; }
}

/* ---------- listeler: ayirici cizgisiz, yuvarlak satirlar ---------- */
.td-rows { padding: 4px 6px 8px; }
.td-rows > :is(.tm-card, .pu-mrow), .rk-row {
  border-top: 0; border-bottom: 0; border-radius: var(--yb-r-sm);
  transition: background 0.15s ease;
}
.td-list .pu-mrow:hover, .tm-card:hover, .rk-row:hover { background: var(--yb-fill); }
.tm-card.on, .td-list .pu-mrow.on, .rk-row.on { background: var(--yb-fill-2); box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.32); }
.rk-brow { border-top-color: rgba(255, 255, 255, 0.04); }
.rk-brow:hover { background: var(--yb-fill); }
.fd-item { border-bottom-color: rgba(255, 255, 255, 0.045); border-radius: 12px; }
.fd-item:hover { background: var(--yb-fill); }

/* ---------- tipografi: basliklar ve buyuk rakamlar ---------- */
:is(.ab-title, .fd-cardtitle, .ap-panelhead h2, .ag2-hero-copy h1, .aak-head h2) {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em;
}
.ag2-hero-copy h1 { font-size: 26px; letter-spacing: -0.02em; overflow-wrap: anywhere; }
:is(.tm-big, .tm-metricvalue, .rk-podbal, .ap-amountval, .tm-bigval) {
  /* 28 Kas: buyuk rakamlar rakam yazi tipiyle (--mono, esit genislikli); baslik yazi tipinde tabular yok */
  font-family: var(--mono); letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.tm-identname { font-family: var(--display); letter-spacing: -0.015em; }
:is(.hm-hero-copy h1, .hm-head h2, .hm-final-copy h2, .dx-cover-copy h1) { font-family: var(--display); letter-spacing: -0.025em; }
/* ana sayfa kahraman basligi: tabandaki -0.034em baslik yazi tipiyle harfleri birbirine degdiriyordu */
.hm-hero h1, .hm-home .hm-hero h1 { letter-spacing: -0.02em; }
:is(.hm-market-top h3, .dx-section h2, .dx-section h3, .dx-detail h3) { font-family: var(--display); letter-spacing: -0.025em; }

/* ---------- etiketler ve cipler ---------- */
.tm-badge, .tm-levchip, .tm-chip, .ab-link, .ab-searchx, .rk-sharebtn, .fd-more, .ab-more { border-radius: var(--yb-pill); }
.ab-chip { border-radius: var(--yb-r-sm); border-color: var(--yb-line); }
.ab-chip.on { border-color: var(--yb-line-2); background: var(--yb-fill-2); }
.fd-tag, .pst-ppkclosed, .pst-ppkside, .pst-ppkpct, .ekp-tag { border-radius: var(--yb-pill); }
/* Feed'deki satis etiketi eski turuncu-kirmizi tonda kalmisti; yobro'da kayip gul kirmizisi. */
.fd-tag.sat { background: var(--danger-soft); color: var(--danger); }
.pst-ppk { border-radius: 12px; }
.tlm-ipucu { border-radius: 10px; color: #1a0b00; box-shadow: 0 12px 30px -8px rgba(255, 106, 0, 0.45), 0 4px 14px rgba(0, 0, 0, 0.45); }
.tlm-ipucu-yeni { background: #1a0b00; border-radius: var(--yb-pill); }

/* ---------- agent dugmesi ve selam balonu ---------- */
.agent-fab { border-radius: 10px; box-shadow: 0 10px 28px -6px rgba(255, 106, 0, 0.55), 0 0 0 3px var(--background); }
/* Selam balonu: lime cagindan kalan zeytin zemin (#171a13) ve lime isik turuncu dusuk saydamlikla gece zeminde
   kahverengi gorunuyordu. Yobro dili: sicak koyu yuzey, ince turuncu kenar, ustte yumusak turuncu isik. */
.agent-greeting {
  color: var(--foreground);
  border-color: rgba(255, 106, 0, 0.3);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 106, 0, 0.14), transparent 58%),
    linear-gradient(180deg, #221b26 0%, #18141c 100%);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 40px -10px rgba(255, 106, 0, 0.22);
  border-radius: 14px 14px 8px 14px;
}
.agent-greeting::before, .agent-greeting::after { background: #1b161f; border-color: rgba(255, 106, 0, 0.3); }
.agent-greeting-message { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }
.agent-greeting-line + .agent-greeting-line { color: #ffb27a; }
.agent-greeting-dots i { background: #ffb27a; }
.agent-greeting-dismiss { color: var(--muted-2); }
.agent-greeting ~ .agent-fab .ring { border-color: rgba(255, 106, 0, 0.6); }

/* ---------- Docs ---------- */
.dx-cover { background: radial-gradient(70% 120% at 80% 0%, rgba(255, 106, 0, 0.07), transparent 60%), #0a080d; border-bottom-color: var(--yb-line); }
.dx-cover-svg { border-radius: 14px; border-color: var(--yb-line-2); }

/* ---------- alt bilgi ---------- */
.ap-foot { border-top-color: var(--yb-line); }

/* ═══════════════════════════════════════════════════════════════════════
   YENI ISKELET, ASAMA 1 (28 Kas 2026; Cihan: "hala cok benziyor, hatta birebir aynisi ... koklu degisiklikler", taslagi
   onayladi). Masaustu kabugu (Shell.tsx, kokte .ap.yb-iskelet):
   - Ust yatay menu kalkti. Solda dar ikon cubugu (--yb-ray, 92 px): tepede yobro isareti, ikon + kucuk etiketli bolumler
     (etkin olan turuncu-yumusak kutu), dipte surekli duran buyuk turuncu Ask Bro (agent penceresi) ve ayarlar.
     Daraltilinca (ayarlar > Collapse sidebar) ve 1100 px'ten dar pencerede 72 px, yalniz ikon.
     23 Eyl'de rayi gizleyen app.css kurali (.ap-rail display none, .ap-col margin 0) burada asilir.
   - Ust cubuk sayfanin icinde, 64 px (islem masalarinin yuksekligi buna bagli: app.css calc(100dvh - 64px)): solda sayfa
     basligi (panoda selam + alt satir), ortada-sagda genis hap arama, sagda Deposit ve bakiyeli cuzdan cipi.
   - Agent penceresi (AgentMini / AgentChat) sag alttaki yuzen dugme yerine rayin yaninda, sol altta acilir.
   ═══════════════════════════════════════════════════════════════════════ */
/* 28 Kas 2026 aksam (Cihan): SOL IKON CUBUGU KALKTI, MENU YENIDEN UST BASLIKTA (Shell.tsx .yb-ustmenu). Ustteki notun ray
   kismi gecmiste kaldi; ust cubuk ve Ask Me penceresi asagida. Sutunun sol boslugu sifir (app.css'in 23 Eyl kurali). */
.ap.yb-iskelet .ap-col { margin-left: 0 !important; }

/* ust cubuk: isaret + menu | ortada arama | Deposit + cip. Iki yan sutun esit, arama tam ortada. */
.ap.yb-iskelet .ap-top.yb-top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 460px) minmax(0, 1fr); align-items: center;
  gap: 20px; padding: 0 20px;
}
/* 29 Kas (Cihan: "sayfalar arasinda gecerken headerdaki seyler saga sola hareket ediyor"): ust cubugun payi her sayfada ayni. */
.ap.yb-iskelet .ap-topsol.yb-ustsol { display: flex; align-items: center; gap: 14px; min-width: 0; }
.yb-ustmark { display: block; flex: none; width: 32px; height: 32px; border-radius: 8px; transition: transform 0.2s ease; }
.yb-ustmark:hover { transform: rotate(-6deg) scale(1.04); }
.yb-ustmark img { display: block; width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 8px 20px -10px rgba(255, 106, 0, 0.8); }
/* 29 Kas (Cihan): menunun dis cercevesi ve secilinin ic cercevesi kalkti */
.yb-ustnav { display: flex; align-items: center; gap: 2px; min-width: 0; padding: 4px 0; }
.yb-ustitem {
  position: relative; flex: none; padding: 7px 13px; border-radius: var(--yb-pill); white-space: nowrap;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: -0.005em; color: var(--muted);
  text-decoration: none; transition: background 0.18s ease, color 0.18s ease;
}
.yb-ustitem:hover { background: var(--yb-fill-2); color: var(--foreground); }
.yb-ustitem.on, .yb-ustitem.on:hover { background: var(--accent-soft); color: var(--accent); }
.yb-ustitem:focus-visible, .yb-ustmark:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.yb-ustitem .ap-ekipdot { position: absolute; top: 5px; right: 5px; margin: 0; }
.ap.yb-iskelet .ap-top .ap-topsearchwrap.only-desk { width: 100%; justify-self: stretch; flex: none; }
.ap.yb-iskelet .ap-topsearch input { height: 42px; padding-top: 0; padding-bottom: 0; font-size: 14.5px; }
.ap.yb-iskelet .ap-topsag { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.ap.yb-iskelet .yb-deposit { min-height: 40px; padding: 0 18px; font-size: 14px; }
.ap.yb-iskelet .yb-deposit span { font-size: 17px; font-weight: 800; line-height: 1; margin-right: 2px; }
.ap.yb-iskelet .yb-girisbtn { min-height: 40px; padding: 0 18px; }
.ap.yb-iskelet .ap-top .ap-profilechip.yb-cip {
  min-height: 42px; padding: 4px 14px 4px 5px; border-radius: 10px;
  background: var(--yb-fill); box-shadow: inset 0 0 0 1px var(--yb-line-2);
}
.ap.yb-iskelet .ap-top .ap-profilechip.yb-cip:hover, .ap.yb-iskelet .ap-top .ap-profilechip.yb-cip.on { background: var(--yb-fill-2); }
.yb-cipbakiye { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
@media (max-width: 1360px) {
  .ap.yb-iskelet .ap-top.yb-top { grid-template-columns: minmax(0, 1fr) minmax(200px, 400px) minmax(0, 1fr); gap: 14px; }
  .yb-ustitem { padding: 7px 11px; font-size: 13.5px; }
}
/* dar pencerede menu ve cip sigsin: arama kalan yeri alir (tam orta degil) */
@media (max-width: 1180px) {
  .ap.yb-iskelet .ap-top.yb-top { grid-template-columns: max-content minmax(140px, 1fr) max-content; }
}
@media (max-width: 1100px) {
  .ap.yb-iskelet .ap-top.yb-top { padding: 0 12px; gap: 10px; }
  .yb-ustitem { padding: 6px 9px; font-size: 13px; }
  .ap.yb-iskelet .ap-topsearch kbd { display: none; }
}

/* Ask Me penceresi (AgentMini / AgentChat): ust menudeki dugmenin altinda, sagda degil solda */
.ap.yb-iskelet .agm, .ap.yb-iskelet .agc {
  right: auto; left: 20px; top: calc(var(--topbar, 64px) + 10px); bottom: auto; transform-origin: top left;
}
.ap.yb-iskelet .agm { height: min(660px, calc(100vh - 64px - 24px - 30px)); height: min(660px, calc(100dvh - 64px - 24px - 30px)); }

/* YAPISKAN ALT SERIT (arayuz/AltSerit.tsx, 24 px): sayfa altinda bosluk, islem masalari seridin ustunde biter. */
.ap.yb-iskelet { --yb-alt: 24px; padding-bottom: var(--yb-alt); }
.ap.yb-iskelet .td-desk { height: calc(100vh - 64px - var(--yb-alt)); height: calc(100dvh - 64px - var(--yb-alt)); }

/* ---------- TRADE MASASI (pages/Trade.tsx) ----------
   Sol liste hep solda; en ustte yildiz / Tokens / Perps hap secimi, altinda secilene gore sekmeler. Ortada grafik. */
.yb-tradeust {
  display: flex; gap: 4px; flex: 0 0 auto; margin: 10px 10px 2px; padding: 4px 0;
}
.yb-tradeust-b {
  flex: 1 1 0; display: grid; place-items: center; min-height: 34px; padding: 0 10px; border: 0; border-radius: var(--yb-pill);
  background: none; cursor: pointer; font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--muted);
  transition: background 0.18s ease, color 0.18s ease;
}
.yb-tradeust-b.yb-tradeyildiz { flex: 0 0 44px; padding: 0; }
.yb-tradeust-b:hover { color: var(--foreground); background: var(--yb-fill-2); }
.yb-tradeust-b.on { color: var(--accent); background: var(--accent-soft); }
.yb-tradeust-b:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* liste hep yaninda: token sayfasinin geri dugmesi gereksiz */
.yb-trade .ybt-geri { display: none; }
.yb-trade .ybt-bas { grid-template-columns: auto minmax(0, 1fr) auto; }

/* ═══════════════════════════════════════════════════════════════════════
   YENI ISKELET, ASAMA 2: TOKEN SAYFASI VE ALIM PENCERELERI (28 Kas 2026; taslak web-token / web-islem; Cihan: "popup ve
   sayfa tasarimlari ... koklu degisiklikler", "kaydirarak almasin, direk basarak alsin").
   - Token sayfasi masanin tamamini alir (soldaki liste cizilmez: Pump.tsx td-listesiz; geri dugmesi listeye doner).
   - Ust: geri, logo, ad + sembol + rozetler, kimlik satiri; sagda buyuk fiyat ve 24 saat cipi (SolanaToken.tsx ybt-bas).
   - Genis grafik karti (TradingView'in sure haplari kartin icinde), altinda dort bilgi karti (ybt-bilgiler).
   - Sag sutun: sade alim karti (Buy / Sell hapi, You pay kutusu, hazir tutarlar, You get, buyuk dugme, ucret satiri) ve
     altinda Bro's take (arayuz/BroOneri, kucuk bicim). Ana dugme Bro onay penceresini acar (SolOnayPenceresi.tsx).
   Renk ve yazi tipi kok degiskenlerden; yazi tipi adi gomulmez.
   ═══════════════════════════════════════════════════════════════════════ */
.td-desk.td-listesiz { grid-template-columns: minmax(0, 1fr); }
.td-desk.td-listesiz > .td-list { display: none; }
.td-main > .tm-term.yb-token { grid-template-columns: minmax(0, 1fr) 372px; gap: 18px; }
@media (max-width: 1360px) { .td-main > .tm-term.yb-token { grid-template-columns: minmax(0, 1fr) 344px; gap: 14px; } }
.td-main > .tm-term.yb-token > .tm-termmain { gap: 16px; }

/* baslik */
.ybt-bas { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 2px 4px 0; min-width: 0; }
.ybt-geri {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--yb-fill-2); color: var(--muted); transition: background 0.15s ease, color 0.15s ease;
}
.ybt-geri:hover { background: var(--yb-fill-3); color: var(--foreground); }
.ybt-geri:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ybt-geri svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ybt-bas .tm-logo { width: 56px; height: 56px; border-radius: 10px; }
.ybt-kimlik { min-width: 0; display: grid; gap: 4px; }
.ybt-ad { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.ybt-adyazi { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ybt-sembol { flex: none; font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--muted-2); letter-spacing: 0; }
.ybt-altsatir { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; min-width: 0; font-size: 13px; color: var(--muted-2); }
.ybt-adres { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ybt-altsatir .tm-chip.icon { width: 28px; height: 28px; }
.ybt-fiyat { display: grid; justify-items: end; gap: 6px; min-width: 0; }
.ybt-bas .ybt-buyuk {
  font-family: var(--mono); font-size: 40px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ybt-cip {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 10px; white-space: nowrap;
  font-family: var(--mono); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--yb-fill-2); color: var(--muted);
}
.ybt-cip.up { background: color-mix(in srgb, var(--gain) 14%, transparent); color: var(--gain); }
.ybt-cip.down { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }

/* grafik karti: kartin kendisi grafigi tasir (ic hucre cercevesiz) */
.ybt-grafik {
  border-radius: 14px; padding: 10px 10px 4px; background: var(--yb-card); border: 1px solid var(--yb-line);
  box-shadow: var(--yb-shadow); min-width: 0;
}
.ybt-grafik .tm-chartcell { background: none; border: 0; box-shadow: none; border-radius: 12px; }
.ybt-grafik .tm-grip { margin-top: 2px; }

/* bilgi kartlari */
.ybt-bilgiler { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ybt-bilgi {
  display: grid; gap: 6px; min-width: 0; padding: 14px 16px; border-radius: 12px;
  background: var(--yb-card); border: 1px solid var(--yb-line);
}
.ybt-bilgi span { font-size: 12.5px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ybt-bilgi b { font-family: var(--mono); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* sade alim karti (biletin mantigi ve siniflari ayni; bicim burada) */
.yb-token .tm-aside > .ap-panel { border-radius: 14px; }
.yb-token .tm-aside > .ap-panel .ap-panelbody { padding: 18px; }
.yb-token .st-masabilet .ap-side {
  gap: 4px; padding: 4px; border-radius: 10px; background: var(--yb-fill); box-shadow: inset 0 0 0 1px var(--yb-line);
}
.yb-token .st-masabilet .ap-sidebtn { padding: 11px; font-weight: 700; }
.yb-token .st-masabilet .ap-sidebtn:not(.on) { box-shadow: none; color: var(--muted); }
.yb-token .st-masabilet .ap-sidebtn:not(.on):hover { background: var(--yb-fill-2); color: var(--foreground); }
.yb-token .st-masabilet .ap-sidebtn.buy.on { background: var(--gain); color: #06130c; }
.yb-token .st-masabilet .ap-sidebtn.sell.on { background: var(--danger); color: #1a0509; }
.ybb-etiket { display: block; margin: 14px 2px 6px; font-size: 13px; color: var(--muted-2); }
.yb-token .st-masabilet .ap-amount {
  justify-content: space-between; padding: 12px 12px 12px 18px; border-radius: 12px; background: var(--yb-fill); box-shadow: inset 0 0 0 1px var(--yb-line);
}
.yb-token .st-masabilet .ap-amountinput { text-align: left; font-family: var(--mono); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; }
.yb-token .st-masabilet .ap-unit { padding: 6px 12px; border-radius: 10px; background: var(--yb-fill-3); color: var(--foreground); font-weight: 700; }
.yb-token .st-masabilet .tm-pctrow { gap: 8px; }
.yb-token .st-masabilet .tm-pctrow .ap-preset {
  border-radius: 10px; padding: 8px 6px; box-shadow: inset 0 0 0 1px var(--yb-line-2);
  font-family: var(--mono); font-weight: 700; font-size: 14px;
}
.yb-token .st-masabilet .tm-pctrow .ap-preset:hover { background: var(--yb-fill-2); }
.ybb-get { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 12px 2px 2px; font-size: 13px; color: var(--muted-2); }
.ybb-get b { font-family: var(--mono); font-size: 14px; font-weight: 800; color: var(--foreground); font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.yb-token .st-masabilet .tm-cta { min-height: 54px; border-radius: 10px; font-size: 16.5px; font-weight: 800; }
.yb-token .st-masabilet .tm-cta.buy { background: var(--gain); color: #06130c; box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--gain) 70%, transparent); }
.yb-token .st-masabilet .tm-cta.buy:hover { background: color-mix(in srgb, var(--gain) 88%, #fff); }
.yb-token .st-masabilet .tm-cta.sell { color: #1a0509; }
.yb-token .st-masabilet .ap-feerow { display: flex; align-items: center; gap: 8px; }
.yb-token .st-masabilet .ap-feerow::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 5px; background: var(--accent) url("/assets/brand/yobro/yobro-isaret.svg") center / 100% no-repeat;
}

/* Bro's take (BroOneri kucuk bicim) */
.bo.bo-kucuk { padding: 16px 18px; gap: 12px; border-radius: 14px; }
.bo.bo-kucuk .bo-karakter { width: 58px; height: 68px; }
.bo.bo-kucuk .bo-ust { margin-bottom: 4px; }
.bo.bo-kucuk .bo-metin { font-size: 14.5px; line-height: 1.45; }

/* Bro onay penceresinin icerigi (.ybp): app/src/arayuz/pencereIcerigi.css (telefon ve masaustu ortak). */

/* ═══════════════════════════════════════════════════════════════════════
   AŞAMA 3 (28 Kas 2026; Cihan: "hala birebir YoBro, koklu degisiklikler, popup ve sayfa tasarimlari"). 1. ve 2. asamanin
   dili Perps masasina, portfoye, siralamaya, akisa, agent odasina, para pencerelerine ve tanitim sayfasina tasinir.
   Yalniz bicim: siniflar, akislar ve emir mantigi ayni. Renk ve yazi tipi kok degiskenlerden; yazi tipi adi gomulmez.
   ═══════════════════════════════════════════════════════════════════════ */

/* ---------- 3.1 PERPS MASASI (Perps.tsx PerpDetail, PerpTicket) ----------
   - Pazar basligi: serit kart olmaktan cikar. Solda logo + ad (baslik yazi tipi), sagda dev fiyat ve 24 saat cipi; altinda
     bes bilgi karti (Index, Funding, Volume, Open interest, Max leverage). Token sayfasinin (ybt-bas) ikizi.
   - Grafik ve defter kendi yuvarlak kartlarinda. Bilet 28 px kart: kaldirac karti, emir tipi hap rayi, dev boyut kutusu,
     hazir yuzdeler, ayrinti satirlari, altta birlesik Long (yesil) / Short (gul) hapi. */
.td-perp .tm-strip.perp-stat-strip {
  display: grid; grid-template-columns: 1fr 1.4fr 1fr 1fr 0.85fr; align-items: stretch; gap: 12px;
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible;
}
.td-perp .perp-stat-strip > .tm-ident { grid-column: 1 / span 3; grid-row: 1; align-self: center; justify-self: start; gap: 14px; padding: 6px 14px 6px 6px; border-radius: 10px; max-width: 100%; min-width: 0; }
.td-perp .perp-stat-strip > .tm-ident:hover:not(:disabled) { background: var(--yb-fill-2); }
.td-perp .perp-stat-strip .tm-ident .tm-coin, .td-perp .perp-stat-strip .tm-ident .tm-coin.lg { width: 56px; height: 56px; }
.td-perp .perp-stat-strip .tm-identname { gap: 8px; font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.td-perp .perp-stat-strip .tm-identsub { margin-top: 3px; font-size: 13.5px; color: var(--muted-2); }
.td-perp .perp-stat-strip .tm-badge { padding: 2px 8px; border: 0; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 11.5px; letter-spacing: 0.02em; }
.td-perp .perp-stat-strip > .tm-big {
  grid-column: 4 / span 2; grid-row: 1; justify-self: end; align-self: center; display: grid; justify-items: end; gap: 7px;
  margin: 0; padding: 0; font-size: 40px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--foreground);
  animation: none; transition: color 0.4s ease;
}
.td-perp .perp-stat-strip > .tm-big.pxf-up { color: var(--gain); }
.td-perp .perp-stat-strip > .tm-big.pxf-down { color: var(--danger); }
.td-perp .perp-stat-strip .tm-bigchg {
  display: inline-flex; margin: 0; padding: 5px 11px; border-radius: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0;
  background: var(--yb-fill-2); color: var(--muted);
}
.td-perp .perp-stat-strip > .tm-big.up .tm-bigchg { background: color-mix(in srgb, var(--gain) 14%, transparent); color: var(--gain); }
.td-perp .perp-stat-strip > .tm-big.down .tm-bigchg { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.td-perp .perp-stat-strip > .tm-cell {
  grid-row: 2; display: grid; gap: 6px; min-width: 0; padding: 14px 16px; border: 1px solid var(--yb-line); border-radius: 12px;
  background: var(--yb-card);
}
.td-perp .perp-stat-strip .tm-celllabel { overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted-2); }
.td-perp .perp-stat-strip .tm-cellvalue { margin: 0; overflow: hidden; text-overflow: ellipsis; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.td-perp .perp-stat-strip .tm-cellvalue > * { font-size: inherit; }

/* grafik ve defter kartlari */
.td-perp .tm-row > .tm-chartcell, .td-perp .tm-row > .tm-rowcell { border-radius: 14px; border-color: var(--yb-line); }
.td-perp .tm-row > .tm-chartcell { padding: 6px 6px 0; }

/* hesap paneli sekmeleri: tek hap rayi */
.td-perp .ac-acctbar { padding: 0; border-bottom: 0; }
.td-perp .ac-acctbar .pu-bartablist { gap: 4px; padding: 4px; margin-bottom: 10px; border-radius: 10px; background: var(--yb-fill); box-shadow: inset 0 0 0 1px var(--yb-line); }
.td-perp .ac-acctbar .pu-bartab { padding: 8px 16px; font-size: 14px; font-weight: 600; }

/* bilet karti */
.td-perp .pt-rail > .ap-panel { border-radius: 14px; }
.td-perp .pt-rail > .ap-panel > .ap-panelbody { padding: 18px; }
.td-perp .pt { gap: 14px; }
.td-perp .pt .ap-label { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted-2); }
.td-perp .pt-levwheel, .td-perp .pt-levlock { padding: 14px 16px 16px; border: 0; border-radius: 12px; background: var(--yb-fill); box-shadow: inset 0 0 0 1px var(--yb-line); }
.td-perp .pt-levval { font-size: 15px; color: var(--muted); }
.td-perp .pt-levval input { font-family: var(--mono); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--foreground); }
.td-perp .pt-levscale { font-family: var(--mono); }
.td-perp .pt-types { gap: 4px; padding: 4px; border: 0; border-radius: 10px; background: var(--yb-fill); box-shadow: inset 0 0 0 1px var(--yb-line); }
.td-perp .pt-type { border-radius: 10px; padding: 7px 16px; font-weight: 600; }
.td-perp .pt-type.on { background: var(--yb-fill-3); color: var(--foreground); }
.td-perp .pt-sltpbtn { border-radius: 10px; }
.td-perp .pt-price .ap-input { border-radius: 12px; font-family: var(--mono); font-weight: 700; }
.td-perp .pt-size {
  align-items: center; gap: 8px; margin-top: 6px; padding: 8px 8px 8px 18px; border-radius: 12px;
  background: var(--yb-fill); box-shadow: inset 0 0 0 1px var(--yb-line);
}
.td-perp .pt-size:focus-within { box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.55), 0 0 0 4px rgba(255, 106, 0, 0.12); }
.td-perp .pt-size .ap-input {
  height: auto; padding: 0; border: 0; background: none; box-shadow: none; outline: none;
  font-family: var(--mono); font-size: 32px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.td-perp .pt-size .pt-unit { min-width: 0; height: 36px; padding: 0 30px 0 14px; border: 0; border-radius: 10px; background-color: var(--yb-fill-3); font-weight: 700; }
.td-perp .pt-range { margin-top: 12px; }
.td-perp .pt-hazir { margin-top: 10px; gap: 8px; }
.td-perp .pt-hazir .ap-preset {
  padding: 8px 4px; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--yb-line-2); background: none;
  font-family: var(--mono); font-size: 13.5px; font-weight: 700; color: var(--foreground);
}
.td-perp .pt-hazir .ap-preset:hover:not(:disabled) { background: var(--yb-fill-2); }
.td-perp .pt-hazir .ap-preset.on { background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.35); color: var(--accent); }
.td-perp .pt-hazir .ap-preset:disabled { opacity: 0.45; cursor: default; }
.td-perp .pt-row { font-size: 13px; }
/* Long / Short: tek birlesik hap, Long yesil, Short gul */
.td-perp .pt .tm-ctarow { gap: 6px; padding: 5px; border-radius: 10px; background: var(--yb-fill); box-shadow: inset 0 0 0 1px var(--yb-line); }
.td-perp .pt .tm-ctarow .tm-cta { min-height: 52px; border-radius: 10px; font-size: 16.5px; font-weight: 800; box-shadow: none; }
.td-perp .pt .tm-ctarow .tm-cta.buy { background: var(--gain); color: #06130c; }
.td-perp .pt .tm-ctarow .tm-cta.buy:hover:not(:disabled) { background: color-mix(in srgb, var(--gain) 88%, #fff); }
.td-perp .pt .tm-ctarow .tm-cta.sell { background: var(--danger); color: #1a0509; }
.td-perp .pt .tm-ctarow .tm-cta:disabled { opacity: 1; filter: saturate(0.35) brightness(0.62); }
.td-perp .pt .tm-ctarow .tm-cta.add { background: var(--accent); color: #1a0b00; }
.td-perp .pt-foot { border-top-color: var(--yb-line); }
/* bagli degilken: biletin yerinde Bro'lu kart (HlBaglanBolmesi .ap-gate) */
.td-perp .pt-rail .ap-panelbody > .ap-gate {
  padding: 30px 20px 24px; border: 0; border-radius: 12px;
  background: radial-gradient(50% 60% at 50% 0%, rgba(255, 106, 0, 0.12), transparent);
}
.td-perp .pt-rail .ap-panelbody > .ap-gate:not(.hl-para)::before {
  content: ""; display: block; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 12px;
  background: var(--accent) url("/assets/brand/yobro/yobro-isaret.svg") center / 100% no-repeat;
  box-shadow: 0 16px 34px -14px rgba(255, 106, 0, 0.85);
}
.td-perp .pt-rail .ap-gatetitle { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.td-perp .pt-rail .ap-gate .btn { min-height: 46px; padding: 0 28px; font-size: 15px; }
@media (max-width: 1280px) {
  .td-perp .perp-stat-strip > .tm-big { font-size: 34px; }
  .td-perp .perp-stat-strip .tm-identname { font-size: 23px; }
  .td-perp .perp-stat-strip > .tm-cell { padding: 12px 13px; }
  .td-perp .perp-stat-strip .tm-cellvalue { font-size: 16.5px; }
  .td-perp .pt-size .ap-input { font-size: 27px; }
}

/* ---------- 3.2 PORTFOY / PROFIL (pages/Profile.tsx, pages/TraderPage.tsx, PortfolioHero.tsx) ----------
   Bakiye karti: sicak isikli 28 px kart, dev bakiye rakam yazi tipiyle, degisim cipi, donem secici hap rayi; Deposit /
   Withdraw / Transfer haplari. Sekmeler (Open, Closed, Post, Stats, Activity) tek hap rayi; pozisyon ve etkinlik
   satirlari yuvarlak kart satirlari. Giris yoksa bos portfoy karti ve Bro'lu "Sign in" karti (arayuz/BroOneri). */
.pf3-hero.pfx-hero {
  border: 1px solid var(--yb-line); border-radius: 14px; overflow: hidden;
  background: radial-gradient(120% 90% at 0% 0%, rgba(255, 106, 0, 0.13), transparent 58%), var(--yb-card);
  box-shadow: var(--yb-shadow);
}
.pf3-hero .pf4-block { border-radius: 14px 14px 0 0; }
.pf3-hero .pf4-block .pfx-total {
  font-family: var(--mono); font-size: 52px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
.pf3-hero .pf4-block .pfx-total small { font-weight: 800; color: var(--muted-2); opacity: 0.6; }
.pf3-hero .pf4-block .pf4-change { margin-top: 14px; }
.pf3-hero .pf4-block .pf4-change b {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 10px; background: var(--yb-fill-2);
  font-family: var(--mono); font-size: 14.5px; font-weight: 700;
}
.pf3-hero .pf4-block .pf4-change b.pos { background: color-mix(in srgb, var(--gain) 14%, transparent); }
.pf3-hero .pf4-block .pf4-change b.neg { background: color-mix(in srgb, var(--danger) 14%, transparent); }
.pf3-hero .pf4-block .pf3-periodwrap .pfx-periods { gap: 2px; padding: 4px; border-radius: 10px; background: var(--yb-fill); box-shadow: inset 0 0 0 1px var(--yb-line); }
.pf3-hero .pf4-block .pf3-periodwrap .pfx-periods button { height: 30px; min-width: 44px; padding: 0 12px; font-family: var(--sans); }
.pf3-hero .pf4-block .pf3-periodwrap .pfx-periods button.on { background: var(--yb-fill-3); }
.pf3-hero .pf3-alloc .pf3-leg { border-radius: 10px; }
.pf3-hero .pf3-legend b { font-family: var(--mono); }
.pf3-heroact .pf3-mbtn { height: 50px; border-radius: 10px; border-color: transparent; }
.pf3-heroact .pf3-mbtn.dep { box-shadow: 0 12px 26px -14px rgba(255, 106, 0, 0.8); }
.pf3-heroact .pf3-mbtn:not(.dep) { background: var(--yb-fill-2); box-shadow: inset 0 0 0 1px var(--yb-line); }
.pf4-tabs {
  gap: 4px; margin: 14px 0 2px; padding: 4px; border-bottom: 0; border-radius: 10px;
  background: var(--yb-fill); box-shadow: inset 0 0 0 1px var(--yb-line);
}
.pf4-tabs button { height: 42px; border-radius: 10px; font-size: 14.5px; transition: color 0.2s ease, background 0.2s ease; }
.pf4-tabs button::after { display: none !important; }
.pf4-tabs button:hover { color: var(--foreground); background: var(--yb-fill-2); }
.pf4-tabs button.on { color: var(--foreground); background: var(--yb-fill-3); }
.pf4-tabs button small { font-family: var(--mono); }
.pf3-activity.pf4-card { border-radius: 14px; }
.pf3-poslist .pfd-row.pfx-row { padding: 12px 12px; margin: 0 -10px; border-top: 0; border-radius: 12px; }
.pf3-poslist .pfd-row.pfx-row + .pfd-row.pfx-row { margin-top: 2px; }
.pf3-poslist .pfd-row.pfx-row:hover, .pf3-poslist .pfd-row.pfx-row.on { background: var(--yb-fill-2); }
.pf3-poslist .pdl-pct.pfx-val { font-family: var(--mono); }
.pf3-feedrow { border-radius: 12px; }
.pf3-feedrow.tik:hover { background: var(--yb-fill-2); }
.pf3-feedamt { font-family: var(--mono); }
.pf3-dayhead { font-family: var(--display); letter-spacing: -0.01em; }

/* giris yok: bos portfoy karti + Bro karti */
.ybpf-kapi { display: grid; gap: 14px; max-width: 760px; }
.ac.ybpf-kapi > .ac-head { margin-bottom: 0; }
.ac.ybpf-kapi section.ybpf-giriskart, .ybpf-giriskart {
  display: grid; gap: 10px; padding: 24px 26px 26px; border-radius: 14px; color: #16141a;
  background: radial-gradient(130% 150% at 0% 0%, #ffa055 0%, #ff7f22 38%, #ff6a00 68%, #ef5a00 100%);
  box-shadow: 0 24px 46px -24px rgba(255, 106, 0, 0.8);
}
.ybpf-girisad { font-size: 15px; font-weight: 700; color: rgba(22, 20, 26, 0.7); }
.ybpf-girisbakiye { font-family: var(--mono); font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.ybpf-girisbakiye small { font-size: 1em; color: rgba(22, 20, 26, 0.52); }
.ac.ybpf-kapi section.bo.ybpf-bro, .bo.ybpf-bro { padding: 22px 24px; }
.bo.ybpf-bro .bo-metin { max-width: 520px; }

/* ---------- 3.3 PARA VE HESAP PENCERELERI ----------
   Deposit / Withdraw / Transfer / Bring: app/MoneyPopupPanel.tsx (Bro cercevesi, stil o dosyada; telefon govdeleri ayni).
   Hesap menusu (AccountMenu.tsx .acm): sicak koyu yuzey, 28 px kose; ust kart bakiyeyi rakam yazi tipiyle, uc para kapisi
   hap kutular (Deposit turuncu), satirlar yuvarlak. Cikis satiri gul. Bro'lu giris kartlari (.ap-gate) sicak isikli. */
.ap-top .acm, .acm {
  width: 340px; padding: 10px; border-radius: 14px; border-color: var(--yb-line-2);
  background: radial-gradient(120% 60% at 100% 0%, rgba(255, 106, 0, 0.1), transparent 60%), #17131c;
}
.acm-card { border-radius: 12px; background: var(--yb-fill); }
.acm-cover.pf3-cover { border-radius: 12px 12px 0 0; }
.acm-face { border-radius: 12px; box-shadow: 0 0 0 4px #1d1922, 0 0 0 5.5px var(--accent); }
.acm-who b { font-family: var(--display); letter-spacing: -0.015em; }
.acm-bal b { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.acm-money { gap: 8px; padding: 6px 0 10px; }
.acm-mbtn { border: 0; border-radius: 12px; background: var(--yb-fill-2); box-shadow: inset 0 0 0 1px var(--yb-line); }
.acm-mbtn:hover { background: var(--yb-fill-3); }
.acm-mbtn.dep { background: var(--accent); color: #1a0b00; box-shadow: 0 12px 24px -14px rgba(255, 106, 0, 0.85); }
.acm-list { border-top-color: var(--yb-line); }
.acm-row { height: 44px; border-radius: 10px; }
.acm-row:hover { background: var(--yb-fill-2); }
.acm-row.danger, .acm-row.danger svg { color: var(--danger); }
.acm-row.danger:hover { background: var(--danger-soft); }
/* giris kapilari (profil, perps disi): ince kesikli cizgi yerine sicak isikli yuvarlak kart */
.ap-gate:not(.hl-para) {
  border-style: solid; border-color: var(--yb-line);
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 106, 0, 0.1), transparent 62%), var(--yb-fill);
}

/* ---------- 3.4 SIRALAMA VE AKIS ----------
   Podyum (.rk-step) ve tablo satirlari asama 1'de yuvarlandi; burada rakamlar rakam yazi tipine, satirlar kart dizisine
   gecer. Akis: her post kendi yuvarlak karti (ince ayirici cizgi yerine kart araligi). */
.rk-step { border-radius: 14px; }
.rk-step.p1 { box-shadow: 0 22px 44px -26px rgba(255, 106, 0, 0.7); }
:is(.rk-brow, .rk-row) b, .rk-podbal { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.rk-brow { width: calc(100% - 12px); margin: 0 6px; border-top: 0; border-radius: 12px; }
.rk-brow + .rk-brow { margin-top: 2px; }
.fd-list { display: grid; gap: 10px; padding: 12px 0; }
.fd-item {
  padding: 18px 18px 14px; border: 1px solid var(--yb-line); border-radius: 14px; border-bottom: 1px solid var(--yb-line);
  background: var(--yb-card);
}
.fd-item:hover { background: var(--yb-card); border-color: var(--yb-line-2); }

/* ---------- 3.5 AGENT ODASI (pages/AgentRoom.tsx, AgentMini) ----------
   YoBro'nin mor kullanici balonu turuncuya doner (telefonla ayni dil: kullanici turuncu, Bro koyu sicak kart); balonlar
   22 px, giris kutusu yuvarlak hap ve odakta turuncu halka; bos sohbetin yuzu turuncu isikli. */
.ag2-msg.user .ag2-msg-bubble {
  background: var(--accent); border: 0; color: #1a0b00; border-radius: 12px 12px 5px 12px; font-weight: 600;
  box-shadow: 0 12px 26px -16px rgba(255, 106, 0, 0.8);
}
.ag2-msg.agent .ag2-msg-bubble {
  border-color: var(--yb-line-2); border-radius: 12px 12px 12px 5px;
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.05), transparent 80px), #1c1922;
}
.ag2-msg.agent.grp .ag2-msg-bubble { border-radius: 12px; }
.ag2-kapsul { padding: 6px; border-color: var(--yb-line-2); border-radius: 14px; background: #1c1922; }
.ag2-kapsul:hover { border-color: rgba(255, 255, 255, 0.16); }
.ag2-kapsul:focus-within { border-color: rgba(255, 106, 0, 0.55); background: #1e1a23; box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12), 0 14px 34px -16px rgba(0, 0, 0, 0.7); }
.ag2-eylem:not(:disabled):not(.konus) { background: var(--accent); color: #1a0b00; }
.ag2-eylem:focus-visible { outline-color: var(--accent); }
.ag2-chat-empty .ag2-body { filter: drop-shadow(0 18px 34px rgba(255, 106, 0, 0.4)); }
.ag2-chat-empty p { font-size: 15px; }
.ag2-chip { border-radius: 10px; }
.ag2-chat { border-radius: 14px; }
.ag2-stage { border-radius: 14px; background: radial-gradient(120% 90% at 0% 0%, rgba(255, 106, 0, 0.12), transparent 58%), var(--yb-card); }

/* ---------- 3.6 TANITIM SAYFASI (pages/homeHtml.ts, landingHtml.ts; yalniz gorunum, metinler ayni) ----------
   Pazar kartlari ve kasa karti uygulamanin kart diliyle (sicak ust isik, 28-30 px kose); ornek Long / Short ve onay
   dugmeleri uygulamadaki gibi dolu hap (Long yesil, Short gul); bolum numaralari turuncu-yumusak hap. */
.hm-market {
  border-radius: 14px; border-color: rgba(255, 255, 255, 0.07);
  background: radial-gradient(110% 70% at 0% 0%, rgba(255, 106, 0, 0.1), transparent 60%), linear-gradient(180deg, #17131c, #0f0c13);
}
.hm-market:hover { border-color: rgba(255, 106, 0, 0.35); }
.hm-live-box { border-radius: 12px; }
.hm-sides span { padding: 10px 0; border-radius: 10px; font-size: 13.5px; font-weight: 800; }
.hm-sides .long { background: var(--gain); color: #06130c; }
.hm-sides .short { background: var(--danger); color: #1a0509; }
.hm-order { border-radius: 14px 14px 14px 6px; border-color: rgba(255, 255, 255, 0.08); background: #1c1922; }
.hm-order-btns > * { border-radius: 10px; }
.hm-vault { border-radius: 14px; }
.hm-vault-card { border-radius: 14px; }
.hm-pocket { border-radius: 12px; }
.hm-num { border-radius: 10px; }
:is(.hm-cta, .hm-final) :is(a, button) { border-radius: 10px; }

/* ---------- 29 Kas (Cihan): Trade masasi genislikleri, sol panelde Rank ve Feed, Trades basligindaki koyu bant ---------- */
/* sol liste biraz genis, sag (al-sat) sutunu biraz dar; orta grafik buyur */
.yb-trade.td-desk { grid-template-columns: 318px minmax(0, 1fr); }
.yb-trade .td-main > .tm-term { grid-template-columns: minmax(0, 1fr) 318px; }
/* 29 Kas aksam (Cihan: "sol alani biraz daraltalim, sagdaki trade kismini biraz genisletelim, ikisi esit"): iki yan sutun esit. */
@media (max-width: 1360px) {
  .yb-trade.td-desk { grid-template-columns: 296px minmax(0, 1fr); }
  .yb-trade .td-main > .tm-term { grid-template-columns: minmax(0, 1fr) 296px; }
}
/* Rank ve Feed sol panelde: kendi icinde kayar */
.yb-tradepanel { min-height: 0; overflow-y: auto; overflow-x: hidden; border-radius: var(--yb-r); background: var(--yb-card); }
/* Feed: tek sutun; sekmeler (Global / Social / Following) ustte yapisik, suzgec haplari altinda */
.yb-tradefeed .fd { display: block; padding: 0; height: auto; }
.yb-tradefeed .fd > :not(.fd-main) { display: none; }
.yb-tradefeed .fd-main { width: auto; min-width: 0; }
.yb-tradefeed .fd-head { position: sticky; top: 0; z-index: 2; flex-wrap: wrap; gap: 6px; padding: 10px 12px 10px; background: var(--yb-card); border-bottom: 1px solid var(--yb-line); }
.yb-tradefeed .fd-tabs { width: 100%; }
.yb-tradefeed .fd-tabs button { flex: 1 1 0; height: 38px; font-size: 14px; padding: 0 8px; }
.yb-tradefeed .fd-filt { width: 100%; }
.yb-tradefeed .fd-filt button { flex: 1 1 0; }
.yb-tradefeed .fd-list { padding: 4px 0; }
.yb-tradefeed .fd-item { width: auto; padding: 14px 14px 12px; }
/* Trades ve Holders tablolarinin yapiskan basligi kartin rengini alir (eskiden sayfa zemini: koyu bant) */
.mt-kutu .mt-tradehead, .mt-kutu .m-ktxs.web .m-ktxhead { background: var(--yb-card); }

/* ---------- 29 Kas (Cihan: "bu secim cok kotu, eski tasarimin aynisi; daha sade guzel bir sey") ----------
   Secili satir: kose parcalari ve cam kapsul yok. Duz, yumusak bir dolgu ve solda kisa turuncu cizgi. */
.td-list :is(.pu-mrow, .tm-card, .pdl-row)::before { border-radius: 10px; }
.td-list :is(.pu-mrow, .tm-card, .pdl-row).on::before { background: rgba(255, 255, 255, 0.06); box-shadow: none; }
.td-list :is(.pu-mrow, .tm-card, .pdl-row).on::after {
  inset: 50% auto auto 11px; width: 3px; height: 20px; transform: translateY(-50%); border: 0; border-radius: 3px;
  background: var(--accent); -webkit-mask: none; mask: none; animation: none;
}
/* 29 Kas (Cihan): ana sayfanin buyuk alt bilgisi de kalkti; baglantilar yapiskan alt seritte */
.ap.yb-iskelet .sy-foot { display: none; }

/* 29 Kas: grafigin sol cizim araclarini acip kapatan dugme (TVChart.tsx .tv-aracdugme). Kapaliyken sol kenarda beyaz
   kucuk kapsul ve ">" oku; acikken arac cubugunun yaninda, ok ters yone. */
.tv-pane { position: relative; }
.tv-aracdugme {
  position: absolute; z-index: 6; top: 50%; left: 2px; transform: translateY(-50%);
  width: 18px; height: 40px; padding: 0; border: 0; border-radius: 6px; display: grid; place-items: center; cursor: pointer;
  background: #f4f1ee; color: #15121a; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45); opacity: 0.85;
  transition: opacity 0.15s ease, left 0.2s ease, background 0.15s ease;
}
.tv-aracdugme:hover { opacity: 1; }
.tv-aracdugme.acik { left: 54px; background: var(--surface-3); color: var(--foreground); }
.tv-aracdugme:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- 29 Kas aksam (Cihan): grafik cercevesiz ve zeminle butun; bilgi kartlari kucuk, basligin ortasinda ---------- */
.ybt-grafik { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; }
.ybt-grafik .tm-chartcell { border-radius: 0; }
.td-perp .tm-row > .tm-chartcell { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; }
.ybt-bas { grid-template-columns: auto auto auto minmax(0, 1fr) auto; }
.yb-trade .ybt-bas { grid-template-columns: auto auto minmax(0, 1fr) auto; }
/* 29 Kas aksam: bilgi kapsulu + alim/satim baskisi (SolanaToken.tsx .ybt-basbilgi) */
.ybt-basbilgi { display: grid; justify-items: center; gap: 7px; min-width: 0; }
.ybt-kapsul {
  display: flex; align-items: stretch; min-width: 0; max-width: 100%; padding: 8px 4px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.ybt-kapsul .ybt-bilgi { display: grid; gap: 3px; padding: 0 13px; border: 0; background: none; border-radius: 0; flex: none; min-width: 0; text-align: left; }
.ybt-kapsul .ybt-bilgi + .ybt-bilgi { box-shadow: -1px 0 0 rgba(255, 255, 255, 0.07); }
.ybt-kapsul .ybt-bilgi span { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); overflow: visible; }
.ybt-kapsul .ybt-bilgi b { font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: -0.01em; overflow: visible; }
.ybt-baski { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 300px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ybt-baski .up { color: var(--gain); }
.ybt-baski .down { color: var(--danger); }
.ybt-baski i { position: relative; flex: 1; height: 4px; border-radius: 6px; background: var(--danger); overflow: hidden; opacity: 0.9; }
.ybt-baski i b { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--gain); box-shadow: 1px 0 0 2px var(--background); transition: width 0.6s ease; }
.yb-trade .ybt-bas { gap: 14px; }
.yb-trade .ybt-bas .ybt-buyuk { font-size: 32px; }
@media (max-width: 1360px) {
  .ybt-kapsul .ybt-bilgi { padding: 0 9px; }
  .ybt-kapsul .ybt-bilgi:nth-child(4) { display: none; }
}
@media (max-width: 1180px) { .ybt-basbilgi { display: none; } }

/* sayfalar arasi gecis: kaydirma cubugu belirip kaybolunca ust cubuk kaymasin */
html { scrollbar-gutter: stable; }
/* sade secim: satirin kendi turuncu ic cercevesi de yok (dolgu ::before'da, cizgi ::after'da) */
.td-list :is(.pu-mrow, .tm-card, .pdl-row).on { background: none; box-shadow: none; }

/* ---------- 29 Kas aksam: grafikteki islem kabarciklari (ChartFx.tsx .cfx-kab) ----------
   Islem gelince seridin dibinde kucuk bir hap dogar, yukari suzulur ve solar; islem yoksa alan bos. */
.cfx-serit.kab { display: block; position: absolute; width: 150px; overflow: visible; transition: left 0.35s ease, opacity 0.25s ease; }
.cfx-kab {
  position: absolute; bottom: 0; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 4px 10px 4px 8px; border-radius: 10px; font-family: var(--mono); font-size: 12px; font-weight: 700;
  font-variant-numeric: tabular-nums; line-height: 1;
  background: color-mix(in srgb, currentColor 13%, rgba(13, 11, 16, 0.82));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 30%, transparent), 0 6px 18px -8px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: cfx-yuksel 3.2s cubic-bezier(.22, .8, .3, 1) forwards; will-change: transform, opacity;
}
.cfx-kab i { font-style: normal; font-size: 0.7em; }
.cfx-kab.b { color: var(--gain); }
.cfx-kab.s { color: var(--danger); }
.cfx-kab.w { font-size: 14px; padding: 6px 12px 6px 10px; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 55%, transparent), 0 0 22px -4px currentColor; }
@keyframes cfx-yuksel {
  0% { opacity: 0; transform: translateY(16px) scale(0.8); }
  12% { opacity: 1; transform: translateY(0) scale(1); }
  70% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-170px) scale(0.96); }
}
@media (prefers-reduced-motion: reduce) { .cfx-kab { animation: cfx-sol 2.4s ease forwards; } @keyframes cfx-sol { 0%, 70% { opacity: 1; } 100% { opacity: 0; } } }

/* arac dugmesi daha ince */
.tv-aracdugme { width: 12px; height: 34px; border-radius: 5px; left: 1px; }
.tv-aracdugme svg { width: 9px; height: 9px; }
.tv-aracdugme.acik { left: 52px; }

/* 29 Kas aksam (Cihan): ust cubukta isaretin saginda yobro yazisi; menu biraz saga */
.yb-ustmark { display: flex; align-items: center; gap: 9px; width: auto; text-decoration: none; }
.yb-ustmark:hover { transform: none; }
.yb-ustmark:hover img:first-child { transform: rotate(-6deg) scale(1.04); }
.yb-ustmark img:first-child { transition: transform 0.2s ease; }
.yb-ustmark img.yb-ustyazi { width: 56px; height: 23px; border-radius: 0; box-shadow: none; }
.yb-ustnav { margin-left: 22px; }
@media (max-width: 1180px) { .yb-ustmark img.yb-ustyazi { display: none; } .yb-ustnav { margin-left: 6px; } }
/* 29 Kas aksam (Cihan: "chartin sag ve sol boslugu esit degil"): liste-grafik ve grafik-bilet araligi ayni (16 px) */
.yb-trade.td-desk { column-gap: 16px; }
.yb-trade .td-main > .tm-term { column-gap: 16px; }
/* kapsul fiyatin altina tasmasin: genis ekranda dort bilgi, 1600 px altinda uc (Liquidity gizli) */
.yb-trade .ybt-bas { grid-template-columns: auto auto minmax(0, 1fr) auto; }
.ybt-basbilgi { overflow: hidden; }
.ybt-kapsul .ybt-bilgi { padding: 0 11px; }
.ybt-kapsul .ybt-bilgi span { font-size: 9.5px; }
.ybt-kapsul .ybt-bilgi b { font-size: 13px; }
@media (max-width: 1600px) { .ybt-kapsul .ybt-bilgi:nth-child(4) { display: none; } }
.cfx-kab.w { box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 55%, transparent), 0 0 14px -6px currentColor; }

/* 29 Kas gece: kapsul kalkti. Basligin altinda sade bilgi satiri (SolanaToken.tsx .ybt-serit) */
.yb-trade .ybt-bas, .ybt-bas { grid-template-columns: auto auto minmax(0, 1fr) auto; }
.yb-trade .ybt-bas { grid-template-columns: auto minmax(0, 1fr) auto; }
.ybt-serit { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; margin: 6px 4px 2px; padding-left: 70px; font-size: 12.5px; }
.ybt-seritoge { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.ybt-seritoge span { color: var(--muted-2); }
.ybt-seritoge b { font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--foreground); }
.cfx-serit.kab { width: 180px; }
.ybt-serit { margin-top: -8px; }

/* 29 Kas gece (Cihan: "chartin alt kisminda renk gecisi cok belli"): grafigin altindaki koyu gecis kartlarin zemine
   dusen buyuk golgesiydi (--yb-shadow). Trade masasinda kartlar golgesiz; grafik ve zemin tek renk kalir. */
.yb-trade :is(.ap-panel, .td-list, .tm-strip, .tm-chartcell, .tm-rowcell, .tm-hero, .fd-card, .td-pick, .mt.mt-kutu, .tm-aside > *, .bo, .ab-card) { box-shadow: none !important; }

/* ---------- 29 Kas gece (Cihan: "isim, logo ve fiyat %20 kucuk; aralarina dikey market cap, volume..., cok hafif grimsi
   cerceve; Fomo'daki gibi") ---------- */
.yb-trade .ybt-bas { grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 12px; }
.ybt-bas .tm-logo { width: 45px; height: 45px; }
.ybt-ad { font-size: 21px; gap: 6px; }
.ybt-sembol { font-size: 12.5px; }
.ybt-altsatir { font-size: 11.5px; gap: 5px 8px; }
.ybt-altsatir .tm-chip.icon { width: 24px; height: 24px; }
.ybt-bas .ybt-buyuk, .yb-trade .ybt-bas .ybt-buyuk { font-size: 26px; }
.ybt-cip { padding: 4px 9px; font-size: 11px; }
.ybt-fiyat { gap: 5px; }
.ybt-kutular { display: flex; justify-content: flex-end; gap: 6px; min-width: 0; overflow: hidden; }
.ybt-kutu {
  display: grid; justify-items: center; gap: 4px; flex: 0 1 auto; min-width: 0; padding: 8px 12px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.ybt-kutu span { font-size: 11px; color: var(--muted-2); white-space: nowrap; }
.ybt-kutu b { font-family: var(--mono); font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 1340px) { .ybt-kutu { padding: 7px 9px; } .ybt-kutu:nth-child(4) { display: none; } }
@media (max-width: 1240px) { .ybt-kutu:nth-child(3) { display: none; } }
.ybt-kutular { gap: 5px; }
.ybt-kutu { flex: none; padding: 7px 9px; }
.ybt-kutu b { font-size: 13px; overflow: visible; }
.ybt-kutu span { font-size: 10.5px; }

/* ---------- 29 Kas gece (Cihan, Fomo ornegi): fiyat solda, bilgiler sagda; kutular cizgisiz hafif gri; sigmazsa yatay
   kayar, sag kenarda golge ---------- */
.ybt-altsatir .tm-chip.icon { width: 26px; height: 26px; padding: 0; display: inline-grid; place-items: center; }
.ybt-altsatir .tm-chip.icon svg { width: 13px; height: 13px; }
.yb-trade .ybt-bas, .ybt-bas { grid-template-columns: auto auto auto auto minmax(0, 1fr); }
.yb-trade .ybt-bas { grid-template-columns: auto auto auto minmax(0, 1fr); gap: 12px 18px; }
.ybt-bas > .ybt-fiyat { order: 3; justify-items: start; padding-left: 6px; }
.ybt-bas > .ybt-kutular { order: 4; }
.ybt-kutular {
  justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
  padding-right: 30px;
}
.ybt-kutular::-webkit-scrollbar { display: none; }
.ybt-kutu { box-shadow: none; background: rgba(255, 255, 255, 0.05); padding: 8px 12px; }
.ybt-kutu:nth-child(n) { display: grid; }
/* 29 Kas gece (Cihan): secili satirin soldaki turuncu cizgisi de kalkti; yalniz yumusak dolgu */
.td-list :is(.pu-mrow, .tm-card, .pdl-row).on::after { display: none; }
/* 29 Kas gece (Cihan): ust cubukta isaret ve yobro yazisi biraz daha buyuk */
.yb-ustmark img:first-child, .yb-ustmark img:not(.yb-ustyazi) { width: 38px; height: 38px; border-radius: 8px; }
.yb-ustmark { height: 38px; gap: 10px; }
.yb-ustmark img.yb-ustyazi { width: 68px; height: 28px; }
/* kaydirilinca sol kenar da golgeyle erir; en sona gelince sag golge kalkar */
.ybt-kutular[data-sol="1"] {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
}
.ybt-kutular[data-sol="1"][data-son="1"] {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px);
  mask-image: linear-gradient(90deg, transparent, #000 36px);
}
.ybt-kutular[data-sol="0"][data-son="1"] { -webkit-mask-image: none; mask-image: none; }
/* 29 Kas gece (Cihan): X / Telegram / site / Solscan cercevesi kucuk ve tam yuvarlak, ikon ayni boy; kopyala CA'ya yakin;
   yas ismin satirinda yildizin solunda */
.ybt-altsatir .tm-chip.icon { width: 22px; height: 22px; min-width: 22px; padding: 0; border-radius: 50%; }
.ybt-altsatir .tm-chip.icon svg { width: 13px; height: 13px; }
.ybt-adres { gap: 1px; }
.ybt-adres .th-copy { margin-left: 0; padding: 2px; }
.ybt-ad .ybt-yas { flex: none; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0; }
/* 29 Kas gece (Cihan): yuzde fiyatin saginda, cercevesiz (zemin yok, yalniz renkli yazi) */
.ybt-bas > .ybt-fiyat { display: flex; align-items: baseline; gap: 10px; }
.ybt-cip, .ybt-cip.up, .ybt-cip.down { background: none; padding: 0; font-size: 13px; }
/* tam yuvarlak: genel .tm-chip en az 30 px yukseklik veriyordu (22x30 oval) */
.ybt-altsatir .tm-chip.icon { min-height: 0; height: 24px; width: 24px; min-width: 24px; aspect-ratio: 1; }
/* 29 Kas gece (Cihan, duzeltme): yuzde fiyatin ALTINDA, saga hizali; cercevesiz */
.ybt-bas > .ybt-fiyat { display: grid; justify-items: end; align-items: start; gap: 4px; }

/* ═══════ 29 Kas gece: SOL PANEL YENIDEN (Cihan: "ustte fazla bosluk; Fomo'da ust kisim hafif gri, alt kisim daha koyu,
   katman kazandirmis; bizimki daha guzel olsun, sasirt beni") ═══════
   - Panel govdesi koyu (sayfa zemininin bir tik ustu); ust baslik bolumu (ana secim + alt sekmeler) hafif gri bir katman,
     altinda ince ayirici. Ust bosluk kisaldi.
   - Ana secim: secili sekme turuncu hap degil; beyaz yazi ve altinda yanan kucuk turuncu isik (LED).
   - Alt sekmeler: ince cizgili haplar; secili olan dolu ve beyaz.
*/
.yb-trade .td-list { background: #0d0c11; border: 1px solid rgba(255, 255, 255, 0.06); overflow: hidden; }
.yb-trade .td-list > .yb-tradeust {
  margin: 0; padding: 8px 8px 4px; gap: 2px; border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04));
}
.yb-trade .yb-tradeust-b { position: relative; min-height: 36px; color: var(--muted-2); font-size: 14.5px; }
.yb-trade .yb-tradeust-b:hover { background: rgba(255, 255, 255, 0.05); color: var(--foreground); }
.yb-trade .yb-tradeust-b.on { background: none; color: var(--foreground); }
.yb-trade .yb-tradeust-b.on::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px;
  background: var(--accent); box-shadow: 0 0 10px 1px rgba(255, 106, 0, 0.75), 0 0 2px rgba(255, 160, 90, 0.9);
}
.yb-trade .yb-tradeust-b.yb-tradeyildiz.on { color: var(--accent); }
.yb-trade .yb-tradeust-b.yb-tradeyildiz.on::after { display: none; }

.yb-trade .td-list > .td-tabs {
  min-height: 0; padding: 6px 10px 10px; gap: 6px; justify-content: flex-start; align-items: center;
  background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.yb-trade .td-list > .td-tabs .td-tab {
  flex: 0 0 auto; height: 30px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: var(--muted); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); transition: background 0.15s ease, color 0.15s ease;
}
.yb-trade .td-list > .td-tabs .td-tab:hover { color: var(--foreground); background: rgba(255, 255, 255, 0.04); }
.yb-trade .td-list > .td-tabs .td-tab.on { color: var(--foreground); background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.yb-trade .td-list > .td-tabs .td-tab.on::after { display: none; }
.yb-trade .td-list > .td-tabs .td-kaylist { padding-left: 0; gap: 6px; }
.yb-trade .td-list .td-rows { padding-top: 6px; }
.yb-trade .td-list :is(.pu-mrow, .tm-card, .pdl-row).on::before { background: rgba(255, 255, 255, 0.07); }
/* 29 Kas gece (Cihan): LED kalkti; yalniz ust secim satiri gri, alt sekmeler koyu govdede */
.yb-trade .yb-tradeust-b.on::after { display: none; }
.yb-trade .td-list > .yb-tradeust { padding: 8px 8px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.yb-trade .td-list > .td-tabs { background: none; padding-top: 10px; }
/* 29 Kas gece (Cihan: "ustteki grilik daha los olsun"): ust secim satiri daha koyu gri */
.yb-trade .td-list > .yb-tradeust { background: rgba(255, 255, 255, 0.028); }

/* Rank ve Feed sol panelde temiz: koyu govde, ince cizgili hap sekmeler (Tokens'in alt sekmeleriyle ayni), kartsiz satirlar */
.yb-tradepanel { background: #0d0c11; border: 1px solid rgba(255, 255, 255, 0.06); }
.yb-tradepanel :is(.rk-view, .rk-view3) { display: flex; gap: 6px; padding: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); background: none; }
.yb-tradepanel :is(.rk-view, .rk-view3) button {
  flex: 0 0 auto; height: 30px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--muted);
  background: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.yb-tradepanel :is(.rk-view, .rk-view3) button.on { color: var(--foreground); background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.yb-tradepanel :is(.rk-view, .rk-view3) button.on::after { display: none; }

.yb-tradefeed .fd-head { background: #0d0c11; border-bottom-color: rgba(255, 255, 255, 0.06); padding: 10px; gap: 8px; }
.yb-tradefeed .fd-tabs, .yb-tradefeed .fd-filt { display: flex; gap: 6px; width: 100%; background: none; box-shadow: none; padding: 0; border: 0; }
.yb-tradefeed .fd-tabs button, .yb-tradefeed .fd-filt button {
  flex: 0 0 auto; height: 30px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--muted);
  background: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.yb-tradefeed .fd-tabs button.on, .yb-tradefeed .fd-filt button.on { color: var(--foreground); background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.yb-tradefeed .fd-tabs button.on::after { display: none; }
.yb-tradefeed .fd-filt button { height: 26px; font-size: 12px; padding: 0 10px; }
.yb-tradefeed .fd-tabnokta { top: 6px; right: 4px; }
.yb-tradefeed .fd-list { gap: 0; padding: 0; }
.yb-tradefeed .fd-item { background: none; border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding: 14px 12px; }
.yb-tradefeed .fd-ava { width: 36px; height: 36px; }
/* panel zaten sol listenin kartinda: icteki ikinci kutu (kenar, zemin, kose) yok */
.yb-trade .yb-tradepanel { border: 0; border-radius: 0; background: none; }
.yb-tradepanel :is(.rk-board, .rk-ust, .fd, .fd-main, .ap-panel) { background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; margin: 0 !important; }

/* 29 Kas gece (Cihan: "bu kisimda dikey cok fazla bosluk var"): sol panelin ust uc satiri siki */
.yb-trade .td-list > .yb-tradeust { padding: 5px 6px; }
.yb-trade .yb-tradeust-b { min-height: 32px; }
.yb-trade .td-list > .td-tabs { padding: 8px 10px; gap: 5px; }
.yb-trade .td-list > .td-tabs .td-tab { height: 28px; padding: 0 11px; font-size: 12.5px; }
.yb-trade .td-list > .tlm-lp { padding: 0 10px 8px; gap: 5px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.yb-trade .td-list > .td-tabs:has(+ .tlm-lp) { border-bottom: 0; }
.yb-trade .td-list > .tlm-lp button {
  height: 26px; padding: 0 10px; border: 0; border-radius: 10px; background: none; color: var(--muted);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); font-size: 12px;
}
.yb-trade .td-list > .tlm-lp button.on { color: var(--foreground); background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.yb-trade .td-list > .tlm-lp button img { width: 14px; height: 14px; }
/* 29 Kas gece (Cihan: "digerlerinde de; perps, rank, feed"): ayni siki ust satirlar */
.yb-tradepanel :is(.rk-view, .rk-view3) { padding: 8px 10px; gap: 5px; }
.yb-tradepanel :is(.rk-view, .rk-view3) button { height: 28px; padding: 0 11px; font-size: 12.5px; }
.yb-tradepanel .rk-ust, .yb-tradepanel .rk-filt, .yb-tradepanel .rk-donem { padding-top: 4px !important; padding-bottom: 4px !important; min-height: 0 !important; }
.yb-tradefeed .fd-head { padding: 8px 10px; gap: 6px; }
.yb-tradefeed .fd-tabs button { height: 28px; font-size: 12.5px; padding: 0 11px; }
.yb-tradefeed .fd-filt button { height: 24px; }
.yb-tradepanel .rk-alt { padding: 2px 10px 6px 6px; min-height: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.yb-tradepanel .rk-alt button { height: 24px; min-height: 0; padding-top: 0; padding-bottom: 0; }
.yb-tradepanel :is(.rk-view, .rk-view3):has(+ .rk-alt) { border-bottom: 0; }
/* 29 Kas gece: Rank ve Feed sol panelde tek satir; filtre dugmesi sagda, penceresi dugmenin altinda (FiltreAcilir) */
.yb-tradepanel .rk-kompakt { position: relative; z-index: 3; }
.yb-tradepanel .rk-kompakt .rk-alt { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.yb-tradefeed .fd-head.fd-kompakt { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; z-index: 3; }
.yb-tradefeed .fd-kompakt .fd-filt { width: auto; }
.yb-tradefeed .fd-kompakt .fd-filt button { height: 28px; font-size: 12.5px; padding: 0 12px; }
.yb-tradepanel .rk-kompakt .fa-pencere { left: 0; right: auto; }

/* ---------- 29 Kas gece (Cihan: "alt sekmelerin altindaki cizgi hicbirinde olmasin; her bolumdeki yazilar ayni boy ve ayni
   hizada; Rank ve Feed'deki filtre ikonlari ayni boy ve ayni yerde") ---------- */
.yb-trade .td-list > :is(.td-tabs, .tlm-lp), .yb-tradepanel .rk-kompakt .rk-alt, .yb-tradefeed .fd-head.fd-kompakt { border-bottom: 0 !important; }
/* tek olcu: satir payi 8px 10px, hap 28px yukseklik, 12.5px yazi, 12px yatay pay, 5px aralik */
.yb-trade .td-list > .td-tabs, .yb-tradepanel .rk-kompakt .rk-alt, .yb-tradefeed .fd-head.fd-kompakt { padding: 8px 10px !important; gap: 5px; min-height: 0; }
.yb-trade .td-list > .td-tabs .td-tab,
.yb-tradepanel .rk-kompakt .rk-per button,
.yb-tradefeed .fd-kompakt .fd-filt button {
  height: 28px !important; min-height: 0 !important; padding: 0 12px !important; border: 0; border-radius: 10px !important;
  font-family: var(--sans); font-size: 12.5px !important; font-weight: 600 !important; line-height: 28px;
  color: var(--muted); background: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.yb-trade .td-list > .td-tabs .td-tab.on,
.yb-tradepanel .rk-kompakt .rk-per button.on,
.yb-tradefeed .fd-kompakt .fd-filt button.on { color: var(--foreground); background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.yb-tradepanel .rk-kompakt .rk-per button::after, .yb-tradefeed .fd-kompakt .fd-filt button::after { display: none; }
.yb-tradepanel .rk-kompakt .rk-per, .yb-tradefeed .fd-kompakt .fd-filt { display: flex; gap: 5px; padding: 0; margin: 0; background: none; box-shadow: none; border: 0; }
/* filtre dugmesi ikisinde de sagda, ayni boyda; pencere saga yasli */
.yb-tradepanel .rk-kompakt .rk-alt { display: flex; justify-content: flex-start; }
.yb-tradepanel .rk-kompakt .rk-per { order: 1; }
.yb-tradepanel .rk-kompakt .fa, .yb-tradefeed .fd-kompakt .fa { order: 9; margin-left: auto; }
.yb-tradepanel .rk-kompakt .fa-pencere { left: auto; right: 0; }
.yb-trade .fa-dugme { width: 28px; height: 28px; }
.yb-trade .fa-dugme svg { width: 15px; height: 15px; }
.yb-tradepanel .rk-ust.rk-kompakt { padding: 0 !important; }
.yb-tradepanel .rk-alt .fa-dugme { height: 28px; width: 28px; }
.yb-tradepanel .rk-kompakt .rk-alt { flex-direction: row !important; justify-content: flex-start !important; }
.yb-tradepanel .rk-kompakt .rk-per { order: 1 !important; margin: 0 !important; flex: 0 0 auto; }
.yb-tradepanel .rk-kompakt .fa { order: 9 !important; margin-left: auto !important; }

/* ---------- 29 Kas gece: fiyat + bilgi kutulari tek blok (SolanaToken.tsx .ybt-sag / .ybt-sagic) ----------
   Yer varsa blok saga yaslanir (Liquidity sag kenarda); isim uzunsa blok yatay kayar, kenarlar golgeyle erir. */
.ybt-bas { grid-template-columns: auto auto auto minmax(0, 1fr); }
.yb-trade .ybt-bas { grid-template-columns: auto auto minmax(0, 1fr); gap: 12px 16px; }
.ybt-sag { display: flex; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.ybt-sag::-webkit-scrollbar { display: none; }
.ybt-sagic { display: flex; align-items: center; gap: 18px; flex: none; margin-left: auto; }
.ybt-sagic > .ybt-fiyat { order: 0; padding-left: 0; }
.ybt-sagic > .ybt-kutular { order: 1; overflow: visible; padding-right: 0; -webkit-mask-image: none; mask-image: none; }
.ybt-sag[data-son="0"] { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
.ybt-sag[data-sol="1"][data-son="0"] { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
.ybt-sag[data-sol="1"][data-son="1"] { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }

/* 29 Kas gece (Cihan: "secicilerin dis cizgisi ve secili olanin grisi daha siyahimsi olsun, tum bolumlerde"): haplarin
   cizgisi ve secili dolgu daha koyu; Tokens, Perps, Rank, Feed, launchpad haplari, filtre dugmesi ve penceresi ayni. */
.yb-trade .td-list > .td-tabs .td-tab,
.yb-tradepanel .rk-kompakt .rk-per button,
.yb-tradefeed .fd-kompakt .fd-filt button,
.yb-trade .td-list > .tlm-lp button,
.yb-trade .fa-dugme,
.fa-haplar button { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055) !important; }
.yb-trade .td-list > .td-tabs .td-tab.on,
.yb-tradepanel .rk-kompakt .rk-per button.on,
.yb-tradefeed .fd-kompakt .fd-filt button.on,
.yb-trade .td-list > .tlm-lp button.on,
.fa-haplar button.on { background: rgba(255, 255, 255, 0.065) !important; box-shadow: none !important; }
.yb-trade .fa-dugme:hover, .yb-trade .fa-dugme.acik { background: rgba(255, 255, 255, 0.065); }
/* 29 Kas gece: kabarcik suresi hapin kendisinde (ChartFx kuyrugu); egri esit hizli, haplar arasi bosluk sabit kalir */
.cfx-kab { animation-timing-function: linear; }
@keyframes cfx-yuksel {
  0% { opacity: 0; transform: translateY(0) scale(0.85); }
  8% { opacity: 1; transform: translateY(-12px) scale(1); }
  75% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-170px) scale(0.97); }
}
/* 29 Kas gece (Cihan: "fiyati %15 kucultelim; token ismi de biraz kucuk, fiyatla ayni boyda"): ikisi de 20 px */
.ybt-bas .ybt-buyuk, .yb-trade .ybt-bas .ybt-buyuk { font-size: 20px; }
.ybt-ad { font-size: 20px; }
/* 29 Kas gece: hap siniflari cfx-al / cfx-sat / cfx-bal. Eski kisa "b" sinifi sitedeki baska bir kutuphanenin ".b" kuralina
   takiliyordu (animasyonu "n" ile degisiyordu): alim haplari yukari kaymadan yerinde kaliyordu. */
.cfx-kab.cfx-al { color: var(--gain); }
.cfx-kab.cfx-sat { color: var(--danger); }
.cfx-kab.cfx-bal { font-size: 14px; padding: 6px 12px 6px 10px; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 55%, transparent), 0 0 14px -6px currentColor; }

/* ---------- 29 Kas gece (Cihan: "sol menude cok guzel seyler yaptik, burayi da o kivama getir; temiz olsun soldaki gibi;
   ustte yeni gelen alim turuncu oluyor, olmasina gerek yok"): token sayfasinin Post / Holders / Trades kutusu ----------
   Sol panelin dili: koyu govde, ince kenar, sekmeler 28 px ince cizgili hap (secili koyu dolgu), satirlar ayiricisiz ve
   yuvarlak, rakamlar --mono. Yeni islem satiri renklenmez (yalniz yerine kayarak gelir). */
.mt.mt-kutu { background: #0d0c11; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: var(--yb-r); box-shadow: none !important; }
.mt-kutu .mt-tabs { padding: 8px 10px !important; gap: 5px; min-height: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.028); }
.mt-kutu .mt-tabs button[role="tab"] {
  height: 28px; min-height: 0; padding: 0 12px !important; border: 0; border-radius: 10px !important;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600 !important; line-height: 28px; color: var(--muted);
  background: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
}
.mt-kutu .mt-tabs button[role="tab"]:hover { color: var(--foreground); background: rgba(255, 255, 255, 0.04); }
.mt-kutu .mt-tabs button[role="tab"].on { color: var(--foreground); background: rgba(255, 255, 255, 0.065); box-shadow: none; }
.mt-kutu .mt-tabs button[role="tab"]::after { display: none; }
.mt-kutu .mt-tabs .mt-tabnum { margin-left: 6px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--muted-2); }
.mt-kutu .mt-tabs .mt-filtbtn { width: 28px; height: 28px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055); }
.mt-kutu .mt-tabs .mt-filtbtn:hover { background: rgba(255, 255, 255, 0.065); }
.mt-kutu .mt-tabs .mt-filtbtn svg { width: 15px; height: 15px; }
.mt-kutu .mt-kaydir { padding: 0 6px 10px; }
.mt-kutu .mt-kaydir.k-notes { padding: 10px 10px 12px; }

/* Trades: baslik ince ve kutunun renginde; satirlar 36 px, ayiricisiz, ustune gelince yumusak dolgu */
.mt-kutu .m-ktxs.web .m-ktxhead, .mt-kutu .mt-tradehead {
  padding: 12px 10px 8px; border-bottom: 0; background: #0d0c11;
  font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted-2);
}
.mt-kutu .m-ktxs.web :is(.m-ktxhead, .m-ktxrow, .m-ktxalt) { grid-template-columns: 40px minmax(0, 1fr) 80px 100px 84px; gap: 16px; }
.mt-kutu .m-ktxs.web .m-ktx { border-bottom: 0; }
.mt-kutu .m-ktxs.web .m-ktx + .m-ktx { margin-top: 1px; }
.mt-kutu .m-ktxs.web .m-ktxrow { min-height: 36px; padding: 0 10px; border-radius: 8px; transition: background 0.15s ease; }
.mt-kutu .m-ktxs.web .m-ktxrow:hover { background: rgba(255, 255, 255, 0.04); }
.mt-kutu .m-ktxs.web .m-ktx.open > .m-ktxrow { background: rgba(255, 255, 255, 0.065); }
.mt-kutu .m-ktxs.web .m-ktxago { font-size: 12px; color: var(--muted-2); }
.mt-kutu .m-ktxs.web .m-ktxad { font-size: 13px; font-weight: 600; }
.mt-kutu .m-ktxs.web .m-ktxqty { font-size: 12.5px; color: var(--muted); }
/* fiyat notr; renk yalniz tutarda (alim yesil, satim gul) */
.mt-kutu .m-ktxs.web .m-ktx > .m-ktxrow .m-ktxpx { font-size: 12.5px; font-weight: 500; color: var(--foreground) !important; }
.mt-kutu .m-ktxs.web .m-ktxusd { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mt-kutu .m-ktxs.web .m-ktxalt { min-height: 32px; padding: 0 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); }
.mt-kutu .m-ktxs.web .m-ktxalt:hover { background: rgba(255, 255, 255, 0.055); }
.mt-kutu .m-ktxs.web .m-ktxdaha {
  height: 32px; margin: 10px 4px 2px; padding: 0; width: calc(100% - 8px); border-radius: 10px; background: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055); font-size: 12.5px; color: var(--muted);
}
.mt-kutu .m-ktxs.web .m-ktxdaha:hover { color: var(--foreground); background: rgba(255, 255, 255, 0.04); }
/* yeni gelen islem: turuncu dolgu yok */
.mt-kutu :is(.m-ktxs.web .m-ktx, .mt-trade).fresh { background: none; }
.mt-kutu .mt-trade { border-bottom: 0; border-radius: 8px; padding-left: 10px; padding-right: 10px; }
.mt-kutu .mt-trade:hover { background: rgba(255, 255, 255, 0.04); }

/* Holders: ayni baslik ve satir dili */
.mt-kutu .hd-liste th { padding: 12px 0 8px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); background: #0d0c11; }
.mt-kutu .mt-kaydir.k-holders { padding: 10px 10px 12px; }
.mt-kutu .hd-liste td { border-top-color: rgba(255, 255, 255, 0.04); }

/* 29 Kas gece (Cihan: "Team tag kismini gizle, belki sonra acariz; koselerinde bozukluk var, postlar gelince de olabilir"):
   bos Team karti (Building $SYM? / Claim tag) gizli; ekip postu olan tokenda ekip karti durur. Post panelinin kesmesi
   (overflow hidden, ic pay 0) kenara degen cerceve ve harfleri kirpiyordu: panel kesmez, iceriginin solunda/saginda pay var. */
.ekp-card.ekp-bos { display: none !important; }
.mt-notes .ap-panel { overflow: visible; }
.mt-notes .ap-panelbody { padding: 0 4px; }

/* ═══════ 29 Kas gece (Cihan: "sag kisimdakileri de sol menu ve chartin altindaki gibi duzene sokalim, acik tonlari kaldir") ═══════
   Sag sutun (bilet, Bro's take, About, pozisyonlar): sol panelle ayni koyu govde ve ince cizgi; ic kutular cok hafif;
   haplar ve secimler sol paneldeki koyu cizgi / koyu dolgu tonunda. Yesil Buy dugmesi oldugu gibi. */
.yb-trade .tm-aside > :is(.ap-panel, .bo, .ab-card, section, .tm-tokwarn) {
  background: #0d0c11 !important; background-image: none !important; border: 1px solid rgba(255, 255, 255, 0.06) !important; box-shadow: none !important;
}
.yb-trade .tm-aside :is(.ap-side, .ap-amount, .pfx-toggle) { background: rgba(255, 255, 255, 0.025) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055) !important; border-color: transparent !important; }
.yb-trade .tm-aside .ap-sidebtn.sell.on, .yb-trade .tm-aside .pfx-toggle button.on { background: rgba(255, 255, 255, 0.065) !important; }
.yb-trade .tm-aside :is(.ap-preset, .ab-link, .ab-searchx, .ab-chip) {
  background: none !important; border-color: transparent !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055) !important;
}
.yb-trade .tm-aside .ab-chip.on { background: rgba(255, 255, 255, 0.065) !important; box-shadow: none !important; }
.yb-trade .tm-aside .ap-preset:hover, .yb-trade .tm-aside .ab-link:hover { background: rgba(255, 255, 255, 0.04) !important; }
.yb-trade .tm-aside .ab-more { background: rgba(255, 255, 255, 0.04) !important; }
.yb-trade .tm-aside .ap-unit { background: rgba(255, 255, 255, 0.05) !important; box-shadow: none !important; }
/* Bro's take: turuncu sicak isik kalkti, yalniz koyu govde */
.yb-trade .tm-aside .bo::before, .yb-trade .tm-aside .bo::after { display: none !important; }

/* 29 Kas gece (Cihan): "Your positions" cercevesiz (sag sutun karti degil, zeminde baslik ve liste) */
.yb-trade .tm-aside > section.yp-pos, .yb-trade .tm-aside > .ab-pos { background: none !important; border: 0 !important; box-shadow: none !important; padding-left: 4px; padding-right: 4px; }
/* 5M / 1H / 1D degerleri renkli: yukselen yesil, dusen kirmizi; secili kutuda da */
.yb-trade .tm-aside .ab-chip.up :is(b, strong, em, span:last-child) { color: var(--gain) !important; }
.yb-trade .tm-aside .ab-chip.down :is(b, strong, em, span:last-child) { color: var(--danger) !important; }
.yb-trade .tm-aside .ab-chip.up b::before { content: "▲ "; font-size: 0.7em; vertical-align: 0.1em; }
.yb-trade .tm-aside .ab-chip.down b::before { content: "▼ "; font-size: 0.7em; vertical-align: 0.1em; }
.ybb-ust { display: flex; align-items: center; gap: 8px; }
.ybb-ust > .ap-side { flex: 1; min-width: 0; }
/* 29 Kas gece: bilet karti tasani kesmez; disli penceresi kartin altina tasip Bro's take'in ustunde durur */
.yb-trade .tm-aside > .ap-panel:has(.bya) { overflow: visible !important; position: relative; z-index: 5; }

/* ---------- 29 Kas gece (Cihan): Sell kirmizisi geri; Buy/Sell cercevesi dislinin boyunda; birim dugmesi ---------- */
.yb-trade .tm-aside .ap-sidebtn.sell.on { background: var(--danger) !important; color: #1a0509 !important; }
.yb-trade .tm-aside .ap-sidebtn.buy.on { background: var(--gain) !important; color: #06130c !important; }
.ybb-ust { align-items: stretch; }
.yb-trade .tm-aside .ybb-ust > .ap-side { height: 42px; padding: 3px; box-sizing: border-box; display: flex; gap: 3px; border-radius: 13px; }
.yb-trade .tm-aside .ybb-ust .ap-sidebtn { flex: 1; height: 100%; padding: 0; border-radius: 10px; display: grid; place-items: center; }
.ybb-ust .bya-disli { width: 42px; height: 42px; border-radius: 13px; }
.ybb-birim { display: inline-flex; align-items: center; gap: 5px; border: 0; cursor: pointer; font-family: var(--sans); }
.ybb-birim svg { opacity: 0.6; }
.ybb-birim:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1) !important; }
.ybb-birim:disabled { cursor: default; }
.ybb-birim:disabled svg { display: none; }
.ybb-karsilik { margin: -4px 4px 0; font-family: var(--mono); font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; }

/* 29 Kas gece (Cihan: "Feed kismindaki yazilar biraz buyuk; dengeleyelim, kucultelim, guzellestirelim"): sol paneldeki
   Feed satirlari daha siki ve olculu. Ad 13.5, rozet 11, tutar 13.5, token logosu 26, profil 32, eylemler 12 px. */
.yb-tradefeed .fd-item { gap: 10px; padding: 12px 12px 10px !important; }
.yb-tradefeed .fd-avabtn, .yb-tradefeed .fd-ava { width: 32px; height: 32px; border-radius: 10px; }
.yb-tradefeed .fd-body { gap: 6px; font-size: 13.5px; }
.yb-tradefeed .fd-top { gap: 6px; min-height: 0; }
.yb-tradefeed .fd-name b { font-size: 13.5px; font-weight: 700; }
.yb-tradefeed .fd-name svg { width: 12px; height: 12px; }
.yb-tradefeed .fd-tag { font-size: 11px; padding: 2px 7px; line-height: 1.3; border-radius: 6px; }
.yb-tradefeed .fd-top time { font-size: 11.5px; color: var(--muted-2); }
.yb-tradefeed .fd-line { gap: 8px; min-height: 0; }
.yb-tradefeed .fd-konu { gap: 7px; font-size: 13.5px; }
.yb-tradefeed .fd-konu .tm-coin.lg { width: 26px; height: 26px; }
.yb-tradefeed .fd-sym { font-size: 13.5px; font-weight: 700; }
.yb-tradefeed .fd-txt { font-size: 13.5px; gap: 5px; }
.yb-tradefeed .fd-ek { font-size: 12px; }
.yb-tradefeed .fd-usd { font-size: 13.5px; font-weight: 700; }
.yb-tradefeed .fd-post, .yb-tradefeed .fd-poz { font-size: 13px; line-height: 1.45; }
.yb-tradefeed .fd-pacts { gap: 14px; margin-top: 0; }
.yb-tradefeed .fd-pacts button { font-size: 12px; gap: 5px; }
.yb-tradefeed .fd-pacts svg { width: 13px; height: 13px; }

/* ---------- 29 Kas gece (Cihan: "buy ve sell'de hizlica gecerken bir yesil bir kirmizi oluyor, tutukluluk yapiyor") ----------
   Eskiden iki dugmenin de arka plani 0,2 sn boyunca yesilden kirmiziya karisiyordu (arada camurlu kahverengi; hizli basinca
   yarida tersine donup takiliyormus gibi). Simdi secili renk tek bir hap: dugmelerin arkasinda kayar, rengi aninda degisir;
   yazi rengi ve alttaki ana dugme de aninda degisir. */
.yb-trade .tm-aside .ybb-ust > .ap-side { position: relative; isolation: isolate; }
.yb-trade .tm-aside .ybb-ust > .ap-side::before {
  content: ""; position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 4.5px); border-radius: 10px;
  background: var(--gain); transition: transform 0.18s cubic-bezier(0.3, 0.7, 0.2, 1); will-change: transform;
}
.yb-trade .tm-aside .ybb-ust > .ap-side:has(.sell.on)::before { transform: translateX(calc(100% + 3px)); background: var(--danger); }
.yb-trade .tm-aside .ybb-ust .ap-sidebtn { transition: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.yb-trade .tm-aside .ybb-ust .ap-sidebtn.on { background: none !important; }
.yb-trade .tm-aside .ybb-ust .ap-sidebtn:not(.on):hover { background: rgba(255, 255, 255, 0.04); }
.yb-token .st-masabilet .tm-cta { transition: opacity 0.2s ease, filter 0.2s ease; }
@media (prefers-reduced-motion: reduce) { .yb-trade .tm-aside .ybb-ust > .ap-side::before { transition: none; } }

/* ═══════════════════════════════════════════════════════════════════════
   29 Kas gece: MASA DILI HER YERDE (Cihan: "trade sayfasinda sol bolum, chart, chartin alti ve sag taraf cok guzel oldu;
   bu kaliteyi sitenin her yerine aktar. Feed'de isme tiklayinca acilan profil eski; pozisyona tiklayinca acilan kart hala
   YoBro; perps ve profile sayfalarini da elden gecir").
   Trade masasinin dili tek yerde:
   - govde koyu (#0d0c11), ince kenar (beyaz %6), kose 14 px; ust secim satiri cok hafif gri (%2.8) ve altinda ince cizgi;
   - secimler 28 px haplar: ince halka (%5.5), secili koyu dolgu (%6.5), 12.5 px yazi; ust duzey secim duz yazi, secili beyaz;
   - basliklar kucuk (ad 20 px, fiyat --mono), bilgi kutulari cercevesiz hafif gri (%5);
   - grafik cercevesiz, zeminle butun; satirlar ayiricisiz, ustune gelince yumusak dolgu; golge yok.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --ybm-govde: #0d0c11;
  --ybm-cizgi: rgba(255, 255, 255, 0.06);
  --ybm-halka: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
  --ybm-secili: rgba(255, 255, 255, 0.065);
  --ybm-ust: rgba(255, 255, 255, 0.028);
  --ybm-kutu: rgba(255, 255, 255, 0.05);
  --ybm-ustune: rgba(255, 255, 255, 0.04);
}

/* ---------- Feed: "at $160.5K MC" tutarin yaninda kucuk ve sonuk ---------- */
.fd-mc, .fd-line .fd-mc { font-size: 12px; font-weight: 500; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.yb-tradefeed .fd-mc { font-size: 11.5px; }
.yb-tradefeed .fd-ek { font-size: 11.5px; font-weight: 700; }

/* ---------- butun masalar (Rank, profil, Perps, Agent): sol liste trade masasinin sol paneli gibi ---------- */
.td-desk:not(.yb-trade) > .td-list { background: var(--ybm-govde); border: 1px solid var(--ybm-cizgi); box-shadow: none; }
.td-desk .rk-ust { background: var(--ybm-ust) !important; border-bottom: 1px solid var(--ybm-cizgi); }
.td-desk:not(.yb-trade) .rk-view3, .td-desk:not(.yb-trade) .rk-view { display: flex; gap: 2px; padding: 5px 6px; background: none; border: 0; }
.td-desk:not(.yb-trade) :is(.rk-view3, .rk-view) button {
  flex: 1 1 0; min-height: 32px; height: 32px; padding: 0 8px; border: 0; border-radius: 10px; background: none; box-shadow: none;
  font-family: var(--sans); font-size: 13.5px; font-weight: 700; color: var(--muted-2); transition: background 0.15s ease, color 0.15s ease;
}
.td-desk:not(.yb-trade) :is(.rk-view3, .rk-view) button:hover { color: var(--foreground); background: rgba(255, 255, 255, 0.05); }
.td-desk:not(.yb-trade) :is(.rk-view3, .rk-view) button.on { color: var(--foreground); background: none; }
.td-desk:not(.yb-trade) :is(.rk-view3, .rk-view) button::after { display: none !important; }
.td-desk:not(.yb-trade) .rk-alt { display: flex; align-items: center; gap: 5px; min-height: 0; padding: 8px 10px; border-top: 1px solid var(--ybm-cizgi); background: var(--ybm-govde); }
.td-desk:not(.yb-trade) .rk-alt :is(.rk-per, .pst-fseg) { display: flex; gap: 5px; margin-left: auto; padding: 0; background: none; box-shadow: none; border: 0; }
.td-desk:not(.yb-trade) .rk-alt :is(.rk-per, .pst-fseg) button {
  height: 28px; min-height: 0; padding: 0 11px; border: 0; border-radius: 10px; background: none; box-shadow: var(--ybm-halka);
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.td-desk:not(.yb-trade) .rk-alt :is(.rk-per, .pst-fseg) button.on { color: var(--foreground); background: var(--ybm-secili); box-shadow: none; }
.td-desk:not(.yb-trade) .rk-alt :is(.rk-per, .pst-fseg) button::after { display: none !important; }
.td-desk:not(.yb-trade) .rk-alt > button:not(.on):first-child, .td-desk:not(.yb-trade) .rk-alt .fa-dugme {
  width: 28px; height: 28px; border-radius: 10px; box-shadow: var(--ybm-halka); background: none;
}
.td-desk .td-list .td-rows { padding-top: 6px; }
.td-desk .td-list .rk-row { border-radius: 10px; }
.td-desk .td-list .rk-row:hover { background: var(--ybm-ustune); }
.td-desk .td-list .rk-row :is(b, .rk-val) { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- PROFIL (kendi: Profile.tsx td-pf3; baskasi: TraderPage.tsx td-tp) ---------- */
/* kimlik karti: koyu govde, bos kapak sicak bir isik; yuz ve bosluklar toplu */
.td-pf3 .ph { background: var(--ybm-govde); border: 1px solid var(--ybm-cizgi); border-radius: 14px; box-shadow: none; overflow: hidden; }
.td-pf3 .ph-head { padding: 30px 18px 26px 24px; column-gap: 18px; }
.td-pf3 .ph-head:not(:has(.ph-acts)) { padding-top: 26px; padding-bottom: 26px; }
.td-pf3 .ph-cover.bos, .td-pf3 .pf3-cover.bos {
  /* bos kapak satir ici siyah gelir (ProfileHead); yerine sicak, cok hafif bir isik */
  background: radial-gradient(70% 150% at 0% 0%, rgba(255, 106, 0, 0.13), transparent 62%),
    radial-gradient(50% 120% at 100% 100%, rgba(255, 255, 255, 0.035), transparent 70%), var(--ybm-govde) !important;
}
.td-pf3 .ph-shade { opacity: 0.6; }
.td-pf3 .ph-face { width: 72px; height: 72px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.td-pf3 .ph-face :is(img, .ph-facein) { border-radius: 10px; }
.td-pf3 .ph-name { font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.td-pf3 .ph-bio { font-size: 13px; color: var(--muted); }
.td-pf3 .ph-foot { padding: 11px 24px; background: var(--ybm-ust); border-top: 1px solid var(--ybm-cizgi); font-size: 12.5px; }
.td-pf3 .ph-foot b, .td-pf3 .ph-fc b { font-family: var(--mono); font-weight: 700; }
.td-pf3 .ph-acts { gap: 6px; }
.td-pf3 .ph-btn {
  height: 32px; min-height: 0; padding: 0 12px; border: 0; border-radius: 10px; font-family: var(--sans); font-size: 12.5px; font-weight: 700;
  background: none; color: var(--foreground); box-shadow: var(--ybm-halka);
}
.td-pf3 .ph-btn:hover { background: var(--ybm-secili); }
.td-pf3 .ph-btn :is(svg) { width: 14px; height: 14px; }
.td-pf3 .ph-btn.ph-follow:not(.on) { background: var(--accent); color: #1a0b00; box-shadow: none; }
.td-pf3 .ph-btn.ph-follow:not(.on):hover { background: color-mix(in srgb, var(--accent) 88%, #fff); }
.td-pf3 .ph-btn.ph-follow svg { width: 14px; height: 14px; }
.td-pf3 .ph .kpz-share, .td-pf3 .ph .ph-share { width: 32px; height: 32px; border-radius: 10px; background: rgba(13, 12, 17, 0.6); box-shadow: var(--ybm-halka); }

/* portfoy karti: koyu govde, turuncu isik yok; bakiye --mono ve olculu; donem secici haplar */
.td-pf3 .pf3-hero.pfx-hero { background: var(--ybm-govde); border: 1px solid var(--ybm-cizgi); border-radius: 14px; box-shadow: none; }
.td-pf3 .pf3-hero .pf4-block { background: none; }
.td-pf3 .pf3-hero .pf4-block .pfx-total { font-size: 40px; letter-spacing: -0.035em; }
.td-pf3 .pf3-hero .pf4-block .pf4-change { margin-top: 10px; gap: 8px; font-size: 12.5px; }
.td-pf3 .pf3-hero .pf4-block .pf4-change b, .td-pf3 .pf3-hero .pf4-block .pf4-change b.pos, .td-pf3 .pf3-hero .pf4-block .pf4-change b.neg {
  padding: 0; background: none; font-size: 13.5px;
}
.td-pf3 .pf3-hero .pf4-block .pf3-periodwrap .pfx-periods { gap: 5px; padding: 0; background: none; box-shadow: none; }
.td-pf3 .pf3-hero .pf4-block .pf3-periodwrap .pfx-periods button {
  height: 28px; min-width: 0; padding: 0 11px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); box-shadow: var(--ybm-halka); background: none;
}
.td-pf3 .pf3-hero .pf4-block .pf3-periodwrap .pfx-periods button.on { color: var(--foreground); background: var(--ybm-secili); box-shadow: none; }
.td-pf3 .pf3-hero .pf4-block .pf3-periodwrap > button { width: 28px; height: 28px; border-radius: 10px; box-shadow: var(--ybm-halka); }
.td-pf3 .pf3-hero .pf3-alloc { border-top: 1px solid var(--ybm-cizgi); }
.td-pf3 .pf3-hero .pf3-allochead { font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted-2); }
.td-pf3 .pf3-hero .pf3-bar { height: 6px; border-radius: 6px; gap: 3px; }
.td-pf3 .pf3-hero .pf3-bar i { border-radius: 6px; }
.td-pf3 .pf3-hero .pf3-leg { padding: 8px 12px; border: 0; border-radius: 10px; background: var(--ybm-kutu); }
.td-pf3 .pf3-hero .pf3-leg span { font-size: 11px; color: var(--muted-2); }
.td-pf3 .pf3-hero .pf3-leg b { font-size: 14px; font-weight: 700; }
.td-pf3 .pf3-hero .pf3-leg small, .td-pf3 .pf3-hero .pf3-leg em { font-size: 11px; color: var(--muted-2); }
.td-pf3 .pf3-hero .pf3-legend { gap: 6px; }
.td-pf3 .pf3-hero .pf3-legend > * + * { border-left: 0; }
/* bolum sekmeleri (Open / Closed / Note / Stats): token sayfasinin Notes / Holders / Trades kutusu gibi */
.td-pf3 .pf4-tabs {
  gap: 5px; margin: 0; padding: 8px 10px; border: 1px solid var(--ybm-cizgi); border-bottom: 0; border-radius: 14px 14px 0 0;
  background: var(--ybm-ust); box-shadow: none;
}
.td-pf3 .pf4-tabs button {
  flex: 0 0 auto; height: 28px; padding: 0 12px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: var(--muted);
  background: none; box-shadow: var(--ybm-halka);
}
.td-pf3 .pf4-tabs button:hover { color: var(--foreground); background: var(--ybm-ustune); }
.td-pf3 .pf4-tabs button.on { color: var(--foreground); background: var(--ybm-secili); box-shadow: none; }
.td-pf3 .pf4-tabs button small { margin-left: 6px; font-size: 11.5px; color: var(--muted-2); background: none; padding: 0; }
.td-pf3 .pf4-tabs + .pf3-insights, .td-pf3 .pf4-tabs + .pf3-activity, .td-pf3 .pf4-tabs + * {
  margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0;
}
.td-pf3 .pf3-activity.pf4-card, .td-pf3 .pf3-insights > * {
  background: var(--ybm-govde); border: 1px solid var(--ybm-cizgi); border-radius: 0 0 14px 14px; box-shadow: none;
}
.td-pf3 .pf3-insights { display: grid; gap: 12px; }
.td-pf3 .pf3-insights > * + * { border-radius: 14px; }
.td-pf3 .pf3-poslist .pfd-row.pfx-row { padding: 9px 10px; margin: 0; border-radius: 10px; }
.td-pf3 .pf3-poslist .pfd-row.pfx-row:hover { background: var(--ybm-ustune); }
.td-pf3 :is(.pdl-title) { font-size: 13.5px; font-weight: 700; }
.td-pf3 :is(.pdl-sub) { font-size: 11.5px; color: var(--muted-2); }
.td-pf3 :is(.pdl-pct, .pfx-val) { font-family: var(--mono); font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.td-pf3 .pdl-lab { font-family: var(--mono); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.td-pf3 .kpz-rtag { padding: 1px 6px; border-radius: 6px; font-size: 10.5px; }
/* donem sirasi kartlari (TraderPage .tp-ranks) */
.td-pf3 .tp-ranks { gap: 6px; }
.td-pf3 .tp-rank { padding: 10px 12px; border: 0; border-radius: 10px; background: var(--ybm-kutu); box-shadow: none; }
.td-pf3 .tp-rankh { font-size: 11px; color: var(--muted-2); }
.td-pf3 .tp-ranknet { font-family: var(--mono); font-size: 15px; }
.td-pf3 .tp-ranksub { font-size: 11px; }

/* sag pozisyon listesi: trade masasinin sol paneli gibi (ust satir duz yazi, altinda Open / Closed haplari) */
.td-pf3 > aside.pf3-pos { background: var(--ybm-govde); border: 1px solid var(--ybm-cizgi); box-shadow: none; }
.td-pf3 > aside.pf3-pos > .td-tabs {
  display: flex; gap: 2px; min-height: 0; padding: 5px 6px; border-bottom: 1px solid var(--ybm-cizgi); background: var(--ybm-ust);
}
.td-pf3 > aside.pf3-pos > .td-tabs .td-tab {
  flex: 1 1 0; height: 32px; padding: 0 8px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--muted-2); background: none; box-shadow: none;
}
.td-pf3 > aside.pf3-pos > .td-tabs .td-tab:hover { color: var(--foreground); background: rgba(255, 255, 255, 0.05); }
.td-pf3 > aside.pf3-pos > .td-tabs .td-tab.on { color: var(--foreground); background: none; }
.td-pf3 > aside.pf3-pos > .td-tabs .td-tab::after { display: none !important; }
.td-pf3 > aside.pf3-pos .pfd-oc { padding: 8px 10px; border: 0; }
.td-pf3 > aside.pf3-pos .pfx-toggle { display: flex; gap: 5px; padding: 0; background: none; box-shadow: none; border: 0; }
.td-pf3 > aside.pf3-pos .pfx-toggle button {
  flex: 0 0 auto; height: 28px; padding: 0 12px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: none; box-shadow: var(--ybm-halka);
}
.td-pf3 > aside.pf3-pos .pfx-toggle button.on { color: var(--foreground); background: var(--ybm-secili); box-shadow: none; }
.td-pf3 > aside.pf3-pos .pfx-toggle button small { margin-left: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); background: none; padding: 0; }
.td-pf3 > aside.pf3-pos .pdl-row { border-top: 0; border-radius: 10px; padding-top: 9px; padding-bottom: 9px; }
.td-pf3 > aside.pf3-pos .pdl-row:hover { background: var(--ybm-ustune); }
.td-pf3 > aside.pf3-pos .pfx-logo .tm-coin { width: 32px; height: 32px; }

/* ---------- POZISYON PENCERESI (KapaliPozisyon.tsx .kpz): token sayfasinin dili ---------- */
.kpz { width: min(1180px, 100%); background: var(--ybm-govde); border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 40px 120px rgba(0, 0, 0, 0.7); }
.kpz-scrim { background: rgba(8, 7, 10, 0.72); }
.kpz-top { padding: 10px 12px 10px 14px; background: var(--ybm-ust); border-bottom: 1px solid var(--ybm-cizgi); }
.kpz-who { gap: 9px; padding: 3px 8px 3px 3px; font-size: 14px; }
.kpz-face { width: 30px; height: 30px; border-radius: 9px; font-size: 16px; }
.kpz-who .rz { margin-left: -3px; }
.kpz-chev { width: 13px; height: 13px; }
.kpz-topr { gap: 6px; }
.kpz-share, .kpz-topr .ph-btn {
  height: 32px; min-height: 0; padding: 0 12px; gap: 6px; border-radius: 10px; font-size: 12.5px; font-weight: 700;
}
.kpz-share { background: none; box-shadow: var(--ybm-halka); }
.kpz-share:not(:disabled):hover { background: var(--ybm-secili); }
.kpz-share svg, .kpz-topr .ph-btn svg { width: 14px; height: 14px; }
.kpz-x { width: 32px; height: 32px; border-radius: 10px; background: none; box-shadow: var(--ybm-halka); font-size: 20px; color: var(--muted); }
.kpz-x:hover { background: var(--ybm-secili); color: var(--foreground); }
.kpz-body { grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; padding: 16px 16px 16px 18px; }
@media (max-width: 1180px) { .kpz-body { grid-template-columns: minmax(0, 1fr) 310px; gap: 14px; } }
.kpz-left { gap: 12px; }
.kpz-head { gap: 12px; }
.kpz-coin .tm-coin.lg, .kpz-img { width: 42px; height: 42px; }
.kpz-id { gap: 5px; }
.kpz-sym b { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.kpz-sym .kpz-chev { width: 12px; height: 12px; }
.kpz-addr { font-size: 11.5px; }
.kpz-tags { gap: 5px; }
.kpz-closed, .kpz-badge { padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; line-height: 1.35; }
.kpz-closed.open { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.kpz-px { gap: 4px; }
.kpz-px b { font-family: var(--mono); font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.kpz-px small { font-family: var(--mono); font-size: 12px; font-weight: 700; }
.kpz-px small em { font-family: var(--sans); font-size: 11.5px; }
/* grafik cercevesiz ve zeminle butun (trade masasindaki gibi) */
.kpz-chart { background: none; box-shadow: none; border-radius: 0; }
.kpz-right { gap: 10px; }
/* Long / Short: biletin Buy / Sell cercevesi gibi tek kutu, iki renkli dugme */
.kpz-ctas { gap: 3px; padding: 3px; border-radius: 13px; background: rgba(255, 255, 255, 0.025); box-shadow: var(--ybm-halka); }
.kpz-cta { height: 40px; border-radius: 10px; font-size: 14.5px; font-weight: 700; box-shadow: none !important; }
.kpz-cta.buy { background: var(--gain); color: #06130c; }
.kpz-cta.sell { background: var(--danger); color: #1a0509; }
.kpz-cta:hover { filter: brightness(1.08); }
/* sonuc karti: koyu ic kutu, ust renkli cizgi yok; rakamlar --mono */
.kpz-res { padding: 14px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); box-shadow: var(--ybm-halka); }
.kpz-res::after { display: none; }
.kpz-reslbl { min-height: 0; font-size: 11.5px; }
.kpz-resrow b { font-family: var(--mono); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.kpz-resrow small { font-size: 11.5px; }
.kpz-resl small { gap: 6px; }
.kpz-badge.sm { padding: 1px 6px; font-size: 10.5px; }
.kpz-dots { margin: 12px 0 10px; border-top: 1px solid var(--ybm-cizgi); }
.kpz-avg { font-size: 11.5px; }
.kpz-avg b { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.kpz-tpsl { margin: 12px -14px -14px; border-top-color: var(--ybm-cizgi); }
.kpz-tpslbtn { height: 40px; font-size: 12.5px; background: none; }
.kpz-tpslbtn:hover { background: var(--ybm-ustune); }
/* islemler: trade masasinin Trades listesi gibi; baslik kucuk harf araligi, satirlar ayiricisiz */
.kpz-txhead { padding: 6px 4px 2px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.kpz-txhead b { font-family: var(--sans); font-size: 10.5px; font-weight: 600; color: var(--muted-2); }
.kpz-txhead em { font-family: var(--mono); font-size: 12px; letter-spacing: 0; text-transform: none; }
.kpz-txlist { margin-right: -6px; padding: 0 6px 0 0; }

/* ---------- PERPS (Perps.tsx PerpDetail; Trade masasinda da): token sayfasinin basligi ve kutulari ---------- */
.ybt-bas.ybp-bas, .yb-trade .ybt-bas.ybp-bas { grid-template-columns: auto auto minmax(0, 1fr); gap: 12px 16px; margin-bottom: 2px; }
.ybp-logo { display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.ybp-logo .tm-coin, .ybp-logo .tm-coin.lg { width: 45px; height: 45px; }
.ybp-adbtn { display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }
.ybp-adbtn .tm-caret { display: inline-grid; place-items: center; color: var(--muted-2); transition: transform 0.15s ease; }
.ybp-adbtn .tm-caret.open { transform: rotate(180deg); }
.ybp-adbtn:hover .tm-caret { color: var(--foreground); }
.ybp-kaldirac {
  flex: none; padding: 2px 7px; border-radius: 6px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0;
  background: var(--accent-soft); color: var(--accent);
}
.ybp-bas .ybt-altsatir { font-size: 12px; color: var(--muted-2); }
.ybp-bas .ybt-buyuk.pxf-up { color: var(--gain); }
.ybp-bas .ybt-buyuk.pxf-down { color: var(--danger); }
.ybp-fonlama b { display: inline-flex; gap: 6px; }
.ybp-fonlama .tm-countdown { color: var(--muted-2); font-weight: 600; }
/* grafik cercevesiz; defter sol panelin govdesinde */
.td-perp .tm-row { gap: 16px; }
.td-perp .tm-row > .tm-rowcell { background: var(--ybm-govde) !important; border: 1px solid var(--ybm-cizgi) !important; border-radius: 14px; box-shadow: none !important; overflow: hidden; }
.td-perp .tm-row > .tm-rowcell :is(.ob-head, .tm-bookhead, .ob-top) { background: var(--ybm-ust); border-bottom: 1px solid var(--ybm-cizgi); }
/* hesap paneli (Notes / Positions / Open orders / ...): token sayfasinin kutusu gibi */
.td-perp .tm-termfull { background: var(--ybm-govde); border: 1px solid var(--ybm-cizgi); border-radius: 14px; overflow: hidden; }
.td-perp .ac-acctbar { margin: 0; padding: 0; border: 0; }
.td-perp .ac-acctbar .pu-bartablist {
  gap: 5px; margin: 0; padding: 8px 10px; border-radius: 0; background: var(--ybm-ust); box-shadow: none; border-bottom: 1px solid var(--ybm-cizgi);
}
.td-perp .ac-acctbar .pu-bartab {
  height: 28px; padding: 0 12px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: none; box-shadow: var(--ybm-halka);
}
.td-perp .ac-acctbar .pu-bartab:hover { color: var(--foreground); background: var(--ybm-ustune); }
.td-perp .ac-acctbar .pu-bartab.on, .td-perp .ac-acctbar .pu-bartab[aria-selected="true"] { color: var(--foreground); background: var(--ybm-secili); box-shadow: none; }
.td-perp .ac-acctbar .pu-bartab::after { display: none !important; }
/* bilet: trade masasinin sag sutunu */
.td-perp .tm-aside > :is(.ap-panel, .bo, .ab-card, section) { background: var(--ybm-govde) !important; background-image: none !important; border: 1px solid var(--ybm-cizgi) !important; box-shadow: none !important; }
.td-perp .pt-rail .ap-panelbody > .ap-gate { background: none; padding: 26px 18px 22px; }
.td-perp .pt-rail .ap-panelbody > .ap-gate:not(.hl-para)::before { width: 52px; height: 52px; box-shadow: none; }
.td-perp .pt-rail .ap-gatetitle { font-size: 17px; }
.td-perp .pt-rail .ap-gate p { font-size: 13px; }
.td-perp .pt-rail .ap-gate .btn { min-height: 42px; border-radius: 10px; font-size: 14px; box-shadow: none; }
.td-perp .pt-types, .td-perp .pt-levwheel, .td-perp .pt-levlock, .td-perp .pt-size { background: rgba(255, 255, 255, 0.025); box-shadow: var(--ybm-halka); }
.td-perp .pt-type.on { background: var(--ybm-secili); }
.td-perp .pt-hazir .ap-preset { box-shadow: var(--ybm-halka); }
.td-perp .pt .tm-ctarow { background: rgba(255, 255, 255, 0.025); box-shadow: var(--ybm-halka); padding: 3px; gap: 3px; border-radius: 13px; }
.td-perp .pt .tm-ctarow .tm-cta { min-height: 42px; font-size: 14.5px; font-weight: 700; }
/* islem satirlari (TxRows.tsx .mp-tx / .po-kucuk; pozisyon penceresi ve pozisyon kartlari): Trades listesi gibi 13 px,
   ayiricisiz, ustune gelince yumusak dolgu; tutarlar --mono */
.mp-tx { padding: 7px 8px; border-radius: 8px; gap: 12px; transition: background 0.15s ease; }
.mp-tx + .mp-tx { border-top: 0; margin-top: 1px; }
.mp-tx:hover { background: var(--ybm-ustune); }
.mp-txl, .mp-txr { gap: 2px; }
.mp-txl b { font-size: 13px; font-weight: 700; }
.mp-txsade .mp-txadet { font-family: var(--mono); font-size: 12.5px; font-weight: 600; }
.mp-txr b { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.mp-txl small, .mp-txr small { font-size: 11px; }
.po-kucuk-satir { padding: 8px 8px; border-bottom: 0 !important; border-radius: 8px; }
.po-kucuk-satir:hover { background: var(--ybm-ustune); }
.po-kucuk-sol b { font-size: 13px; }
.po-kucuk-sag b { font-family: var(--mono); font-size: 13px; }
.po-kucuk-sag small { font-size: 11px; }
.po-kucuk { margin-bottom: 4px; border-bottom: 1px solid var(--ybm-cizgi); padding-bottom: 4px; }
/* pencerede grafigin altindaki notlar: akistaki satirlar kadar */
.kpz-post { gap: 10px; padding: 6px 0 12px; }
.kpz-post .pst-ava { width: 32px; height: 32px; border-radius: 10px; }
.kpz-posttop b { font-size: 13.5px; }
.kpz-posttop time { font-size: 11.5px; }
.kpz-post .pst-text { font-size: 13px; line-height: 1.45; }
.kpz-post :is(.pst-more, .pcv-btn, .nt-like) { font-size: 12px; }

/* ---------- RANK SAYFASI (RankDesk.tsx Stage, YouCard) ve masalardaki butun ap-panel kartlari ---------- */
.td-desk:not(.yb-trade) .td-main :is(.ap-panel, .rk-step) { background: var(--ybm-govde); border: 1px solid var(--ybm-cizgi); box-shadow: none; }
.rk-sharebtn { height: 30px; padding: 0 12px; border: 0; border-radius: 10px; background: none; box-shadow: var(--ybm-halka); font-size: 12.5px; font-weight: 600; }
.rk-sharebtn:hover { background: var(--ybm-secili); }
.rk-sharebtn svg { width: 14px; height: 14px; }
.rk-podium { gap: 12px; }
.rk-step { border-radius: 14px; }
/* 1. sira: turuncu dolgu ve golge yerine ince turuncu halka ve tepede cok hafif isik */
.td-desk .td-main .rk-step.p1, .rk-step.p1 {
  background: radial-gradient(90% 60% at 50% 0%, rgba(255, 106, 0, 0.08), transparent 70%), var(--ybm-govde);
  border-color: rgba(255, 106, 0, 0.28); box-shadow: none;
}
.rk-step .rk-podava { border-radius: 14px; }
.rk-step.p1 .rk-podava { box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.45); }
.rk-podname { font-size: 14px; }
.rk-podbal { font-size: 20px; letter-spacing: -0.02em; }
.rk-step.p1 .rk-podbal { font-size: 24px; }
.rk-podnet { font-family: var(--mono); font-size: 13.5px; }
.rk-step.p1 .rk-podnet { font-size: 14.5px; }
.rk-step :is(.rk-podsub, small) { font-size: 11.5px; }
.rk-board { padding: 6px; border-radius: 14px; }
.rk-brow { width: 100%; margin: 0; min-height: 52px; padding: 8px 12px; border-top: 0 !important; border-radius: 10px; gap: 12px; }
.rk-brow + .rk-brow { margin-top: 1px; }
.rk-brow:hover { background: var(--ybm-ustune); }
.rk-brow .rk-name b { font-size: 13.5px; }
.rk-brow :is(.pdl-sub, .rk-trades, small) { font-size: 11.5px; }
.rk-brow > b, .rk-brow .rk-bal b { font-size: 13.5px; }
.rk-brow img, .rk-brow .face-img { border-radius: 10px; }
.rk-you { padding: 16px 16px; border-radius: 14px; }
.rk-you .ab-title { font-size: 15px; }
.rk-you .rk-youtxt { font-size: 12.5px; }
.rk-you .btn { min-height: 36px; padding: 0 16px; border-radius: 10px; font-size: 13px; box-shadow: none; }

/* ---------- "Your positions" (sag sutun, YourPositions.tsx): baslik kucuk, Open / Closed 28 px haplar ---------- */
.ab-poshead .ab-title { font-family: var(--display); font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.ab-poshead .pfx-toggle { display: flex; gap: 5px; padding: 0; background: none; box-shadow: none; border: 0; }
.ab-poshead .pfx-toggle button {
  height: 28px; min-height: 0; padding: 0 11px; border: 0; border-radius: 10px; font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  color: var(--muted); background: none !important; box-shadow: var(--ybm-halka) !important;
}
.ab-poshead .pfx-toggle button.on { color: var(--foreground); background: var(--ybm-secili) !important; box-shadow: none !important; }
.ab-poshead .pfx-dotlive { width: 6px; height: 6px; margin-left: 6px; }
.yp-pos .ab-empty, .ab-pos .ab-empty { font-size: 12.5px; color: var(--muted-2); }

/* ---------- AGENT ODASI (AgentRoom.tsx td-ag): koyu govdeler, isiklar sonuk, haplar masa dilinde ---------- */
.td-ag .ag2-stage, .td-ag .ag2-chat { background: var(--ybm-govde) !important; border: 1px solid var(--ybm-cizgi) !important; box-shadow: none !important; }
.td-ag .ag2-stage-glow, .td-ag .tgc-glow { opacity: 0.35; }
.td-ag .ag2-hero h1, .td-ag .ag2-hero h2 { font-size: 22px; letter-spacing: -0.02em; }
.td-ag .ag2-hero p { font-size: 13px; }
.td-ag .ag2-hero .btn { min-height: 40px; border-radius: 10px; font-size: 14px; box-shadow: none; }
.td-ag .aak-head { border-bottom: 1px solid var(--ybm-cizgi); background: var(--ybm-ust); }
.td-ag .aak-tabs { display: flex; gap: 2px; min-height: 0; padding: 5px 6px; border: 0; background: none; }
.td-ag .aak-tabs .td-tab { flex: 1 1 0; height: 32px; padding: 0 8px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--muted-2); background: none; box-shadow: none; }
.td-ag .aak-tabs .td-tab:hover { color: var(--foreground); background: rgba(255, 255, 255, 0.05); }
.td-ag .aak-tabs .td-tab.on { color: var(--foreground); background: none; }
.td-ag .aak-tabs .td-tab::after { display: none !important; }
.td-ag .aak-empty { font-size: 12.5px; color: var(--muted-2); }
.td-ag .ag2-aside .ap-panel { padding: 16px; }
.td-ag .ag2-aside :is(.ab-title, h3) { font-size: 15px; }
.td-ag .ag2-aside :is(p, li, small) { font-size: 12.5px; }
.td-ag .tgc-btn { min-height: 38px; height: 38px; border-radius: 10px; font-size: 13px; background: none; box-shadow: var(--ybm-halka); }
.td-ag .tgc-btn:hover { background: var(--ybm-secili); }

/* ---------- FEED SAYFASI (/feed, pages/Feed.tsx tam sayfa): trade masasindaki Feed panelinin buyugu ----------
   Tek koyu govde; ustte duz yazi sekmeler (Global / Social / Following) ve sagda 28 px suzgec haplari; satirlar kartsiz,
   ince ayiricili; yan kartlar ayni govdede. */
.fd:not(.yb-tradefeed .fd) .fd-main { background: var(--ybm-govde); border: 1px solid var(--ybm-cizgi); border-radius: 14px; overflow: clip; }
.fd:not(.yb-tradefeed .fd) .fd-head {
  padding: 6px 10px 6px 6px; gap: 8px; background: color-mix(in srgb, var(--ybm-govde) 92%, transparent);
  border-bottom: 1px solid var(--ybm-cizgi); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.fd:not(.yb-tradefeed .fd) .fd-tabs { gap: 2px; }
.fd:not(.yb-tradefeed .fd) .fd-tabs button {
  height: 34px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--muted-2); background: none;
}
.fd:not(.yb-tradefeed .fd) .fd-tabs button:hover { color: var(--foreground); background: rgba(255, 255, 255, 0.05); }
.fd:not(.yb-tradefeed .fd) .fd-tabs button.on { color: var(--foreground); background: none; }
.fd:not(.yb-tradefeed .fd) .fd-tabs button::after { display: none !important; }
.fd:not(.yb-tradefeed .fd) .fd-filt { gap: 5px; padding: 0; background: none; box-shadow: none; }
.fd:not(.yb-tradefeed .fd) .fd-filt button {
  height: 28px; padding: 0 12px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: none; box-shadow: var(--ybm-halka);
}
.fd:not(.yb-tradefeed .fd) .fd-filt button.on { color: var(--foreground); background: var(--ybm-secili); box-shadow: none; }
.fd:not(.yb-tradefeed .fd) .fd-list { gap: 0; padding: 0; }
.fd:not(.yb-tradefeed .fd) .fd-item {
  padding: 14px 16px 12px; gap: 12px; border: 0; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); background: none;
  transition: background 0.15s ease;
}
.fd:not(.yb-tradefeed .fd) .fd-item:hover { background: rgba(255, 255, 255, 0.018); border-color: rgba(255, 255, 255, 0.05); }
.fd:not(.yb-tradefeed .fd) :is(.fd-avabtn, .fd-ava) { width: 38px; height: 38px; border-radius: 11px; }
.fd:not(.yb-tradefeed .fd) .fd-body { gap: 6px; font-size: 14px; }
.fd:not(.yb-tradefeed .fd) .fd-name b { font-size: 14px; }
.fd:not(.yb-tradefeed .fd) .fd-tag { font-size: 11px; padding: 2px 7px; border-radius: 6px; line-height: 1.3; }
.fd:not(.yb-tradefeed .fd) .fd-top time { font-size: 12px; color: var(--muted-2); }
.fd:not(.yb-tradefeed .fd) .fd-konu .tm-coin.lg { width: 28px; height: 28px; }
.fd:not(.yb-tradefeed .fd) :is(.fd-sym, .fd-usd) { font-size: 14px; }
.fd:not(.yb-tradefeed .fd) .fd-usd { font-family: var(--mono); }
.fd:not(.yb-tradefeed .fd) :is(.fd-post, .fd-poz) { font-size: 14px; line-height: 1.5; }
.fd:not(.yb-tradefeed .fd) .fd-pacts button { font-size: 12.5px; }
.fd:not(.yb-tradefeed .fd) .fd-pacts svg { width: 14px; height: 14px; }
/* yan kartlar */
.fd-side .fd-card { background: var(--ybm-govde); border: 1px solid var(--ybm-cizgi); box-shadow: none; }
.fd-side .fd-card :is(h2, h3, .fd-cardhead, header) { font-size: 13.5px; }
.fd-side .fd-rank li { border-radius: 10px; }
.fd-side .fd-rank li:hover { background: var(--ybm-ustune); }
.fd-side .fd-rank b { font-family: var(--mono); font-size: 13px; }
.fd-side :is(.btn, a.btn, button.btn) { min-height: 32px; height: 32px; border-radius: 10px; font-size: 12.5px; background: none; box-shadow: var(--ybm-halka); }
/* 29 Kas gece (Cihan): arac dugmesi TradingView logosunun altinda, grafigin sol alt kosesinde; haplar sabit (ChartFx) */
.tv-aracdugme { top: auto; bottom: 8px; transform: none; }
.cfx-serit.kab { transition: opacity 0.25s ease; }

/* ---------- 29 Kas gece (Cihan, Fomo gibi): Perps defteri Open / Hide order book (Perps.tsx) ---------- */
.td-perp .tm-row.defter-kapali { grid-template-columns: minmax(0, 1fr) !important; }
.td-perp .tm-row > .yb-defterhucre { display: flex; flex-direction: column; min-height: 0; }
.yb-defter { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.yb-defter > * { flex: 1; min-height: 0; }
.yb-defterdugme {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; height: 36px; padding: 0 12px;
  border: 0; background: none; cursor: pointer; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted-2);
  transition: color 0.15s ease;
}
.yb-defterhucre > .yb-defterdugme { width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.yb-defterdugme:hover { color: var(--foreground); }
.yb-defterdugme:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 10px; }
.yb-defteracsira { display: flex; justify-content: flex-end; margin-top: -2px; }
/* 29 Kas gece (Cihan: "orderbook'un arka planini sok, Fomo'daki gibi"): defter kartsiz, sayfa zemininde; grafikle
   arasinda yalniz ince dikey cizgi. Basligi ve ust seridi de zeminsiz. */
.td-perp .tm-row > .tm-rowcell.yb-defterhucre {
  background: none !important; border: 0 !important; border-left: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 0 !important; box-shadow: none !important; padding-left: 4px;
}
.td-perp .yb-defterhucre :is(.ob-head, .tm-bookhead, .ob-top, .tm-book, .tm-bookmid, .tm-pressure) { background: none !important; }
.td-perp .yb-defterhucre .tm-pressure { border-top: 0; }
