/* CryptoSignalAI V1 · tasarım sistemi  [V1.0]
   Renkler tek yerde (token). Koyu tema = [data-theme="dark"]. Vurgu rengi: --accent */
:root {
  --accent: #2457D6;
  --bg: #F3F5F8; --side: #FFFFFF; --card: #FFFFFF; --line: #E2E6EC; --soft: #EEF1F5;
  --text: #111827; --muted: #556070;
  --up: #0B7A44; --down: #B42323; --warn: #9A5B00;
  --up-bg: #E3F4EA; --down-bg: #FBE7E7; --warn-bg: #FDF1DC;
  --accent-bg: #E6EDFC; --accent-text: #1F4CC0; --on-fill: #FFFFFF;
  --radius: 14px;
  --font: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0D1117; --side: #11161D; --card: #161B22; --line: #28303B; --soft: #1E2631;
  --text: #E6EAF0; --muted: #9AA5B4;
  --up: #46C987; --down: #F07272; --warn: #F0B04A;
  --up-bg: rgba(70,201,135,.14); --down-bg: rgba(240,114,114,.14); --warn-bg: rgba(240,176,74,.14);
  --accent-bg: rgba(110,150,255,.16); --accent-text: #9DB8FF; --on-fill: #0D1117;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.45; }
a { color: var(--accent-text); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.up { color: var(--up); } .down { color: var(--down); } .warn { color: var(--warn); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- kabuk ---------- */
.shell { display: flex; min-height: 100vh; }
.side { width: 256px; flex: 0 0 256px; background: var(--side); border-right: 1px solid var(--line); padding: 18px 14px 24px;
        display: flex; flex-direction: column; gap: 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 10px; text-decoration: none; color: var(--text); }
.brand-mark { fill: var(--accent); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 16px; letter-spacing: -0.01em; }
.brand-text small { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.nav { display: flex; flex-direction: column; gap: 14px; }
.nav-group { display: flex; flex-direction: column; gap: 2px; }
.nav-title { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--muted); padding: 0 12px 4px; }
.nav-item { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: 9px; text-decoration: none;
            font-size: 14px; font-weight: 500; color: var(--text); }
.nav-item svg { color: var(--muted); flex: 0 0 auto; }
.nav-item:hover { background: var(--soft); }
.nav-item.on { background: var(--accent-bg); color: var(--accent-text); font-weight: 600; }
.nav-item.on svg { color: var(--accent-text); }
.nav-badge { margin-left: auto; font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 99px;
             background: var(--soft); color: var(--muted); }
.nav-badge:empty { display: none; }
.nav-badge.soon { font-family: var(--font); }
.side-status { margin-top: auto; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column;
               gap: 8px; font-size: 13px; color: var(--muted); }
.side-status-head { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.kv { display: flex; justify-content: space-between; gap: 8px; }
.kv .mono { color: var(--text); }
.dot { width: 8px; height: 8px; border-radius: 99px; background: var(--muted); display: inline-block; flex: 0 0 auto; }
.dot.on { background: var(--up); } .dot.off { background: var(--down); }

.main-col { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 28px; background: var(--card);
       border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.search { flex: 1 1 180px; min-width: 160px; max-width: 420px; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 10px;
          background: var(--soft); border: 1px solid var(--line); color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 14px; color: var(--text); }
.search kbd { font-family: var(--mono); font-size: 11px; border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.top-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 99px; font-size: 13px;
        background: var(--soft); color: var(--text); text-decoration: none; white-space: nowrap; }
.chip.ok { background: var(--up-bg); color: var(--up); font-weight: 600; }
.chip.ok .dot { background: var(--up); }
.chip.bad { background: var(--down-bg); color: var(--down); font-weight: 600; }
.chip.bad .dot { background: var(--down); }
a.chip.bad:hover { filter: brightness(.97); }
.icon-btn { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text);
            display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn { display: none; }
.lang-sel { height: 36px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--text);
            font: inherit; font-size: 13px; font-weight: 600; padding: 0 10px; cursor: pointer; }
.clock { font-size: 13px; color: var(--muted); padding: 0 4px; }

.content { padding: 26px 28px 48px; display: flex; flex-direction: column; gap: 20px; max-width: 1280px; width: 100%; }

/* ---------- parçalar ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.page-head h1 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.page-head p { margin: 4px 0 0; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text);
       font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.btn:disabled { opacity: .6; cursor: wait; }
.link { font-size: 13px; font-weight: 600; color: var(--accent-text); text-decoration: none; }
.link:hover { text-decoration: underline; }

.grid { display: grid; gap: 16px; }
.grid.kpis { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.grid.pair { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0;
        display: flex; flex-direction: column; gap: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-head.col { flex-direction: column; align-items: flex-start; gap: 2px; }
.card-head h2 { margin: 0; font-size: 17px; font-weight: 600; }
.card-head p { margin: 0; }
.sub-title { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.card.soon p { margin: 0; font-size: 15px; line-height: 1.6; }

.kpi { gap: 8px; }
.kpi-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.kpi-value { font-family: var(--mono); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.kpi-sub { font-size: 13px; color: var(--muted); }
.bar { height: 6px; border-radius: 99px; background: var(--soft); overflow: hidden; flex: 1; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.bar > i.good { background: var(--up); } .bar > i.mid { background: var(--warn); } .bar > i.bad { background: var(--down); }

.alert { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; border-radius: 12px;
         background: var(--down-bg); border: 1px solid var(--down); font-size: 14px; }
.alert strong { color: var(--down); }

.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { color: var(--muted); font-size: 12px; font-weight: 500; text-align: left; padding: 0 8px 8px; white-space: nowrap; }
.tbl td { padding: 11px 8px; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl th:first-child, .tbl td:first-child { padding-left: 0; }
.tbl th:last-child, .tbl td:last-child { padding-right: 0; }
.tbl .r { text-align: right; }
.tbl .winbar { display: flex; align-items: center; gap: 8px; min-width: 120px; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.pill.long { background: var(--up-bg); color: var(--up); }
.pill.short { background: var(--down-bg); color: var(--down); }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.tag.ok { background: var(--up-bg); color: var(--up); }
.tag.mid { background: var(--warn-bg); color: var(--warn); }
.tag.off { background: var(--soft); color: var(--muted); }

.tile { border-radius: 10px; border: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 2px;
        text-decoration: none; color: var(--text); }
.tile:hover { border-color: var(--accent); }
.tile span { font-size: 12px; color: var(--muted); }
.tile strong { font-family: var(--mono); font-size: 24px; font-weight: 600; }
.box { border-radius: 10px; background: var(--soft); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.box span { font-size: 12px; color: var(--muted); }
.box strong { font-family: var(--mono); font-size: 18px; }

.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.row:first-child { border-top: 0; }
.vrow { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); }
.vrow .line { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.vrow .meta { display: flex; align-items: center; gap: 8px; }
.crow { display: grid; grid-template-columns: minmax(0, 1fr) 44px 64px 96px; align-items: center; gap: 8px; padding: 9px 0;
        border-top: 1px solid var(--line); font-size: 14px; }
.crow:first-child { border-top: 0; }
.crow .mono { text-align: right; }

.heat { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.heat div { border-radius: 8px; padding: 8px 4px; text-align: center; display: flex; flex-direction: column; gap: 2px;
            background: var(--soft); color: var(--muted); }
.heat b { font-family: var(--mono); font-size: 13px; }
.heat small { font-size: 11px; }
.heat .good { background: var(--up); color: var(--on-fill); }
.heat .mid { background: var(--warn); color: var(--on-fill); }
.heat .bad { background: var(--down); color: var(--on-fill); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.sw.good { background: var(--up); } .sw.mid { background: var(--warn); } .sw.bad { background: var(--down); }
.empty { padding: 18px 0; color: var(--muted); font-size: 14px; }
.news-item { padding: 10px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.news-item:first-child { border-top: 0; }
.news-item span { font-size: 12px; color: var(--muted); }

.legacy-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
#legacyFrame { width: 100%; min-height: 70vh; border: 0; display: block; background: #FFFFFF; }

/* ---------- telefon / tablet ---------- */
@media (max-width: 900px) {
  .side { position: fixed; left: 0; top: 0; z-index: 20; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 40px rgba(0,0,0,.25); }
  .side.open { transform: none; }
  .menu-btn { display: inline-flex; }
  .top { padding: 12px 16px; }
  .content { padding: 20px 16px 40px; }
  .grid.two { grid-template-columns: 1fr; }
  .heat { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .crow { grid-template-columns: minmax(0, 1fr) 32px 58px 88px; }
}
@media (max-width: 520px) {
  .grid.three { grid-template-columns: 1fr 1fr 1fr; }
  .kpi-value { font-size: 26px; }
  .chip.neutral { display: none; }
}
@media (prefers-reduced-motion: reduce) { .side { transition: none; } }

/* ---------- V1.1 Manuel Analiz ---------- */
.an-form { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px; }
.an-input { flex: 1 1 260px; min-width: 0; height: 48px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft);
            color: var(--text); font-size: 17px; padding: 0 14px; text-transform: uppercase; }
.an-input::placeholder { text-transform: none; font-family: var(--font); font-size: 15px; }
.an-head { align-items: center; }
.an-symbol { margin: 0; font-size: 28px; font-weight: 600; }
.an-price { font-size: 24px; font-weight: 600; padding: 0 8px; }
.an-main { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.an-chart-card { padding-bottom: 14px; }
.an-chart { height: 520px; border-radius: 10px; overflow: hidden; }
.an-tf { display: inline-flex; gap: 4px; }
.an-tf button { height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--muted);
                font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.an-tf button.active { background: var(--accent-bg); color: var(--accent-text); border-color: transparent; }
.an-chart-src { margin-top: 8px; text-align: right; }
.an-verdict { border-radius: 10px; padding: 14px 16px; font-weight: 600; font-size: 15px; }
.an-verdict.ok { background: var(--up-bg); color: var(--up); }
.an-verdict.bad { background: var(--down-bg); color: var(--down); }
.an-verdict.mid { background: var(--warn-bg); color: var(--warn); }
.an-verdict.delist { background: var(--down); color: #FFFFFF; font-size: 17px; text-align: center; padding: 20px; }
.an-dir { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.an-dir .pill { font-size: 15px; padding: 6px 14px; }
.an-dir.idle .pill { opacity: .45; }   /* V1.9.8.z8: kurulum yok */
.lv { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.lv:first-child { border-top: 0; }
.lv .val { font-family: var(--mono); font-weight: 600; text-align: right; }
.lv .val small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.chk { display: grid; grid-template-columns: minmax(64px, max-content) minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.chk:first-child { border-top: 0; }
.chk .tag { justify-self: start; align-self: start; }
.chk .tag.bad { background: var(--down-bg); color: var(--down); }
.kp { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.flow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .an-main { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .an-chart { height: 380px; } }

/* ---------- V1.2 Sinyaller + Pozisyonlar ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text);
       font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tab .mono { font-size: 12px; opacity: .8; }
.tab.on { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.small-tabs .tab { height: 38px; padding: 0 14px; }
.split { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.split > .card.flush { flex: 999 1 600px; }
.split > aside { flex: 1 1 300px; max-width: 400px; position: sticky; top: 90px; }
.card.flush { padding: 0; gap: 0; overflow: hidden; }
.card-head.pad { padding: 16px 20px 6px; }
.card.flush .tbl th { background: var(--soft); padding: 11px 10px; }
.card.flush .tbl td { padding: 11px 10px; }
.card.flush .tbl th:first-child, .card.flush .tbl td:first-child { padding-left: 18px; }
.card.flush .tbl th:last-child, .card.flush .tbl td:last-child { padding-right: 18px; }
.card.flush .empty { padding: 22px 18px; }
.tbl tr.sel td { background: var(--accent-bg); }
.coin-btn { all: unset; cursor: pointer; font-family: var(--mono); font-weight: 600; color: var(--accent-text); }
.coin-btn:hover, .coin-btn:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.sub-line { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.cb { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 5px; margin: 0 3px 3px 0; }
.cb.ok { background: var(--up-bg); color: var(--up); }
.cb.bad { background: var(--down-bg); color: var(--down); }
.cb.mid { background: var(--warn-bg); color: var(--warn); }
.badge-fire { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--warn-bg); color: var(--warn); }
.mini-btn { height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--down); background: var(--card); color: var(--down); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.mini-btn:hover { background: var(--down-bg); }

.grid.three .box strong { font-size: 15px; white-space: nowrap; }
.tag.bad { background: var(--down-bg); color: var(--down); }

.nowrap { white-space: nowrap; }

/* ---------- V1.7 Ayarlar ---------- */
.set-body { display: flex; flex-direction: column; gap: 16px; padding-bottom: 72px; }
.set-note { padding: 12px 16px; border-radius: 12px; background: var(--soft); color: var(--muted); font-size: 14px; }
.set-note.confirm { background: var(--warn-bg); color: var(--warn); font-weight: 500; }
.set-lock { color: var(--warn); font-size: 10px; vertical-align: middle; }
.tab.on .set-lock { color: #FFFFFF; }
.set-card { gap: 0; }
.set-card .card-head { padding-bottom: 6px; }
.set-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, auto); gap: 8px 20px; align-items: center;
           padding: 14px 0; border-top: 1px solid var(--line); }
.set-card .card-head + .set-row { border-top: 0; }
.set-row.changed { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; margin-left: -12px; }
.set-row.err { box-shadow: inset 3px 0 0 var(--down); padding-left: 12px; margin-left: -12px; }
.set-lbl label { font-weight: 600; font-size: 14.5px; }
.set-lbl .tag { margin-left: 6px; font-size: 11px; padding: 2px 8px; }
.set-lbl p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.set-lbl p.set-meta { font-size: 12px; }
.set-lbl p.set-err { color: var(--down); font-weight: 600; }
.set-lbl p.set-warn { color: var(--warn); font-weight: 500; }
.set-ctl { display: flex; justify-content: flex-end; }
.set-in { height: 40px; border-radius: 9px; border: 1px solid var(--line); background: var(--soft); color: var(--text);
          font: inherit; font-size: 14px; padding: 0 10px; }
.set-in:focus { border-color: var(--accent); outline: none; background: var(--card); }
.set-in.num { width: 96px; text-align: right; }
.set-in.wide { width: min(340px, 100%); }
.set-num { display: inline-flex; align-items: center; gap: 8px; }
.set-weights { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.set-weights label { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.set-weights .set-in.num { width: 62px; }
.sw-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; }
.sw-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-toggle span { width: 44px; height: 26px; border-radius: 99px; background: var(--line); position: relative; transition: background .15s; flex: 0 0 auto; }
.sw-toggle span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 99px; background: #FFFFFF;
                         box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.sw-toggle input:checked + span { background: var(--up); }
.sw-toggle input:checked + span::after { transform: translateX(18px); }
.sw-toggle input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sw-toggle b { min-width: 48px; font-weight: 600; }
.set-chips { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; }
.set-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 15; display: flex; align-items: center; gap: 16px;
           padding: 10px 10px 10px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--accent);
           box-shadow: 0 8px 30px rgba(0,0,0,.18); font-weight: 600; font-size: 14px; max-width: calc(100vw - 32px); flex-wrap: wrap; }
.set-bar-actions { display: flex; gap: 8px; }
.set-toast { position: fixed; right: 18px; top: 84px; z-index: 30; max-width: min(440px, calc(100vw - 32px)); padding: 12px 16px;
             border-radius: 12px; background: var(--up-bg); color: var(--up); border: 1px solid var(--up); font-size: 14px; font-weight: 500; }
.set-toast.bad { background: var(--down-bg); color: var(--down); border-color: var(--down); }
.set-dlg { border: 1px solid var(--line); border-radius: 16px; padding: 0; background: var(--card); color: var(--text);
           width: min(640px, calc(100vw - 32px)); }
.set-dlg::backdrop { background: rgba(10,14,20,.55); }
.set-dlg-in { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.set-dlg h2 { margin: 0; font-size: 19px; }
.set-dlg-warn { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--soft); font-size: 14px; }
.set-dlg-warn.real { background: var(--warn-bg); color: var(--warn); font-weight: 600; }
.set-dlg-notes { margin: 0; padding-left: 18px; font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; }
.set-dlg-notes li.warn { color: var(--warn); }
.set-dlg-actions { display: flex; justify-content: flex-end; gap: 8px; }
.set-hc { font-size: 13.5px; padding: 2px 0; }
.set-undo { height: 34px; font-size: 13px; padding: 0 12px; }
@media (max-width: 700px) {
  .set-row { grid-template-columns: 1fr; }
  .set-ctl { justify-content: flex-start; }
  .set-bar { left: 16px; right: 16px; transform: none; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .sw-toggle span, .sw-toggle span::after { transition: none; } }

/* ---------- V1.8 Haberler ---------- */
.nw-next .nw-next-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 15px; }
.nw-count { font-size: 24px; color: var(--accent-text); }
.nw-keys { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nw-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; min-height: 32px; }
.nw-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.tbl tr.nw-dim td { color: var(--muted); }
.nw-cap { caption-side: top; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); padding: 12px 18px 6px; }
.nw-filters { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 14px; padding: 14px 18px; }
.nw-filters label { display: flex; flex-direction: column; gap: 4px; }
.nw-filters .nw-check { flex-direction: row; }
.nw-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.nw-item { gap: 8px; padding: 16px 20px; }
.nw-item h3 { margin: 0; font-size: 16.5px; line-height: 1.35; font-weight: 600; }
.nw-item h3 a { color: var(--text); text-decoration: none; }
.nw-item h3 a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.nw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.nw-meta .cb { text-decoration: none; margin: 0; }
.nw-spot { margin: 0; font-size: 14.5px; line-height: 1.55; }
.nw-src { margin: 4px 0 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.chip.warn { background: var(--warn-bg); color: var(--warn); font-weight: 600; }
.nw-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; font-size: 14px; }
.nw-pager .btn:disabled { cursor: default; opacity: .45; }
#nwSub:empty { display: none; }

/* ---------- V1.9 ---------- */
.nw-regime { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; background: var(--accent-bg); border-color: transparent; }
.nw-regime strong { font-size: 16px; color: var(--accent-text); }
.tbl tr.nw-sum td { background: var(--soft); }
#anNews .news-item strong a { color: var(--text); text-decoration: none; }
#anNews .news-item strong a:hover { color: var(--accent-text); text-decoration: underline; }
#anNews .news-item > span:not(.mono) { font-size: 13.5px; color: var(--text); }
#anNews .news-item > span:last-child { font-size: 12px; color: var(--muted); }

/* ---------- V1.9.1 Ana sayfa: canlı piyasa ---------- */
.mk { gap: 12px; }
.mk-live { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--up); box-shadow: 0 0 0 0 rgba(11,122,68,.5); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(70,201,135,.55); } 70% { box-shadow: 0 0 0 8px rgba(70,201,135,0); } 100% { box-shadow: 0 0 0 0 rgba(70,201,135,0); } }
.mk-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.mk-tile { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 12px 12px 40px; border-radius: 12px; border: 1px solid var(--line);
           background: var(--soft); text-decoration: none; color: var(--text); overflow: hidden; transition: border-color .15s, transform .15s; }
.mk-tile:hover { border-color: var(--accent); transform: translateY(-1px); }
.mk-name { font-size: 12.5px; font-weight: 600; color: var(--muted); display: flex; gap: 6px; align-items: baseline; }
.mk-name em { font-style: normal; font-weight: 500; font-size: 10.5px; color: var(--warn); }
.mk-price { font-size: 19px; font-weight: 600; border-radius: 6px; padding: 0 2px; margin: 0 -2px; }
.mk-ch { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 11.5px; }
.mk-spark { position: absolute; left: 0; right: 0; bottom: 4px; width: 100%; height: 32px; }
.mk-spark polyline { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mk-spark.up polyline { stroke: var(--up); } .mk-spark.down polyline { stroke: var(--down); }
.flash-up { animation: flashUp 1.1s ease-out; } .flash-down { animation: flashDown 1.1s ease-out; }
@keyframes flashUp { 0% { background: var(--up-bg); color: var(--up); } 100% { background: transparent; } }
@keyframes flashDown { 0% { background: var(--down-bg); color: var(--down); } 100% { background: transparent; } }
.mk-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.mk-regime { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 14px; }
.mk-regime strong { color: var(--accent-text); }
.mk-next { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 8px 14px; border-radius: 10px; background: var(--warn-bg);
           color: var(--text); text-decoration: none; font-size: 14px; }
.mk-next .mk-count { font-size: 17px; font-weight: 600; color: var(--warn); }
.mv-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line);
          text-decoration: none; color: var(--text); font-size: 13.5px; }
.mv-row:hover strong { color: var(--accent-text); }
.mv-row .tag { font-size: 11px; padding: 2px 8px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
#news .news-item strong a { color: var(--text); text-decoration: none; font-size: 14px; line-height: 1.4; }
#news .news-item strong a:hover { color: var(--accent-text); text-decoration: underline; }
@media (max-width: 1100px) { .mk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mv-mini { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .live-dot, .flash-up, .flash-down { animation: none; } .mk-tile { transition: none; } }

/* ---------- V1.9.2: Çince vb. uzun coin adları satırı bozmasın · AI işlem masası ---------- */
.mv-row > span:first-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-row > span:nth-child(2) { white-space: nowrap; }
.coin-btn { white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; display: inline-block; vertical-align: bottom; }
#atBody .nw-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
#atBody .tbl td .winbar { min-width: 110px; }
.vrow > .bar { flex: none; }   /* V1.9.2: dikey satırda çubuk görünmüyordu */

/* ---------- V1.9.7 ---------- */
.nowrap { white-space: nowrap; }
#nwContext .tbl td.r, .mk-ch { white-space: nowrap; }   /* "−%0,07" bölünmesin */
#atBody .grid.two .tbl .winbar { min-width: 70px; }
#atBody .grid.two .tbl th, #atBody .grid.two .tbl td { padding-left: 8px; padding-right: 8px; }

/* V1.9.8.b: balinalar ve likidite */
.tag.bad { background: var(--down-bg); color: var(--down); }
.wh-bal { display: flex; width: 120px; height: 8px; border-radius: 4px; overflow: hidden; background: var(--soft); }
.wh-bal > i { display: block; height: 100%; }
.wh-bal > i.l { background: var(--up); } .wh-bal > i.s { background: var(--down); }
.wh-hours { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding: 4px 0; }
.wh-hour { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-width: 4px; }
.wh-hour > i { display: block; width: 100%; }
.wh-hour > i.l { background: var(--down); border-radius: 0 0 2px 2px; } .wh-hour > i.s { background: var(--up); border-radius: 2px 2px 0 0; }
.wh-bal.liq > i.l { background: var(--down); } .wh-bal.liq > i.s { background: var(--up); }

/* V1.9.8.d: genişlik düzeltmeleri */
.cbs { display: flex; flex-wrap: wrap; gap: 3px; min-width: 150px; max-width: 230px; }
.cbs .cb { margin: 0; }
.tbl td.wh-liq { white-space: nowrap; }
.tbl td.wh-liq .sub-line { white-space: nowrap; }
.wh-bal { width: 70px; }

/* V1.9.8.g: günlük piyasa raporu */
.rp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rp-banner { padding: 14px 18px; }
.rp-banner.draft { border-color: var(--warn, #d9a400); }
.rp-banner-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.rp-summary p { margin: 0 0 8px; line-height: 1.55; }
.rp-summary p:last-child { margin-bottom: 0; }
.rp-spark { display: block; width: 100%; height: 56px; margin-bottom: 4px; }
.rp-spark polyline { fill: none; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.rp-spark.up polyline { stroke: var(--up); } .rp-spark.down polyline { stroke: var(--down); }
.rp-hours { display: flex; align-items: flex-end; gap: 2px; height: 70px; margin: 8px 0; }
.rp-hours > div { flex: 1; display: flex; flex-direction: column-reverse; height: 100%; position: relative; min-width: 0; }
.rp-hours i { display: block; width: 100%; }
.rp-hours i.l { background: var(--down); opacity: .75; } .rp-hours i.s { background: var(--up); opacity: .75; }
.rp-hours span { position: absolute; bottom: -16px; left: 0; right: 0; text-align: center; font-size: 9px; color: var(--muted); }
.rp-hours > div:nth-child(odd) span { visibility: hidden; }
.rp-news { display: flex; flex-direction: column; gap: 12px; }
.rp-news-item a { color: var(--text); text-decoration: none; } .rp-news-item a:hover { text-decoration: underline; }
.rp-archive { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.rp-day { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); text-decoration: none; }
.rp-day:hover { background: var(--soft); }
@media (max-width: 640px) { .rp-actions .btn { flex: 1 1 100%; } }
/* V1.9.8.i (B16): balina hareketleri dar ekranda */
.tbl.wh-ev td, .tbl.wh-ev th { padding-left: 8px; padding-right: 8px; }
.tbl.wh-ev .sub-line .pill { margin-top: 4px; }
@media (max-width: 640px) { .tbl.wh-ev { font-size: 13px; } }

/* V1.9.8.j: uzun boşluk listesi satır kaydırsın, sayfayı taşırmasın */
.rp-banner-row { flex-wrap: wrap; min-width: 0; }
.rp-banner .rp-gaps { white-space: normal; border-radius: 10px; max-width: 100%; overflow-wrap: anywhere; line-height: 1.5; }
/* V1.9.8.k: raporda opsiyon oynaklığı 7. kutu — geniş ekranda tek satır */
@media (min-width: 1101px) { #rpBody .mk-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); } }

/* V1.9.8.l: AI işlem grafiği */
.btn.tiny { padding: 2px 8px; font-size: 12px; min-height: 0; line-height: 1.6; }
.at-chart-btn { margin-top: 4px; }
.at-chart-dlg { width: min(1100px, 96vw); max-width: 96vw; }
.at-chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.at-chart-box { height: min(460px, 60vh); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.at-chart-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.at-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.at-chart-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.at-eq-box.lw { height: 240px; }

/* V1.9.8.n: piyasa ısı haritası */
.hm-box { position: relative; width: 100%; border-radius: 10px; overflow: hidden; background: var(--soft); }
.hm-tile { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none;
  color: #fff; border-radius: 3px; overflow: hidden; line-height: 1.15; text-align: center; }
.hm-tile:hover { outline: 2px solid var(--text); z-index: 2; }
.hm-tile { text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.hm-n { font-weight: 700; }
.hm-c { font-family: var(--mono); font-size: 11px; opacity: .95; }
.hm-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.hm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hm-legend i { width: 14px; height: 10px; border-radius: 2px; display: inline-block; }
.mi-cb-box { height: min(380px, 60vh); }
#miCombo .card-head { flex-wrap: wrap; gap: 8px; }
/* V1.9.8.n: piyasa sıcaklığı */
.tp-grid { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: center; }
.tp-left { display: flex; flex-direction: column; align-items: center; }
.tp-gauge { width: 220px; height: 120px; }
.tp-val { display: flex; flex-direction: column; align-items: center; margin-top: -6px; }
.tp-val strong { font-size: 30px; line-height: 1.1; }
.tp-val span { font-weight: 700; font-size: 14px; }
.tp-rows { display: flex; flex-direction: column; gap: 8px; }
.tp-row { display: grid; grid-template-columns: minmax(150px, 1.4fr) minmax(70px, .8fr) 2fr 34px; gap: 10px; align-items: center; font-size: 14px; }
.tp-row .bar { margin: 0; }
.tp-row strong { text-align: right; }
@media (max-width: 760px) { .tp-grid { grid-template-columns: 1fr; } .tp-row { grid-template-columns: 1fr auto 34px; } .tp-row .bar { grid-column: 1 / -1; grid-row: 2; } }
/* V1.9.8.n: yasal not */
.legal-note { margin: 24px 0 4px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }

/* V1.9.8.o: likidasyon / balina fiyat haritası */
.wh-map-tabs { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.wm-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.wm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.wm-head { display: grid; grid-template-columns: 1fr 96px 1fr; text-align: center; }
.wm { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.wm-row { display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; min-height: 15px; border-bottom: 1px solid var(--soft); }
.wm-row:last-child { border-bottom: 0; }
.wm-row.now { background: var(--accent-bg, var(--soft)); outline: 1px solid var(--accent); }
.wm-px { text-align: center; font-size: 11.5px; color: var(--muted); }
.wm-row.now .wm-px { color: var(--text); }
.wm-side { display: flex; flex-direction: column; gap: 1px; padding: 1px 4px; }
.wm-side.l { align-items: flex-end; }
.wm-side.s { align-items: flex-start; }
.wm-side i { display: block; height: 5px; border-radius: 2px; }
.wm-legend i { display: inline-block; width: 12px; height: 10px; border-radius: 2px; }
i.wl { background: var(--down); } i.ll { background: color-mix(in srgb, var(--down) 45%, transparent); }
i.ws { background: var(--up); } i.sl { background: color-mix(in srgb, var(--up) 45%, transparent); }
i.win, i.sin { background: var(--accent); opacity: .55; }
.wm-facts { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; }
.sec-bar { position: relative; min-width: 120px; height: 20px; display: flex; align-items: center; }
.sec-bar i { position: absolute; left: 0; top: 3px; height: 14px; border-radius: 3px; opacity: .22; }
.sec-bar i.up { background: var(--up); } .sec-bar i.down { background: var(--down); }
.sec-bar span { position: relative; padding-left: 6px; }

/* V1.9.8.q: Manuel Analiz — üstte 4 özet kutusu, grafik tam genişlik, geri kalan kartlar 4 sütun (sütun akışı, boşluksuz) */
.grid.kpis.an-sum4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.an-cols { columns: 4; column-gap: 14px; }
.an-cols > .card { break-inside: avoid; margin: 0 0 14px; display: block; width: 100%; padding: 14px 14px 12px; font-size: 13px; }
.an-cols > .card[hidden], .an-cols > .card:empty { display: none; }
.an-cols h2 { font-size: 15px; }
.an-cols .card-head { margin-bottom: 4px; }
.an-cols .lv { font-size: 12.5px; padding: 6px 0; gap: 8px; }
.an-cols .lv .val small { font-size: 11px; }
.an-cols .tbl { font-size: 12px; }
.an-cols .kpi-sub, .an-cols .small { font-size: 11.5px; }
.an-cols .an-verdict { font-size: 13px; }
/* V1.9.9.z10b: Manuel Analiz — standart ve geniş SL planı tek tabloda (dar sütun) */
.an-pl { font-size: 11.5px; width: 100%; table-layout: fixed; }
.an-pl th { font-size: 10.5px; font-weight: 600; white-space: normal; line-height: 1.25; }
.an-pl th:first-child, .an-pl td:first-child { width: 22%; }
.an-pl td { padding: 5px 2px; vertical-align: top; overflow-wrap: anywhere; }
.an-fvg-h { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 10px 0 2px; }
.an-fvg-r { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 6px; align-items: start; padding: 5px 0; border-top: 1px solid var(--line); font-size: 11.5px; }
.an-fvg-r .an-pl-sub, .an-fvg-r small { display: block; font-size: 10px; color: var(--muted); }
.an-fvg-k { font-size: 11px; line-height: 1.6; }
.an-pl .an-pl-sub { display: block; font-size: 10px; color: var(--muted); line-height: 1.25; }
.an-chart-card .an-chart { height: 560px; }
@media (max-width: 1000px) { .an-cols { columns: 2; } .grid.kpis.an-sum4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .an-cols { columns: 1; } .grid.kpis.an-sum4 { grid-template-columns: 1fr; } .an-chart-card .an-chart { height: 380px; } }
.an-cols .table-wrap { overflow-x: auto; }
.an-cols .card * { overflow-wrap: break-word; word-break: normal; hyphens: auto; -webkit-hyphens: auto; }   /* V1.9.8.r: kelime ortasından bölme yok, Türkçe heceleme */
.an-cols .lv > :first-child { flex: 1 1 0; min-width: 6.5em; }
.an-cols .lv .val { flex: 0 1 auto; max-width: 62%; min-width: 0; }
#anResult > #anKeyPoints, #anResult > .an-chart-card, #anResult > .an-cols { margin-top: 14px; }

/* V1.9.8.r: Manuel Analiz — trend kanalı (F9), ani sıçrama (F10), uzun değerler */
.an-ch-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 10px; }
.an-ch-info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex: 1 1 320px; line-height: 1.5; }
.an-ch-note { flex-basis: 100%; font-size: 11.5px; }
.lv.wide { display: block; }
.lv.wide .val { display: block; max-width: none; text-align: left; font-weight: 500; margin-top: 3px; line-height: 1.45; }
#anSpike { margin-top: 14px; }
#anSpike .an-verdict { margin: 0; }
.an-sp-list { margin: 6px 0; padding-left: 18px; font-weight: 400; }
.an-sp-list li { margin: 2px 0; }
/* V1.9.8.r (F8): unlock takvimi */
.ul-form { margin-top: 14px; }
.ul-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 12px; align-items: end; }
.ul-grid label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ul-grid .set-in { width: 100%; }
.ul-grid .ul-note { grid-column: span 2; }
.ul-act { display: flex; align-items: center; gap: 10px; grid-column: 1 / -1; }
#ulBody .card + .card { margin-top: 14px; }
@media (max-width: 640px) { .ul-grid .ul-note { grid-column: auto; } }
.ul-tbl td.r, .ul-tbl td:nth-child(2), .ul-tbl td:nth-child(3) { white-space: nowrap; }
.ul-small { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; cursor: pointer; }
/* V1.9.8.u: unlock tablosu sığsın */
.ul-tbl { font-size: 13px; }
.ul-tbl th, .ul-tbl td { padding-left: 6px; padding-right: 6px; }
.ul-tbl td:first-child { white-space: nowrap; }
.ul-tbl td:nth-child(2) { font-size: 12px; }
.ul-tbl .ul-rec { min-width: 150px; max-width: 220px; white-space: normal; font-size: 11.5px; line-height: 1.35; }
.ul-tbl .tag { padding: 3px 8px; }
/* V1.9.8.v: unlock tablosu — etiket coin altında, kaydırmasız */
.ul-tbl td.ul-coin { white-space: normal; min-width: 120px; }
.ul-tbl td.ul-coin .coin-btn { white-space: nowrap; }
.ul-flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.ul-tbl .ul-flag { font-size: 11px; padding: 2px 7px; white-space: normal; }
.ul-tbl td:nth-child(3) { white-space: normal; }
.ul-tbl td:nth-child(3) .sub-line { white-space: nowrap; }
@media (max-width: 1200px) {
  .ul-tbl { font-size: 12.5px; }
  .ul-tbl .ul-rec { min-width: 110px; max-width: 150px; }
  .ul-tbl td:nth-child(3) .sub-line { white-space: normal; }
  .ul-tbl td.ul-coin { min-width: 96px; }
  .ul-tbl th { white-space: normal; }
}
/* V1.9.8.w: ters işlem kırılım tabloları */
.rv-split { font-size: 12.5px; }
.rv-split th, .rv-split td { white-space: nowrap; padding-left: 5px; padding-right: 5px; }
.rv-split td:first-child { white-space: normal; }
/* V1.9.8.x: Giriş Analizi */
.en-diag { margin: 0; padding-left: 18px; display: grid; gap: 8px; line-height: 1.5; }
.en-how { margin: 0; padding-left: 20px; display: grid; gap: 6px; line-height: 1.5; color: var(--muted); }
#enBody .tbl td .winbar { min-width: 110px; }
/* V1.9.8.y: deneyler */
#enBody tr.en-base td { background: var(--soft); }
#enBody tr.en-real td { border-bottom: 2px solid var(--border, #e5e7eb); }
.en-h4 { margin: 16px 0 6px; font-size: 14px; }
/* V1.9.8.z10: Piyasalar sayfası */
.pz-spark { width: 110px; height: 30px; display: block; }
.pz-spark polyline { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.pz-spark.up polyline { stroke: var(--up); } .pz-spark.down polyline { stroke: var(--down); }
.tbl tr.pz-off td { opacity: .75; }
.pz-closed { margin-left: 6px; font-size: 11px; }
.pz-macro { margin: 6px 0 0; font-size: 13px; }
.pz-tbl td { white-space: nowrap; }
.pz-tbl td:first-child { white-space: normal; min-width: 170px; }
/* V1.9.8.z11: yeni ana sayfa */
.hm-tkr { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; background: var(--card); border: 1px solid var(--line);
          border-radius: var(--radius); overflow: hidden; }
.hm-tk { position: relative; display: flex; flex-direction: column; gap: 1px; padding: 10px 12px 30px; text-decoration: none; color: var(--text);
         border-left: 1px solid var(--line); min-width: 0; }
.hm-tk:first-child { border-left: 0; }
.hm-tk:hover { background: var(--soft); }
.hm-tk-n { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; gap: 6px; align-items: baseline; white-space: nowrap; }
.hm-tk-n em { font-style: normal; font-weight: 500; font-size: 10px; color: var(--warn); }
.hm-tk-p { font-size: 15.5px; font-weight: 600; border-radius: 4px; }
.hm-tk > .mono:last-of-type { font-size: 12px; }
.hm-tk-s { position: absolute; left: 10px; right: 10px; bottom: 6px; height: 20px; width: calc(100% - 20px); opacity: .9; }
.hm-tk-s polyline, .hm-btc-s polyline { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hm-tk-s.up polyline, .hm-btc-s.up polyline { stroke: var(--up); }
.hm-tk-s.down polyline, .hm-btc-s.down polyline { stroke: var(--down); }
.hm-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.hm-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.hm-btc { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.hm-btc-l { display: flex; flex-direction: column; gap: 4px; }
.hm-btc-p { font-size: 38px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; border-radius: 6px; }
.hm-btc-ch { font-size: 13px; color: var(--muted); }
.hm-btc-s { width: 100%; height: 70px; }
.hm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-st { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-left: 1px solid var(--line); min-width: 0; }
.hm-st:first-child { border-left: 0; padding-left: 0; }
.hm-st span { font-size: 12px; color: var(--muted); }
.hm-st strong { font-size: 18px; font-weight: 600; }
.hm-st small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-regime { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; }
.hm-next { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--soft); }
.hm-next:empty { display: none; }
.hm-next strong { font-size: 15px; }
.hm-cd { font-size: 24px; font-weight: 600; color: var(--accent-text); letter-spacing: -0.01em; }
.hm-ev { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; align-items: baseline; }
.hm-ev:first-child { border-top: 0; }
.hm-ev.past { opacity: .6; }
.hm-ev em { font-style: normal; font-size: 11px; }
.hm-ev .text { color: var(--text); }
.hm-mv { display: flex; flex-direction: column; gap: 10px; }
.hm-mv .mv-row { grid-template-columns: minmax(0, 1fr) auto auto; }
.hm-three .row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.hm-three .news-item strong { font-size: 14px; font-weight: 500; line-height: 1.4; }
.hm-three .news-item a { color: var(--text); text-decoration: none; }
.hm-three .news-item a:hover { color: var(--accent-text); }
.hm-sys { gap: 12px; }
.hm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.hm-k { display: flex; flex-direction: column; gap: 2px; padding: 0 16px; border-left: 1px solid var(--line); min-width: 0; }
.hm-k:first-child { border-left: 0; padding-left: 0; }
.hm-k span { font-size: 12px; color: var(--muted); }
.hm-k strong { font-size: 20px; font-weight: 600; }
.hm-k small { font-size: 12px; color: var(--muted); }
.hm-delist { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
@media (max-width: 1200px) { .hm-tkr { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hm-tk:nth-child(5) { border-left: 0; }
  .hm-tk:nth-child(n+5) { border-top: 1px solid var(--line); } .hm-three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .hm-hero, .hm-three { grid-template-columns: 1fr; } .hm-stats, .hm-kpis { grid-template-columns: 1fr 1fr; }
  .hm-st:nth-child(3), .hm-k:nth-child(3) { border-left: 0; padding-left: 0; } .hm-btc { grid-template-columns: 1fr; } }
/* V1.9.8.z12: ana sayfa — sektör / balina / likidasyon */
.hm-sec { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(40px, 1fr) auto 64px; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.hm-sec-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-sec-n small { font-size: 11px; }
.hm-sec-b { height: 6px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.hm-sec-b i { display: block; height: 100%; border-radius: 99px; } .hm-sec-b i.up { background: var(--up); } .hm-sec-b i.down { background: var(--down); }
.hm-sec-c { text-align: right; font-size: 12px; }
.hm-coin { text-decoration: none; color: var(--text); } .hm-coin:hover { color: var(--accent-text); }
.hm-split { display: flex; flex-direction: column; gap: 4px; padding: 6px 0 2px; }
.hm-split-bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--soft); }
.hm-split-bar i.l { background: var(--up); } .hm-split-bar i.s { background: var(--down); }
.hm-split-lbl { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.hm-split-lbl strong { color: var(--text); font-weight: 600; }
.hm-wh { display: grid; grid-template-columns: max-content auto minmax(0, 1fr) auto;   /* V1.9.9.z11: tam tarih */ gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.hm-wh .tag { font-size: 11px; padding: 2px 7px; }
.hm-wh > .mono:first-child { font-size: 11.5px; }   /* V1.9.9.z11: tam tarih yer kaplamasın */
/* V1.9.9.z10: ana sayfa — kazanan balinaların son hareketleri */
.hm-ww { margin-top: 16px; }
.hm-ww-r { display: grid; grid-template-columns: minmax(100px, 140px) minmax(0, 1fr) auto minmax(90px, auto) max-content;   /* V1.9.9.z11: tam tarih */ gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.hm-ww-r .pill { font-size: 10.5px; padding: 1px 6px; }
@media (max-width: 640px) { .hm-ww-r { grid-template-columns: 1fr auto; } }
.hm-wh .pill { font-size: 10.5px; padding: 1px 6px; }
.hm-lq { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.hm-wh .r, .hm-lq .r { text-align: right; }
.hm-split.inv .hm-split-bar i.l { background: var(--down); } .hm-split.inv .hm-split-bar i.s { background: var(--up); }
.hm-wh-c { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* V1.9.8.z14: kart içi alt başlık */
.sub-h { font-size: 13px; font-weight: 600; margin: 16px 0 6px; color: var(--muted, #667); }

/* V1.9.8.z15: Dump SHORT kontrollü açılış kutusu */
.dc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.dc-grid .kv { display: flex; flex-direction: column; gap: 4px; }

/* V1.9.9.l: Manuel Analiz — Basit yorum + Trend onayı parçaları */
.an-simple { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.an-simple-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; }
.an-simple-warn { margin: 4px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--warn); text-transform: none; }
.an-flow-parts { margin: 4px 0 0; padding-left: 16px; font-size: 12.5px; font-family: var(--mono); line-height: 1.6; }
.an-flow-parts li.muted { color: var(--muted); }
/* V1.9.9.z2: borsa saatleri (ana sayfa) */
.hm-sess { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; background: var(--card); border: 1px solid var(--line);
           border-radius: var(--radius); padding: 10px 14px; }
.hm-sess-h { display: flex; flex-direction: column; gap: 2px; min-width: 200px; flex: 1 1 260px; }
.hm-sess-h strong { font-size: 14px; }
.hm-sess-h span { font-size: 12px; color: var(--muted); }
.hm-sess-l { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-sx { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); min-width: 150px; }
.hm-sx i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); opacity: .45; flex: 0 0 auto; }
.hm-sx.on { border-color: var(--up); background: color-mix(in srgb, var(--up) 10%, var(--card)); }
.hm-sx.on i { background: var(--up); opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--up) 25%, transparent); }
.hm-sx b { font-size: 13px; }
.hm-sx small { display: block; font-size: 11.5px; color: var(--muted); }
.hm-sx.on small { color: var(--up); }
.hm-sess-h .hm-sess-z { align-self: flex-start; margin-top: 3px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); color: var(--text); font-size: 12px; font-weight: 600; }
.hm-sess-c { font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) { .hm-sx { min-width: 0; flex: 1 1 140px; } .hm-sess-c { white-space: normal; } }
/* V2.0.3: Coin listesi */
.cl-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.cl-search { height: 44px; min-width: 260px; flex: 0 1 340px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 15px; }
.cl-card { padding: 0; overflow: hidden; }
.cl-tbl th, .cl-tbl td { white-space: nowrap; }
.cl-tbl th { padding: 0; }
.cl-sort { all: unset; box-sizing: border-box; display: block; width: 100%; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; }
.cl-tbl th.r .cl-sort { text-align: right; }
.cl-sort:hover, .cl-sort:focus-visible { background: var(--soft, rgba(36, 87, 214, .06)); outline: none; }
.cl-sort.on { color: var(--accent); }
.cl-ar { font-size: 10px; display: inline-block; min-width: 8px; }
.cl-no { width: 36px; }
.cl-tbl th.cl-no { padding: 10px 12px; }
.cl-coin { color: inherit; text-decoration: none; }
.cl-coin:hover strong { color: var(--accent); text-decoration: underline; }
.cl-pager { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 14px 0; }
.cl-pg { height: 38px; min-width: 38px; padding: 0 10px; }
.cl-pg.on { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.cl-pg:disabled { cursor: default; opacity: .45; }
.cl-tbl td:last-child, .cl-tbl th:last-child .cl-sort { padding-right: 18px; }

/* V2.0.9: Manuel Analiz — açık işlem varken yeni giriş kuralları katlanmış */
.an-fold { border-top: 1px solid var(--line, #e5e7eb); padding-top: 6px; }
.an-fold > summary { cursor: pointer; color: var(--muted, #6b7280); }
.an-pl td.r.muted .mono { opacity: .5; }
/* V2.0.9: ana sayfa gerçek işlemler durum bandı */
.rl-band { display: flex; flex-direction: column; gap: 4px; margin: 0 0 10px; }
.rl-band > div { font-size: 13px; padding: 6px 10px; border-radius: 8px; border: 1px solid transparent; }
.rl-band .info { background: var(--accent-soft, rgba(36,87,214,.08)); border-color: rgba(36,87,214,.25); }
.rl-band .warn { background: rgba(217,119,6,.10); border-color: rgba(217,119,6,.35); }
.rl-band .bad { background: rgba(180,35,35,.10); border-color: rgba(180,35,35,.35); }
/* V2.0.10: Kazanan balinalar — yeni gelen hareket birkaç saniye vurgulu */
@keyframes wwNew { 0% { background: var(--accent-soft, rgba(36,87,214,.16)); } 100% { background: transparent; } }
.wh-ev tr.ww-new td { animation: wwNew 6s ease-out 1; }
/* V2.0.10: Manuel Analiz açık işlem tablosu — etiket sütunu iki satıra kırılmasın */
.an-pl td:first-child { white-space: nowrap; width: 1%; padding-right: 10px; }

/* V2.0.12: Bilgi sayfaları */
.inf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.inf-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; text-decoration: none; color: var(--text); transition: border-color .15s; }
.inf-card:hover, .inf-card:focus-visible { border-color: var(--accent); }
.inf-card strong { font-size: 16px; }
.inf-n { color: var(--accent-text); font-size: 12px; }
.inf-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
.inf-side { position: sticky; top: 16px; padding: 16px; }
.inf-list { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.inf-list a { color: var(--text); text-decoration: none; }
.inf-list a:hover { color: var(--accent-text); text-decoration: underline; }
.inf-list li.on a { color: var(--accent-text); font-weight: 600; }
.inf-art { padding: 22px 26px; max-width: 820px; font-size: 15.5px; line-height: 1.65; }
.inf-art h2 { font-size: 18px; margin: 22px 0 8px; }
.inf-art h2:first-child { margin-top: 0; }
.inf-art p, .inf-art ul, .inf-art ol { margin: 0 0 12px; }
.inf-art li { margin-bottom: 4px; }
.inf-art .ex { background: var(--soft); border-left: 3px solid var(--accent); border-radius: 8px; padding: 12px 14px; margin: 14px 0; }
.inf-art .warn { background: var(--warn-bg); border-left: 3px solid var(--warn); border-radius: 8px; padding: 12px 14px; margin: 14px 0; }
.inf-art .ex p:last-child, .inf-art .warn p:last-child { margin-bottom: 0; }
.inf-art table { border-collapse: collapse; margin: 10px 0 14px; font-size: 14px; }
.inf-art th, .inf-art td { border-bottom: 1px solid var(--line); padding: 6px 12px 6px 0; text-align: left; vertical-align: top; }
.inf-art dt { font-weight: 600; margin-top: 10px; }
.inf-art dd { margin: 2px 0 0; color: var(--text); }
.inf-note { background: var(--accent-bg); color: var(--accent-text); border-radius: 8px; padding: 8px 12px; }
.inf-pn { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); }
.inf-pn-a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; max-width: 48%; }
.inf-pn-a.r { text-align: right; margin-left: auto; }
.inf-legal { margin-top: 18px; }
@media (max-width: 960px) { .inf-wrap { grid-template-columns: 1fr; } .inf-side { position: static; } .inf-art { padding: 18px; } }

/* V2.0.14: DCA hesaplayıcı */
.card.dca-form { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 14px; }
.dca-f { display: flex; flex-direction: column; gap: 4px; flex: 1 1 150px; font-size: 13px; color: var(--muted); }
.dca-f .an-input { flex: none; width: 100%; height: 44px; padding: 0 12px; text-transform: none; font-size: 15px; }
.dca-form .btn { flex: 0 0 auto; }
.dca-chart { width: 100%; height: auto; display: block; }
.dca-chart .ax { stroke: var(--line); }
.dca-chart .val { fill: none; stroke: var(--accent); stroke-width: 2.4; }
.dca-chart .inv { fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-dasharray: 5 4; }
.dca-chart .lb { fill: var(--muted); font-size: 12px; }
.dca-leg { display: flex; gap: 16px; margin-top: 6px; color: var(--muted); }
.dca-leg i { display: inline-block; width: 18px; height: 3px; margin-right: 6px; vertical-align: middle; background: var(--accent); }
.dca-leg i.inv { background: var(--muted); }
.dca-info h2 { font-size: 17px; margin: 0 0 6px; }

/* V2.0.15: TradFi */
.tf-test { background: var(--warn-bg); color: var(--text); border-left: 3px solid var(--warn); border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; }
.an-tf-note { background: var(--warn-bg); border-left: 3px solid var(--warn); border-radius: 8px; padding: 10px 14px; margin: 0 0 12px; font-weight: 600; }

/* V2.0.16: TradFi kartları 4 sütun (boşluk kalmasın) */
.grid.kpis.tf-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.kpis.tf-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tf-chip { height: auto; font-size: 11px; padding: 1px 7px; margin-left: 4px; background: var(--warn-bg); color: var(--text); }

/* V2.0.17: TradFi arama + SEC rozetleri · Spot Analiz */
.tf-tools { display: flex; justify-content: flex-end; margin: 0 0 8px; }
.tf-tools .an-input { max-width: 240px; height: 34px; }
.news-item span.chip.tf-lb, .tf-lb { height: auto; font-size: 11px; padding: 1px 8px; margin: 2px 4px 0 0; background: var(--soft, rgba(36, 87, 214, .06)); color: var(--text); }
.news-item span.chip.tf-red { background: var(--down-bg); color: var(--down); }
.news-item span.chip.tf-earn { background: var(--soft, rgba(36, 87, 214, .08)); color: var(--accent); }
.sp-head { display: flex; flex-direction: row; gap: 10px; align-items: center; flex-wrap: wrap; }
.sp-head .an-input { flex: 0 1 220px; width: 220px; height: 42px; padding: 0 12px; font-size: 15px; }
.sp-head .btn { height: 42px; }
.sp-rng { display: flex; gap: 6px; margin-left: auto; }
.sp-chart .ma { fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-dasharray: 5 4; }
.sp-chart .hv { stroke: var(--warn, #d08a00); stroke-width: 1; stroke-dasharray: 2 3; }
.sp-chart .hvt { font-size: 10px; fill: var(--muted); }
.sp-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: start; }
.sp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 1000px) { .sp-grid, .sp-cols { grid-template-columns: 1fr; } }
.sp-w { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.sp-w:first-of-type { border-top: 0; }
.sp-rng .btn.on { background: var(--accent); color: #fff; border-color: var(--accent); }
