:root {
  --bg: #181a20;
  --panel: #1e2329;
  --raised: #2b3139;
  --line: #2b3139;
  --text: #eaecef;
  --muted: #848e9c;
  --accent: #b026ff; /* neon mor */
  --accent-2: #d58bff; /* koyu zeminde yazı ve simge için açık ton */
  --accent-ink: #ffffff;
  --glow: rgba(176, 38, 255, 0.5);
  --up: #2ebd85;
  --down: #f6465d;
  --warn-bg: #1d1a10;
  --warn-line: #3a3318;
  --warn-ink: #e2d6a6;
  --mine: #3b1763;
  --radius: 12px;
}
:root[data-theme=light] {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #f7f7f9;
  --raised: #eaecef;
  --line: #e3e5e9;
  --text: #1e2329;
  --muted: #6b7482;
  --accent: #9c12f0;
  --accent-2: #8a0fd6;
  --glow: rgba(156, 18, 240, 0.28);
  --up: #0c9c68;
  --down: #e0314a;
  --warn-bg: #fff7e0;
  --warn-line: #f0dfa8;
  --warn-ink: #6b5410;
  --mine: #ead6ff;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
html[data-theme=light] { color-scheme: light; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1 { font-size: 26px; margin: 0 0 6px; letter-spacing: -0.02em; }
h2 { font-size: 16px; margin: 0 0 12px; }
h3 { font-size: 13px; margin: 0 0 8px; color: var(--muted); font-weight: 600; }
p { margin: 0 0 12px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.up { color: var(--up); }
.down { color: var(--down); }
.r { text-align: right; }
.center { text-align: center; }
.link { color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* çerçeve */
#header {
  display: flex; align-items: center; gap: 24px; height: 56px; padding: 0 20px;
  border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 5;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: 0.14em; font-size: 15px; }
.brand img { width: 24px; height: 24px; }
#header nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
#header nav a, .who > a:not(.btn) { padding: 8px 12px; border-radius: 8px; color: var(--muted); white-space: nowrap; }
#header nav a:hover, .who > a:not(.btn):hover { color: var(--text); }
#header nav a.on, .who > a.on { color: var(--text); background: var(--raised); }
.who { display: flex; align-items: center; gap: 6px; }
.who > a:not(.btn) { max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
.who .short { display: none; }
#banner p { margin: 0; padding: 6px 20px; font-size: 12px; color: var(--warn-ink); background: var(--warn-bg); border-bottom: 1px solid var(--warn-line); text-align: center; }
main { padding: 20px; max-width: 1500px; margin: 0 auto; }
section > * + * { margin-top: 16px; }

/* parçalar */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 8px;
  padding: 10px 18px; font-weight: 600; white-space: nowrap;
}
.btn:hover { filter: brightness(1.1); }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn.wide { width: 100%; padding: 12px; }
.btn.buy { background: var(--up); color: #04150f; }
.btn.sell { background: var(--down); color: #fff; }
button:disabled { opacity: 0.55; cursor: default; }
.ghost { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px; color: var(--text); white-space: nowrap; }
.ghost:hover { border-color: #3a4258; }
#header .ghost, td .ghost { padding: 5px 10px; font-size: 13px; }

label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.field { display: flex; align-items: center; margin-top: 5px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.field:focus-within { border-color: var(--accent); }
.field input, .field select, .field textarea {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 10px 12px; color: var(--text); font-size: 14px;
}
.field textarea { resize: vertical; }
.field select { flex: 0 0 auto; padding-right: 8px; cursor: pointer; }
.field input + select { border-left: 1px solid var(--line); font-weight: 600; }
.field select option { background: var(--panel); }
.field em { font-style: normal; color: var(--muted); padding-right: 12px; font-size: 12px; }
.hint { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.note { font-size: 13px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); border-radius: 8px; padding: 10px 12px; overflow-wrap: anywhere; }
.empty { color: var(--muted); text-align: center; padding: 28px 0; margin: 0; }
.actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; align-items: center; }
.head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.head-row h1, .head-row h2 { margin-bottom: 4px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }

.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 3px; gap: 2px; }
.seg button { background: none; border: 0; padding: 6px 12px; border-radius: 6px; color: var(--muted); font-size: 13px; }
.seg button.on { background: var(--raised); color: var(--text); }
.seg.two { display: flex; }
.seg.two button { flex: 1; padding: 8px 20px; font-weight: 600; }
.seg button.on.buy { background: var(--up); color: #04150f; }
.seg button.on.sell { background: var(--down); color: #fff; }
.tabs { display: flex; gap: 16px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.tabs button { background: none; border: 0; padding: 8px 0; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--text); border-color: var(--accent); }

.scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); padding: 8px 10px; white-space: nowrap; }
.table th.r { text-align: right; }
.table td { padding: 11px 10px; border-top: 1px solid var(--line); white-space: nowrap; }
.table.rows tbody tr[data-act] { cursor: pointer; }
.table.rows tbody tr:hover { background: var(--raised); }
.pill { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: var(--raised); color: var(--muted); white-space: nowrap; }
.pill.released { color: var(--up); }
.pill.pending, .pill.paid { color: #e6c35c; }
.pill.disputed { color: var(--down); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 14px 0; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }

/* piyasalar */
.hero { padding: 36px 4px 20px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); }
.hero p { color: var(--muted); font-size: 16px; max-width: 520px; margin-bottom: 20px; }

/* al-sat */
.trade {
  display: grid; gap: 10px;
  grid-template-columns: minmax(0, 1fr) 280px 300px;
  grid-template-areas: "bar bar bar" "chart book form" "orders tape form";
  grid-template-rows: auto 470px auto;
}
.trade > * { margin-top: 0; min-width: 0; }
.tbar { grid-area: bar; display: flex; align-items: center; gap: 24px; padding: 10px 16px; flex-wrap: wrap; }
.pairs { display: flex; gap: 4px; flex-wrap: wrap; }
.pairs a { padding: 6px 10px; border-radius: 8px; color: var(--muted); font-weight: 600; }
.pairs a.on { background: var(--raised); color: var(--text); }
.stats { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.stats > div:not(.big) { display: flex; flex-direction: column; font-size: 12px; }
.stats span { color: var(--muted); }
.stats b { font-weight: 500; font-size: 13px; }
.big { font-size: 22px; font-weight: 700; }
.chartbox { grid-area: chart; display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.chartbox .seg { align-self: flex-start; }
#chart { flex: 1; width: 100%; min-height: 0; display: block; }
.book { grid-area: book; display: flex; flex-direction: column; padding: 12px 0; overflow: hidden; }
.book h3, .tape h3 { padding: 0 12px; }
.bhead, .book .row, .tape .row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; padding: 2px 12px; font-size: 12px; }
.bhead { color: var(--muted); padding-bottom: 6px; }
.bhead span:not(:first-child), .row span:not(:first-child) { text-align: right; }
.book .side { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.book #asks { justify-content: flex-end; }
.book .row { position: relative; background: none; border: 0; width: 100%; text-align: left; line-height: 1.5; }
.book .row:hover { background: var(--raised); }
.book .row i { position: absolute; right: 0; top: 0; bottom: 0; opacity: 0.13; pointer-events: none; }
.book .row.ask span:first-of-type { color: var(--down); }
.book .row.bid span:first-of-type { color: var(--up); }
.book .row.ask i { background: var(--down); }
.book .row.bid i { background: var(--up); }
.mid { padding: 8px 12px; font-size: 17px; font-weight: 700; border-block: 1px solid var(--line); margin: 4px 0; }
.oform { grid-area: form; align-self: start; }
.oform .seg.two { margin-bottom: 12px; }
.avail { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.avail b { color: var(--text); font-weight: 500; }
.pct { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.pct button { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 5px 0; font-size: 12px; color: var(--muted); }
.pct button:hover { color: var(--text); border-color: #3a4258; }
.orders { grid-area: orders; min-height: 220px; }
.tape { grid-area: tape; padding: 12px 0; max-height: 320px; overflow: hidden; }
.tape .row { line-height: 1.6; }

/* dar sayfalar */
.narrow { max-width: 460px; margin: 24px auto; }
.narrow.wide { max-width: 640px; }
.card { padding: 20px; }
.auth h1 { text-align: center; margin-bottom: 16px; }
.flip { display: block; margin: -4px auto 8px; width: 36px; height: 36px; border-radius: 50%; background: var(--raised); border: 1px solid var(--line); font-size: 16px; }
.flip:hover { border-color: var(--accent); }
.avail-inline { float: right; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.filters .seg.two { display: inline-flex; }
.steps { padding-left: 20px; margin: 0 0 16px; }
.steps li { margin-bottom: 10px; }
.secret { display: block; margin: 8px 0; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; font-size: 15px; letter-spacing: 0.08em; user-select: all; overflow-wrap: anywhere; }
.inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.inline .field { margin: 0; width: 170px; }

.chat { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.chat p:not(.empty) { margin: 0; max-width: 80%; align-self: flex-start; background: var(--raised); border-radius: 10px; padding: 7px 11px; overflow-wrap: anywhere; }
.chat p.mine { align-self: flex-end; background: var(--mine); }
.chat time { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.chatform { display: flex; gap: 8px; }
.chatform input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; outline: 0; }
.chatform input:focus { border-color: var(--accent); }

dialog { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 22px; width: min(480px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(4, 6, 10, 0.7); }
dialog h2 { font-size: 18px; }
dialog .actions { margin-top: 16px; }

#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--raised); border: 1px solid var(--line); border-left: 3px solid var(--up);
  padding: 11px 16px; border-radius: 8px; max-width: calc(100vw - 32px); transition: 0.2s; z-index: 20;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { border-left-color: var(--down); }

@media (max-width: 1100px) {
  .trade {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas: "bar bar" "chart chart" "book form" "orders orders" "tape tape";
    grid-template-rows: auto 380px auto auto auto;
  }
  .book .side { min-height: 170px; }
}
@media (max-width: 700px) {
  main { padding: 12px; }
  #header { gap: 10px; padding: 0 12px; }
  .brand span { display: none; }
  .who .full { display: none; }
  .who .short { display: inline; }
  /* Telefonda menü ekranın altında durur. */
  #header { justify-content: space-between; }
  #header nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; gap: 0; overflow: visible;
    background: var(--bg); border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
  }
  #header nav a { flex: 1; text-align: center; padding: 10px 2px; font-size: 12px; }
  main { padding-bottom: 84px; }
  #toast { bottom: 76px; }
  .hide-s { display: none !important; }
  .trade { grid-template-columns: minmax(0, 1fr); grid-template-areas: "bar" "chart" "form" "book" "orders" "tape"; grid-template-rows: auto 300px auto auto auto auto; }
  .stats { margin-left: 0; }
  .grid2 { grid-template-columns: 1fr; }
}
.qr { width: 190px; margin: 10px 0; padding: 6px; background: #fff; border-radius: 8px; }
.qr svg { display: block; width: 100%; height: auto; }
.dispute { border-top: 1px solid var(--line); padding: 14px 0; }
.dispute:first-child { border-top: 0; padding-top: 0; }
.dispute .chat { max-height: 180px; }

.pre { white-space: pre-wrap; }
.pill.cancelled { color: var(--muted); }
.inforow { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 4px; }
.inforow label { flex: 1; }
.inforow .ghost { margin-bottom: 12px; }

/* vadeli */
.trade.fut {
  grid-template-columns: minmax(0, 1fr) 330px;
  grid-template-areas: "bar bar" "chart form" "orders form";
  grid-template-rows: auto 470px auto;
}
.pairs small { font-weight: 400; font-size: 11px; color: var(--muted); }
.side-hint { margin: -4px 0 12px; }
.lev-now { float: right; color: var(--text); font-size: 13px; }
input[type=range] { display: block; width: 100%; margin: 10px 0 2px; accent-color: var(--accent); }
.more { margin-bottom: 12px; }
.more summary { cursor: pointer; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.warn { color: #e6c35c; }
td small { color: inherit; opacity: 0.8; }
form.split { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
@media (max-width: 1100px) {
  .trade.fut { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "bar bar" "chart form" "orders orders"; grid-template-rows: auto minmax(470px, auto) auto; }
}
@media (max-width: 700px) {
  .trade.fut { grid-template-columns: minmax(0, 1fr); grid-template-areas: "bar" "chart" "form" "orders"; grid-template-rows: auto 300px auto auto; }
}
@media (prefers-reduced-motion: reduce) { #toast { transition: none; } }

/* launchpad ve yönetim formları */
.bar { height: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; margin: 6px 0 8px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.actions.left { justify-content: flex-start; margin-bottom: 14px; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 12px; align-items: end; }
.grid-form button { margin-bottom: 12px; }
.hint + .btn { margin-top: 12px; }

/* menü, zil ve ek sayfalar */
.bell { position: relative; display: inline-flex; align-items: center; }
.bell b { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--down); color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.tile { display: flex; flex-direction: column; gap: 6px; color: var(--text); }
.tile:hover { border-color: var(--accent); }
.tile span { font-size: 13px; }
.field.search { margin-top: 0; width: 150px; }
.field.search input { padding: 7px 10px; }
.ghost.small { padding: 5px 10px; font-size: 12px; }
.pairs { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; align-items: center; scrollbar-width: thin; padding-bottom: 2px; }
.pairs .seg { flex: 0 0 auto; margin-right: 8px; }
.pairs .seg button { padding: 4px 10px; }
.check { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 13px; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; }
.pad { padding: 0 12px; white-space: nowrap; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }
.mono.wrap { overflow-wrap: anywhere; }
.code { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px; overflow-x: auto; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; line-height: 1.5; }
tr.mine td { background: var(--raised); }
.notice { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.notice:first-child { border-top: 0; padding-top: 0; }
.notice p { margin: 4px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.notice.new b::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.notice time { white-space: nowrap; font-size: 12px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; }
form[data-form=alert-add] { margin: 12px 0; justify-content: flex-start; }
@media (max-width: 700px) {
  #header nav a.sec { display: none; }
  .field.search { width: 110px; }
}

.news { display: flex; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.news span { flex: 1; }
.news time { font-size: 12px; opacity: 0.75; white-space: nowrap; }
.dispute .head-row { margin-bottom: 8px; align-items: center; }

/* ---------- site çerçevesi ---------- */
#header { height: 64px; padding: 0 24px; gap: 8px; border-bottom: 0; z-index: 20; }
.brand { margin-right: 12px; }
.nav-main { display: flex; flex: 1; min-width: 0; }
.ni { position: relative; display: flex; align-items: center; height: 64px; }
.nl { display: flex; align-items: center; gap: 2px; height: 64px; padding: 0 12px; font-weight: 500; white-space: nowrap; }
.ni:hover > .nl, .ni.on > .nl, .hi:hover, .ni.on > .hi, .bell.on { color: var(--accent-2); }
.chev { opacity: 0.6; transition: transform 0.2s; }
.ni:hover > .nl .chev { transform: rotate(180deg); }
.drop {
  position: absolute; top: 64px; left: 0; z-index: 30; display: none; width: 320px; padding: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2), 0 12px 28px rgba(0, 0, 0, 0.45);
}
.drop.two { width: 624px; grid-template-columns: 1fr 1fr; }
.drop.right { left: auto; right: 0; }
.ni:hover > .drop, .ni:focus-within > .drop { display: grid; }
.ni.shut > .drop { display: none; }
.mh { margin: 0; padding: 8px; color: var(--muted); font-weight: 500; }
.mi { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 10px 16px; background: none; border: 0; border-radius: 6px; text-align: left; color: var(--text); }
.mi:hover { background: var(--raised); }
.mi .ic { flex: 0 0 auto; }
.mi b { display: block; font-weight: 500; }
.mi small { display: block; color: var(--muted); font-size: 12px; line-height: 18px; }
.hr { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hi { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; background: none; border: 0; border-radius: 8px; color: var(--text); }
.hbtn { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 6px; background: var(--raised); font-weight: 500; white-space: nowrap; }
.hbtn:hover { filter: brightness(1.15); }
.hbtn.primary { background: var(--accent); color: var(--accent-ink); }
.who-box { padding: 12px 16px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.who-box b { display: block; overflow: hidden; text-overflow: ellipsis; }
.who-box small { color: var(--muted); }
.only-m { display: none; }
.drawer { position: fixed; inset: 0; z-index: 50; overflow-y: auto; background: var(--bg); padding: 8px 16px 110px; }
.drawer[hidden] { display: none; }
.drawer-head { display: flex; justify-content: flex-end; height: 48px; align-items: center; }
.drawer-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 16px; }
.drawer-auth .hbtn { height: 44px; justify-content: center; }
.drawer summary, .drawer-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 8px; font-size: 16px; font-weight: 600; background: none; border: 0; color: var(--text); cursor: pointer; list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details[open] summary .chev { transform: rotate(180deg); }
.no-scroll { overflow: hidden; }
#tabbar { display: none; }
#footer { max-width: 1200px; margin: 48px auto 0; padding: 32px 24px 40px; border-top: 1px solid var(--line); }
#footer[hidden] { display: none; }
.f-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.f-cols h3 { color: var(--text); font-size: 14px; margin-bottom: 12px; }
.f-cols a { display: block; padding: 4px 0; color: var(--muted); font-size: 13px; }
.f-cols a:hover { color: var(--text); }
.f-risk, .f-copy { margin: 24px 0 0; color: var(--muted); font-size: 12px; }
.f-copy { margin-top: 8px; }
.coin { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 50%; color: #fff; font-weight: 700; line-height: 1; }
.grow { flex: 1; }
.pairc { display: inline-flex; align-items: center; gap: 8px; }
.qlist { margin: 10px 0; min-height: 60px; }
.qlist a { display: flex; align-items: center; gap: 8px; padding: 10px 8px; border-radius: 8px; }
.qlist a:hover { background: var(--raised); }
.qlist .num:last-child { width: 70px; text-align: right; }

/* ---------- ana sayfa ---------- */
.landing { max-width: 1200px; margin: 0 auto; }
.l-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 530px); gap: 64px; align-items: center; padding: 28px 0 56px; }
.l-left h1 { font-size: clamp(44px, 6.4vw, 76px); line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 16px; }
.accent { color: var(--accent-2); }
.l-sub { font-size: 22px; font-weight: 500; margin-bottom: 28px; }
.l-stats { display: flex; flex-wrap: wrap; gap: 16px 44px; margin-bottom: 36px; }
.l-stats b { display: block; font-size: 26px; color: var(--accent-2); }
.l-stats span { color: var(--muted); font-size: 13px; }
.l-cta { display: flex; gap: 12px; max-width: 480px; }
.field.big { flex: 1; margin: 0; border-radius: 10px; }
.field.big input { padding: 14px 16px; font-size: 15px; }
.btn.big, .ghost.big { padding: 14px 28px; font-size: 16px; border-radius: 10px; }
.l-right { display: grid; gap: 16px; }
.l-card { background: var(--panel); border-radius: 16px; padding: 12px 24px 14px; }
.l-tabs { display: flex; align-items: center; gap: 22px; min-height: 40px; margin-bottom: 6px; overflow-x: auto; scrollbar-width: none; }
.l-tabs button { flex: 0 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 0; color: var(--muted); font-weight: 600; font-size: 15px; }
.l-tabs button.on { color: var(--text); border-color: var(--accent); }
.l-tabs a { margin-left: auto; font-size: 13px; white-space: nowrap; }
.l-tabs b { font-size: 15px; }
.crow { display: flex; align-items: center; gap: 8px; padding: 10px 0; }
.crow b { font-size: 16px; }
.crow .name { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crow .chg { flex: 0 0 76px; text-align: right; font-weight: 500; }
.l-new { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0; }
.l-new time { font-size: 12px; white-space: nowrap; }
.l-products, .l-faq, .l-end { padding: 36px 0; }
.landing h2 { font-size: 28px; margin-bottom: 20px; }
.tile .ic { color: var(--accent-2); }
.l-faq details { border-bottom: 1px solid var(--line); }
.l-faq summary { display: flex; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq .n { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.l-faq p { max-width: 820px; padding: 0 0 20px 48px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.l-end { text-align: center; }
.m-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

@media (max-width: 1000px) {
  .nav-main, .hide-m { display: none; }
  .only-m { display: inline-flex; }
  .l-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 8px 0 32px; }
  .m-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  #header { padding: 0 12px; }
  .l-card { padding: 10px 16px 12px; }
  .l-cta { flex-direction: column; }
  .l-faq p { padding-left: 0; }
  #footer { padding-bottom: 100px; }
  #tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    background: var(--panel); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  #tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; font-size: 11px; color: var(--muted); }
  #tabbar a.on { color: var(--text); }
  #tabbar a.on .ic { color: var(--accent-2); }
}
.l-left, .l-right, .l-right > * { min-width: 0; }
.ghost.big { display: inline-flex; justify-content: center; }
.l-cta .btn.big, .l-cta .ghost.big { flex: 0 0 auto; }

/* ---------- neon mor: parlama ---------- */
.btn:not(.buy):not(.sell), .hbtn.primary { box-shadow: 0 0 18px var(--glow); }
.btn:not(.buy):not(.sell):hover, .hbtn.primary:hover { box-shadow: 0 0 26px var(--glow); }
.l-left h1 .accent { text-shadow: 0 0 34px var(--glow); }
.brand img { filter: drop-shadow(0 0 6px var(--glow)); }
.l-tabs button.on, .tabs button.on { border-color: var(--accent); }
.link { color: var(--accent-2); }
:root[data-theme=light] .l-left h1 .accent { text-shadow: none; }

/* ---------- al-sat: Binance yerleşimi ---------- */
.trade {
  grid-template-columns: 300px minmax(0, 1fr) 300px;
  grid-template-areas: "bar bar bar" "book chart plist" "book form tape" "orders orders orders";
  grid-template-rows: auto 460px auto auto;
}
.tbar { gap: 28px; }
.tpair { display: flex; align-items: center; gap: 10px; }
.tpair b { display: block; font-size: 20px; line-height: 1.2; }
.tpair small { font-size: 12px; }
.tbar .stats { margin-left: 0; }
.plist { grid-area: plist; display: flex; flex-direction: column; padding: 12px 0; overflow: hidden; }
.plist-head { display: flex; align-items: center; gap: 8px; padding: 0 12px 10px; }
.plist-head .field.search { flex: 1; width: auto; }
.plist .bhead, .plist .row { display: grid; grid-template-columns: minmax(0, 1fr) auto 62px; gap: 8px; padding: 5px 12px; font-size: 12.5px; }
.plist .bhead span:not(:first-child), .plist .row span:not(:first-child) { text-align: right; }
#plist { flex: 1; overflow-y: auto; scrollbar-width: thin; }
.plist .row:hover, .plist .row.on { background: var(--raised); }
.forms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.oform .tabs { margin-bottom: 14px; }
.only-t { display: none; }
.tape { max-height: none; }
@media (max-width: 1100px) {
  .trade {
    grid-template-columns: 270px minmax(0, 1fr);
    grid-template-areas: "bar bar" "book chart" "book form" "plist tape" "orders orders";
    grid-template-rows: auto 420px auto 320px auto;
  }
}
@media (max-width: 900px) {
  .forms { grid-template-columns: minmax(0, 1fr); }
  .forms[data-side=buy] form[data-side=sell], .forms[data-side=sell] form[data-side=buy] { display: none; }
  .seg.two.only-t { display: flex; margin-bottom: 12px; }
}
@media (max-width: 700px) {
  .trade { grid-template-columns: minmax(0, 1fr); grid-template-areas: "bar" "chart" "form" "book" "orders" "tape"; grid-template-rows: auto 300px auto auto auto auto; }
  .plist { display: none; }
  .tape { max-height: 320px; }
}

/* ---------- ana sayfa: ek bölümler ---------- */
.laurel { color: var(--accent-2); flex: 0 0 auto; opacity: 0.9; }
.laurel.mirror { transform: scaleX(-1); }
.l-laurel { display: flex; align-items: center; gap: 6px; text-align: center; }
.l-laurel b { font-size: 24px; line-height: 1.15; }
.l-alt { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 13px; }
.sq { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; color: var(--text); }
.sq:hover { border-color: var(--accent); color: var(--accent-2); }
.count { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 6px 0 4px; }
.count b { font-size: 20px; }
.l-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; padding: 28px 0; border-block: 1px solid var(--line); }
.l-trust a { display: flex; align-items: center; gap: 16px; color: var(--muted); }
.l-trust a .ic { color: var(--accent-2); flex: 0 0 auto; }
.l-trust p { margin: 0; }
.l-trust b { color: var(--text); }
.huge { font-size: clamp(30px, 4.4vw, 52px) !important; line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
.l-safe { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 64px 0; }
.l-safe p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 560px; margin-bottom: 24px; }
.l-safe-stats { display: grid; gap: 22px; }
.l-safe-stats div { background: var(--panel); border-radius: 16px; padding: 20px 24px; }
.l-safe-stats b { display: block; font-size: 28px; }
.l-safe-stats span { color: var(--muted); }
.l-app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding: 56px 0; }
.l-app-qr { display: flex; justify-content: center; padding: 40px; background: var(--panel); border-radius: 24px; }
.l-app-qr .qr { width: 210px; margin: 0; box-shadow: 0 0 40px var(--glow); }
.l-app p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 520px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.chips span, .chips a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; }
.chips a { color: var(--accent-2); }
.center-qr { margin: 8px auto 16px; }
.f-pref { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-top: 28px; font-size: 13px; }
.f-pref h3 { margin: 0; color: var(--text); font-size: 14px; }
@media (max-width: 900px) {
  .l-trust, .l-safe, .l-app { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .l-safe, .l-app { padding: 36px 0; }
  .l-app-qr { padding: 24px; }
}

@media (min-width: 901px) { .seg.two.only-t { display: none; } }
.plist-head .seg { flex: 0 0 auto; }
.plist-head .field.search { min-width: 0; }
.plist-head .field.search input { min-width: 0; width: 100%; }
.l-laurel { gap: 10px; }

/* ---------- hareket ve geri bildirim ---------- */
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes flash-up { from { background: color-mix(in srgb, var(--up) 30%, transparent); } to { background: transparent; } }
@keyframes flash-down { from { background: color-mix(in srgb, var(--down) 30%, transparent); } to { background: transparent; } }
@keyframes grow { from { width: 0; } }
@keyframes toast-bar { from { width: 100%; } to { width: 0; } }
@keyframes tick { 0% { transform: scale(0.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes glow-pulse { 50% { box-shadow: 0 0 30px var(--glow); } }
main.enter { animation: page-in 0.28s ease both; }
.btn, .ghost, .hbtn, .sq, .hi { transition: transform 0.12s, box-shadow 0.2s, border-color 0.2s, color 0.2s, filter 0.2s; }
.btn:active, .ghost:active, .hbtn:active, .sq:active { transform: scale(0.96); }
.busy { position: relative; color: transparent !important; pointer-events: none; }
.busy::after { content: ''; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; }
.ghost.busy::after, .link.busy::after, .sq.busy::after { border-color: var(--line); border-top-color: var(--text); }
.shake { animation: shake 0.42s; }
form.shake .field { border-color: var(--down); }
dialog[open] { animation: pop 0.18s ease; }
dialog::backdrop { animation: fade 0.18s ease; }
.ni:hover > .drop, .ni:focus-within > .drop { animation: drop-in 0.16s ease; }
.mi { transition: background 0.15s; }
.mi .ic { transition: color 0.15s, transform 0.15s; }
.mi:hover .ic { color: var(--accent-2); transform: scale(1.08); }
.tile { transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 0 18px var(--glow); }
.flash-up { animation: flash-up 0.8s ease-out; }
.flash-down { animation: flash-down 0.8s ease-out; }
.bar i { animation: grow 0.8s ease-out; transition: width 0.6s; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.l-cta .btn.big { animation: glow-pulse 2.6s ease-in-out infinite; }
.table.rows tbody tr, .crow, .plist .row { transition: background 0.15s; }
.crow:hover { background: color-mix(in srgb, var(--raised) 60%, transparent); border-radius: 8px; }
.tabs button, .l-tabs button, .seg button { transition: color 0.15s, background 0.15s, border-color 0.15s; }
#toast { display: flex; align-items: center; gap: 10px; overflow: hidden; }
#toast i { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--up); }
#toast.show i { animation: toast-bar 3.5s linear forwards; }
#toast.bad i { background: var(--down); }
.t-ic { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; height: 20px; border-radius: 50%; background: var(--up); color: #04150f; font-size: 12px; font-weight: 700; }
#toast.show .t-ic { animation: tick 0.35s ease-out; }
#toast.bad .t-ic { background: var(--down); color: #fff; }

/* ---------- yer tutucular ve başlangıç adımları ---------- */
.tag { display: inline-block; font-style: normal; font-size: 10px; font-weight: 600; line-height: 1; padding: 3px 6px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent-2); vertical-align: middle; }
.drop.three { width: 928px; grid-template-columns: 1fr 1fr 1fr; }
.l-alt { gap: 10px; }
.l-sep { width: 1px; height: 28px; background: var(--line); margin: 0 6px; }
.sq b { font-size: 18px; }
.l-awards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 8px 0 28px; }
.slot { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px dashed var(--line); border-radius: 14px; }
.slot:hover { border-color: var(--accent); }
.slot .ic { color: var(--muted); flex: 0 0 auto; }
.slot p { flex: 1; margin: 0; }
.slot b, .slot span { display: block; }
.chips button { padding: 8px 16px; background: none; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; color: var(--text); }
.chips button:hover { border-color: var(--accent); }
.chip-on { border-color: var(--accent) !important; color: var(--accent-2); }
.f-social { display: flex; align-items: center; gap: 6px; margin-top: 28px; }
.f-social h3 { margin: 0 12px 0 0; color: var(--text); font-size: 14px; }
#l-steps { padding: 0 0 28px; }
.steps .bar { margin: 4px 0 14px; }
.step-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.step { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); flex-wrap: wrap; }
.step .dot { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.step.ok { color: var(--text); }
.step.ok .dot { background: var(--up); border-color: var(--up); color: #04150f; animation: tick 0.4s ease-out; }
.step.next { border-color: var(--accent); color: var(--text); box-shadow: 0 0 16px var(--glow); }
.step.next .dot { border-color: var(--accent); color: var(--accent-2); }
.step b { flex: 1 0 100%; font-size: 12px; color: var(--accent-2); padding-left: 36px; }
@media (max-width: 900px) { .l-awards { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.drop.three { position: fixed; top: 64px; left: 0; right: 0; margin: 0 auto; width: min(928px, calc(100vw - 32px)); }
.risk p { line-height: 1.6; }
.chips span b { margin-right: 4px; }

/* ---------- logolar ---------- */
img.coin { display: inline-block; border-radius: 50%; vertical-align: middle; }
.coin.own { background: #1c0f2e; border: 1px solid var(--accent); box-shadow: 0 0 10px var(--glow); }
.chips button { display: inline-flex; align-items: center; gap: 6px; }
.f-social .hi:hover { color: var(--accent-2); }

/* ---------- logo ---------- */
.brand { gap: 10px; }
.brand img { width: 28px; height: 28px; }
.brand .wm { display: flex; color: var(--text, currentColor); }
.brand .wm svg { display: block; height: 13px; width: auto; }
@media (max-width: 700px) { .brand .wm { display: none; } }

/* ---------- grafik ---------- */
.chartbox { padding: 0; gap: 0; overflow: hidden; min-height: 0; }
.ch { position: relative; display: flex; flex-direction: column; flex: 1; min-height: 0; min-width: 0; height: 100%; background: var(--panel); }
.ch [hidden] { display: none !important; }
.ch-bar { display: flex; align-items: center; gap: 2px; padding: 6px 8px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; flex: 0 0 auto; }
.ch-bar::-webkit-scrollbar { display: none; }
.ch-ivs { display: flex; gap: 2px; }
.ch-b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; min-width: 30px; height: 30px; padding: 0 7px; border: 0; border-radius: 6px; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.ch-b:hover { background: var(--raised); color: var(--text); }
.ch-b.on { color: var(--accent-2, var(--accent)); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.ch-b:disabled { opacity: .35; cursor: default; background: none; }
.ch-b span { display: inline-flex; }
.ch-sep { flex: 0 0 auto; width: 1px; height: 18px; margin: 0 6px; background: var(--line); }
.ch-grow { flex: 1; min-width: 8px; }
.ch-body { display: flex; flex: 1; min-height: 0; }
.ch-tools { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; border-right: 1px solid var(--line); overflow-y: auto; scrollbar-width: none; flex: 0 0 auto; }
.ch-tools .ch-sep { width: 18px; height: 1px; margin: 5px 0; }
.ch-stage { position: relative; flex: 1; min-width: 0; min-height: 0; }
.ch-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.ch-latest { position: absolute; right: 82px; bottom: 34px; background: var(--raised); color: var(--text); box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.ch-pop { position: absolute; z-index: 30; min-width: 190px; max-width: min(340px, calc(100% - 8px)); overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: 0 12px 34px rgba(0, 0, 0, .45); animation: ch-in .14s ease-out; }
@keyframes ch-in { from { opacity: 0; transform: translateY(-4px); } }
.ch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
/* araç çubuğunda aralıklar ve görünüm adları düz yazıdır: seçili olan yazı rengiyle ayrılır, zemin almaz */
.ch-bar .ch-iv, .ch-view { font-weight: 500; }
.ch-bar .ch-iv.on, .ch-view.on { background: none; color: var(--text); font-weight: 600; }
.ch-views { display: flex; gap: 2px; flex: 0 0 auto; margin-right: 6px; }
/* aralık penceresi: sabitlenenler, öteki aralıklar, düzenleme */
.ch-ivm { display: flex; flex-direction: column; gap: 10px; width: 272px; max-width: 100%; padding: 4px; }
.ch-ivh { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 20px; }
.ch-ivh h4 { margin: 0; font-size: 12px; font-weight: 600; color: var(--text); }
.ch-link { padding: 2px 0 2px 8px; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 600; color: var(--accent-2, var(--accent)); cursor: pointer; }
.ch-link:hover { text-decoration: underline; }
.ch-ivm .ch-grid { gap: 8px; }
.ch-ivi { position: relative; height: 28px; background: var(--raised); color: var(--text); font-weight: 500; }
.ch-ivi:hover { background: color-mix(in srgb, var(--raised) 70%, var(--muted)); }
.ch-ivi.on { background: color-mix(in srgb, var(--accent) 22%, var(--raised)); }
.ch-ivi i { position: absolute; top: -5px; right: -5px; width: 14px; height: 14px; border-radius: 50%; font: 700 11px/14px system-ui, sans-serif; text-align: center; background: var(--muted); color: var(--panel); }
.ch-ivi i.plus { background: var(--accent); color: #fff; }
.ch-note { margin: 0; font-size: 11px; line-height: 1.4; color: var(--muted); }
.ch-list { display: flex; flex-direction: column; gap: 2px; }
.ch-list h4 { margin: 8px 6px 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ch-list h4:first-child { margin-top: 2px; }
.ch-row { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 6px; background: none; color: var(--text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.ch-row:hover { background: var(--raised); }
.ch-row.on { color: var(--accent-2, var(--accent)); }
.ch-fx { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 6px; border-radius: 6px; }
.ch-fx:hover { background: var(--raised); }
.ch-fx label { display: flex; align-items: center; gap: 9px; cursor: pointer; min-width: 0; }
.ch-fx label span { display: flex; flex-direction: column; min-width: 0; }
.ch-fx b { font-size: 13px; font-weight: 600; }
.ch-fx small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-fx input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); flex: 0 0 auto; }
.ch-in { width: 92px; flex: 0 0 auto; padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--text); font: inherit; font-size: 12px; text-align: right; }
.ch-in:focus { outline: none; border-color: var(--accent); }
.ch-full { position: fixed; inset: 0; z-index: 200; height: auto; }
body.ch-lock { overflow: hidden; }
@media (max-width: 700px) {
  .ch-wide span:last-child { display: none; }
  .ch-latest { right: 66px; }
  /* dar ekranda araç çubuğu yana kayar: görünüm seçimi (Grafik / Derinlik) kaydırmadan görünsün diye başa alınır */
  .ch-views { order: -1; margin-right: 8px; padding-right: 6px; border-right: 1px solid var(--line); }
}

/* Grafik alanı: göstergelere yer kalsın diye daha yüksek. */
.trade { grid-template-rows: auto 560px auto auto; }
.trade.fut { grid-template-rows: auto 580px auto; }
@media (max-width: 1100px) {
  .trade { grid-template-rows: auto 500px auto 320px auto; }
  .trade.fut { grid-template-rows: auto minmax(500px, auto) auto; }
}
@media (max-width: 700px) {
  .trade { grid-template-rows: auto 460px auto auto auto auto; }
  .trade.fut { grid-template-rows: auto 460px auto auto; }
}

/* ---------- işlem ekranı: tam ekrana yayılan sıkı düzen ---------- */
:root { --deep: #0b0e11; }
:root[data-theme=light] { --deep: #eceef2; }
body.term { background: var(--deep); }
body.term main { max-width: none; padding: 4px; }
body.term .trade { gap: 4px; --panel: var(--bg); --radius: 8px; }
body.term .trade .panel { border: 0; }
body.term .trade > .panel:not(.chartbox):not(.tbar):not(.book):not(.tape):not(.plist) { padding: 14px; }
.trade { grid-template-rows: auto max(540px, calc(100vh - 470px)) auto auto; }
.trade.fut {
  grid-template-columns: minmax(0, 1fr) 290px 330px;
  grid-template-areas: "bar bar form" "chart side form" "orders orders acct";
  grid-template-rows: auto max(540px, calc(100vh - 420px)) minmax(230px, auto);
}
.fside { grid-area: side; display: grid; grid-template-rows: minmax(0, 1.3fr) minmax(0, 1fr); gap: 4px; min-height: 0; min-width: 0; }
.fside .book, .fside .tape { grid-area: auto; max-height: none; min-height: 0; overflow: hidden; }
.fside h3 small, .book h3 small { font-weight: 400; font-size: 11px; margin-left: 6px; }
.fside .book .row { cursor: default; }
.facct { grid-area: acct; }
.trade.fut .oform { grid-area: form; }
.kv { margin: 10px 0 0; display: grid; gap: 9px; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.kv-links { display: flex; gap: 8px; margin-top: 14px; }
.kv-links a { flex: 1; text-align: center; padding: 7px 10px; border-radius: 8px; background: var(--raised); color: var(--text); font-size: 13px; font-weight: 600; }
.kv-links a:hover { color: var(--accent-2); }
/* üst çubuk: tek satır, sık istatistikler */
body.term .tbar { padding: 8px 14px; gap: 22px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
body.term .tbar::-webkit-scrollbar { display: none; }
body.term .tbar .stats { gap: 22px; flex: 0 0 auto; margin-left: 0; }
body.term .tbar .stats > div { flex: 0 0 auto; white-space: nowrap; }
body.term .tbar .big { font-size: 20px; }
.pick { position: relative; flex: 0 0 auto; }
.tbar:has(.pick[open]) { overflow: visible; }
.pick summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; padding: 5px 8px; border-radius: 8px; font-size: 17px; user-select: none; }
.pick summary::-webkit-details-marker { display: none; }
.pick summary:hover { background: var(--raised); }
.pick-arrow { color: var(--muted); font-size: 12px; transition: transform .15s; }
.pick[open] .pick-arrow { transform: rotate(180deg); }
.pick-list { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 250px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); box-shadow: 0 14px 36px rgba(0, 0, 0, .5); animation: ch-in .14s ease-out; }
.pick-list a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 6px; font-size: 13px; }
.pick-list a span { margin-left: auto; color: var(--muted); }
.pick-list a:hover { background: var(--raised); }
.pick-list a.on b { color: var(--accent-2); }
/* grafik araç çubuğu: daha ince */
body.term .ch-bar { padding: 4px 8px; }
body.term .ch-b { height: 28px; }
@media (max-width: 1200px) {
  .trade.fut {
    grid-template-columns: minmax(0, 1fr) 320px;
    grid-template-areas: "bar bar" "chart form" "side acct" "orders orders";
    grid-template-rows: auto max(520px, calc(100vh - 420px)) 380px minmax(230px, auto);
  }
  .fside { grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .trade { grid-template-rows: auto 500px auto 320px auto; }
}
@media (max-width: 700px) {
  body.term main { padding: 4px 4px 12px; }
  .trade { grid-template-rows: auto 460px auto auto auto auto; }
  .trade.fut {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "bar" "chart" "form" "orders" "acct" "side";
    grid-template-rows: auto 460px auto auto auto auto;
  }
  .fside { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 330px; }
  body.term .tbar { gap: 14px; }
}

@media (max-width: 1200px) {
  .trade.fut { grid-template-rows: auto minmax(max(520px, calc(100vh - 420px)), auto) 380px minmax(230px, auto); }
}
@media (max-width: 700px) {
  .trade.fut { grid-template-rows: auto 460px auto auto auto auto; }
}

/* ---------- güvenlik ---------- */
.checks { display: grid; gap: 2px; margin-top: 6px; }
.check { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-top: 1px solid var(--line); }
.check:first-child { border-top: 0; }
.check i { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; }
.check.ok i { background: var(--up); border-color: var(--up); }
.check div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.check small { color: var(--muted); font-size: 12.5px; }
.check .link { flex: 0 0 auto; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.notice-warn { border: 1px solid var(--warn-line); background: var(--warn-bg); color: var(--warn-ink); border-radius: 10px; padding: 12px 14px; }
p.notice-warn { margin: 12px 0 0; }
.panel.notice-warn { margin-bottom: 12px; }
.panel.notice-warn p { margin: 0 0 12px; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.codes code { padding: 9px 10px; border-radius: 8px; background: var(--raised); text-align: center; font: 600 15px ui-monospace, Consolas, monospace; letter-spacing: .06em; }
.danger-zone { border-color: color-mix(in srgb, var(--down) 45%, var(--line)); }
button.ghost.danger { color: var(--down); border-color: color-mix(in srgb, var(--down) 45%, var(--line)); }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; color: var(--muted); font-size: 12.5px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.passkey-btn { width: 100%; padding: 11px; }
.actions a.ghost { display: inline-flex; align-items: center; }

/* ---------- P2P ---------- */
.row-btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row-btns a.ghost { display: inline-flex; align-items: center; }
.p-filter { width: 170px; margin: 0; }
.p-filter input { padding-top: 7px; padding-bottom: 7px; }
.p2p-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.p2p-who small { flex-basis: 100%; }
.badge { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 2px 6px; border-radius: 4px; background: var(--raised); color: var(--muted); white-space: nowrap; }
.badge.ok { color: var(--up); background: color-mix(in srgb, var(--up) 14%, transparent); }
.badge.bad { color: var(--down); background: color-mix(in srgb, var(--down) 14%, transparent); }
.chip { display: inline-block; font-style: normal; font-size: 12px; padding: 2px 8px; margin: 1px 4px 1px 0; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.p2p-ads td { padding-top: 14px; padding-bottom: 14px; vertical-align: middle; }
.p-price { font-size: 17px; }
.p2p-safe ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; display: grid; gap: 6px; }
.facts.tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.facts.tiles > div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.p2p-comment { margin: 0; padding: 9px 0; border-top: 1px solid var(--line); }
.p2p-comment:first-of-type { border-top: 0; }
.p2p-comment time { font-size: 12px; margin-left: 6px; }
.label { font-size: 13px; color: var(--muted); margin: 12px 0 6px; }
.picks { display: grid; gap: 6px; }
.pick-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.pick-row input { width: 16px; height: 16px; accent-color: var(--accent); flex: 0 0 auto; }
.pick-row span { display: flex; flex-direction: column; min-width: 0; }
.p2p-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 14px 0 6px; }
.p2p-steps.cancelled { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p2p-steps span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 12px; color: var(--muted); padding-top: 4px; }
.p2p-steps span::before { content: ""; position: absolute; top: 16px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.p2p-steps span:first-child::before { display: none; }
.p2p-steps i { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; background: var(--raised); color: var(--muted); border: 2px solid var(--panel); }
.p2p-steps .on { color: var(--text); }
.p2p-steps .on i { background: var(--up); color: #fff; }
.p2p-steps .on::before, .p2p-steps .now::before { background: var(--up); }
.p2p-steps .now { color: var(--text); font-weight: 600; }
.p2p-steps .now i { background: var(--accent); color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); animation: p2p-pulse 1.6s ease-in-out infinite; }
.p2p-steps .bad i { background: var(--down); color: #fff; }
.p2p-steps small { font-size: 11px; color: var(--muted); font-weight: 400; min-height: 14px; }
@keyframes p2p-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 8%, transparent); } }
@media (prefers-reduced-motion: reduce) { .p2p-steps .now i { animation: none; } }
.p2p-other { margin: 4px 0 12px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.paybox { border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: 4px 14px; margin: 12px 0; }
.paybox dl { margin: 0; padding: 8px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.paybox dl:first-child { border-top: 0; }
.paybox dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.paybox dt { color: var(--muted); flex: 0 0 auto; }
.paybox dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.copy { background: none; border: 0; font: inherit; font-size: 12px; cursor: pointer; padding: 0 0 0 6px; }
.timer { font-size: 16px; color: var(--accent-2); }
.rate { margin-top: 12px; }
.upload { cursor: pointer; display: inline-flex; align-items: center; }
.p2p-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-top: 10px; }
.p2p-file { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.p2p-file:hover { border-color: var(--accent); }
.p2p-file img, .p2p-file .pdf { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: var(--raised); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); }
.p2p-file span { display: flex; flex-direction: column; min-width: 0; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#po-foot .link { background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
@media (max-width: 700px) {
  .p-filter { width: calc(50% - 6px); }
  .p2p-steps span { font-size: 11px; }
}

.note q { quotes: "“" "”"; font-style: italic; }
.p2p-file span span { display: inline; }
.dispute form.inline .field { flex: 1 1 220px; }

/* ---------- P2P: liste düzeni ---------- */
.p2p { max-width: 1200px; margin: 0 auto; }
.p2p-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.p2p-modes { display: flex; gap: 28px; }
.p2p-modes button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 0 11px; font: inherit; font-size: 16px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; }
.p2p-modes button:hover { color: var(--text); }
.p2p-modes button.on { color: var(--text); border-color: var(--accent); }
.p2p-top .row-btns { padding-bottom: 8px; }
.p2p-bar { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 16px; }
.p-sides { min-width: 190px; }
.p2p-coins { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.p2p-coins button { background: none; border: 0; padding: 6px 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.p2p-coins button:hover, .p2p-coins button.on { color: var(--text); }
.p2p-filters { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.p2p-filters .field { margin: 0; }
.p-amount { width: 280px; }
.p-method { width: 230px; }
.p-amount select, .p-express .field select#p-fiat { flex: 0 0 auto; width: auto; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: none; color: var(--text); font: inherit; font-weight: 600; padding: 0 10px; cursor: pointer; }
.p-funnel { position: relative; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; }
.p-funnel i { position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--accent); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.p-sort { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 13px; }
.p-sort select { border: 0; background: none; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.p-sort select option, .p-amount select option { background: var(--panel); color: var(--text); }
.p-filterbox { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; font-size: 13px; }
.p-filterbox label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.p-filterbox input { width: 16px; height: 16px; accent-color: var(--accent); }
.p-head, .p-row { display: grid; grid-template-columns: 2.3fr 1.2fr 2fr 1.6fr 1.2fr; gap: 16px; }
.p-head { padding: 14px 16px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.p-head span:last-child { text-align: right; }
.p-row { align-items: start; padding: 20px 16px; border-bottom: 1px solid var(--line); transition: background .15s; }
.p-row:hover { background: color-mix(in srgb, var(--raised) 40%, transparent); }
.p-name { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; flex-wrap: wrap; }
.p-name a:hover { color: var(--accent-2); }
.p-avatar { position: relative; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; }
.p-avatar i { position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border-radius: 50%; background: var(--up); border: 2px solid var(--bg); }
.p-merchant { display: inline-flex; color: #f5b83d; }
.p-meta { display: flex; flex-wrap: wrap; margin-top: 9px; font-size: 13px; color: var(--muted); }
.p-meta span { display: inline-flex; align-items: center; gap: 5px; padding-right: 10px; margin-right: 10px; border-right: 1px solid var(--line); }
.p-meta span:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.p-price b { font-size: 20px; font-weight: 600; }
.p-price small { margin-left: 5px; font-size: 12px; color: var(--muted); }
.p-limit { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.p-pay { display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: var(--muted); min-width: 0; }
.p-pay span { position: relative; padding-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-pay span::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 2px; background: hsl(var(--h) 75% 58%); }
.p-go { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.p-go .btn { min-width: 128px; padding: 9px 14px; }
.p-need { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.p-need.plain { text-decoration: none; color: var(--muted); }
.p-open { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 22px 18px; margin: 6px 0; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--raised) 32%, transparent); animation: ch-in .16s ease-out; }
.p-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 16px 0; }
.p-facts dt { font-size: 12px; color: var(--muted); }
.p-facts dd { margin: 2px 0 0; font-weight: 600; }
.p-terms { font-size: 13px; color: var(--muted); margin: 0; }
.p-terms q { quotes: "“" "”"; }
.p-form .field .link { flex: 0 0 auto; background: none; border: 0; font: inherit; font-size: 13px; cursor: pointer; padding: 0 8px; }
.p-pages { display: flex; justify-content: center; gap: 6px; margin: 18px 0 4px; }
.p-pages .ghost { min-width: 34px; padding: 6px 8px; }
.p-pages .ghost.on { border-color: var(--accent); color: var(--accent-2); }
.p-express { max-width: 470px; margin: 8px auto 26px; padding: 22px; }
.p-express .p-sides { margin-bottom: 16px; display: flex; }
.p-express .p-sides button { flex: 1; }
.p-quote { min-height: 20px; margin: 4px 0 14px; font-size: 13px; color: var(--muted); }
.p-blocknote { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.p2p #p-mine .panel { margin-top: 22px; }
.p2p-how { margin-top: 48px; }
.p2p-how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 16px 0 22px; }
.p2p-how-grid > div { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.p2p-how-grid i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; margin-bottom: 12px; background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent-2); font-style: normal; font-weight: 700; }
.p2p-how-grid p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.p2p-how details { border-top: 1px solid var(--line); padding: 14px 2px; }
.p2p-how details:last-child { border-bottom: 1px solid var(--line); }
.p2p-how summary { cursor: pointer; font-weight: 600; }
.p2p-how details p { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.pa-more { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 12px 0; }
.pa-more summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.pa-more > label { margin-top: 10px; }
@media (max-width: 900px) {
  .p-head { display: none; }
  .p-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; padding: 16px 4px; }
  .p-adv, .p-go { grid-column: 1 / -1; }
  .p-go { align-items: stretch; }
  .p-pay { align-items: flex-start; }
  .p-open { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px 12px; }
  .p-amount, .p-method { width: 100%; }
  .p2p-filters .ch-grow { display: none; }
  .p2p-how-grid { grid-template-columns: minmax(0, 1fr); }
  .p2p-modes { gap: 20px; }
}

.p2p [hidden], .p-funnel i[hidden] { display: none !important; }

/* ---------- piyasalar ---------- */
.mk { max-width: 1280px; margin: 0 auto; }
.mk-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 14px 0 22px; }
.mk-card { border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px 8px; min-width: 0; }
.mk-chead { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 28px; }
.mk-chead h3 { margin: 0; font-size: 13px; font-weight: 600; color: var(--text); }
.mk-more { display: inline-flex; align-items: center; gap: 2px; height: 28px; padding: 0 0 0 8px; border: 0; background: none; font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.mk-more:hover { color: var(--accent-2); }
.mk-crow { display: flex; align-items: center; gap: 8px; height: 40px; font-size: 14px; }
.mk-crow b { font-weight: 600; }
.mk-crow:hover b { color: var(--accent-2); }
.mk-crow .grow { flex: 1; }
.mk-crow span:last-child { flex: 0 0 72px; text-align: right; font-weight: 500; }
.mk-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 12px; scroll-margin-top: 64px; }
.mk-tabs { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.mk-tabs::-webkit-scrollbar { display: none; }
.mk-tabs button { display: inline-flex; align-items: center; height: 40px; background: none; border: 0; border-bottom: 3px solid transparent; padding: 3px 0 0; font: inherit; font-size: 16px; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; }
.mk-tabs button:hover { color: var(--text); }
.mk-tabs button.on { color: var(--text); border-color: var(--accent); }
.mk-tabs small { font-size: 11px; padding: 1px 6px; border-radius: 9px; background: var(--raised); color: var(--muted); margin-left: 6px; }
.mk-bar .field { margin: 0 0 8px; width: 240px; }
.mk [hidden] { display: none !important; }
/* tablonun üstündeki çipler: para birimi (Spot) ve sütunu olmayan sıralama */
.mk-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.mk-chips button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: none; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .15s, background .15s; }
.mk-chips button:hover { color: var(--text); }
.mk-chips button.on { background: var(--raised); color: var(--text); }
.mk-sorted { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.mk-table { font-size: 16px; }
.mk-table th { height: 40px; padding-top: 0; padding-bottom: 0; }
.mk-table td { height: 64px; padding-top: 0; padding-bottom: 0; border-top: 0; vertical-align: middle; }
.mk-table tbody tr:hover td:first-child { border-radius: 8px 0 0 8px; }
.mk-table tbody tr:hover td:last-child { border-radius: 0 8px 8px 0; }
.mk-table td small { font-size: 12px; }
.mk-sort { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; user-select: none; white-space: nowrap; }
.mk-sort:hover, .mk-sort.on { color: var(--text); }
.mk-srt { flex: 0 0 auto; fill: currentColor; opacity: .7; }
.mk-sort.on .mk-srt { opacity: 1; }
.mk-sort.on .mk-srt path { fill: var(--muted); opacity: .45; }
.mk-sort.on .mk-srt path.on { fill: var(--accent); opacity: 1; }
.mk-star { width: 30px; padding-right: 0 !important; }
.star { background: none; border: 0; padding: 4px; cursor: pointer; color: transparent; display: inline-flex; }
.star svg { stroke: var(--muted); }
.star:hover svg { stroke: #f5b83d; }
.star.on { color: #f5b83d; }
.star.on svg { stroke: #f5b83d; }
.mk-name { display: inline-flex; flex-direction: column; line-height: 1.25; }
.mk-name small { font-size: 12px; }
.mk-table .mk-name { flex-direction: row; align-items: baseline; gap: 6px; }
.mk-table .mk-name b { font-weight: 600; }
.mk-table .mk-name small { font-size: 14px; }
.mk-price span { display: block; line-height: 20px; }
.mk-price .mk-fiat { display: block; line-height: 16px; min-height: 16px; }
.mk-chg { font-weight: 500; }
.mk-act { white-space: nowrap; }
.mk-act .link { margin-right: 12px; font-size: 13px; }
/* sayfalama */
.mk-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.mk-pager button { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 6px; border: 0; border-radius: 6px; background: none; font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .15s, background .15s; }
.mk-pager button:hover:not(:disabled) { color: var(--text); background: var(--raised); }
.mk-pager button.on { background: var(--raised); color: var(--text); }
.mk-pager button:disabled { opacity: .35; }
.mk-pager i { min-width: 20px; text-align: center; font-style: normal; color: var(--muted); }
/* favoriler boşken önerilen pazarlar */
.mk-suggest { display: flex; flex-direction: column; align-items: center; padding: 4px 0 24px; }
.mk-suggest > p { align-self: flex-start; margin: 4px 0 14px; }
.mk-sugs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; }
.mk-sug { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-width: 0; height: 100px; padding: 14px 14px 12px; border: 1px solid var(--line); border-radius: 12px; background: none; text-align: left; transition: border-color .15s, background .15s; }
.mk-sug:hover { background: color-mix(in srgb, var(--raised) 45%, transparent); }
.mk-sug.on { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.mk-sug-top, .mk-sug-bot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.mk-sug-top b { font-size: 16px; font-weight: 600; }
.mk-sug-top small { font-size: 13px; }
.mk-sug-bot { font-size: 14px; }
.mk-sug-bot span:last-child { font-weight: 500; }
.mk-box { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 18px; height: 18px; border: 1.5px solid var(--muted); border-radius: 4px; color: transparent; transition: background .15s, border-color .15s; }
.mk-sug.on .mk-box { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.mk-add { width: min(400px, 100%); height: 48px; margin-top: 28px; font-size: 16px; }
.mk-other { margin-top: 18px; font-size: 14px; font-weight: 500; }
.spark { display: inline-block; vertical-align: middle; }
.spark.up { color: var(--up); }
.spark.down { color: var(--down); }
/* ---------- coin sayfası ---------- */
.coinp { max-width: 1280px; margin: 0 auto; }
.crumbs { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.coin-head { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 16px; }
.coin-title { display: flex; align-items: center; gap: 12px; }
.coin-title h1 { margin: 0; }
.coin-title h1 small { font-size: 15px; font-weight: 500; }
.coin-price { display: flex; align-items: baseline; gap: 12px; margin-right: auto; }
.coin-price b { font-size: 28px; }
.coin-price span { font-size: 15px; font-weight: 600; }
.coin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 12px; align-items: start; }
.coin-chart { height: 520px; }
.coin-side { display: grid; gap: 12px; }
.coin-side .panel, .coinp > .panel { margin-top: 0; }
.coinp > .panel { margin-top: 12px; }
.coin-about { margin: 6px 0 0; font-size: 15px; line-height: 1.65; max-width: 900px; }
@media (max-width: 1000px) {
  .mk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-sugs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coin-grid { grid-template-columns: minmax(0, 1fr); }
  .coin-chart { height: 440px; }
}
@media (max-width: 600px) {
  .mk-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mk-bar .field { width: 100%; }
  .mk-act .link { display: none; }
  .mk-tabs { gap: 20px; }
  .mk-table { font-size: 14px; }
  .mk-table td { height: 60px; }
  .mk-table th, .mk-table td { padding-left: 6px; padding-right: 6px; }
  .mk-table .mk-name { flex-direction: column; align-items: flex-start; gap: 0; }
  .mk-table .mk-name small { font-size: 12px; }
  .mk-sugs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mk-sug { height: 92px; padding: 12px 12px 10px; }
  .coin-price b { font-size: 24px; }
}

.coin-grid .chartbox { grid-area: auto; }
.coin-grid .coin-side { grid-column: 2; }
@media (max-width: 1000px) { .coin-grid .coin-side { grid-column: auto; } }

/* ---------- cüzdan ---------- */
.wl { max-width: 1280px; margin: 0 auto; }
.wl-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .9fr); gap: 12px; }
.wl-top .panel { margin-top: 0; min-width: 0; }
.wl-label { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; }
.eye { background: none; border: 0; padding: 2px; color: var(--muted); cursor: pointer; display: inline-flex; }
.eye:hover { color: var(--text); }
.wl-sum h1 { margin: 0; font-size: 32px; }
.wl-sum p { margin: 2px 0 0; }
.wl-day { font-size: 13px; min-height: 20px; }
.wl-actions { justify-content: flex-start; margin-top: 16px; flex-wrap: wrap; }
.wl-actions a.ghost { display: inline-flex; align-items: center; }
.wl-chart #w-chart { height: 130px; margin-top: 8px; display: flex; align-items: center; justify-content: center; }
.wl-line { width: 100%; height: 100%; display: block; }
.wl-line.up { color: var(--up); }
.wl-line.down { color: var(--down); }
.wl-donut { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.wl-donut svg { flex: 0 0 auto; transform: rotate(0deg); }
.wl-donut ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; flex: 1; min-width: 0; font-size: 13px; }
.wl-donut li { display: flex; align-items: center; gap: 8px; }
.wl-donut li i { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 auto; }
.wl-donut li span { margin-left: auto; color: var(--muted); }
.wl-bar { align-items: center; }
.wl-tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.wl-tools .field { margin: 0; width: 200px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.wl-table td { padding-top: 12px; padding-bottom: 12px; vertical-align: middle; }
.wl-acts { white-space: nowrap; }
.wl-acts .link { background: none; border: 0; font: inherit; font-size: 13px; cursor: pointer; padding: 0; margin-left: 14px; }
.wl > .panel { margin-top: 12px; }
@media (max-width: 1000px) { .wl-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- dil penceresi ---------- */
.langs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 18px; }
.langs button, .langs span { padding: 11px 12px; background: none; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 14px; color: var(--text); text-align: left; cursor: pointer; }
.langs button:hover { border-color: var(--accent); }
.langs .on { border-color: var(--accent); color: var(--accent-2); font-weight: 600; cursor: default; }
@media (max-width: 520px) { .langs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Google / Apple ile giriş ---------- */
/* Düğmeler sağlayıcıların marka kurallarına uyar: Google açık zemin + renkli G; Apple koyu temada beyaz, açık temada siyah. */
.sso { display: grid; gap: 10px; margin-bottom: 10px; }
.sso-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent; font-size: 15px; font-weight: 600; transition: filter 0.2s, transform 0.12s; }
.sso-btn:hover { filter: brightness(0.94); }
.sso-btn:active { transform: scale(0.99); }
.sso-btn.google { background: #fff; color: #1f1f1f; border-color: #747775; }
.sso-btn.apple { background: #fff; color: #000; }
html[data-theme=light] .sso-btn.apple { background: #000; color: #fff; }
.sso-btn svg { flex: none; }
.sso-row { align-items: center; gap: 14px; }
.sso-row > div { flex: 1; min-width: 0; }
.sso-row p { margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; }
.sso-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; color: #000; border: 1px solid var(--line); flex: none; }

/* ---------- spot işlem ekranı: sıkı düzen (RAKIP-I01–I16) ---------- */
:root { --edge: #434c5a; --band: rgba(41, 49, 61, 0.6); --pop: #1e2329; }
:root[data-theme=light] { --edge: #cfd4dc; --band: rgba(214, 219, 226, 0.6); --pop: #ffffff; }
body.term-spot main { padding-bottom: 36px; }
body.term-spot #footer { padding-bottom: 64px; }
body.term-spot #toast { bottom: 44px; }
.trade.spot {
  --chart-h: clamp(420px, calc(100vh - 376px), 640px);
  grid-template-columns: 320px minmax(0, 1fr) 320px;
  grid-template-areas: "bar bar plist" "book chart plist" "book chart tape" "book form tape" "orders orders orders";
  grid-template-rows: 56px 360px calc(var(--chart-h) - 364px) minmax(334px, auto) auto;
}
.spot .mtabs { display: none; }
.spot .ptitle { display: flex; align-items: center; flex: 0 0 42px; height: 42px; margin: 0; padding: 0 16px; font-size: 14px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--line); }
.ptabs, .spot .mtabs { gap: 16px; flex: 0 0 42px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ptabs { display: flex; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs button, .spot .mtabs button { position: relative; flex: 0 0 auto; background: none; border: 0; padding: 0; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color 0.15s; }
.ptabs button:hover, .spot .mtabs button:hover { color: var(--text); }
.ptabs button.on, .spot .mtabs button.on { color: var(--text); }
.ptabs button.on::after, .spot .mtabs button.on::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 16px; height: 3px; margin-left: -8px; background: var(--accent); }

/* çift başlığı */
body.term .spot .tbar { grid-area: bar; display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 16px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tstar { flex: 0 0 24px; width: 24px; height: 24px; padding: 0; align-items: center; justify-content: center; border: 1px solid var(--edge); border-radius: 6px; }
.spot .tpair { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.tname { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--text); cursor: default; }
.spot .tname b { display: block; font-size: 20px; font-weight: 500; line-height: 24px; white-space: nowrap; }
.tname svg { display: none; color: var(--muted); }
.tsub { display: block; font-size: 12px; line-height: 16px; color: var(--accent-2); white-space: nowrap; }
.tsub:hover { text-decoration: underline; }
.tprice { display: flex; flex-direction: column; flex: 0 0 auto; min-width: 92px; }
.tprice b { font-size: 20px; font-weight: 500; line-height: 24px; }
.tprice small { display: flex; gap: 8px; font-size: 12px; line-height: 16px; color: var(--text); white-space: nowrap; }
.spot #t-chg2 { display: none; }
.tstats { display: flex; gap: 20px; flex: 0 0 auto; }
.tstats > div { display: flex; flex-direction: column; font-size: 12px; line-height: 16px; white-space: nowrap; }
.tstats span { color: var(--muted); }
.tstats b { font-weight: 400; }
.tacts { position: sticky; right: 0; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; padding-left: 8px; background: var(--panel); }
.ibtn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; padding: 0; background: none; border: 0; border-radius: 6px; color: var(--muted); transition: color 0.15s, background 0.15s; }
.ibtn:hover { color: var(--text); background: var(--raised); }
.spot .tacts .ghost.small { padding: 4px 10px; font-size: 12px; border-radius: 6px; }
/* başlık daralınca istatistikler sondan başlayarak gizlenir; çift, fiyat ve düğmeler hep görünür */
@media (min-width: 701px) {
  body.term .spot .tbar { container-type: inline-size; }
  @container (max-width: 1045px) { .tstats > div:nth-child(5) { display: none; } }
  @container (max-width: 930px) { .tstats > div:nth-child(4) { display: none; } }
  @container (max-width: 800px) { .tstats > div:nth-child(3), .tstats > div:nth-child(2) { display: none; } }
}

/* açılır küçük menüler (fiyat basamağı, stop türü) */
.dd { position: relative; }
.dd summary { display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; font-size: 12px; color: var(--text); user-select: none; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary svg { color: var(--muted); transition: transform 0.15s; }
.dd[open] summary svg { transform: rotate(180deg); }
.dd .menu { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; min-width: 112px; padding: 4px 0; background: var(--pop); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); animation: ch-in 0.14s ease-out; }
.dd .menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 38px; padding: 0 12px; background: none; border: 0; font-size: 14px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.dd .menu button:hover { background: var(--raised); color: var(--text); }
.dd .menu button.on { color: var(--text); }
.dd .menu button svg { color: var(--accent-2); }

/* emir defteri */
.spot .book { grid-area: book; display: flex; flex-direction: column; padding: 0; overflow: hidden; min-height: 0; }
.btools { display: flex; align-items: center; justify-content: space-between; flex: 0 0 36px; height: 36px; padding: 0 16px; }
.bviews { display: flex; gap: 12px; }
.bviews button { display: flex; width: 16px; height: 16px; padding: 0; border: 0; background: none; color: var(--muted); opacity: 0.4; transition: opacity 0.15s; }
.bviews button.on, .bviews button:hover { opacity: 1; }
.spot .bhead { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; flex: 0 0 24px; height: 24px; padding: 0 16px; font-size: 12px; color: var(--muted); }
.spot .bhead span:not(:first-child) { text-align: right; }
.spot .bhead.tel { display: none; }
.bbody { display: flex; flex-direction: column; flex: 1 1 0px; min-height: 0; }
.spot .book .side { display: flex; flex-direction: column; justify-content: flex-start; flex: 1 1 0px; min-height: 0; overflow: hidden; }
.spot .book #asks { flex-direction: column-reverse; justify-content: flex-start; }
.spot .book[data-view=asks] #asks { flex-direction: column; }
.spot .book[data-view=bids] #asks, .spot .book[data-view=asks] #bids { display: none; }
.spot .book:not([data-view=both]) .mid { order: -1; }
.spot .book .row { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; flex: 0 0 20px; width: 100%; height: 20px; padding: 0 16px; background: none; border: 0; font-size: 12px; line-height: 20px; text-align: left; color: var(--text); cursor: pointer; }
.spot .book .row span { position: relative; white-space: nowrap; }
.spot .book .row span:not(:first-of-type) { text-align: right; }
.spot .book .row .p { text-align: left; }
.spot .book .row i { position: absolute; right: 0; top: 0; bottom: 0; opacity: 0.14; pointer-events: none; transition: width 0.2s; }
.spot .book .row.ask .p { color: var(--down); }
.spot .book .row.bid .p { color: var(--up); }
/* üzerine gelinen satırdan orta fiyata kadar bant; gelinen satır kalın yazılır ve dış kenarı kesik çizgilidir */
.spot .book .side:hover .row { background-color: var(--band); }
.spot .book .side .row:hover ~ .row { background-color: transparent; }
.spot .book .side .row:hover { font-weight: 500; background-image: repeating-linear-gradient(90deg, var(--muted) 0 4px, transparent 4px 7px); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%; }
.spot .book[data-view=both] #asks .row:hover { background-position: 0 0; }
.spot .mid { display: flex; align-items: center; gap: 4px; flex: 0 0 36px; height: 36px; margin: 0; padding: 0 16px; border: 0; font-size: 12px; font-weight: 400; }
.spot .mid b { font-size: 20px; font-weight: 500; line-height: 24px; }
.spot .mid i { font-style: normal; font-size: 16px; line-height: 24px; margin-right: 4px; }
.spot .mid small { font-size: 12px; color: var(--muted); }
.bratio { display: flex; align-items: center; gap: 6px; flex: 0 0 28px; height: 28px; padding: 0 16px; font-size: 12px; }
.bratio span { font-weight: 500; color: var(--text); }
.bratio b { font-weight: 400; }
.bratio i { display: block; flex: 1; height: 4px; border-radius: 2px; background: var(--down); overflow: hidden; }
.bratio u { display: block; height: 100%; background: var(--up); border-right: 2px solid var(--bg); transition: width 0.3s; }
.btip { position: fixed; z-index: 40; min-width: 180px; padding: 8px 10px; border-radius: 6px; background: var(--text); color: var(--bg); font-size: 12px; line-height: 20px; pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.btip div { display: flex; justify-content: space-between; gap: 16px; white-space: nowrap; }
.btip b { font-weight: 500; }

/* emir formu */
.spot #oform { grid-area: form; align-self: stretch; padding: 12px 16px; }
.otabs { display: flex; align-items: center; gap: 16px; height: 32px; margin-bottom: 8px; }
.otabs button { background: none; border: 0; padding: 0; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color 0.15s; }
.otabs button:hover, .otabs > button.on, .ostop.on > button { color: var(--text); }
.ostop { display: inline-flex; align-items: center; }
.ostop .dd summary { padding: 8px 6px; }
.ostop.on .dd summary svg { color: var(--text); }
.ostop .dd .menu { left: -8px; right: auto; min-width: 120px; }
.ostop .dd .menu button { height: 42px; }
.otabs .oinfo { display: inline-flex; margin-left: -8px; }
.ofee { margin-left: auto; min-width: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot .forms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.spot .forms form { display: flex; flex-direction: column; min-width: 0; }
.nf { position: relative; display: flex; align-items: center; height: 40px; margin: 0 0 8px; padding: 0 0 0 8px; border: 1px solid var(--edge); border-radius: 8px; overflow: hidden; font-size: 14px; color: var(--muted); cursor: text; transition: border-color 0.15s; }
.nf:hover, .nf:focus-within { border-color: var(--accent); }
.nf > span:first-child { flex: 0 0 auto; font-weight: 500; white-space: nowrap; }
.nf input, .nf select { flex: 1; min-width: 0; height: 100%; padding: 0 8px; background: none; border: 0; outline: 0; font-size: 14px; font-weight: 500; text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.nf em { flex: 0 0 auto; padding-right: 8px; font-style: normal; font-weight: 500; color: var(--text); }
.stp { display: flex; flex-direction: column; flex: 0 0 24px; align-self: stretch; border-left: 1px solid var(--edge); }
.stp button { display: flex; align-items: center; justify-content: center; flex: 1; padding: 0; background: none; border: 0; color: var(--muted); touch-action: manipulation; }
.stp button + button { border-top: 1px solid var(--edge); }
.stp button + button svg { transform: rotate(180deg); }
.stp button:hover { color: var(--text); background: var(--raised); }
.nf.locked { padding-right: 8px; background: var(--raised); border-color: transparent; cursor: default; }
.nf.locked input::placeholder { color: var(--muted); opacity: 0.75; }
.nf.sel select { text-align-last: right; cursor: pointer; }
.nf.sel select option { background: var(--pop); }
.sl { position: relative; height: 24px; margin: 0 0 8px; --p: 0; }
.sl::before { content: ""; position: absolute; left: 6px; right: 6px; top: 11px; height: 2px; background: linear-gradient(90deg, var(--text) calc(var(--p) * 1%), var(--edge) calc(var(--p) * 1%)); }
.sl i { position: absolute; top: 8px; width: 8px; height: 8px; margin-left: -4px; background: var(--bg); border: 1px solid var(--edge); border-radius: 1px; transform: rotate(45deg); pointer-events: none; }
.sl i.on { background: var(--text); border-color: var(--text); }
.sl i:nth-of-type(1) { left: 6px; }
.sl i:nth-of-type(2) { left: calc(6px + (100% - 12px) * 0.25); }
.sl i:nth-of-type(3) { left: 50%; }
.sl i:nth-of-type(4) { left: calc(6px + (100% - 12px) * 0.75); }
.sl i:nth-of-type(5) { left: calc(100% - 6px); }
.sl input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 24px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.sl input::-webkit-slider-runnable-track { height: 24px; background: none; }
.sl input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: 6px; background: var(--bg); border: 2px solid var(--text); border-radius: 2px; transform: rotate(45deg); }
.sl input::-moz-range-track { background: none; }
.sl input::-moz-range-thumb { width: 8px; height: 8px; background: var(--bg); border: 2px solid var(--text); border-radius: 2px; transform: rotate(45deg); }
.misc { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 22px; margin: 0 0 8px; font-size: 12px; }
.misc p { display: flex; gap: 6px; min-width: 0; margin: 0; color: var(--muted); white-space: nowrap; }
.misc p b { font-weight: 400; color: var(--text); }
.advb { display: inline-flex; align-items: center; gap: 5px; padding: 0; background: none; border: 0; font-size: 12px; color: var(--muted); }
.advb:hover { color: var(--text); }
.advb svg { transition: transform 0.15s; }
.advb.on svg { transform: rotate(180deg); }
.adv { margin: 0 0 8px; }
.adv[hidden] { display: none; }
.chk { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 4px; font-size: 12px; line-height: 16px; color: var(--muted); cursor: pointer; }
.chk input { flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--accent); }
.spot .avail { display: flex; justify-content: space-between; gap: 8px; margin: 0; font-size: 12px; line-height: 18px; color: var(--muted); }
.spot .avail b { font-weight: 400; color: var(--text); white-space: nowrap; }
.spot .forms .btn.wide, .tcta .btn { height: 36px; padding: 0 20px; border-radius: 6px; font-size: 14px; font-weight: 500; color: #fff; }
.spot .forms .btn.wide { margin-top: 8px; }
.spot .oform .seg.two { margin-bottom: 8px; }

/* sağdaki pazar listesi (telefonda tam ekran açılır) */
.spot .plist { grid-area: plist; display: flex; flex-direction: column; padding: 0; overflow: hidden; min-height: 0; }
.pl { display: flex; flex-direction: column; flex: 1 1 0px; min-height: 0; padding-top: 12px; }
.pl-search { display: flex; align-items: center; gap: 8px; flex: 0 0 32px; height: 32px; margin: 0 16px 8px; padding: 0 10px; border: 1px solid var(--edge); border-radius: 8px; font-size: 14px; color: var(--muted); cursor: text; transition: border-color 0.15s; }
.pl-search:hover, .pl-search:focus-within { border-color: var(--accent); }
.pl-search input { flex: 1; min-width: 0; padding: 0; background: none; border: 0; outline: 0; font-size: 14px; color: var(--text); }
.pl-chips { display: flex; align-items: center; gap: 4px; flex: 0 0 24px; margin-bottom: 8px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.pl-chips button { display: inline-flex; align-items: center; flex: 0 0 auto; height: 24px; padding: 0 8px; background: none; border: 0; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.pl-chips button:hover { color: var(--text); }
.pl-chips button.on { background: var(--raised); color: var(--text); }
.pl-chips .star.on svg, .pl-chips .star:hover svg { stroke: currentColor; }
.pl-head { display: flex; align-items: center; justify-content: space-between; flex: 0 0 24px; height: 24px; padding: 0 16px; font-size: 12px; color: var(--muted); }
.pl-head span { display: flex; align-items: center; gap: 4px; }
.pl-head em { font-style: normal; }
.pl-head button { display: inline-flex; align-items: center; gap: 4px; padding: 0; background: none; border: 0; font-size: 12px; color: var(--muted); white-space: nowrap; }
.pl-head button:hover, .pl-head button.on { color: var(--text); }
.srt path { fill: currentColor; opacity: 0.45; }
.srt.asc path:first-child, .srt.desc path:last-child { fill: var(--accent-2); opacity: 1; }
.pl-head .swap { margin-left: 4px; }
.pl-rows { flex: 1 1 0px; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.pl-rows .row { display: flex; align-items: center; height: 24px; padding: 0 16px 0 10px; font-size: 12px; transition: background 0.15s; }
.pl-rows .row:hover { background: var(--raised); }
.pl-rows .star { align-items: center; justify-content: center; flex: 0 0 22px; width: 22px; height: 24px; padding: 0; }
.pl-rows .star svg { width: 12px; height: 12px; }
.pl-rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; gap: 8px; align-items: center; flex: 1; min-width: 0; height: 100%; }
.pl-rows a span { white-space: nowrap; }
.pl-rows a span:not(:first-child) { text-align: right; }
.pl-rows a b { font-weight: 500; }
.pl-rows a small { font-size: 12px; color: var(--muted); }
.pl-rows a.on b { color: var(--accent-2); }
.pl-rows .vol { color: var(--muted); }
.pl-rows .empty { padding: 28px 16px; font-size: 12px; }
dialog.psheet { width: min(420px, calc(100vw - 32px)); height: min(640px, calc(100vh - 64px)); padding: 0; overflow: hidden; }
dialog.psheet[open] { display: flex; flex-direction: column; }
.psheet-head { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; padding: 12px 12px 0 16px; }
.psheet-head h2 { margin: 0; font-size: 16px; font-weight: 500; }

/* piyasa işlemleri ve alt panel */
.spot .tape { grid-area: tape; display: flex; flex-direction: column; padding: 0; overflow: hidden; min-height: 0; max-height: none; }
.spot .tape .bhead { flex: 0 0 28px; height: 28px; }
.spot #tape { flex: 1 1 0px; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.spot .tape .row { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 20px; padding: 0 16px; font-size: 12px; line-height: 20px; }
.spot .tape .empty, .spot .orders .empty { padding: 48px 16px; font-size: 14px; }
.spot #opanel { grid-area: orders; display: flex; flex-direction: column; min-height: 320px; padding: 0; }
.spot .orders .scroll { padding: 4px 6px 12px; }
.spot .orders .table { font-size: 13px; }
.spot .orders .table td { padding: 9px 10px; }
.acoin { display: inline-flex; align-items: center; gap: 8px; }

/* alttaki durum şeridi ve telefondaki Al / Sat çubuğu */
.tstrip { position: fixed; left: 0; right: 0; bottom: 0; z-index: 14; display: flex; align-items: center; gap: 16px; height: 28px; padding: 0 16px; background: var(--bg); border-top: 1px solid var(--line); font-size: 12px; }
.conn { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; white-space: nowrap; }
.conn.ok { color: var(--up); }
.conn.bad { color: var(--down); }
.tick { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.tick-in { display: inline-flex; white-space: nowrap; }
.tick-in.run { animation: tick-run 50s linear infinite; }
.tick:hover .tick-in.run { animation-play-state: paused; }
@keyframes tick-run { to { transform: translateX(-50%); } }
.tick-in a { display: inline-flex; gap: 6px; padding: 0 12px; line-height: 27px; }
.tick-in a b { font-weight: 400; color: var(--text); }
.tick-in a .price { color: var(--muted); }
.tick-in a:hover b { color: var(--accent-2); }
.tcta { display: none; }

@media (max-width: 1100px) {
  .trade.spot {
    grid-template-columns: 280px minmax(0, 1fr);
    grid-template-areas: "bar bar" "book chart" "book form" "plist tape" "orders orders";
    grid-template-rows: 56px var(--chart-h) minmax(334px, auto) 360px auto;
  }
  .tname { cursor: pointer; }
  .tname svg { display: block; }
}
@media (max-width: 900px) {
  .spot .forms { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  body.term-spot main { padding-bottom: 136px; }
  body.term-spot #toast { bottom: 136px; }
  .tstrip { display: none; }
  .tcta { position: fixed; left: 0; right: 0; z-index: 14; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 52px; padding: 8px 16px; background: var(--bg); border-top: 1px solid var(--line); }
  .tcta .btn { padding: 0; }
  .trade.spot { grid-template-columns: minmax(0, 1fr); grid-template-areas: "bar" "mtabs" "chart" "book" "tape" "form" "orders"; grid-template-rows: none; grid-auto-rows: auto; }
  body.term .spot .tbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "star pair acts" "price price stats"; align-items: center; gap: 8px 10px; height: auto; padding: 12px 16px; overflow: visible; }
  .tstar { grid-area: star; }
  .spot .tpair { grid-area: pair; min-width: 0; }
  .tprice { grid-area: price; }
  .tprice b { font-size: 28px; line-height: 34px; }
  .spot #t-chg2 { display: inline; }
  .tstats { grid-area: stats; display: grid; grid-template-columns: auto auto; gap: 6px 16px; align-self: end; }
  .tstats .st-chg { display: none; }
  .tstats span { font-size: 10px; line-height: 14px; }
  .tacts { grid-area: acts; }
  .spot .tacts .ghost.small { display: none; }
  .spot .mtabs { grid-area: mtabs; display: flex; gap: 20px; flex: none; height: 35px; background: var(--bg); border-radius: 8px 8px 0 0; margin-bottom: -4px; }
  .spot[data-mtab=chart] .book, .spot[data-mtab=chart] .tape, .spot[data-mtab=book] .chartbox, .spot[data-mtab=book] .tape, .spot[data-mtab=tape] .chartbox, .spot[data-mtab=tape] .book { display: none; }
  .spot .chartbox { height: 420px; border-radius: 0 0 8px 8px; }
  .spot .book, .spot .tape { border-radius: 0 0 8px 8px; }
  .spot .plist { display: none; }
  .spot .tape { height: 482px; }
  .spot .book .ptitle { display: none; }
  /* defter iki yanlı: solda alışlar (miktar | fiyat), sağda satışlar (fiyat | miktar) */
  .spot .bhead.desk { display: none; }
  .spot .bhead.tel { display: grid; grid-template-columns: repeat(4, 1fr); }
  .spot .bhead.tel span:nth-child(2) { padding-right: 4px; }
  .spot .bhead.tel span:nth-child(3) { padding-left: 4px; text-align: left; }
  .spot .book[data-view=bids] .bhead.tel, .spot .book[data-view=asks] .bhead.tel { grid-template-columns: 1fr 1fr; }
  .spot .book[data-view=bids] .bhead.tel span:nth-child(n+3), .spot .book[data-view=asks] .bhead.tel span:nth-child(-n+2) { display: none; }
  .spot .bbody { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; flex: none; padding: 0 16px 8px; }
  .spot .book:not([data-view=both]) .bbody { grid-template-columns: 1fr; }
  .spot .book .side { flex: none; }
  .spot .book #bids { order: 1; }
  .spot .book #asks, .spot .book[data-view=both] #asks { order: 2; flex-direction: column; }
  .spot .book .mid { display: none; }
  .spot .book .row { grid-template-columns: 1fr 1fr; padding: 0; }
  .spot .book .row .t { display: none; }
  .spot .book .row.bid .q { order: 1; text-align: left; }
  .spot .book .row.bid .p { order: 2; text-align: right; }
  .spot .book .row.ask i { left: 0; right: auto; }
  .spot .book[data-view=both] #asks .row:hover { background-position: 0 100%; }
  .spot #oform { padding: 12px 16px 16px; }
  .ofee { display: none; }
  .spot .oform .seg.two button { padding: 7px 20px; }
  .spot #opanel { min-height: 240px; }
  dialog.psheet { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .psheet-head { padding: 14px 12px 0 16px; }
  .psheet-head h2 { font-size: 18px; }
  dialog.psheet .pl-search { flex-basis: 40px; height: 40px; }
  dialog.psheet .pl-search input { font-size: 16px; }
  dialog.psheet .pl-chips { flex-basis: 32px; }
  dialog.psheet .pl-chips button { height: 32px; padding: 0 12px; font-size: 14px; }
  dialog.psheet .pl-rows .row { height: 44px; font-size: 14px; }
  dialog.psheet .pl-rows .star { flex-basis: 32px; width: 32px; height: 44px; }
  dialog.psheet .pl-rows .star svg { width: 16px; height: 16px; }
  dialog.psheet .pl-rows a { grid-template-columns: minmax(0, 1fr) auto 72px; }
  dialog.psheet .pl-rows a small { font-size: 14px; }
}
/* ---------- spot işlem ekranı sonu ---------- */

/* ---------- genel kabuk: üst çubuk, ana sayfa, alt bilgi (RAKIP-K01–K15) ---------- */
/* Açılır kutuların zemini sayfadan belirgin açıktır; kenarlık yerine gölge taşır. */
:root { --hpop: #29303b; --hpop-hover: #384150; --hpop-shadow: 0 0 6px rgba(0, 0, 0, 0.2), 0 12px 28px rgba(0, 0, 0, 0.4); }
:root[data-theme=light] { --hpop: #ffffff; --hpop-hover: #f1f2f4; --hpop-shadow: 0 0 6px rgba(24, 26, 32, 0.08), 0 12px 28px rgba(24, 26, 32, 0.14); }
.pop[hidden], .s-x[hidden], .s-body[hidden], .d-menu[hidden], .l-card[hidden] { display: none !important; }
.pm { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 1px; background: currentColor; }
.pm::after { transform: rotate(90deg); transition: transform 0.15s; }
details[open] > summary .pm::after, .f-g.open .pm::after { transform: none; }

/* K02: üst çubuk düğmeleri ve simgeleri */
#header { padding: 0 16px 0 24px; gap: 0; }
.brand { flex: 0 0 auto; height: 64px; margin-right: 12px; }
.hr { gap: 0; }
.hr > * { flex: 0 0 auto; }
.hr .hi { width: 40px; height: 64px; border-radius: 0; }
.hr .hi:active { transform: none; }
.hp { position: relative; display: flex; height: 64px; }
.hp.open > .hi { color: var(--accent-2); }
.hbtn { height: 32px; margin: 0 4px; padding: 0 10px; border-radius: 4px; font-size: 14px; line-height: 22px; font-weight: 500; }
.hbtn.primary, .hbtn.primary:hover { box-shadow: none; }
.chev { flex: 0 0 16px; opacity: 1; }
.ni:hover > .nl .chev, .ni:focus-within > .nl .chev { transform: rotate(180deg); }
.ni.shut > .nl .chev { transform: none; }
/* Menü sığmıyorsa (uzun diller, dar pencere) çekmeceye alınır: sınıfı shell.js fitNav verir. */
#header.tight .nav-main { visibility: hidden; }
#header.tight .only-m { display: inline-flex; }

/* K01: açılır menü. Hemen açılır, hemen kapanır; öğesinin altında ortalanır (yeri shell.js placeDrop verir). */
.drop { left: 0; right: auto; padding: 8px; background: var(--hpop); border: 0; border-radius: 8px; box-shadow: var(--hpop-shadow); }
.drop.three { position: absolute; top: 64px; right: auto; margin: 0; width: 928px; }
.ni:hover > .drop, .ni:focus-within > .drop { animation: none; }
.ni.shut > .drop { display: none; }
.mh { height: 38px; margin: 0; padding: 8px; font-size: 14px; line-height: 22px; font-weight: 500; color: var(--muted); }
.mi { gap: 8px; min-height: 64px; padding: 12px 16px; border-radius: 4px; transition: none; }
.mi:hover, .mi:focus-visible { background: var(--hpop-hover); }
.mi .ic { width: 24px; height: 24px; color: var(--text); transition: none; }
.mi:hover .ic { color: var(--text); transform: none; }
.mi b { font-size: 14px; line-height: 22px; font-weight: 500; }
.mi small { font-size: 12px; line-height: 18px; font-weight: 400; color: var(--muted); }
.drop .who-box { border-bottom-color: color-mix(in srgb, var(--text) 12%, transparent); }

/* K03, K10, K11: üst çubuğa bağlı kutular (arama, telefonda aç, dil ve para birimi). Sayfa kararmaz. */
.pop { position: absolute; top: 64px; right: 0; z-index: 30; background: var(--hpop); border-radius: 8px; box-shadow: var(--hpop-shadow); color: var(--text); font-size: 14px; line-height: 22px; cursor: auto; }
.pop-search { width: 368px; max-height: min(568px, calc(100vh - 80px)); padding: 16px 0 8px; border-radius: 0 0 8px 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.s-top { display: flex; align-items: center; gap: 12px; padding: 0 16px 4px; }
.s-find { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; height: 40px; margin: 0; padding: 0 12px; border: 1px solid var(--accent); border-radius: 8px; color: var(--muted); cursor: text; }
.s-find input { flex: 1; min-width: 0; height: 38px; padding: 0; background: none; border: 0; outline: 0; font-size: 14px; color: var(--text); }
.s-x { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: var(--hpop-hover); color: var(--text); }
.s-cancel { flex: 0 0 auto; height: 40px; padding: 0; background: none; border: 0; font-size: 14px; font-weight: 500; color: var(--accent-2); }
.s-h { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 16px 16px 8px; font-size: 14px; line-height: 22px; color: var(--text); }
a.s-h { font-size: 12px; line-height: 18px; color: var(--muted); }
a.s-h:hover { color: var(--text); }
.s-row { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px; }
.s-row.res { height: 68px; }
.s-row:hover, .s-row:focus-visible { background: var(--hpop-hover); }
.rk { flex: 0 0 20px; font-style: normal; font-size: 14px; font-weight: 500; }
.rk.top { color: var(--accent-2); }
.s-pair { display: flex; align-items: baseline; gap: 2px; flex: 1; min-width: 0; margin-left: 4px; }
.s-pair b { font-size: 16px; line-height: 24px; font-weight: 500; }
.s-pair small { font-size: 12px; line-height: 18px; color: var(--muted); }
.s-pair small.kind { margin-left: 4px; }
.s-px { flex: 0 0 auto; text-align: right; }
.s-px b { display: block; font-size: 14px; line-height: 22px; font-weight: 500; }
.s-px small { display: block; font-size: 12px; line-height: 18px; font-weight: 500; }
.s-body .empty { padding: 40px 16px; }

.lc { display: flex; gap: 24px; }
.pop-lang { width: 424px; padding: 8px; }
.lc-col { flex: 0 0 224px; min-width: 0; }
.lc-col.lc-cur { flex-basis: 160px; }
.lc .mh { height: 22px; margin: 0 0 12px; padding: 0; }
.lc-find { display: flex; align-items: center; width: 192px; height: 32px; margin: 0 0 16px; padding: 0 12px; border: 1px solid color-mix(in srgb, var(--text) 22%, transparent); border-radius: 8px; cursor: text; }
.lc-find:focus-within { border-color: var(--accent); }
.lc-cur .lc-find { width: 128px; }
.lc-find input { width: 100%; min-width: 0; padding: 0; background: none; border: 0; outline: 0; font-size: 14px; font-weight: 500; color: var(--text); }
.lc-list { position: relative; height: 320px; padding-right: 7px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.lc-row { display: block; width: 100%; min-height: 56px; padding: 8px 16px; background: none; border: 0; border-radius: 4px; text-align: left; color: var(--text); }
.lc-row:hover { background: var(--hpop-hover); }
.lc-row b { display: block; font-size: 14px; line-height: 22px; font-weight: 500; white-space: nowrap; }
.lc-row small { display: block; font-size: 12px; line-height: 18px; font-weight: 500; color: var(--muted); }
.lc-row.on b { color: var(--accent-2); }
.lc-row.cur { min-height: 38px; }
dialog .lc { gap: 16px; }
dialog .lc-col { flex: 1 1 0; }
dialog .lc-col.lc-cur { flex: 0 0 140px; }
dialog .lc-find input { font-size: 16px; }
dialog .lc-find, dialog .lc-cur .lc-find { width: auto; }
dialog .lc-row:hover { background: var(--raised); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dlg-head h2 { margin: 0; }

.pop-phone { width: 198px; padding: 24px; text-align: center; }
.pop-phone .qr { width: 150px; margin: 0 0 16px; padding: 5px; border-radius: 8px; }
.pop-phone p { margin: 0 0 16px; font-size: 12px; line-height: 18px; font-weight: 500; }
.pop-phone .hint { font-weight: 400; }
.pop-phone .hbtn { display: flex; justify-content: center; width: 100%; height: auto; min-height: 32px; margin: 0; padding: 5px 8px; font-size: 12px; line-height: 16px; white-space: normal; text-align: center; border: 0; }

/* K04: ana sayfa piyasa kartı. Fiyat güncellenince satır boyanmaz; üzerine gelince yalnız yazı rengi değişir. */
.l-card { border-radius: 20px; padding: 12px 24px 20px; }
.l-tabs { gap: 24px; min-height: 48px; margin-bottom: 0; }
.l-tabs button { position: relative; padding: 12px 0; border-bottom: 0; font-size: 16px; line-height: 24px; font-weight: 600; }
.l-tabs button.on::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 16px; height: 3px; margin-left: -8px; background: var(--accent); }
.l-tabs b { font-size: 16px; line-height: 24px; font-weight: 600; }
.l-tabs a { font-size: 14px; }
.crow { height: 48px; padding: 0; transition: none; }
.crow:hover { background: none; border-radius: 0; }
.crow:hover > b { color: var(--accent-2); }
.crow > b { font-size: 16px; line-height: 24px; font-weight: 500; }
.crow .name { font-size: 14px; line-height: 20px; }
.crow .px, .crow .chg { font-size: 16px; line-height: 24px; font-weight: 500; white-space: nowrap; }
.crow .px small { font-size: 12px; font-weight: 400; }
.crow .chg { flex: 0 0 84px; }
.l-new { padding: 8px 0; font-size: 16px; line-height: 24px; }
@keyframes num-up { from { color: var(--up); } }
@keyframes num-down { from { color: var(--down); } }
.flash-up, .flash-down { animation: none; }
.pl-rows .row.flash-up a > .num:nth-child(2), tr.flash-up > td.num:nth-child(3) { animation: num-up 0.8s ease-out; }
.pl-rows .row.flash-down a > .num:nth-child(2), tr.flash-down > td.num:nth-child(3) { animation: num-down 0.8s ease-out; }

/* K05: ana sayfa sol sütun */
.l-hero { padding: 40px 0 64px; }
.l-left h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.056; }
.l-sub { font-size: 24px; line-height: 34px; font-weight: 600; margin-bottom: 32px; }
.l-stats { gap: 16px 48px; margin-bottom: 40px; }
.l-laurel b { font-size: 28px; line-height: 32px; font-weight: 700; }
.l-stats span { font-size: 16px; line-height: 20px; font-weight: 500; color: var(--accent-2); }
.l-cta { max-width: 473px; gap: 12px; }
.l-cta .field.big { height: 48px; border-radius: 10px; }
.l-cta .field.big input { height: 46px; padding: 0 16px; font-size: 14px; font-weight: 500; }
.l-cta .field.big input::placeholder { font-weight: 500; color: var(--muted); opacity: 1; }
.l-cta .btn.big, .l-cta .ghost.big, .l-end .btn.big { min-width: 180px; height: 48px; padding: 0 24px; border-radius: 8px; font-size: 16px; font-weight: 500; }
.l-cta .ghost.big { align-items: center; }
.l-cta .btn.big, .l-cta .btn.big:hover, .l-end .btn.big, .l-end .btn.big:hover { box-shadow: none; animation: none; }
.l-alt { gap: 16px; margin-top: 24px; }
.sq { position: relative; background: none; }
.sq .tag { position: absolute; top: -7px; right: -12px; white-space: nowrap; }
.l-sep { height: 48px; margin: 0 8px; }

/* K06: iki sütunlu satırlarda ikinci öğe aşağı kaymaz (genel "section > * + *" boşluğu burada geçersiz).
   Ödül şeridi çerçevesizdir: simge ve iki satır yazı, her biri kendi yarısında ortalı. */
.l-hero > *, .l-awards > *, .l-trust > *, .l-safe > *, .l-app > * { margin-top: 0; }
.l-awards { gap: 24px; padding: 16px 0 48px; }
.slot { justify-content: center; gap: 24px; padding: 0; border: 0; border-radius: 0; }
.slot .ic { color: var(--muted); }
.slot p { flex: 0 1 340px; font-size: 14px; line-height: 22px; }
.slot b { font-weight: 500; }
.slot:hover b { color: var(--accent-2); }

/* K13: ana sayfada bölümler pencere genişliğine açılabilir; içerik 1200 pikselde kalır. */
body.home main { max-width: none; padding: 0; }
body.home #footer { margin-top: 0; border-top: 0; }
.landing { max-width: none; }
.landing > section { box-sizing: content-box; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.landing > .l-end { max-width: none; padding: 72px 24px; background: var(--panel); }
.landing > .l-trust { width: min(1200px, 100% - 48px); padding-inline: 0; }
.l-end h2.huge { margin: 0 0 24px; font-size: clamp(24px, 3.4vw, 40px) !important; line-height: 1.2; font-weight: 600; letter-spacing: 0; }
.l-end .btn.big { display: flex; width: fit-content; min-width: 0; margin: 0 auto; }

/* K12: sık sorulan sorular */
.l-faq { padding: 64px 0; }
.l-faq h2 { margin-bottom: 40px; text-align: center; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.2; font-weight: 600; }
.l-faq details { border-bottom: 0; border-radius: 10px; transition: background 0.15s; }
.l-faq details[open] { background: var(--panel); }
.l-faq summary { gap: 16px; padding: 16px 24px; font-size: 20px; line-height: 28px; font-weight: 500; }
.l-faq summary .q { flex: 1; min-width: 0; }
.l-faq .n { font-size: 16px; line-height: 1; }
.l-faq p { max-width: none; margin: 0; padding: 0 64px 20px 72px; font-size: 16px; line-height: 24px; }

/* K14: alt bilgi */
#footer { max-width: none; margin: 48px 0 0; padding: 64px 24px; }
.f-in { max-width: 1200px; margin: 0 auto; }
.f-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; }
.f-g { margin: 0 0 32px; }
.f-g h3 { margin: 0 0 12px; color: var(--text); font-size: 18px; line-height: 24px; font-weight: 500; }
.f-links a { display: block; padding: 4px 0; color: var(--muted); font-size: 14px; line-height: 20px; }
.f-links a:hover { color: var(--text); }
.f-prefs button { display: flex; align-items: center; gap: 8px; height: 41px; padding: 0; background: none; border: 0; color: var(--muted); font-size: 14px; line-height: 22px; text-align: left; }
.f-prefs button:hover { color: var(--text); }
.d-ic { display: inline-flex; flex: 0 0 24px; }
.f-icons { display: grid; grid-template-columns: repeat(4, 24px); gap: 24px; }
.f-icons a, .f-icons button { display: inline-flex; padding: 0; background: none; border: 0; color: var(--muted); }
.f-icons a:hover, .f-icons button:hover { color: var(--text); }
.f-icons .tag { display: none; }
.f-legal { padding-top: 24px; border-top: 1px solid var(--line); }
.f-risk, .f-copy { margin: 0 0 12px; font-size: 12px; line-height: 16px; color: var(--muted); }
.f-copy { margin: 0; }

/* K09: çekmece. Sağdan kayarak gelir; içi kendi içinde kayar. */
.drawer { display: block; position: fixed; inset: 0; z-index: 50; padding: 0; overflow: hidden; background: none; visibility: hidden; pointer-events: none; transition: visibility 0s linear 0.25s; }
.drawer.open { visibility: visible; pointer-events: auto; transition: none; }
.drawer-in { width: 100%; height: 100%; overflow-x: hidden; padding: 0 24px calc(32px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: var(--panel); transform: translateX(100%); transition: transform 0.25s ease; }
.drawer.open .drawer-in { transform: none; }
.drawer-head { height: 64px; margin-right: -8px; }
.drawer-auth { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 0 0 16px; }
.drawer-auth .hbtn { display: block; min-width: 0; height: 40px; margin: 0; line-height: 40px; text-align: center; border-radius: 8px; overflow: hidden; text-overflow: ellipsis; }
.drawer .who-box { padding: 0 0 12px; margin-bottom: 16px; }
.d-find { display: flex; align-items: center; gap: 8px; height: 40px; margin: 0 0 8px; padding: 0 12px; border: 1px solid var(--edge, var(--line)); border-radius: 8px; color: var(--muted); cursor: text; }
.d-find:focus-within { border-color: var(--accent); }
.d-find input { flex: 1; min-width: 0; padding: 0; background: none; border: 0; outline: 0; font-size: 16px; color: var(--text); }
.d-row, .drawer summary { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; min-height: 56px; padding: 0; background: none; border: 0; font-size: 16px; line-height: 24px; font-weight: 400; color: var(--text); text-align: left; cursor: pointer; list-style: none; }
.d-row > span:nth-child(2), .drawer summary > span { flex: 1; min-width: 0; }
.d-row > .ic, .d-row > .d-ic, .drawer summary > .ic:first-child { flex: 0 0 24px; color: var(--muted); }
.d-row > small { flex: 0 0 auto; font-size: 14px; color: var(--muted); }
div.d-row { cursor: default; }
.d-sub { display: flex; align-items: center; gap: 8px; min-height: 48px; padding-left: 36px; font-size: 14px; line-height: 22px; color: var(--text); }
.d-h { margin: 0; padding: 8px 0 0 36px; font-size: 12px; line-height: 18px; font-weight: 500; color: var(--muted); }
.drawer .s-row { padding: 0; }
.drawer .s-h { padding-inline: 0; }
.tsw { display: inline-flex; flex: 0 0 auto; padding: 3px; border: 1px solid var(--edge, var(--line)); border-radius: 8px; }
.tsw button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 28px; padding: 0; background: none; border: 0; border-radius: 6px; color: var(--muted); }
.tsw button.on { background: var(--raised); color: var(--text); }

@media (max-width: 1000px) {
  .hp.hide-m, .hr .hbtn.hide-m { display: none; }
  .f-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  /* K07: telefon üst çubuğu. Yazılı logo, yanında en çok üç kontrol; tema çekmecededir. */
  #header { padding: 0 8px 0 16px; }
  .brand .wm { display: flex; }
  .hide-p { display: none !important; }
  .pop-search { position: fixed; top: 64px; left: 0; right: 0; bottom: 0; width: auto; max-height: none; border-radius: 0; }
  .s-find input { font-size: 16px; }
  /* K08: telefonda ilk ekran. Ortalı; e-posta kutusu ve hızlı giriş düğmeleri yok, tek kayıt düğmesi. */
  .landing > section { padding-inline: 16px; }
  .landing > .l-end { padding: 40px 16px; }
  .landing > .l-trust { width: calc(100% - 32px); }
  .l-hero { gap: 24px; padding: 20px 0 32px; }
  .l-left { text-align: center; }
  .l-left h1 { font-size: 32px; line-height: 40px; margin-bottom: 8px; }
  .l-br { display: none; }
  .l-sub { font-size: 16px; line-height: 24px; margin-bottom: 16px; }
  .l-stats { justify-content: center; gap: 8px 16px; margin-bottom: 20px; }
  .l-laurel { gap: 6px; }
  .l-laurel b { font-size: 20px; line-height: 24px; }
  .l-stats span { display: block; font-size: 14px; line-height: 18px; }
  .l-hero .l-cta { flex-direction: row; justify-content: center; max-width: none; }
  .l-cta .field.big, .l-alt { display: none; }
  .l-hero .l-cta .btn.big, .l-hero .l-cta .ghost.big { min-width: 0; flex: 0 1 180px; padding: 0 12px; }
  .l-card { padding: 8px 16px 12px; border-radius: 16px; }
  .l-tabs { gap: 20px; }
  .l-faq { padding: 40px 0; }
  .l-faq h2 { margin-bottom: 24px; }
  .l-faq summary { gap: 12px; padding: 12px 16px; font-size: 18px; line-height: 26px; }
  .l-faq p { padding: 0 16px 16px 60px; }
  #footer { padding: 40px 16px calc(88px + env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) {
  /* Uzun dillerde (ör. Rusça kayıt düğmesi) üst çubuk taşmaz: boşluklar daralır, sığmazsa düğme yazısı kısalır. */
  #header { padding: 0 4px 0 12px; }
  .brand { margin-right: 4px; }
  .hr { flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
  .hr .hbtn { display: block; flex: 0 1 auto; min-width: 0; padding: 0 8px; font-size: 13px; line-height: 32px; overflow: hidden; text-overflow: ellipsis; }
  /* K15: alt bilgi grupları kapalı gelir; başlığına basınca açılır. */
  #footer { margin-top: 32px; padding-top: 16px; }
  .f-cols { display: flex; flex-direction: column; }
  .f-col { display: contents; }
  .f-g { margin: 0; }
  .f-g h3 { margin: 0; }
  .f-g h3 button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 0; background: none; border: 0; color: var(--text); font-size: 16px; line-height: 32px; font-weight: 500; text-align: left; }
  .f-g:not(.open) > .f-links { display: none; }
  .f-links { padding: 0 0 8px 24px; }
  .f-links a { padding: 8px 0; line-height: 22px; }
  .f-soc, .f-pr { order: 2; }
  .f-soc { padding: 16px 0 8px; }
  .f-soc h3, .f-pr h3 { display: none; }
  .f-icons { display: flex; flex-wrap: wrap; align-items: center; }
  .f-icons .tag { display: inline-block; }
  .f-prefs { display: flex; flex-wrap: wrap; gap: 0 24px; padding-top: 8px; }
  .f-prefs button { height: 44px; }
  .f-legal { margin-top: 8px; padding-top: 16px; }
}

/* ---------- işlem botları (#/bots): tür kartları, grafik + kurma formu, botlarım ---------- */
.gb-head p { margin: 0; max-width: 720px; }
.gb-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 380px)); gap: 12px; }
.gb-types .tile { flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px; }
.gb-types .tile .ic { flex: 0 0 auto; }
.gb-types .tile div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gb-types .tile b { display: flex; align-items: center; gap: 8px; }
.gb-types .tile:hover { transform: none; }
.gb-types .tile.on { border-color: var(--accent); }
.gb-work { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 12px; align-items: stretch; }
.gb-chart { display: flex; flex-direction: column; padding: 0; overflow: hidden; min-width: 0; }
.gb-bar { display: flex; align-items: center; gap: 24px; flex: 0 0 auto; min-height: 60px; padding: 8px 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.gb-bar::-webkit-scrollbar { display: none; }
.gb-pair { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.gb-pair b { display: block; font-size: 20px; font-weight: 500; line-height: 24px; white-space: nowrap; }
.gb-chart .chartbox { flex: 1 1 auto; min-height: 460px; border: 0; border-radius: 0; }
.gb-form { align-self: start; min-width: 0; }
.gb-form h2 { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.gb-form h3 { display: flex; align-items: center; gap: 8px; margin: 14px 0 8px; font-size: 13px; font-weight: 600; color: var(--text); }
.gb-form h3 i { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 18px; height: 18px; border-radius: 50%; background: var(--raised); font-style: normal; font-size: 11px; color: var(--muted); }
.gb-form h3 small { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--muted); }
.gb-form .avail { margin: 0 0 4px; gap: 8px; line-height: 18px; }
.gb-form .avail b { font-weight: 400; white-space: nowrap; }
.gb-form .avail .link { font-size: 12px; color: var(--accent-2); }
.gb-form .avail .link:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.gb-form .btn.wide { height: 40px; margin-top: 12px; padding: 0 20px; }
.gb-form .hint { text-align: center; }
.nf.bad, .nf.bad:hover, .nf.bad:focus-within { border-color: var(--down); }
.gb-quick { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 4px; font-size: 12px; color: var(--muted); }
.gb-quick span { margin-right: auto; }
.gb-quick button { height: 24px; padding: 0 8px; background: var(--raised); border: 0; border-radius: 6px; font-size: 12px; color: var(--text); white-space: nowrap; }
.gb-quick button:hover { color: var(--accent-2); }
.gb-err { margin: 6px 0 0; font-size: 12px; line-height: 17px; color: var(--down); overflow-wrap: anywhere; }
.gb-err[hidden] { display: none; }
.gb-prev { margin-top: 12px; padding: 12px; border-radius: 8px; background: var(--deep); }
.gb-prev:empty { display: none; }
.gb-prev .kv { margin: 0; }
.gb-prev .kv dd, .gb-sum dd { text-align: right; font-weight: 500; }
.gb-prev .kv dd small, .gb-sum dd small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }
.gb-prev .hint { margin-top: 10px; text-align: left; }
.gb-prev .note { margin: 10px 0 0; font-size: 12px; }
.gb-wait { margin: 0; font-size: 12px; line-height: 18px; color: var(--muted); }
.gb-sum { margin: 14px 0; }

.gb-mine-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.gb-mine-head h2 { margin: 0; }
.gb-mine-head span { font-size: 12px; }
.gb-bot { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--deep); }
.gb-bot + .gb-bot { margin-top: 10px; }
.gb-bot.off { background: none; }
.gb-bot header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.gb-bot header .acoin b { font-size: 16px; font-weight: 600; }
.gb-age { margin-left: auto; font-size: 12px; white-space: nowrap; }
.gb-age b { font-weight: 500; color: var(--text); }
.gb-bot header time { font-size: 12px; }
.gb-why { margin: 10px 0 0; font-size: 13px; line-height: 19px; color: var(--muted); overflow-wrap: anywhere; }
.gb-why b { font-weight: 500; color: var(--text); }
.gb-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; margin-top: 14px; }
.gb-nums > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gb-nums span { font-size: 12px; color: var(--muted); }
.gb-nums b { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.gb-nums .big b { font-size: 20px; line-height: 26px; }
.gb-nums .big small { font-size: 12px; }
.gb-nums .wide { grid-column: span 2; }
.gb-sub { margin: 18px 0 10px; }
.gb-more { display: block; margin: 12px auto 0; }
.gb-orders { margin-top: 12px; border-top: 1px solid var(--line); }
.gb-orders summary { display: flex; align-items: center; gap: 6px; padding: 10px 0 0; font-size: 13px; color: var(--text); cursor: pointer; list-style: none; user-select: none; }
.gb-orders summary::-webkit-details-marker { display: none; }
.gb-orders summary svg { margin-left: 2px; color: var(--muted); transition: transform 0.15s; }
.gb-orders[open] summary svg { transform: rotate(180deg); }
.gb-orders .scroll { max-height: 280px; margin-top: 8px; overflow-y: auto; scrollbar-width: thin; }
.gb-orders .table { font-size: 13px; }
.gb-orders .table td { padding: 7px 10px; }
.gb-orders .empty { padding: 16px 0; font-size: 13px; }

.gb-about h2 { margin: 0 0 8px; }
.gb-about > p { max-width: 860px; line-height: 1.6; }
.gb-how { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; align-items: start; margin: 16px 0; }
.gb-pic { padding: 12px; border-radius: 10px; background: var(--deep); }
.gb-sketch { display: block; width: 100%; height: auto; }
.gb-sketch path { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 4; fill: none; opacity: 0.5; }
.gb-sketch path.edge { stroke: var(--accent); stroke-dasharray: none; opacity: 0.8; }
.gb-sketch polyline { fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linejoin: round; opacity: 0.85; }
.gb-sketch circle.b { fill: var(--up); }
.gb-sketch circle.s { fill: var(--down); }
.gb-legend { display: flex; justify-content: center; gap: 16px; margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.gb-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--up); }
.gb-legend .s::before { background: var(--down); }
.gb-points { display: grid; gap: 14px; }
.gb-points h3 { margin: 0 0 4px; font-size: 14px; color: var(--text); }
.gb-points p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.gb-about .actions.left { margin: 16px 0 0; }
.gb-fold summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.gb-fold summary::-webkit-details-marker { display: none; }
.gb-fold summary b { font-weight: 500; }
.gb-fold summary svg { flex: 0 0 auto; color: var(--muted); transition: transform 0.15s; }
.gb-fold[open] summary svg { transform: rotate(180deg); }
.gb-fold[open] summary { margin-bottom: 12px; }

/* işlem ekranı: emir türü satırındaki geçiş, bot etiketi; bildirimlerde basılabilir satır */
.otabs .obot { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 500; color: var(--accent-2); white-space: nowrap; }
.otabs .obot:hover { text-decoration: underline; }
a.tag:hover { color: var(--text); }
a.notice { color: inherit; }
a.notice:hover b { color: var(--accent-2); }

@media (max-width: 1100px) {
  .gb-work { grid-template-columns: minmax(0, 1fr) 340px; }
  .gb-bar .tstats > div:nth-child(1) { display: none; }
}
@media (max-width: 900px) {
  .gb-work { grid-template-columns: minmax(0, 1fr); }
  .gb-chart .chartbox { min-height: 300px; height: 320px; }
  .gb-how { grid-template-columns: minmax(0, 1fr); }
  .gb-pic { max-width: 420px; }
}
@media (max-width: 700px) {
  /* dar ekranda başlık iki satır: üstte çift ve fiyat, altta 24 saatlik değişim, en yüksek, en düşük */
  .gb-bar { flex-wrap: wrap; gap: 8px 16px; padding: 10px 12px; overflow: visible; }
  .gb-bar .tprice { margin-left: auto; align-items: flex-end; }
  .gb-bar .tstats { display: flex; flex: 1 1 100%; justify-content: space-between; gap: 12px; }
  .gb-bar .tstats span { font-size: 11px; line-height: 16px; }
  .gb-bar .tstats > div:nth-child(1) { display: flex; }
  .gb-pair b { font-size: 17px; }
  .gb-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gb-nums .big { grid-column: span 2; }
  .gb-bot { padding: 12px; }
  .gb-age { margin-left: 0; flex: 1 1 100%; order: 5; }
  .gb-bot header .ghost, .gb-bot header time { margin-left: auto; }
}
