/* =====================================================================================================
   TİCARET EVİ · EŞYA AYRINTISI (2026-11-29, PC) — borsa sayfası. Yapı: js/ticaret-evi.js.
   Dil: İşlemehane / Kut Ocağı (sıcak kömür, koyu kahve-gri paneller, 1 px kısık kenar, altın vurgu, Alegreya SC başlıklar).
   Dar orta sütun (1280; < 1120 px): solda kimlik, özet, fiyat grafiği ve sekmeli alt bölüm (defter · derinlik · son işlemler),
   sağda işlem paneli. Geniş (≥ 1120 px; 1920): grafik + defter + işlem paneli yan yana, altta derinlik ve son işlemler.
   Sayfa kaymaz; yalnız transform / opacity / clip-path canlanır.
   ===================================================================================================== */
/* ayrıntı açıkken tür ağacı her genişlikte saklanır: sayfanın bütün eni borsaya */
.te-win .te-mk:has(> .te-main[data-v="det"]) { grid-template-columns: minmax(0, 1fr); }
.te-win .te-mk:has(> .te-main[data-v="det"]) > .te-cats { display: none; }
.te-win .te-main[data-v="det"] { gap: 8px; }
.te-win .tx-crumb { height: 30px; }
.tx-upd { gap: 8px; color: var(--dim); }
.tx-rf { width: 26px; height: 26px !important; padding: 0 !important; justify-content: center; border-radius: 8px; }
.tx-rf .ic { width: 11px; height: 11px; margin: 0; }
.tx-rf.spin .ic { animation: txSpin .7s var(--ease); }
@keyframes txSpin { to { transform: rotate(360deg); } }

.tx { --void: #0b0a0a; --ed: #3a3229; --ink: #f4ecd9; --sub: #a0968f; --dm: #7f766e; --up: #8fdc7a; --dn: #ee8a6e; --buy: #c4ecb8; --sell: #ffc2a8; --gl: #e7c26a;
  --panel: linear-gradient(180deg, rgba(36, 31, 26, .96), rgba(20, 17, 15, .97));
  flex: 1 1 auto; min-height: 0; min-width: 0; display: grid; gap: 8px;
  grid-template-columns: minmax(0, 1fr) 252px;
  grid-template-rows: auto auto minmax(0, 1fr) auto minmax(0, 196px);
  grid-template-areas: "id fm" "st fm" "ch fm" "tb fm" "pn fm"; }
.tx .ic { flex: none; }
.tx .coin { width: 10px; height: 10px; flex: none; }
.tx-id { grid-area: id; } .tx-stats { grid-area: st; } .tx-chart { grid-area: ch; } .tx-btabs { grid-area: tb; }
.tx-book, .tx-depth, .tx-trades { grid-area: pn; } .tx-form { grid-area: fm; }
@container (max-width: 1119px) {
  .tx[data-bt="book"] :is(.tx-depth, .tx-trades), .tx[data-bt="depth"] :is(.tx-book, .tx-trades), .tx[data-bt="trades"] :is(.tx-book, .tx-depth) { display: none; }
  .tx-stats .tx-st:is(.hi, .lo, .spr) { display: none; }
}
@container (min-width: 1120px) {
  .tx { gap: 10px; grid-template-columns: minmax(0, 1fr) 304px 300px; grid-template-rows: auto auto minmax(0, 1.65fr) minmax(0, 1fr);
    grid-template-areas: "id id fm" "st st fm" "ch bk fm" "dp tr fm"; }
  .tx-btabs { display: none !important; }
  .tx-book { grid-area: bk; } .tx-depth { grid-area: dp; } .tx-trades { grid-area: tr; }
  .tx-stats .tx-st.rg { display: none; }
}
@container (min-width: 1360px) { .tx { grid-template-columns: minmax(0, 1fr) 330px 312px; } }

/* ortak kutu */
.tx-box { position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 9px 10px 10px; border-radius: 12px; background: var(--panel);
  box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px var(--ed), inset 0 1px 0 rgba(255, 236, 200, .06), 0 14px 26px -18px #000; animation: txIn .45s var(--ease) both; }
.tx-box::before { content: ''; position: absolute; inset: 4px; border-radius: 9px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 226, 170, .03); }
.tx-chart { animation-delay: .04s; } .tx-book { animation-delay: .08s; } .tx-depth { animation-delay: .12s; } .tx-trades { animation-delay: .16s; } .tx-form { animation-delay: .06s; }
@keyframes txIn { from { opacity: 0; transform: translateY(6px); } }
.tx-bh { flex: none; display: flex; align-items: center; gap: 8px; min-width: 0; height: 22px; }
.tx-bh > b { display: inline-flex; align-items: center; gap: 6px; font: 700 10.5px var(--fs); letter-spacing: .16em; text-transform: uppercase; color: #d9bd7e; white-space: nowrap; }
.tx-bh > b .ic { width: 11px; height: 11px; color: var(--gl); }
.tx-bh > small { flex: 1; min-width: 0; font: 500 10.5px var(--fb); color: var(--dm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-none { margin: auto; padding: 8px; font: 500 11px var(--fb); color: var(--dm); text-align: center; }
.tx-chg { display: inline-flex; align-items: center; gap: 2px; font: 600 10px var(--fn); font-style: normal; white-space: nowrap; }
.tx-chg .ic { width: 8px; height: 8px; }
.tx-chg.up { color: var(--up); } .tx-chg.dn { color: var(--dn); } .tx-chg.z { color: var(--dm); }
.tx-chg.big { padding: 2px 6px; border-radius: 6px; font-size: 11px; background: rgba(255, 255, 255, .04); }
.tx-chg.big.up { background: rgba(143, 220, 122, .1); } .tx-chg.big.dn { background: rgba(238, 138, 110, .1); }
.tx-ld .tx-box { opacity: .82; }

/* ---------- kimlik ---------- */
.tx-id { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 6px 8px 6px 6px; border-radius: 12px; background: #110f0d; box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px var(--ed); }
.tx-big { width: 46px !important; height: 46px !important; flex: none; }
.tx-idt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tx-idt > b { font: 700 17px/1.1 var(--fs); letter-spacing: .02em; color: #f6ecd2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-idt > small { font: 500 10.5px var(--fb); color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-idt > small i { font-style: normal; }
.tx-desc { position: relative; display: block; min-width: 0; font: 400 11px/1.35 var(--fb); color: #cfc8c2; cursor: help; outline: 0; }
.tx-desc > span:first-child { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-desc-pop { position: absolute; z-index: 30; left: -9px; top: -7px; width: min(560px, 82cqw); padding: 7px 9px; border-radius: 9px; white-space: normal; color: #efe5cf;
  background: #1b1714; box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px #6d5a35, 0 16px 30px -12px #000; opacity: 0; visibility: hidden; transform: translateY(-3px); transition: opacity .16s, transform .2s var(--ease), visibility 0s .2s; pointer-events: none; }
.tx-desc:hover .tx-desc-pop, .tx-desc:focus .tx-desc-pop { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .2s var(--ease); }
.tx-qs { flex: none; display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: #0d0c0b; box-shadow: inset 0 0 0 1px #26211c; }
.tx-q { position: relative; min-width: 82px; display: grid; gap: 3px; padding: 5px 9px 5px 8px; border-radius: 8px; text-align: left; transition: background .15s, box-shadow .2s; }
.tx-q > span { display: flex; align-items: center; gap: 5px; min-width: 0; }
.tx-q > span:first-of-type b { font: 700 9px var(--fs); letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 75%, #cfc6ba); white-space: nowrap; }
.tx-q > span:first-of-type small { margin-left: auto; padding: 0 4px; border-radius: 4px; font: 600 9px var(--fn); color: #a0968f; background: rgba(255, 255, 255, .05); }
.tx-qd { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--c); opacity: .35; transition: opacity .2s; }
.tx-qp b { font: 700 12.5px var(--fn); color: #efe5cf; }
.tx-qp .tx-chg { margin-left: auto; }
.tx-q:hover { background: rgba(255, 230, 180, .04); }
.tx-q.on { background: color-mix(in srgb, var(--c) 11%, #1b1815); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, #3a3229); }
.tx-q.on .tx-qd { opacity: 1; box-shadow: 0 0 6px var(--c); }

/* ---------- özet şeridi ---------- */
.tx-stats { display: flex; min-width: 0; border-radius: 12px; background: #110f0d; box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px var(--ed); overflow: hidden; }
.tx-st { flex: 1 1 0; min-width: 0; display: grid; align-content: center; gap: 2px; padding: 6px 10px; position: relative; }
.tx-st + .tx-st::before { content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 1px; background: linear-gradient(180deg, transparent, #3a3229, transparent); }
.tx-st small { font: 700 7.5px var(--fs); letter-spacing: .16em; text-transform: uppercase; color: #a0968f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-st > b { display: inline-flex; align-items: center; gap: 4px; font: 700 13.5px/1.1 var(--fn); color: #f6ecd2; white-space: nowrap; }
.tx-st em { font: 500 9.5px var(--fn); font-style: normal; color: var(--dm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-st.buy > b { color: var(--buy); } .tx-st.sell > b { color: var(--sell); }
.tx-st.hi > b { color: #d6f0c8; } .tx-st.lo > b { color: #ffd6c6; }
.tx-st-last { flex: 1.7 1 0; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center;
  background: linear-gradient(90deg, rgba(231, 194, 106, .09), transparent); }
.tx-st-last small, .tx-st-last em:last-child { grid-column: 1 / -1; }
.tx-st-last > b { font-size: 17px; color: #f3d68e; }
.tx-st-last > b .coin { width: 12px; height: 12px; }
.tx-st-last .tx-chg { justify-self: start; }
.tx-st-last.up > b { color: #d8f2c4; } .tx-st-last.dn > b { color: #ffd2c2; }

/* ---------- grafik ---------- */
.tx-tools { margin-left: auto; display: flex; gap: 6px; }
.tx-seg { display: flex; gap: 1px; padding: 2px; border-radius: 8px; background: #0d0c0b; box-shadow: inset 0 0 0 1px #2a2521; }
.tx-seg button { height: 20px; padding: 0 9px; border-radius: 6px; font: 600 10.5px var(--fb); color: #bfb5a8; transition: background .15s, color .15s; }
.tx-seg button:hover { color: #efe6d6; background: #1c1916; }
.tx-seg button.on { color: #1c1408; background: linear-gradient(180deg, #d6bd78, #a98c4d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.tx-lg { display: inline-flex; align-items: center; gap: 5px; font: 500 10px var(--fn); color: var(--sub); white-space: nowrap; }
.tx-lg i { width: 12px; height: 0; border-top: 1.5px dashed #cfc8c2; opacity: .7; }
.tx-lg i.b, .tx-lg i.s { width: 9px; height: 9px; border: 0; border-radius: 2px; opacity: 1; background: rgba(111, 207, 98, .55); }
.tx-lg i.s { margin-left: 6px; background: rgba(238, 138, 106, .55); }
.tx-pl, .tx-dp { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 44px; grid-template-rows: minmax(0, 1fr) 16px; }
.tx-cv { position: relative; min-height: 0; border-radius: 8px; background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .05)); box-shadow: inset 0 0 0 1px #221e1a; overflow: hidden; cursor: crosshair; }
.tx-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: txRv .7s var(--ease) both; }
@keyframes txRv { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.tx-svg * { vector-effect: non-scaling-stroke; }
.tx-svg .gr { stroke: rgba(255, 236, 200, .06); stroke-width: 1; }
.tx-svg .gr.vz { stroke: rgba(255, 236, 200, .1); }
.tx-svg .ar { fill: url(#txAr); }
.tx-svg .ln { fill: none; stroke: #e7c26a; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(231, 194, 106, .35)); }
.tx-svg .ln.ghost { stroke-width: 1; stroke-dasharray: 3 4; opacity: .5; filter: none; }
.tx-svg .ext { stroke: #e7c26a; stroke-width: 1; stroke-dasharray: 2 4; opacity: .55; }
.tx-svg .avg { stroke: #cfc8c2; stroke-width: 1; stroke-dasharray: 5 5; opacity: .45; }
.tx-svg .vb.up { fill: rgba(143, 220, 122, .32); } .tx-svg .vb.dn { fill: rgba(238, 138, 110, .32); }
.tx-svg .cd.up { fill: #8fdc7a; } .tx-svg .cd.dn { fill: #ee8a6e; }
.tx-svg .wk { stroke-width: 1; } .tx-svg .wk.up { stroke: #8fdc7a; } .tx-svg .wk.dn { stroke: #ee8a6e; }
.tx-svg .da.b { fill: url(#txDb); } .tx-svg .da.s { fill: url(#txDs); }
.tx-svg .dl { fill: none; stroke-width: 1.6; stroke-linejoin: round; } .tx-svg .dl.b { stroke: #6fcf62; } .tx-svg .dl.s { stroke: #ee8a6a; }
.tx-svg .mid { stroke: #e7c26a; stroke-width: 1; stroke-dasharray: 3 4; opacity: .6; }
.tx-ya { position: relative; min-height: 0; }
.tx-ya > span { position: absolute; left: 6px; transform: translateY(-50%); font: 500 9.5px var(--fn); color: var(--dm); white-space: nowrap; }
.tx-ya > span.vl { color: #5d554d; transform: translateY(-100%); }
.tx-xa { position: relative; grid-column: 1; }
.tx-xa > span { position: absolute; top: 3px; transform: translateX(-50%); font: 500 9.5px var(--fn); color: var(--dm); white-space: nowrap; }
.tx-xa > span:first-child { transform: none; } .tx-pl .tx-xa > span:last-child { transform: translateX(-100%); }
.tx-tag { position: absolute; left: 2px !important; z-index: 2; padding: 2px 5px; border-radius: 4px; font: 700 10px var(--fn) !important; color: #1c1408 !important; background: #e7c26a; box-shadow: 0 0 0 1px var(--void), 0 0 10px -2px rgba(231, 194, 106, .7); transition: top .4s var(--ease); }
.tx-tag::before { content: ''; position: absolute; left: -4px; top: 50%; translate: 0 -50%; border: 4px solid transparent; border-left: 0; border-right-color: inherit; border-right-color: #e7c26a; }
.tx-tag.up { background: #8fdc7a; } .tx-tag.up::before { border-right-color: #8fdc7a; }
.tx-tag.dn { background: #ee8a6e; } .tx-tag.dn::before { border-right-color: #ee8a6e; }
.tx-tag.avg { color: #1a1714 !important; background: #a79e93; font-weight: 600 !important; box-shadow: 0 0 0 1px var(--void); } .tx-tag.avg::before { border-right-color: #a79e93; }
.tx-pt { position: absolute; z-index: 1; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #e7c26a; box-shadow: 0 0 0 1.5px #15120f; pointer-events: none; animation: txPt .5s var(--spring) both .45s; }
.tx-pt.last { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: #f3d68e; box-shadow: 0 0 0 2px #15120f, 0 0 0 3px rgba(231, 194, 106, .35); }
.tx-pt.last::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(231, 194, 106, .6); animation: txPing 2.4s ease-out infinite; }
@keyframes txPt { from { transform: scale(0); } }
@keyframes txPing { 0% { transform: scale(.4); opacity: 1; } 70%, 100% { transform: scale(1.8); opacity: 0; } }
.tx-empty { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: left; pointer-events: none; }
.tx-empty > .ic { width: 22px; height: 22px; color: #6d5e3b; }
.tx-empty span { display: grid; gap: 3px; max-width: 300px; }
.tx-empty b { font: 700 12.5px var(--fs); letter-spacing: .04em; color: #d9cdb6; }
.tx-empty small { font: 400 11px/1.35 var(--fb); color: var(--dm); }
.tx-sparse { position: absolute; left: 8px; top: 6px; margin: 0; padding: 2px 7px; border-radius: 6px; font: 500 9.5px var(--fn); color: var(--sub); background: rgba(13, 12, 11, .8); box-shadow: inset 0 0 0 1px #2a2521; pointer-events: none; }
/* artı imleç */
.tx-x { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.tx-x .v { position: absolute; left: var(--x); top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, rgba(231, 194, 106, .55), rgba(231, 194, 106, .2)); }
.tx-x .h { position: absolute; top: var(--y); left: 0; right: 0; height: 0; border-top: 1px dashed rgba(231, 194, 106, .45); }
.tx-x .dot { position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #f3d68e; box-shadow: 0 0 0 2px #15120f, 0 0 10px rgba(231, 194, 106, .8); }
.tx-x .dot.b { background: #8fdc7a; box-shadow: 0 0 0 2px #15120f, 0 0 10px rgba(111, 207, 98, .8); } .tx-x .dot.s { background: #ee8a6e; box-shadow: 0 0 0 2px #15120f, 0 0 10px rgba(238, 138, 106, .8); }
.tx-tip { position: absolute; left: var(--x); top: 8px; min-width: 132px; display: grid; gap: 3px; padding: 7px 9px; border-radius: 9px; transform: translateX(12px);
  background: rgba(24, 20, 17, .96); box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px #4a3e2c, 0 12px 24px -10px #000; animation: txTip .16s var(--ease) both; }
.tx-tip.l { transform: translateX(calc(-100% - 12px)); }
@keyframes txTip { from { opacity: 0; } }
.tx-tip small { font: 600 9.5px var(--fn); color: var(--sub); white-space: nowrap; }
.tx-tip .pr { display: flex; align-items: center; gap: 5px; } .tx-tip .pr b { font: 700 15px var(--fn); color: #f6ecd2; }
.tx-tip .ohlc { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 10px; font: 500 10px var(--fn); color: var(--dm); } .tx-tip .ohlc b { color: #efe5cf; }
.tx-tip .kv { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font: 500 10px var(--fb); color: var(--dm); } .tx-tip .kv b { font: 600 10px var(--fn); color: #e6dfd7; }
.tx-mid { position: absolute; top: 4px; transform: translateX(-50%); padding: 1px 6px; border-radius: 5px; font: 600 9.5px var(--fn); color: #f3d68e; background: rgba(13, 12, 11, .85); box-shadow: inset 0 0 0 1px #4a3e2c; white-space: nowrap; pointer-events: none; }
.tx-dp .tx-xa > span:first-child { transform: translateX(-50%); }

/* ---------- alt sekmeler (dar) ---------- */
.tx-btabs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 3px; border-radius: 10px; background: #0d0c0b; box-shadow: inset 0 0 0 1px #26211c; }
.tx-btabs button { position: relative; z-index: 1; height: 24px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 7px; font: 700 10px var(--fs); letter-spacing: .12em; text-transform: uppercase; color: #a89e92; transition: color .2s; }
.tx-btabs button small { font: 600 9px var(--fn); letter-spacing: 0; color: var(--dm); }
.tx-btabs button.on { color: #f3d68e; }
.tx-bsl { position: absolute; z-index: 0; left: 3px; top: 3px; bottom: 3px; width: calc((100% - 6px) / 3); border-radius: 7px; pointer-events: none;
  background: linear-gradient(180deg, rgba(231, 194, 106, .16), rgba(231, 194, 106, .04)); box-shadow: inset 0 0 0 1px #6d5a35; transform: translateX(calc(var(--i) * 100%)); transition: transform .38s var(--spring); }

/* ---------- emir defteri ---------- */
.tx-bth, .tx-bk { display: grid; grid-template-columns: 52px 50px 62px minmax(0, 1fr); gap: 6px; align-items: center; }
.tx-bth { flex: none; padding: 0 6px; font: 700 7.5px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: #8a8078; }
.tx-bth > :nth-child(-n+3) { text-align: right; }
.tx-bks { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 4px; }
.tx-side { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; gap: 2px; }
.tx-side.sell { flex-direction: column; }
.tx-sh { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 18px; padding: 0 6px; border-radius: 5px; font: 600 10px var(--fb); }
.tx-sh small { font: 500 9px var(--fn); opacity: .85; }
.tx-side.sell .tx-sh { color: var(--sell); background: rgba(238, 106, 80, .09); } .tx-side.buy .tx-sh { color: var(--buy); background: rgba(111, 207, 98, .08); }
.tx-lv { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 1px; overflow: hidden; }
.tx-side.sell .tx-lv { flex-direction: column-reverse; }
.tx-bk { position: relative; flex: none; height: 21px; padding: 0 6px; border-radius: 5px; font: 600 11px var(--fn); color: #e6dfd7; text-align: right; isolation: isolate; transition: background .12s; }
.tx-bk::before { content: ''; position: absolute; z-index: -1; right: 0; top: 1px; bottom: 1px; width: var(--w); border-radius: 4px; transition: width .5s var(--ease); }
.tx-bk.sell::before { background: linear-gradient(90deg, rgba(238, 106, 80, .05), rgba(238, 106, 80, .2)); }
.tx-bk.buy::before { background: linear-gradient(90deg, rgba(111, 207, 98, .04), rgba(111, 207, 98, .17)); }
.tx-bk > b { font-weight: 700; } .tx-bk.sell > b { color: var(--sell); } .tx-bk.buy > b { color: var(--buy); }
.tx-bk > span { color: #cfc8c2; font-weight: 500; } .tx-bk > .tt { color: var(--dm); }
.tx-bk em { min-width: 0; display: flex; align-items: center; gap: 4px; justify-content: flex-start; font: 400 11px/1 Kurale, Georgia, serif; font-style: normal; color: #b8aea2; text-align: left; white-space: nowrap; overflow: hidden; }
.tx-bk em i { flex: none; font: 600 8.5px var(--fn); font-style: normal; color: var(--dm); }
.tx-bk em.pl { color: #f0e2c4; }
.tx-bk em.me { color: var(--gl); }
.tx-bk.me { box-shadow: inset 2px 0 0 var(--gl); }
.tx-bk:hover { background: rgba(255, 230, 180, .06); }
.tx-bk:active { transform: scale(.99); }
.tx-spr { flex: none; display: flex; align-items: center; justify-content: center; gap: 12px; height: 26px; padding: 0 8px; border-radius: 7px; font: 500 10px var(--fb); color: var(--sub);
  background: linear-gradient(90deg, rgba(111, 207, 98, .06), rgba(231, 194, 106, .08), rgba(238, 106, 80, .06)); box-shadow: inset 0 0 0 1px #2e2822; }
.tx-spr span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.tx-spr b { font: 700 11.5px var(--fn); color: #f3d68e; } .tx-spr em { font: 600 9.5px var(--fn); font-style: normal; color: var(--dm); }
.tx-side .tx-none { margin: 4px 0; }
@container (max-width: 1119px) {
  .tx-book .tx-bth { display: none; }
  .tx-bks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 4px 8px; }
  .tx-spr { grid-column: 1 / -1; grid-row: 1; height: 22px; }
  .tx-side.sell .tx-lv { flex-direction: column; }
  .tx-bk { grid-template-columns: 46px 46px minmax(0, 1fr); height: 19px; }
  .tx-bk > .tt { display: none; }
  .tx-bk::before { left: auto; }
}

/* ---------- son işlemler ---------- */
.tx-trh, .tx-tr { display: grid; grid-template-columns: 44px minmax(0, 1fr) 50px 62px 22px; gap: 6px; align-items: center; }
.tx-trh { flex: none; padding: 0 6px; font: 700 7.5px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: #8a8078; }
.tx-trh > :nth-child(n+2) { text-align: right; }
.tx-trl { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 1px; overflow-y: auto; scrollbar-width: none; mask-image: linear-gradient(180deg, #000 85%, transparent); }
.tx-tr { flex: none; height: 20px; padding: 0 6px; border-radius: 5px; font: 600 11px var(--fn); color: #cfc8c2; animation: txIn .3s var(--ease) both; }
.tx-tr:nth-child(odd) { background: rgba(255, 255, 255, .015); }
.tx-tr small { font: 500 10px var(--fn); color: var(--dm); }
.tx-tr b { display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; font-weight: 700; }
.tx-tr b .ic { width: 8px; height: 8px; }
.tx-tr > span { text-align: right; } .tx-tr > .tt { color: var(--dm); font-weight: 500; }
.tx-tr i { justify-self: end; padding: 1px 4px; border-radius: 4px; font: 700 8.5px var(--fb); font-style: normal; color: var(--dm); }
.tx-tr.buy b { color: var(--up); } .tx-tr.buy i { color: var(--buy); background: rgba(111, 207, 98, .13); }
.tx-tr.sell b { color: var(--dn); } .tx-tr.sell i { color: var(--sell); background: rgba(238, 106, 80, .14); }
.tx-tr:hover { background: rgba(255, 230, 180, .05); }
@container (max-width: 1119px) { .tx-trh, .tx-tr { grid-template-columns: 56px minmax(0, 1fr) 60px 72px 26px; } }

/* ---------- işlem paneli ---------- */
.tx-form { gap: 7px; padding: 10px; overflow-y: auto; scrollbar-width: none; }
.tx-sd { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; border-radius: 11px; background: #0d0c0b; box-shadow: inset 0 0 0 1px #26211c; }
.tx-sd button { height: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; font: 700 13px var(--fs); letter-spacing: .06em; color: #a89e92; transition: background .2s, color .2s, box-shadow .2s; }
.tx-sd button .ic { width: 10px; height: 10px; }
.tx-sd button:hover:not(.on) { color: #efe6d6; background: #1b1815; }
.tx-sd button.buy.on { color: #f2ffe8; background: linear-gradient(180deg, #4f8a3e, #2f5c27); box-shadow: inset 0 0 0 1px #6fcf62, 0 4px 14px -6px rgba(111, 207, 98, .6); }
.tx-sd button.sell.on { color: #fff1ea; background: linear-gradient(180deg, #a5553a, #6e321f); box-shadow: inset 0 0 0 1px #ee8a6a, 0 4px 14px -6px rgba(238, 138, 106, .6); }
.tx-ty { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tx-ty button { display: grid; gap: 1px; padding: 5px 8px; border-radius: 8px; text-align: left; background: #110f0d; box-shadow: inset 0 0 0 1px #2a2521; transition: box-shadow .2s, background .2s; }
.tx-ty b { font: 700 11.5px var(--fb); color: #d9cfc2; } .tx-ty small { font: 500 9.5px var(--fb); color: var(--dm); }
.tx-ty button:hover:not(.on) { background: #191613; }
.tx-ty button.on { background: linear-gradient(180deg, rgba(231, 194, 106, .13), rgba(231, 194, 106, .03)); box-shadow: inset 0 0 0 1px #6d5a35; }
.tx-ty button.on b { color: #f3d68e; }
.tx-ctx { flex: none; margin: 0; font: 500 10.5px var(--fb); color: var(--sub); }
.tx-ctx b { font: 700 11px var(--fn); } .tx-ctx b.sell { color: var(--sell); } .tx-ctx b.buy { color: var(--buy); }
.tx-fld { flex: none; display: grid; gap: 5px; }
.tx-fl { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.tx-fl small { font: 700 8px var(--fs); letter-spacing: .16em; text-transform: uppercase; color: #a0968f; }
.tx-fl em { font: 500 9.5px var(--fn); font-style: normal; color: var(--dm); }
.tx .tx-stp { height: 32px; }
.tx .tx-stp button { transition: background .15s, color .15s; } .tx .tx-stp button:hover { background: #2a2420; color: var(--gl); }
.tx .tx-stp input:focus { color: #f3d68e; }
.tx-stp .coin { margin-right: 4px; }
.tx-hint { display: flex; gap: 4px; }
.tx-hint button { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 4px; height: 22px; padding: 0 5px; border-radius: 6px; font: 500 9.5px var(--fb); color: var(--sub); background: #110f0d; box-shadow: inset 0 0 0 1px #2a2521; white-space: nowrap; transition: box-shadow .15s, color .15s; }
.tx-hint b { font: 700 10px var(--fn); color: #efe5cf; }
.tx-hint button:hover { color: #efe6d6; box-shadow: inset 0 0 0 1px #6d5a35; }
.tx-pn { margin: 0; display: flex; align-items: center; gap: 5px; font: 500 10px var(--fb); color: var(--sub); }
.tx-pn .ic { width: 10px; height: 10px; }
.tx-pn.good { color: var(--up); } .tx-pn.bad { color: #e9b38f; } .tx-pn.hot { color: #f3d68e; }
.tx-rng { -webkit-appearance: none; appearance: none; width: 100%; height: 14px; margin: 0; background: none; cursor: pointer; }
.tx-rng::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #a98c4d var(--p), #2a2521 var(--p)); }
.tx-rng::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff0c0, #e7c26a 45%, #a8812f); box-shadow: 0 0 0 2px #15120f, 0 0 8px rgba(231, 194, 106, .6); transition: transform .15s var(--spring); }
.tx-rng:hover::-webkit-slider-thumb { transform: scale(1.15); }
.tx-qk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.tx-qk button { display: grid; place-items: center; height: 22px; border-radius: 6px; font: 700 10.5px var(--fn); color: #cfc6ba; background: #110f0d; box-shadow: inset 0 0 0 1px #2a2521; transition: box-shadow .15s, color .15s, background .15s; }
.tx-qk button:hover { color: #efe6d6; box-shadow: inset 0 0 0 1px #6d5a35; }
.tx-qk button.on { color: #f3d68e; background: rgba(231, 194, 106, .1); box-shadow: inset 0 0 0 1px #8a7140; }
.tx-qk button:last-child { font-family: var(--fb); color: var(--gl); }
.tx .tx-sum { flex: none; gap: 3px; padding: 7px 9px; background: #0f0d0c; }
.tx .tx-sum > div { font-size: 11px; }
.tx .tx-sum b.dn { color: #e9a58a; }
.tx-after { flex: none; display: grid; gap: 3px; padding: 6px 9px; border-radius: 9px; background: rgba(231, 194, 106, .04); box-shadow: inset 0 0 0 1px #2e2822; }
.tx-after small { font: 700 7.5px var(--fs); letter-spacing: .16em; text-transform: uppercase; color: #a0968f; }
.tx-after > span { display: flex; align-items: center; gap: 5px; font: 500 10.5px var(--fb); color: var(--sub); }
.tx-after > span > .ic { width: 10px; height: 10px; color: var(--gl); } .tx-after > span > .coin { width: 10px; height: 10px; }
.tx-after > span > .num { margin-left: auto; font: 500 10.5px var(--fn); color: var(--dm); }
.tx-after > span > svg.ic:not(:first-child) { width: 9px; height: 9px; color: var(--dm); }
.tx-after b { font: 700 11px var(--fn); color: #efe5cf; } .tx-after b.up { color: var(--up); } .tx-after b.dn { color: #ffb8a0; }
.tx-after em { font: 500 9px var(--fn); font-style: normal; color: var(--dm); }
.tx-warn { flex: none; margin: 0; display: flex; align-items: flex-start; gap: 6px; padding: 5px 8px; border-radius: 7px; font: 500 10.5px/1.3 var(--fb); color: #ffc9b6; background: rgba(238, 106, 80, .08); box-shadow: inset 0 0 0 1px rgba(238, 106, 80, .25); }
.tx-warn .ic { width: 11px; height: 11px; margin-top: 1px; }
.tx-go { flex: none; margin-top: auto; display: grid; justify-items: center; gap: 1px; height: 50px; border-radius: 12px; transition: transform .15s var(--spring), filter .15s; }
.tx-go b { font: 700 16px var(--fs); letter-spacing: .04em; } .tx-go small { font: 600 10px var(--fn); opacity: .78; }
.tx-go.buy { color: #10240c; background: linear-gradient(180deg, #a6e48f, #6fcf62 55%, #4f9d43); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 1px 0 rgba(255, 255, 255, .4), 0 8px 22px -10px rgba(111, 207, 98, .7); }
.tx-go.sell { color: #2a0f06; background: linear-gradient(180deg, #ffb89a, #ee8a6a 55%, #c4603f); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 1px 0 rgba(255, 255, 255, .4), 0 8px 22px -10px rgba(238, 138, 106, .7); }
.tx-go:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.tx-go:active:not(:disabled) { transform: scale(.97); }
.tx-go:disabled { color: #a0968f; background: linear-gradient(180deg, #2a2520, #1d1a17); box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #3a3229; cursor: not-allowed; }
.tx-foot { flex: none; margin: 0; font: 400 9.5px/1.35 var(--fb); color: var(--dm); text-align: center; }

/* panelin altı: emirlerin + şehirler (yer kalınca görünür) */
.tx-more { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; overflow: hidden; mask-image: linear-gradient(180deg, #000 calc(100% - 14px), transparent); }
.tx-mo { flex: none; display: grid; gap: 2px; }
.tx-mh { display: flex; align-items: baseline; gap: 8px; padding: 0 2px 3px; border-bottom: 1px solid #26211c; margin-bottom: 2px; }
.tx-mh b { font: 700 9.5px var(--fs); letter-spacing: .16em; text-transform: uppercase; color: #d9bd7e; }
.tx-mh small { margin-left: auto; font: 500 9.5px var(--fb); color: var(--dm); }
.tx-mo .tx-none { margin: 2px 0; text-align: left; padding: 2px; font-size: 10.5px; }
.tx-my { display: grid; grid-template-columns: 38px 1fr 58px minmax(0, 1fr) 20px; align-items: center; gap: 6px; height: 24px; padding: 0 2px 0 4px; border-radius: 6px; font: 600 11px var(--fn); color: #e6dfd7; }
.tx-my:hover { background: rgba(255, 230, 180, .04); }
.tx-my i { padding: 1px 0; border-radius: 4px; text-align: center; font: 700 9px var(--fb); font-style: normal; }
.tx-my.buy i { color: var(--buy); background: rgba(111, 207, 98, .13); } .tx-my.sell i { color: var(--sell); background: rgba(238, 106, 80, .14); }
.tx-my > span { text-align: right; color: var(--sub); font-weight: 500; }
.tx-my small { font: 500 9.5px var(--fn); color: var(--dm); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-cx { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #ffc2a8; background: #2a1a16; transition: background .15s; }
.tx-cx .ic { width: 8px; height: 8px; } .tx-cx:hover { background: #4a2219; }
.tx-ct { display: grid; grid-template-columns: minmax(0, 1fr) 56px 56px; align-items: center; gap: 6px; height: 22px; padding: 0 4px; border-radius: 6px; font: 500 11px var(--fb); color: var(--sub); }
.tx-ct span { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-ct span i { font: 600 8.5px var(--fn); font-style: normal; color: var(--gl); }
.tx-ct.on { color: #efe5cf; background: rgba(231, 194, 106, .06); }
.tx-ct b { text-align: right; font: 600 11px var(--fn); } .tx-ct b.sell { color: var(--sell); } .tx-ct b.buy { color: var(--buy); }
.tx-mh2 { display: grid; grid-template-columns: 40px 42px minmax(0, 1fr) 56px; align-items: center; gap: 6px; height: 20px; padding: 0 4px; font: 500 10.5px var(--fn); color: var(--sub); }
.tx-mh2 small { font-size: 9.5px; color: var(--dm); } .tx-mh2 span { text-align: right; } .tx-mh2 b { text-align: right; font-weight: 700; color: #efe5cf; }
.tx-mh2 i { font: 700 9.5px var(--fb); font-style: normal; } .tx-mh2.buy i { color: var(--buy); } .tx-mh2.sell i { color: var(--sell); }
.tx-ct b.best::after { content: '★'; margin-left: 3px; font-size: 8px; color: var(--gl); }

@container (max-width: 1119px) {
  .tx-form { gap: 6px; padding: 9px; }
  .tx-ty small, .tx-foot { display: none; }
  .tx-ty button { padding: 6px 8px; }
  .tx-id { gap: 9px; padding: 5px 6px; }
  .tx-big { width: 40px !important; height: 40px !important; }
  .tx-idt > b { font-size: 15px; }
  .tx-qs { gap: 2px; }
  .tx-q { min-width: 0; width: 62px; padding: 4px 6px 4px 7px; }
  .tx-q > span:first-of-type b { font-size: 8px; letter-spacing: .08em; }
  .tx-qp b { font-size: 11.5px; }
  .tx-st small { letter-spacing: .08em; }
  .tx-st-last { flex-basis: 0; flex-grow: 1.35; }
  .tx-q > span:first-of-type small { display: none; }
  .tx-qp .tx-chg { display: none; }
  .tx-st { padding: 5px 8px; }
  .tx-st > b { font-size: 12.5px; }
  .tx-st-last > b { font-size: 15px; }
}
