:root {
  color-scheme: dark;
  --bg: #090b0f;
  --bg2: #0d1015;
  --panel: #11151c;
  --panel2: #171c25;
  --hover: #1a202b;
  --line: #1e2430;
  --line2: #2a3140;
  --text: #e9ebf0;
  --text2: #c4c9d4;
  --muted: #8a93a6;
  --dim: #5b6377;
  --gold: #e6b450;
  --gold2: #f7cf7a;
  --gold-deep: #c98d22;
  --gold-soft: rgba(230, 180, 80, .12);
  --sell: #2fbf7f;
  --sell-soft: rgba(47, 191, 127, .12);
  --buy: #4f9dff;
  --buy-soft: rgba(79, 157, 255, .12);
  --danger: #ff6b6b;
  --danger-soft: rgba(255, 107, 107, .1);
  --t0: #b0b7c6;
  --t1: #5fd690;
  --t2: #62adff;
  --t3: #b98cff;
  --t4: #ff9f43;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .55);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --top-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(1100px 420px at 78% -140px, rgba(230, 180, 80, .085), transparent 70%),
    radial-gradient(900px 380px at -10% -120px, rgba(79, 157, 255, .05), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 14px/1.5 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.no-scroll { overflow: hidden; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold2); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.pad { padding: 12px 14px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.c-sell { color: var(--sell); }
.c-buy { color: var(--buy); }
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 20px; }
main.container { flex: 1; padding-bottom: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: rgba(230, 180, 80, .3); }

/* arayüz ikonu */
.i {
  width: 16px; height: 16px; flex: none; vertical-align: -3px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------------------------------------------------------------- üst bar */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 24px;
  min-height: var(--top-h); padding: 0 20px;
  background: rgba(9, 11, 15, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar:has(.topbar-in) { padding: 0; }
.topbar-in { display: flex; align-items: center; gap: 28px; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 20px; min-height: var(--top-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 17px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand b { color: var(--gold); font-weight: 800; }
.brand-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: linear-gradient(140deg, var(--gold2), var(--gold-deep)); color: #120e06; font-weight: 800;
  box-shadow: 0 4px 14px rgba(230, 180, 80, .25), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.brand-mark svg { width: 22px; height: 22px; fill: none; stroke: #120e06; stroke-width: 3.4; stroke-linecap: round; }
.brand-mark.sm { width: 22px; height: 22px; border-radius: 6px; box-shadow: none; }
.brand-mark.sm svg { width: 15px; height: 15px; }

.tabs { display: flex; gap: 2px; }
.tab {
  position: relative; color: var(--muted); padding: 8px 12px; border-radius: 9px; font-weight: 600; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; transition: color .15s, background .15s;
}
.tab:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.tab.active { color: var(--text); background: rgba(255, 255, 255, .05); }
.tab.active .i { color: var(--gold); }
.topbar .tab { padding: 0 14px; height: var(--top-h); border-radius: 0; background: none; }
.topbar .tab:hover { background: none; }
.topbar .tab.active { background: none; }
.topbar .tab.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold2), var(--gold));
}
.tab-gold .i { color: var(--gold); }
.count-pill { background: var(--gold); color: #120e06; border-radius: 99px; font-size: 11px; padding: 0 7px; font-weight: 800; line-height: 18px; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.live {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--muted); padding: 6px 11px; border-radius: 99px; border: 1px solid var(--line2); background: var(--bg2);
}
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.live[data-state="on"] { color: var(--sell); border-color: rgba(47, 191, 127, .3); background: rgba(47, 191, 127, .06); }
.live[data-state="on"] i { background: var(--sell); animation: ping 1.8s infinite; }
.live[data-state="connecting"] i { background: var(--gold); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47, 191, 127, .55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(47, 191, 127, 0); } }

/* Gold Bar şeridi */
.ticker { border-bottom: 1px solid var(--line); background: rgba(13, 16, 21, .9); }
.ticker-in { display: flex; align-items: center; gap: 16px; height: 38px; }
.ticker-label {
  display: inline-flex; align-items: center; gap: 7px; flex: none; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold); padding-right: 16px; border-right: 1px solid var(--line2);
}
.ticker-items { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.ticker-items::-webkit-scrollbar { display: none; }
.ticker-items a {
  display: inline-flex; align-items: baseline; gap: 7px; flex: none; padding: 3px 10px; border-radius: 7px;
  color: var(--text2); font-size: 13px; white-space: nowrap;
}
.ticker-items a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.ticker-items b { color: var(--muted); font-weight: 600; font-size: 12px; }
.ticker-items span { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--gold2); }

.demo-banner {
  background: repeating-linear-gradient(45deg, rgba(230, 180, 80, .13), rgba(230, 180, 80, .13) 12px, rgba(230, 180, 80, .06) 12px, rgba(230, 180, 80, .06) 24px);
  color: var(--gold2); text-align: center; padding: 7px 16px; font-weight: 600; font-size: 13px;
  border-bottom: 1px solid rgba(230, 180, 80, .22);
}

/* ---------------------------------------------------------------- butonlar ve form */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap;
  height: 38px; border: 1px solid var(--line2); background: var(--panel2); border-radius: var(--radius-sm); padding: 0 15px;
  font-weight: 600; color: var(--text); transition: background .15s, border-color .15s, filter .15s, transform .05s;
}
.btn:hover { border-color: #3a4357; background: var(--hover); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #120e06; border-color: transparent;
  box-shadow: 0 6px 18px rgba(230, 180, 80, .18), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-gold:hover { filter: brightness(1.06); border-color: transparent; background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #120e06; }
.btn-ghost { background: transparent; }
.btn-sm { height: 30px; padding: 0 11px; font-size: 12px; border-radius: 8px; gap: 5px; }
.btn-sm .i { width: 14px; height: 14px; }
.btn-danger { color: var(--danger); }
input, select {
  height: 38px; background: var(--bg2); border: 1px solid var(--line2); border-radius: var(--radius-sm); padding: 0 12px; min-width: 0;
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder { color: var(--dim); }
input:hover, select:hover { border-color: #353d4f; }
input:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 180, 80, .14); }
input[type="search"]::-webkit-search-cancel-button { filter: invert(.6); }
input[type="checkbox"] { height: auto; padding: 0; }
select {
  cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a93a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 15px;
}
select option, select optgroup { background: var(--panel2); color: var(--text); }
.check { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); cursor: pointer; user-select: none; white-space: nowrap; font-weight: 500; }
.check:hover { color: var(--text2); }
.check input { accent-color: var(--gold); width: 15px; height: 15px; }
.check.small { font-size: 12px; }
kbd, .kbd-hint {
  font-family: var(--mono); font-size: 11px; color: var(--dim); border: 1px solid var(--line2);
  border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; line-height: 16px;
}

/* ---------------------------------------------------------------- sayfa başlığı */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 28px 0 18px; }
.page-head h1 { margin: 0 0 4px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.page-head p { margin: 0; color: var(--muted); max-width: 820px; }
.page-head p b { color: var(--text2); }
.page-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- istatistik */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat {
  display: flex; align-items: center; gap: 13px; padding: 14px 16px;
  background: linear-gradient(180deg, var(--panel), rgba(17, 21, 28, .6)); border: 1px solid var(--line); border-radius: var(--radius);
}
.stat-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; flex: none; background: var(--gold-soft); color: var(--gold); }
.stat-ic .i { width: 19px; height: 19px; }
.stat > div { display: flex; flex-direction: column; min-width: 0; }
.stat-v { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; }
.stat-l { color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; }

/* ---------------------------------------------------------------- araç çubuğu: sunucu çipleri ve filtreler */
.toolbar { padding: 14px; margin-bottom: 16px; }
.servers { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid var(--line2); background: var(--bg2); border-radius: 99px; height: 32px; padding: 0 13px;
  font-weight: 600; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; transition: all .15s;
}
.chip small { color: var(--dim); font-weight: 600; font-size: 11px; font-variant-numeric: tabular-nums; }
.chip:hover { color: var(--text); border-color: #3a4357; }
.chip.on { color: #120e06; background: linear-gradient(180deg, var(--gold2), var(--gold)); border-color: transparent; }
.chip.on small { color: rgba(18, 14, 6, .6); }
.chips-sub .chip { height: 28px; padding: 0 11px; font-size: 12px; }
.chips-sub .chip.on { background: var(--gold-soft); color: var(--gold2); border-color: rgba(230, 180, 80, .45); }
.chips-sub .chip.on small { color: var(--gold); }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.search { position: relative; display: flex; align-items: center; flex: 1 1 340px; min-width: 260px; }
.search > select { border-radius: var(--radius-sm) 0 0 var(--radius-sm); border-right: 0; background-color: var(--panel2); font-weight: 600; }
.search-field { position: relative; display: flex; align-items: center; flex: 1; min-width: 0; }
.search-field > .i { position: absolute; left: 12px; color: var(--dim); pointer-events: none; }
.search-field input { flex: 1; width: 100%; padding-left: 36px; }
.search .search-field input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding-right: 32px; }
.search-field.grow { flex: 1 1 260px; max-width: 420px; }
.search .kbd-hint { position: absolute; right: 10px; pointer-events: none; }
.search input:focus ~ .kbd-hint { display: none; }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg2); padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; height: 30px; padding: 0 13px; color: var(--muted); font-weight: 600; border-radius: 7px; font-size: 13px; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--panel2); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .3), inset 0 0 0 1px var(--line2); }
.seg button.on[data-v="sell"] { color: var(--sell); }
.seg button.on[data-v="buy"] { color: var(--buy); }
.seg-sm button { height: 26px; padding: 0 10px; font-size: 12px; }
.price-in { width: 116px; }
.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; list-style: none; margin: 0; padding: 5px;
  background: var(--panel2); border: 1px solid var(--line2); border-radius: 12px; box-shadow: var(--shadow); max-height: 360px; overflow: auto;
}
.suggest li { display: flex; align-items: center; gap: 11px; padding: 7px 9px; border-radius: 8px; cursor: pointer; }
.suggest li .s-name { flex: 1; font-weight: 500; }
.suggest li small { color: var(--muted); font-variant-numeric: tabular-nums; }
.suggest li.on, .suggest li:hover { background: var(--gold-soft); }
.suggest .ico { width: 30px; height: 30px; }

/* ---------------------------------------------------------------- panel / düzen */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.col { min-width: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.panel + .panel, .layout + .panel { margin-top: 16px; }
.panel-head { padding: 18px 20px 6px; }
.panel-head h2 { margin: 0 0 4px; font-size: 20px; }
.panel-head p { margin: 0 0 10px; max-width: 900px; }
.panel-title {
  margin: 0; padding: 13px 16px; font-size: 13px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line);
}
.panel-title > .i { color: var(--gold); }
.panel-title .more { margin-left: auto; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.panel-title .more .i { width: 13px; height: 13px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sell); animation: ping 1.8s infinite; flex: none; }

.table-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; min-height: 58px; }
.th-title { margin: 0; font-size: 15px; font-weight: 700; }
.result-count { font-weight: 700; font-variant-numeric: tabular-nums; }
.spacer { flex: 1; }
.table-head select { height: 32px; font-size: 13px; }
.fresh-pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(47, 191, 127, .4); background: var(--sell-soft); color: var(--sell);
  border-radius: 99px; height: 26px; padding: 0 11px; font-size: 12px; font-weight: 700;
}
.fresh-pill .i { width: 13px; height: 13px; }

/* ---------------------------------------------------------------- tablo */
.table-wrap { overflow-x: auto; }
.grid { width: 100%; border-collapse: collapse; }
.grid th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim);
  font-weight: 700; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: rgba(255, 255, 255, .012);
}
.grid th small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--dim); }
.grid th.num { text-align: right; }
.grid th.sortable { cursor: pointer; user-select: none; }
.grid th.sortable:hover { color: var(--text2); }
.grid th .arrow::after { content: ""; }
.grid th.sorted { color: var(--gold); }
.grid th.sorted.asc .arrow::after { content: "▲"; font-size: 8px; vertical-align: 1px; }
.grid th.sorted.desc .arrow::after { content: "▼"; font-size: 8px; vertical-align: 1px; }
.grid td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.grid tbody tr { transition: background .2s; }
.grid tbody tr:hover { background: rgba(255, 255, 255, .022); }
.grid tbody tr:last-child td { border-bottom: 0; }
.grid tbody.loading { opacity: .5; transition: opacity .2s; }
.grid tr.fresh { animation: flash 6s ease-out; }
@keyframes flash { 0% { background: rgba(230, 180, 80, .2); } 100% { background: transparent; } }
.grid td.empty { text-align: center; color: var(--muted); padding: 48px 14px; }
.grid td.empty .i, .chart-empty .i { color: var(--danger); margin-right: 4px; }
.main-grid .c-price { text-align: right; }

.item-link { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; text-align: left; color: var(--text); font-weight: 600; min-width: 0; }
.item-link:hover .iname { color: var(--gold2); }
.iname { transition: color .15s; }

/* item ikonu: oyun ikonu varsa görsel, yoksa baş harfler */
.ico {
  --h: 40;
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 9px;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; letter-spacing: .02em;
  color: hsl(var(--h) 75% 82%);
  background: linear-gradient(145deg, hsl(var(--h) 40% 24%), hsl(var(--h) 35% 12%));
  border: 1px solid hsl(var(--h) 40% 30%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.ico.img { background: #07090c; border-color: #343c4d; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .35); }
.ico img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.ico b {
  position: absolute; right: -6px; bottom: -6px; font-size: 10px; background: #0b0d12; color: var(--gold2);
  border: 1px solid rgba(230, 180, 80, .45); border-radius: 6px; padding: 0 4px; line-height: 16px; font-weight: 800;
}
.tag { font-size: 10px; font-weight: 800; border-radius: 5px; padding: 1px 6px; background: var(--panel2); color: var(--muted); border: 1px solid var(--line2); vertical-align: 1px; }
.tag.reb { color: #ff8fd0; border-color: rgba(255, 143, 208, .4); background: rgba(255, 143, 208, .08); }
.badge { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; padding: 4px 9px; border-radius: 6px; line-height: 1; }
.badge.sell { color: var(--sell); background: var(--sell-soft); box-shadow: inset 0 0 0 1px rgba(47, 191, 127, .2); }
.badge.buy { color: var(--buy); background: var(--buy-soft); box-shadow: inset 0 0 0 1px rgba(79, 157, 255, .2); }
.c-price { white-space: nowrap; }
.price { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 15px; letter-spacing: -.01em; }
.c-price small { display: block; color: var(--dim); font-size: 11px; font-variant-numeric: tabular-nums; }
.t0 { color: var(--t0); } .t1 { color: var(--t1); } .t2 { color: var(--t2); } .t3 { color: var(--t3); } .t4 { color: var(--t4); }
.link { background: none; border: 0; padding: 0; color: var(--text2); font-weight: 500; }
.link:hover { color: var(--gold2); }
.srv { font-size: 12px; color: var(--text2); background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; white-space: nowrap; font-weight: 500; }
.coord {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 12px; white-space: nowrap; background: var(--bg2); border: 1px solid var(--line2);
  border-radius: 7px; padding: 3px 8px; color: var(--text2); transition: all .15s;
}
.coord .i { width: 13px; height: 13px; color: var(--gold); }
button.coord:hover { border-color: var(--gold); color: var(--gold2); }
.c-seen { white-space: nowrap; color: var(--muted); font-size: 13px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.dot.f0 { background: var(--sell); box-shadow: 0 0 0 3px rgba(47, 191, 127, .15); } .dot.f1 { background: var(--gold); } .dot.f2 { background: var(--dim); }
.icon-btn { display: inline-grid; place-items: center; background: none; border: 0; color: var(--dim); padding: 6px; border-radius: 8px; line-height: 1; }
.icon-btn .i { width: 17px; height: 17px; }
.icon-btn:hover { color: var(--gold2); background: rgba(255, 255, 255, .04); }
.icon-btn.on { color: var(--gold); }
.icon-btn.on .i, .btn .i.fill { fill: currentColor; }

.pager { display: flex; justify-content: center; gap: 4px; padding: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.pager:empty { display: none; }
.pager button { min-width: 36px; height: 34px; border: 1px solid var(--line2); background: var(--bg2); border-radius: 8px; padding: 0 10px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.pager button:hover:not(:disabled) { color: var(--text); border-color: #3a4357; }
.pager button.on { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #120e06; border-color: transparent; font-weight: 800; }
.pager button:disabled { opacity: .35; cursor: default; }
.pager span { padding: 6px 4px; color: var(--dim); }

/* ---------------------------------------------------------------- yan panel */
.side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.side .panel + .panel { margin-top: 0; }
.feed, .mini-list { list-style: none; margin: 0; padding: 6px; max-height: 480px; overflow: auto; }
.feed li { border-radius: 9px; animation: slidein .35s ease-out; }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.feed .item-link, .mini-list .item-link { width: 100%; padding: 8px; border-radius: 9px; font-weight: 500; gap: 11px; }
.feed .item-link:hover, .mini-list .item-link:hover { background: var(--hover); }
.feed .ico, .mini-list .ico, .m-items .ico, .watch-card .ico { width: 32px; height: 32px; font-size: 10px; border-radius: 8px; }
.feed .ico img, .mini-list .ico img, .m-items .ico img, .watch-card .ico img { border-radius: 7px; }
.feed .ico b, .mini-list .ico b, .m-items .ico b, .watch-card .ico b { font-size: 9px; line-height: 13px; right: -6px; bottom: -6px; padding: 0 3px; }
.feed .meta, .mini-list .meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.feed .meta b, .mini-list .meta b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; font-size: 13px; }
.feed .meta small, .mini-list .meta small { color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .price, .mini-list .price { font-size: 13px; }
.feed li.sell .meta small::before { content: "SATIŞ · "; color: var(--sell); font-weight: 700; }
.feed li.buy .meta small::before { content: "ALIŞ · "; color: var(--buy); font-weight: 700; }
.gain { color: var(--sell); font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- kâr tablosu */
.margins td small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; margin-top: 3px; }
.margins .gain { font-size: 15px; }
.margins td.num { text-align: right; }

/* ---------------------------------------------------------------- takip listesi */
.watch-form { display: grid; grid-template-columns: minmax(200px, 2fr) 1fr 1fr 1fr auto; gap: 8px; padding: 16px 16px 10px; }
.watch-tools { display: flex; gap: 14px; align-items: center; padding: 0 16px 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.watch-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; padding: 16px; }
.watch-card { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s; }
.watch-card:hover { border-color: var(--line2); }
.watch-card.hit { border-color: rgba(47, 191, 127, .55); box-shadow: 0 0 0 1px rgba(47, 191, 127, .2) inset, 0 8px 24px rgba(47, 191, 127, .06); }
.watch-card header { display: flex; align-items: center; gap: 11px; }
.watch-card header .meta { flex: 1; min-width: 0; }
.watch-card header .meta b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.watch-card header .meta small { color: var(--muted); }
.watch-card .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.watch-card .row span:first-child { color: var(--muted); }
.watch-card .target-in { width: 120px; height: 30px; padding: 0 9px; font-size: 13px; }
.hit-label { display: inline-flex; align-items: center; gap: 4px; color: var(--sell); font-weight: 800; font-size: 12px; }
.empty-state { color: var(--muted); padding: 36px 18px; text-align: center; grid-column: 1 / -1; }

/* ---------------------------------------------------------------- Gold Bar */
.gb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 16px; }
.gb-card {
  display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 14px 15px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), rgba(17, 21, 28, .6)); border: 1px solid var(--line); color: var(--text);
  transition: border-color .15s, background .15s, transform .15s;
}
.gb-card:hover { border-color: var(--line2); transform: translateY(-1px); }
.gb-card.on { border-color: rgba(230, 180, 80, .55); background: linear-gradient(180deg, rgba(230, 180, 80, .1), rgba(230, 180, 80, .02)); box-shadow: 0 8px 26px rgba(230, 180, 80, .07); }
.gb-name { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.gb-name .i { color: var(--gold); }
.gb-line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.gb-line small { color: var(--muted); font-size: 12px; }
.gb-line b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.gb-line.sell b { color: var(--gold2); }
.gb-line.buy b { color: var(--buy); font-size: 14px; }
.gb-site { font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-none { color: var(--dim); font-size: 13px; }
.site-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.site-link .i { width: 13px; height: 13px; color: var(--dim); }
.site-link:hover { color: var(--gold2); }
.site-ic {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; flex: none; font-size: 11px; font-weight: 800;
  color: hsl(var(--h) 70% 80%); background: hsl(var(--h) 35% 18%); border: 1px solid hsl(var(--h) 35% 28%);
}
.tl { font-weight: 700; font-variant-numeric: tabular-nums; }
.tl.na { color: var(--dim); font-weight: 500; }
.gb-sites td.num { white-space: nowrap; }
.gb-sites .tl { font-size: 15px; }
.pill { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 99px; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; }
.pill.best-sell { color: var(--gold2); background: var(--gold-soft); }
.pill.best-buy { color: var(--buy); background: var(--buy-soft); }
.gb-sites tr.top td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.gb-matrix th, .gb-matrix td { text-align: center; padding: 9px 10px; }
.gb-matrix th:first-child, .gb-matrix td:first-child { text-align: left; position: sticky; left: 0; background: var(--panel); z-index: 1; }
.gb-matrix td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.gb-matrix td b { display: block; font-weight: 700; font-size: 13px; }
.gb-matrix td small { display: block; color: var(--muted); font-size: 11px; }
.gb-matrix td.na { color: var(--dim); }
.gb-matrix td.best-s b { color: var(--gold2); }
.gb-matrix td.best-b small { color: var(--buy); font-weight: 700; }
.gb-matrix th.on { color: var(--gold); }
.notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; margin-bottom: 16px; border-radius: 12px;
  background: var(--gold-soft); border: 1px solid rgba(230, 180, 80, .3); color: var(--text2);
}
.notice > .i { color: var(--gold); width: 18px; height: 18px; margin-top: 1px; }
.notice b { color: var(--text); }
.notice small { display: block; color: var(--muted); margin-top: 2px; }
.notice.err { background: var(--danger-soft); border-color: rgba(255, 107, 107, .3); }
.notice.err > .i { color: var(--danger); }
.src-badge { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border-radius: 6px; padding: 3px 8px; }
.src-badge.live { color: var(--sell); background: var(--sell-soft); }
.src-badge.old { color: var(--gold2); background: var(--gold-soft); }
.src-badge.demo { color: var(--buy); background: var(--buy-soft); }
.calc { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.calc label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.calc-out { margin: 2px 0 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.calc-out div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--bg2); }
.calc-out dt { color: var(--muted); font-size: 13px; }
.calc-out dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.calc-out dd small { display: block; color: var(--dim); font-weight: 500; font-size: 11px; }
.explain { margin: 0; padding: 14px 16px 14px 32px; color: var(--text2); font-size: 13px; line-height: 1.6; }
.explain li + li { margin-top: 6px; }

/* ---------------------------------------------------------------- çekmece (item detayı) */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer-bg, .modal-bg { position: absolute; inset: 0; background: rgba(4, 5, 8, .66); backdrop-filter: blur(3px); animation: fade .2s; }
.drawer-body {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(760px, 100%); overflow: auto;
  background: var(--bg2); border-left: 1px solid var(--line2); box-shadow: var(--shadow); padding: 26px; animation: slideleft .25s ease-out;
}
@keyframes slideleft { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; background: none; border: 0; border-radius: 9px; color: var(--muted); z-index: 2; }
.x .i { width: 20px; height: 20px; }
.x:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.d-head { display: flex; align-items: center; gap: 16px; margin: 0 40px 20px 0; }
.d-head .ico { width: 60px; height: 60px; font-size: 17px; border-radius: 13px; }
.d-head .ico img { border-radius: 12px; }
.d-head h2 { margin: 0; font-size: 23px; font-weight: 800; }
.d-head .tags { display: flex; gap: 6px; margin-top: 5px; align-items: center; }
.d-head .actions { margin-left: auto; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.tile .k { color: var(--muted); font-size: 11px; font-weight: 600; }
.tile .v { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; margin: 2px 0; }
.tile .s { color: var(--muted); font-size: 12px; }
.tile .s .tl { color: var(--gold2); font-weight: 600; }
.d-section { margin-bottom: 22px; }
.d-section h4 { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.d-section h4 .ctrls { margin-left: auto; display: flex; gap: 6px; font-weight: 500; }
.d-section .ctrls select { height: 30px; font-size: 12px; }
.d-section .seg { padding: 2px; }
.d-section .seg button { height: 24px; padding: 0 10px; font-size: 12px; }
.mini-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mini-table th, .mini-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }
.mini-table th { color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.mini-table tr:last-child td { border-bottom: 0; }
.mini-table tr.clickable { cursor: pointer; }
.mini-table tr.clickable:hover td { background: var(--hover); }
.mini-table tr.on td { background: var(--gold-soft); }
.best { color: var(--gold2); font-weight: 800; }

.chart { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px 4px; min-height: 240px; }
.chart-flush { border: 0; border-radius: 0 0 var(--radius) var(--radius); background: none; padding: 12px 8px 6px; }
.chart svg { display: block; width: 100%; height: 220px; }
.chart .axis text { fill: var(--dim); font-size: 11px; font-family: var(--font); }
.chart .gridline { stroke: var(--line); }
.chart .band { fill: rgba(230, 180, 80, .12); }
.chart .avg { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linejoin: round; }
.chart .minl { fill: none; stroke: var(--sell); stroke-width: 1.3; stroke-dasharray: 3 3; opacity: .85; }
.chart .ln { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { opacity: .1; }
.chart .cross { stroke: var(--dim); stroke-dasharray: 2 3; }
.chart .hoverdot { fill: var(--gold2); stroke: var(--bg); stroke-width: 2; }
.chart-tip {
  position: absolute; pointer-events: none; background: var(--panel2); border: 1px solid var(--line2); border-radius: 9px;
  padding: 8px 10px; font-size: 12px; box-shadow: var(--shadow); white-space: nowrap; z-index: 2; line-height: 1.55;
}
.chart-tip b { display: block; margin-bottom: 2px; }
.chart-tip i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.chart-empty { display: grid; place-items: center; height: 220px; color: var(--muted); text-align: center; padding: 0 16px; }
.chart-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); padding: 6px 10px 2px; flex-wrap: wrap; }
.chart-legend i { display: inline-block; width: 14px; height: 3px; vertical-align: middle; margin-right: 6px; border-radius: 2px; }

/* ---------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal-body {
  position: relative; width: min(580px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--bg2); border: 1px solid var(--line2); border-radius: 16px; box-shadow: var(--shadow); animation: pop .2s ease-out;
}
@keyframes pop { from { transform: scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-wide { width: min(1180px, 100%); }
.modal-head { padding: 16px 56px 14px 20px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.modal-head .x { top: 10px; right: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px 20px 20px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.form-grid .span2 { grid-column: 1 / -1; }
.form-grid .hint { color: var(--sell); font-weight: 600; min-height: 1em; }
.form-grid .hint.bad { color: var(--danger); }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------------------------------------------------------------- harita */
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; min-height: 540px; }
.map-wrap { position: relative; background: #06080b; border-right: 1px solid var(--line); min-height: 540px; overflow: hidden; }
#map-canvas { display: block; width: 100%; height: 100%; position: absolute; inset: 0; cursor: grab; touch-action: none; }
#map-canvas.dragging { cursor: grabbing; }
.map-tip {
  position: absolute; pointer-events: none; background: var(--panel2); border: 1px solid var(--line2); border-radius: 9px;
  padding: 7px 10px; font-size: 12px; box-shadow: var(--shadow); white-space: nowrap; z-index: 2;
}
.map-tools { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 4px; }
.map-tools button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line2); background: rgba(17, 21, 28, .92); color: var(--text2); }
.map-tools button:hover { border-color: var(--gold); color: var(--gold2); }
.map-legend {
  position: absolute; left: 12px; bottom: 12px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px;
  background: rgba(9, 11, 15, .88); border: 1px solid var(--line); border-radius: 9px; padding: 6px 10px;
}
.lg { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.lg.sell { background: var(--sell); } .lg.buy { background: var(--buy); } .lg.sel { background: var(--gold); box-shadow: 0 0 0 3px rgba(230, 180, 80, .3); }
.map-side { padding: 16px; overflow: auto; max-height: 620px; }
.map-side h4 { margin: 0 0 4px; font-size: 17px; }
.map-side .sub { color: var(--muted); font-size: 12px; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.m-items { list-style: none; margin: 0; padding: 0; }
.m-items li { border-bottom: 1px solid var(--line); }
.m-items li:last-child { border-bottom: 0; }
.m-items .item-link { width: 100%; padding: 9px 4px; font-weight: 500; gap: 11px; }
.m-items .item-link .meta { flex: 1; min-width: 0; }
.m-items .item-link .meta b { font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }

/* ---------------------------------------------------------------- bildirimler */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
.toast {
  background: var(--panel2); border: 1px solid var(--line2); border-left: 3px solid var(--buy); border-radius: 11px;
  padding: 11px 14px; box-shadow: var(--shadow); animation: slidein .25s ease-out; transition: opacity .35s, transform .35s;
}
.toast.ok { border-left-color: var(--sell); }
.toast.err { border-left-color: var(--danger); }
.toast.alarm { border-left-color: var(--gold); }
.toast.out { opacity: 0; transform: translateX(20px); }
.toast button { margin-top: 8px; }

.spinner { width: 26px; height: 26px; border: 3px solid var(--line2); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- alt bilgi */
.footer { margin-top: 32px; border-top: 1px solid var(--line); background: rgba(13, 16, 21, .6); color: var(--dim); font-size: 12px; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--gold2); }

/* ---------------------------------------------------------------- reklam alanları */
.vt { position: relative; }
.vt-top { margin-top: 18px; }
.vt-side { padding: 10px; }
.vt-inline { padding: 14px; border-top: 1px solid var(--line); }
.vt-label {
  position: absolute; top: 6px; right: 8px; z-index: 1; pointer-events: none;
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); background: rgba(9, 11, 15, .75); border-radius: 4px; padding: 1px 6px;
}
.vt-inline .vt-label, .vt-side .vt-label { top: 2px; right: 4px; }
.vt-banner { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); animation: fade .6s; }
.vt-side .vt-banner { border: 0; border-radius: 9px; }
.vt-banner img { display: block; width: 100%; height: auto; max-height: 240px; object-fit: contain; margin: 0 auto; }
.vt-side .vt-banner img { max-height: 600px; }
.vt-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.vt-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.vt-dots i.on { background: var(--gold); }
.vt-cta, .vt-ph {
  display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 90px; padding: 12px;
  border: 1px dashed var(--line2); border-radius: var(--radius); color: var(--muted); font-weight: 600;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .015), rgba(255, 255, 255, .015) 10px, transparent 10px, transparent 20px);
}
.vt-cta .i { color: var(--gold); }
.vt-cta:hover { border-color: var(--gold); color: var(--gold2); }
.vt-ph b { color: var(--gold); }
.vt-side .vt-ph { min-height: 250px; }
.vt ins.adsbygoogle { min-height: 90px; }
.vt-side ins.adsbygoogle { min-height: 250px; }

/* ---------------------------------------------------------------- metin sayfaları */
.doc { max-width: 840px; padding-top: 28px; padding-bottom: 28px; }
.doc .panel { padding: 26px 30px; }
.doc h1 { margin: 0 0 4px; font-size: 27px; font-weight: 800; }
.doc h2 { margin: 28px 0 8px; font-size: 18px; color: var(--gold2); }
.doc p, .doc li { color: var(--text2); line-height: 1.7; }

/* ---------------------------------------------------------------- duyarlı düzen */
@media (max-width: 1180px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats .stat:nth-child(n+4) { display: none; }
  .map-layout { grid-template-columns: 1fr; }
  .map-wrap { min-height: 380px; border-right: 0; border-bottom: 1px solid var(--line); }
  .topbar .tab { padding: 0 10px; }
}
@media (max-width: 900px) {
  .topbar-in { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 10px; }
  .tabs { order: 3; width: calc(100% + 40px); margin: 6px -20px 0; padding: 0 10px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
  .tabs::-webkit-scrollbar { display: none; }
  .topbar .tab { height: 46px; }
}
@media (max-width: 760px) {
  .container, .topbar-in { padding-left: 16px; padding-right: 16px; }
  .tabs { width: calc(100% + 32px); margin-left: -16px; margin-right: -16px; }
  .top-right { gap: 8px; }
  .top-right .live span { display: none; }
  .top-right .live { padding: 8px; }
  .btn-gold span { display: none; }
  #btn-submit { width: 38px; padding: 0; }
  .page-head { margin: 20px 0 14px; }
  .page-head h1 { font-size: 22px; }
  .stats { gap: 8px; }
  .stat { padding: 10px; gap: 9px; }
  .stat-ic { width: 32px; height: 32px; border-radius: 9px; }
  .stat-ic .i { width: 16px; height: 16px; }
  .stat-v { font-size: 16px; }
  .stat-l { font-size: 11px; }
  .toolbar { padding: 12px; }
  .side { grid-template-columns: minmax(0, 1fr); }
  .stats .stat:nth-child(n+4) { display: none; }
  .gb-sites th small { display: none; }
  .price-in { width: calc(50% - 4px); flex: 1 1 100px; }
  .search { flex-basis: 100%; min-width: 0; }
  .search .kbd-hint { display: none; }
  .watch-form { grid-template-columns: 1fr 1fr; }
  .watch-form input:first-child { grid-column: 1 / -1; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .drawer-body { padding: 20px 16px; }
  .gb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticker-label { padding-right: 10px; }
  .footer-in { flex-direction: column; align-items: flex-start; }

  /* Tablo satırları karta dönüşür */
  .grid.main-grid thead { display: none; }
  .grid.main-grid tbody tr {
    display: grid; grid-template-columns: 1fr auto; grid-template-areas: "item act" "price type" "seller server" "loc seen";
    gap: 8px 10px; padding: 14px 16px; border-bottom: 1px solid var(--line);
  }
  .grid.main-grid td { border: 0; padding: 0; }
  .grid.main-grid .c-item { grid-area: item; }
  .grid.main-grid .c-act { grid-area: act; }
  .grid.main-grid .c-price { grid-area: price; text-align: left; }
  .grid.main-grid .c-price small { display: inline; margin-left: 6px; }
  .grid.main-grid .c-type { grid-area: type; justify-self: end; }
  .grid.main-grid .c-seller { grid-area: seller; }
  .grid.main-grid .c-server { grid-area: server; justify-self: end; }
  .grid.main-grid .c-loc { grid-area: loc; }
  .grid.main-grid .c-seen { grid-area: seen; justify-self: end; }
  .grid.main-grid td.empty { grid-column: 1 / -1; }
}
