/* Onca Altın web sitesi. Renkler uygulamanın paletinden (AppColors); koyu tema data-theme="dark". */

/* Inter (degisken agirlik 400-800), Google Fonts'tan alinip kendi sunucumuzdan sunulur */
@font-face {
  font-family: Inter; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Inter; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --canvas: #F4F2EC;
  --surface: #FFFFFF;
  --surface-2: #FBFAF6;
  --line: #E5E0D5;
  --line-soft: #F0EDE5;
  --ink: #1A1A2E;
  --ink-2: #33334D;
  --ink-soft: #5F5C6B;
  --brand: #9A7009;
  --brand-strong: #7A5807;
  --brand-fill: #B8860B;
  --brand-soft: #F6EDD3;
  --up: #1F7A3A;
  --up-soft: #E4F1E7;
  --down: #B5322A;
  --down-soft: #FBE7E5;
  --flat-soft: #ECE9E1;
  --placeholder: #ECE9E1;
  --dark-band: #1A1A2E;
  --dark-band-text: #C9C6D1;
  --shadow: 0 1px 2px rgba(26, 26, 46, .10);
  --radius: 20px;
  --radius-sm: 12px;
  color-scheme: light;
}

[data-theme="dark"] {
  --canvas: #121214;
  --surface: #1C1C21;
  --surface-2: #222228;
  --line: #2E2E36;
  --line-soft: #26262D;
  --ink: #F2F0EA;
  --ink-2: #DAD7E0;
  --ink-soft: #A3A0AC;
  --brand: #D9A82A;
  --brand-strong: #E6BB4D;
  --brand-fill: #D9A82A;
  --brand-soft: rgba(217, 168, 42, .16);
  --up: #5CC27A;
  --up-soft: rgba(92, 194, 122, .14);
  --down: #F06A62;
  --down-soft: rgba(240, 106, 98, .14);
  --flat-soft: #2A2A31;
  --placeholder: #2A2A31;
  --dark-band: #26262D;
  --dark-band-text: #B9B6C2;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px; line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -.3px; }
button, input, select { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }
.strong { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--canvas); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.page { padding-top: 28px; display: flex; flex-direction: column; gap: 28px; }
/* kisa sayfada alt bilgi ekranin altinda */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main { width: 100%; flex: 1 0 auto; }

/* ---------- ust bar ---------- */
/* fiyat bandi kaydirirken ustte kalir: header yapisir ama menu satiri kadar yukari kayar (--header-bar-h, site.js olcer),
   ekranda sadece bant kalir (mobilde de). --sticky-h: ekranda sabit kalan yukseklik (bant) */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: calc(-1 * var(--header-bar-h, 69px)); z-index: 30; }
html { scroll-padding-top: calc(var(--sticky-h, 58px) + 12px); }
.header-bar { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { font-size: 20px; font-weight: 800; letter-spacing: 2.6px; color: var(--ink); white-space: nowrap; }
.logo span { color: var(--brand); }
.logo:hover { color: var(--ink); }
.logo-sm { font-size: 18px; letter-spacing: 2.4px; }
.main-nav { display: flex; gap: 0; flex: 1 1 auto; flex-wrap: nowrap; min-width: 0; }
.main-nav a { padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.main-nav a:hover { background: var(--surface-2); color: var(--ink); }
.main-nav a.active { background: var(--brand-soft); color: var(--brand-strong); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); width: 190px; color: var(--ink-soft); }
.search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 14px; color: var(--ink); }
.search:focus-within { border-color: var(--brand); }
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--surface-2); }
[data-theme="dark"] .i-moon, :root:not([data-theme="dark"]) .i-sun { display: none; }
.menu-btn { display: none; }
.search-btn { display: none; }
.menu-app { display: none; }
.movers-tabs { display: none; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-menu { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.btn { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; white-space: nowrap; }
.btn-dark { background: var(--ink); color: var(--canvas); }
.btn-dark:hover { color: var(--canvas); opacity: .9; }

/* ust fiyat bandi: uygulamadaki serit; sabit, esit sutunlar, aralarinda ince cizgi */
.rate-band { border-top: 1px solid var(--line-soft); background: var(--canvas); }
.rate-band-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.rate-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; padding: 9px 4px; border-left: 1px solid var(--line); text-align: center; }
.rate-item:first-child { border-left: 0; }
.rate-item:hover { background: var(--surface-2); }
.rate-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.rate-price { max-width: 100%; white-space: nowrap; font-size: 17px; font-weight: 700; color: var(--ink); }
/* fiyat degisince yazi kisa sure yesil / kirmizi (uygulamadaki gibi; zemin yanip sonmez) */
.rate-price.flash-up { animation: rate-up 1.2s; }
.rate-price.flash-down { animation: rate-down 1.2s; }
@keyframes rate-up { from, 40% { color: var(--up); } to { color: var(--ink); } }
@keyframes rate-down { from, 40% { color: var(--down); } to { color: var(--ink); } }
/* genislige gore kac varlik: mobil 4 (uygulama), tablet 6, genis masaustu 8 */
@media (max-width: 1119px) { .rate-item.rb-6, .rate-item.rb-7 { display: none; } }
@media (max-width: 720px) {
  .rate-item.rb-4, .rate-item.rb-5 { display: none; }
  .rate-band-row { padding-left: 8px; padding-right: 8px; }
  .rate-price { font-size: 15px; }
  .rate-name { font-size: 12.5px; letter-spacing: .03em; }
}
/* 320 px gibi cok dar ekranlar: header tek satir, bant kesilmesin */
@media (max-width: 359px) {
  .header-bar .logo { font-size: 17px; letter-spacing: 1.8px; }
  .site-header .header-bar { gap: 8px; }
  .site-header .header-tools { gap: 6px; }
  .rate-band-row { padding-left: 4px; padding-right: 4px; }
  .rate-item { padding-left: 2px; padding-right: 2px; }
  .rate-name { font-size: 12px; letter-spacing: 0; }
  .rate-price { font-size: 14px; }
}

/* ---------- ortak ---------- */
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; background: var(--flat-soft); color: var(--ink-soft); transition: background-color .4s; }
.chip.up { background: var(--up-soft); color: var(--up); }
.chip.down { background: var(--down-soft); color: var(--down); }
.chip.up::before { content: "▲"; font-size: 9px; }
.chip.down::before { content: "▼"; font-size: 9px; }
.chip.soft::before { content: none; }
.chip.soft { font-weight: 600; }
.chip.big { font-size: 14px; padding: 6px 12px; }
.list-label { display: flex; align-items: center; gap: 8px; margin: 14px 0 4px; padding: 7px 10px; border-radius: 10px; font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.list-label.up { background: var(--up-soft); color: var(--up); }
.list-label.down { background: var(--down-soft); color: var(--down); }
.up-text { color: var(--up); }
.down-text { color: var(--down); }
.flash-up { animation: flash-up 1s; }
.flash-down { animation: flash-down 1s; }
@keyframes flash-up { from { background-color: var(--up-soft); } to { background-color: transparent; } }
@keyframes flash-down { from { background-color: var(--down-soft); } to { background-color: transparent; } }
.link { font-size: 14px; font-weight: 700; color: var(--brand); }
.link:hover { color: var(--brand-strong); }
.link.small { font-size: 13px; }
.link.block { display: inline-block; margin-top: 12px; }
.label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.page-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.6px; line-height: 1.2; }
.lead { margin: 6px 0 0; font-size: 15px; color: var(--ink-soft); }
.live-status { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.live-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-soft); }
.live-status.on .dot { background: var(--up); box-shadow: 0 0 0 3px var(--up-soft); }

.row { display: flex; flex-wrap: wrap; gap: 24px; }
.row.align-start { align-items: flex-start; }
.row > .card:first-child, .row > section:first-child { flex: 2 1 640px; min-width: 0; }
.row > .card:last-child, .row > .side, .row > section:last-child:not(:first-child) { flex: 1 1 320px; min-width: 0; }
.side { display: flex; flex-direction: column; gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head.tight { margin-bottom: 10px; align-items: baseline; }
.card h2 { font-size: 19px; font-weight: 800; }
.card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 24px 2px; }

.segmented { display: inline-flex; gap: 4px; padding: 4px; background: var(--canvas); border-radius: 12px; }
.segmented button { border: 0; background: transparent; cursor: pointer; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 9px; color: var(--ink-soft); min-height: 36px; white-space: nowrap; }
.segmented button.on { background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: var(--shadow); }
.segmented.full { display: flex; }
.segmented.full button { flex: 1; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills button { border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; color: var(--ink-2); min-height: 34px; }
.pills button.on { background: var(--ink); border-color: var(--ink); color: var(--canvas); font-weight: 700; }

/* ---------- vitrin ---------- */
.hero { padding: 20px 24px 16px; }
.hero-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.hero-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.hero-name { display: flex; align-items: center; gap: 10px; }
.hero-name img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: var(--brand-soft); }
.hero-name strong { display: block; font-size: 16px; }
.hero-name small { display: block; font-size: 12px; color: var(--ink-soft); }
.hero-prices { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px; margin-top: 12px; }
.hero-price { font-size: 46px; font-weight: 800; letter-spacing: -1.4px; line-height: 1.1; }
.hero-bid { font-size: 24px; font-weight: 700; margin-top: 2px; }
.hero-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; min-width: 0; }
.hero-change { display: flex; align-items: center; gap: 8px; }
.hero-head > .link { white-space: nowrap; align-self: flex-start; margin-top: 8px; }
.chart-box { margin: 16px 0 0; }
.chart-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.periods { display: flex; gap: 2px; }
.periods button { border: 0; background: transparent; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-soft); padding: 6px 10px; border-radius: 8px; min-height: 32px; }
.periods button:hover { background: var(--surface-2); color: var(--ink); }
.periods button.on { background: var(--brand-soft); color: var(--brand-strong); font-weight: 700; }
.segmented.small { padding: 3px; border-radius: 10px; }
.segmented.small button { font-size: 13px; padding: 5px 12px; min-height: 30px; border-radius: 8px; }
.chart-legend { min-height: 20px; margin-top: 10px; font-size: 13px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.chart-legend b { color: var(--ink); font-weight: 700; }
.chart { position: relative; height: 260px; margin-top: 4px; }
.chart .uplot { font-family: inherit; }
.chart .u-over { touch-action: pan-y; }
.chart .u-cursor-x, .chart .u-cursor-y { border-color: var(--ink-soft) !important; opacity: .7; }
.chart .u-select { background: var(--brand-soft); }
.chart.loading::after { content: ""; position: absolute; inset: 0; background: var(--surface); opacity: .5; }
.chart-fallback { width: 100%; height: 100%; display: block; }
.chart-fallback line { stroke: var(--line-soft); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-fallback polygon { fill: var(--brand-soft); }
.chart-fallback polyline { fill: none; stroke: var(--brand-fill); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-box figcaption { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink-soft); margin-top: 8px; }
.chart-box figcaption b { color: var(--ink-2); font-weight: 700; }
.chart-period { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.chart-period .chip { font-size: 12px; padding: 1px 7px; }
.chart-period .chip:empty { display: none; }
.spark { margin: 14px 0 0; }
.spark svg { width: 100%; height: 150px; display: block; }
.spark line { stroke: var(--line-soft); stroke-width: 1; vector-effect: non-scaling-stroke; }
.spark polygon { fill: var(--brand-soft); }
.spark polyline { fill: none; stroke: var(--brand-fill); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark figcaption { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.spark figcaption b { color: var(--ink-2); font-weight: 700; }

/* ---------- cevirici ---------- */
.converter { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input, .field select { height: 46px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 14px; font-size: 16px; font-weight: 600; color: var(--ink); background: var(--surface-2); width: 100%; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--brand); }
.conv-result { background: var(--brand-soft); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.conv-result .label { color: var(--brand-strong); }
.conv-result strong { font-size: 30px; font-weight: 800; letter-spacing: -.6px; line-height: 1.2; }

.conv-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.quick { border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: 2px; }
.quick h3 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.quick h3 .muted { font-weight: 500; font-size: 12px; }
.quick ul { list-style: none; margin: 0; padding: 0; }
.quick a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.quick li:last-child a { border-bottom: 0; }
.quick b { font-weight: 700; }

/* ---------- fiyat tablosu ---------- */
.table-card { padding: 20px 0 14px; overflow: hidden; }
.table-card .card-head { padding: 0 24px; }
table { border-collapse: collapse; width: 100%; }
.prices th, .prices td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--line-soft); font-size: 15px; white-space: nowrap; }
.prices th:first-child { text-align: left; padding-left: 24px; }
.prices th:last-child, .prices td:last-child { padding-right: 24px; }
.prices thead th { font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .4px; background: var(--surface-2); border-top: 1px solid var(--line-soft); padding-top: 10px; padding-bottom: 10px; }
.prices tbody tr:hover { background: var(--surface-2); }
.prices tbody th { font-weight: 400; }
.asset { display: flex; align-items: center; gap: 12px; min-width: 0; }
.asset img { width: 36px; height: 36px; border-radius: 9px; object-fit: contain; background: var(--brand-soft); flex: none; }
.asset strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); white-space: normal; }
.asset small { display: block; font-size: 12px; color: var(--ink-soft); white-space: normal; }
.m-chip { display: none; }

/* ---------- yan kartlar ---------- */
.list-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin: 6px 0 2px; }
.list-label + .mini-list { margin-bottom: 8px; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; font-weight: 600; }
.mini-right { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.bank-table th, .bank-table td { padding: 9px 0; font-size: 14px; text-align: right; border-bottom: 1px solid var(--line-soft); }
.bank-table th:first-child { text-align: left; font-weight: 600; }
.bank-table thead th { font-size: 12px; font-weight: 700; color: var(--ink-soft); padding-top: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- haberler ---------- */
.news-grid { display: flex; flex-wrap: wrap; gap: 22px; }
.news-lead, .news-list { flex: 1 1 300px; min-width: 0; }
.news-lead a { display: flex; flex-direction: column; gap: 8px; }
.news-lead img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; border-radius: 14px; background: var(--placeholder); }
.news-lead h3 { font-size: 19px; font-weight: 800; line-height: 1.3; margin-top: 4px; }
.news-lead p { margin: 0; font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list a { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.news-list li:first-child a { padding-top: 0; }
.news-list img { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; background: var(--placeholder); }
.news-list strong { display: block; font-size: 15px; line-height: 1.35; }
.news-list time { display: block; margin-top: 4px; }

/* ---------- takvim ---------- */
.cal-day { margin: -4px 0 6px; }
.cal-list { list-style: none; margin: 0; padding: 0; }
.cal-list li { display: grid; grid-template-columns: 56px 26px minmax(0, 1fr); gap: 10px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.cal-time { font-size: 13px; font-weight: 700; padding-top: 1px; }
.flag { width: 24px; height: 16px; border-radius: 3px; object-fit: cover; margin-top: 3px; box-shadow: 0 0 0 1px var(--line); }
.cal-body strong { display: block; font-size: 14px; }
.cal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 3px; font-size: 12px; color: var(--ink-soft); }
.imp { color: var(--brand); font-weight: 700; letter-spacing: 1px; }

/* ---------- uygulama bandi ---------- */
.app-band { background: var(--dark-band); border-radius: 24px; padding: 32px 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.app-band h2 { font-size: 26px; font-weight: 800; color: #FFFFFF; }
.app-band p { margin: 8px 0 0; font-size: 15px; color: var(--dark-band-text); max-width: 620px; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store { height: 52px; padding: 0 18px; border-radius: 12px; background: #FFFFFF; color: #1A1A2E; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; line-height: 1.1; }
.store:hover { color: #1A1A2E; opacity: .92; }
.store small { display: block; font-size: 12px; font-weight: 500; }

/* ---------- rehber + SSS ---------- */
.guide { display: flex; flex-direction: column; gap: 16px; }
.guide > h2 { font-size: 20px; font-weight: 800; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.guide-grid .card { display: flex; flex-direction: column; gap: 8px; }
.guide-grid h3 { font-size: 16px; font-weight: 800; }
.guide-grid p { margin: 0; font-size: 14px; color: var(--ink-2); flex: 1; }
.faq { padding: 6px 22px; }
.faq h3 { font-size: 16px; font-weight: 800; margin: 14px 0 6px; }
.faq details { border-top: 1px solid var(--line-soft); padding: 14px 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }

/* ---------- hizli erisim (mobil) ---------- */
.quick-nav { display: none; }

/* ---------- sayfa yolu ---------- */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a:hover { color: var(--brand); }

/* ---------- alt bilgi ---------- */
.site-footer { margin-top: 40px; background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { padding-top: 36px; padding-bottom: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.footer-grid p { margin: 10px 0 0; font-size: 13px; color: var(--ink-soft); }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-grid h2 { font-size: 12px; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .4px; }
.footer-legal { padding-top: 16px; padding-bottom: 28px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--ink-soft); }

/* ---------- kirilimlar ---------- */

/* ---------- mobil uygulama bandi ---------- */
.app-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) 8px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .12); }
.app-banner[hidden] { display: none; }
.app-banner img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.app-banner-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.app-banner-text strong { font-size: 15px; }
.app-banner-text span { font-size: 12px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-banner-close { width: 30px; height: 30px; border: 0; background: none; color: var(--ink-soft); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; border-radius: 8px; }
.app-banner-close:hover { background: var(--surface-2); }
.app-banner-cta { height: 36px; padding: 0 18px; flex: none; }
body.has-app-banner { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

/* ---------- alt sayfalar ---------- */
.faq h2 { font-size: 17px; font-weight: 800; margin: 14px 0 6px; }
.section-nav, .period-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.section-nav a, .period-tabs a { border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; color: var(--ink-2); }
.section-nav a:hover, .period-tabs a:hover { border-color: var(--brand); color: var(--brand); }
.period-tabs a.on { background: var(--ink); border-color: var(--ink); color: var(--canvas); font-weight: 700; }
.table-card[id] { scroll-margin-top: 16px; }
.table-card .card-head p { margin: 4px 0 0; }

.row > .main-col { flex: 2 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.mini-sub { display: block; font-size: 12px; font-weight: 500; }
.detail-hero h1 { font-size: 24px; font-weight: 800; letter-spacing: -.5px; line-height: 1.2; }
.detail-hero h1 span { display: block; }
.detail-hero .hero-sub { margin: 3px 0 0; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); line-height: 1.3; }
.detail-hero .hero-name img { background: var(--surface-2); }
.detail-hero .hero-head { margin-top: 0; align-items: flex-start; }
.detail-hero .hero-name img { width: 48px; height: 48px; border-radius: 12px; }
.detail-hero .live-status { font-size: 13px; white-space: nowrap; }
.detail-intro { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line-soft); padding-top: 14px; }
.stats { margin: 10px 0 0; }
.stats div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.stats div:last-child { border-bottom: 0; }
.stats dt { color: var(--ink-soft); }
.stats dd { margin: 0; font-weight: 700; }
.ranges { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.range-head { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.range-bar { position: relative; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--down-soft), var(--flat-soft), var(--up-soft)); }
.range-dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--brand-fill); border: 3px solid var(--surface); box-shadow: var(--shadow); }
.range-ends { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--ink-soft); }
.calc-table { margin-top: 8px; }
.calc-table th, .calc-table td { padding: 8px 0; text-align: right; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.calc-table th:first-child { text-align: left; font-weight: 600; }
.calc-table thead th { font-size: 12px; color: var(--ink-soft); font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.calc-table td { padding-left: 12px; }
.quick-table tbody th { font-weight: 600; }
.quick-table td { white-space: nowrap; }
.quick-table tbody th a { color: var(--ink); }
.quick-table tbody th a:hover { color: var(--brand); }

.bank-prices .asset small { display: block; }
.sort { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.sort::after { content: "↕"; font-size: 11px; opacity: .45; }
th[aria-sort="ascending"] .sort, th[aria-sort="descending"] .sort { color: var(--ink); }
th[aria-sort="ascending"] .sort::after { content: "▲"; opacity: 1; color: var(--brand); font-size: 9px; }
th[aria-sort="descending"] .sort::after { content: "▼"; opacity: 1; color: var(--brand); font-size: 9px; }
.sort:hover { color: var(--brand); }
.bank-prices .best { font-weight: 700; color: var(--brand); }
.bank-prices .best.up-text { color: var(--up); }
.bank-prices .best-cell { color: var(--up); font-weight: 800; }
.bank-prices tr.current { background: var(--brand-soft); }
.bank-prices tr.indicative td, .bank-prices tr.indicative strong { color: var(--ink-soft); }
.table-badges { margin: 0 24px 14px; }
.wrap-pills { flex-wrap: wrap; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin-top: 12px; }
.link-grid a, .link-list a { padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; background: var(--surface-2); }
.link-grid a:hover, .link-list a:hover { border-color: var(--brand); color: var(--brand); }
.link-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.legal-nav { flex-direction: row; flex-wrap: wrap; }

.movers-row > section { flex: 1 1 420px !important; }
.movers-row .list-label { margin: 0 20px 10px; }
.rank { width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--ink-soft); flex: none; }

.news-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.news-item { padding: 0; overflow: hidden; display: flex; }
.news-item a { display: flex; flex-direction: column; width: 100%; }
.news-item img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--placeholder); }
.news-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.news-item h2 { font-size: 17px; font-weight: 800; line-height: 1.3; }
.news-item p { margin: 0; font-size: 14px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-top { grid-column: 1 / -1; }
.news-top a { flex-direction: row; }
.news-top img { width: 58%; }
.news-top .news-body { justify-content: center; padding: 24px 28px; }
.news-top h2 { font-size: 26px; }
.pager { display: flex; justify-content: center; gap: 12px; }
.pager .btn { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
/* haber detayi: uygulamadaki ekranin olculeri (baslik 27, ozet 18, metin 17 / 1.62) */
.article { padding: 0; overflow: hidden; --news-scale: 1; }
.article-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--placeholder); }
.article-inner { padding: 18px 32px 26px; }
.article-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.article-meta a:hover { color: var(--brand); }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-soft); }
.meta-tools { margin-left: auto; display: flex; gap: 6px; }
.square-btn { height: 34px; min-width: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font: inherit; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.square-btn:hover { border-color: var(--brand); color: var(--brand); }
.article h1 { margin-top: 16px; font-size: calc(30px * var(--news-scale)); font-weight: 800; line-height: 1.22; letter-spacing: -.5px; }
.article-time { margin: 8px 0 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.updated-chip { padding: 1px 6px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 12px; }
.article-summary { margin: 16px 0 0; padding-left: 14px; border-left: 3px solid var(--brand-fill); font-size: calc(18px * var(--news-scale)); font-weight: 500; line-height: 1.5; color: var(--ink); }
.article-body { margin-top: 18px; font-size: calc(17px * var(--news-scale)); line-height: 1.62; color: #2E2C3A; overflow-wrap: anywhere; }
[data-theme="dark"] .article-body { color: #D9D6CF; }
.article-body p { margin: 0 0 16px; }
.article-body h1, .article-body h2 { font-size: 1.18em; font-weight: 800; line-height: 1.3; margin: 24px 0 10px; color: var(--ink); }
.article-body h3, .article-body h4, .article-body h5, .article-body h6 { font-size: 1.12em; font-weight: 700; line-height: 1.4; margin: 20px 0 8px; color: var(--ink); }
.article-body a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.article-body strong, .article-body b { font-weight: 700; color: var(--ink); }
.article-body blockquote { margin: 16px 0; padding: 12px 16px; background: var(--brand-soft); border-left: 3px solid var(--brand); border-radius: 8px; font-style: italic; }
.article-body ul, .article-body ol { margin: 0 0 14px; padding-left: 22px; }
.article-body li { margin: 0 0 8px; }
.article-body img { max-width: 100%; height: auto; margin: 10px 0; border-radius: 12px; }
.article-body figure { margin: 10px 0; }
.article-body figcaption { font-size: .85em; color: var(--ink-soft); text-align: center; margin: 6px 0 14px; }
.article-body hr { margin: 20px 0; border: 0; border-top: 1px solid var(--line); }
.article-body table { font-size: .9em; margin: 12px 0; display: block; overflow-x: auto; }
.article-body iframe { display: none; }
.share-cta { margin-top: 16px; padding: 14px 14px 14px 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-soft); display: flex; align-items: center; gap: 12px; }
.share-cta div { flex: 1; min-width: 0; }
.share-cta strong { display: block; font-size: 15px; }
.share-cta span { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.btn-gold { background: var(--brand-fill); color: #FFFFFF; border-radius: 12px; height: 40px; }
.btn-gold:hover { color: #FFFFFF; opacity: .92; }
.square-btn.copied { color: var(--up); border-color: var(--up); }
.btn-gold.copied { background: var(--up); }
.btn-gold.copied::after { content: " · kopyalandı"; font-weight: 600; }
.next-news { margin-top: 24px; }
.overline { font-size: 12px !important; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.next-card { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line-soft); }
.next-card:hover { border-color: var(--brand); }
.next-card img { width: 120px; height: 84px; border-radius: 12px; object-fit: cover; flex: none; background: var(--placeholder); }
.next-card strong { font-size: 16px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-note { margin: 18px 0 0; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.related-news { list-style: none; margin: 0; padding: 0; }
.related-news a { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.related-news li:last-child a { border-bottom: 0; }
.related-news img { width: 72px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: var(--placeholder); }
.related-news strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.35; }
.related-news time { display: block; margin-top: 3px; }
.side .app-band { flex-direction: column; align-items: flex-start; padding: 24px; }
.side .app-band h2 { font-size: 20px; }
.side .store-buttons { flex-wrap: wrap; }

.calendar-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--brand-fill); }
.cal-day-card h2 { padding: 0 24px 12px; }
.cal-table th, .cal-table td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); font-size: 14px; text-align: right; vertical-align: top; }
.cal-table thead th { font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .3px; background: var(--surface-2); }
.cal-table td:first-child, .cal-table th:first-child { padding-left: 24px; text-align: left; width: 70px; }
.cal-table thead th:nth-child(2) { text-align: left; }
.cal-table tbody th { text-align: left; font-weight: 400; white-space: normal; }
.cal-table th:nth-child(3), .cal-table td:nth-child(3) { text-align: center; }
.cal-table td:last-child, .cal-table th:last-child { padding-right: 24px; }
.cal-event { display: flex; gap: 10px; align-items: flex-start; }
.cal-event .flag { margin-top: 3px; }
.cal-event strong { display: block; font-weight: 700; }
.cal-event small { display: block; font-size: 12px; }
.imp-1 { opacity: .6; }
.cal-day-card > summary { display: flex; align-items: center; gap: 12px; padding: 0 24px; cursor: pointer; list-style: none; }
.cal-day-card > summary::-webkit-details-marker { display: none; }
.cal-day-card > summary h2 { display: flex; align-items: center; gap: 8px; padding: 0; margin: 0; }
.cal-day-card .cal-count { margin-left: auto; }
.cal-day-card .chev { color: var(--ink-soft); flex: none; transition: transform .2s; }
.cal-day-card[open] .chev { transform: rotate(180deg); }
.cal-day-card[open] > summary { padding-bottom: 12px; }
.cal-day-card:not([open]) { padding-bottom: 14px; }
.today-chip { background: var(--brand-soft); color: var(--brand-strong); font-size: 12px; }
.cal-time.all-day { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.only-important tr[data-imp="1"] { display: none; }

.converter-big { gap: 16px; }
.conv-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: end; }
.swap { width: 44px; height: 44px; margin-bottom: 2px; }
.conv-result strong { word-break: break-all; }
.search-big { width: 100%; max-width: 640px; height: 52px; padding: 0 6px 0 16px; background: var(--surface); }
.search-big input { font-size: 16px; }
.empty-note { margin: 0 0 14px; }
.not-found { text-align: left; display: flex; flex-direction: column; gap: 14px; }
.nf-code { font-size: 64px; font-weight: 800; color: var(--brand); line-height: 1; margin: 0; }
.not-found h1 { font-size: 28px; font-weight: 800; }
.not-found .lead { display: block; margin: 0; }
.legal { padding: 28px 36px; max-width: 900px; }
.legal h1 { font-size: 30px; font-weight: 800; letter-spacing: -.6px; }
.legal h2 { font-size: 19px; font-weight: 800; margin: 26px 0 8px; }
.legal h3 { font-size: 16px; font-weight: 700; margin: 18px 0 6px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--brand); }
.contact-mail { margin: 20px 0; }

/* D2: genis ekranda fiyat tablolarinda fark ve gun ici aralik */
.prices .wide-col { white-space: nowrap; }
@media (max-width: 1119px) { .prices .wide-col { display: none; } }
/* dar sutundaki tablolarda (ana sayfa, varlik sayfasi) ad sutunu sikismasin */
.main-col .prices .wide-col { display: none; }
/* D3: varlik sayfasinda yan sutun kaydirirken gorunur kalir (top degeri site.js'te, uzun sutun icin) */
@media (min-width: 1032px) {
  .detail-row > .side { position: sticky; top: var(--side-top, 74px); }
}
/* D6: tablette yan sutun alta dustugunde kartlar iki sutun */
@media (min-width: 721px) and (max-width: 1031px) {
  .row > .side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
}
@media (max-width: 1300px) {
  .app-btn { display: none; }
}
@media (max-width: 1120px) {
  .header-tools .search { width: 150px; }
  .main-nav a { padding: 8px 8px; }
}
@media (max-width: 980px) {
  .header-bar { flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 10px; min-height: 0; }
  .header-tools { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .main-nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 2px; padding-bottom: 6px; }
  .main-nav.open { display: flex; }
  .main-nav .menu-app { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; background: var(--ink); color: var(--canvas); border-radius: 12px; }
  .main-nav .menu-app:hover { background: var(--ink-2); color: var(--canvas); }
  .main-nav a.active { box-shadow: inset 3px 0 0 var(--brand); }
  .main-nav a { padding: 12px; font-size: 15px; }
}
@media (max-width: 720px) {
  body { font-size: 14px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 28px; padding-bottom: 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid nav a { padding: 4px 0; }
  .footer-legal { padding-bottom: 24px; }
  .page { padding-top: 18px; gap: 18px; }
  .header-tools .search { display: none; }
  /* M11: logo satiri sayfayla kayar, canli serit ustte sabit kalir (masaustundeki gibi) */
  .site-header { display: contents; }
  .header-bar { width: 100%; background: var(--surface); border-bottom: 1px solid var(--line); }
  .site-header .rate-band, .site-header .skip { width: 100%; }
  .site-header .rate-band { position: sticky; top: 0; z-index: 30; border-top: 0; border-bottom: 1px solid var(--line); }
  /* M10: sayfa yolu tek satir, son oge sigmazsa kisalir */
  .crumbs ol { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
  .crumbs li { flex: none; }
  .crumbs li:last-child { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  /* M9: gorunum ayni, dokunma alani ~44 px */
  .periods button, .segmented.small button { position: relative; }
  .periods button::after, .segmented.small button::after { content: ""; position: absolute; inset: -7px -1px; }
  .sort { position: relative; }
  .sort::before { content: ""; position: absolute; inset: -12px -6px; }
  .toggle { min-height: 44px; }
  .toggle input { width: 20px; height: 20px; }
  /* M6: kayan seritte devami oldugunu gosteren solan kenar (site.js fade-l / fade-r) */
  .scroll-x.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .scroll-x.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
  .scroll-x.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
  .search-btn { display: inline-flex; }
  .page-head h1 { font-size: 22px; letter-spacing: -.4px; }
  .lead { display: none; }
  .row, .side { gap: 18px; }
  .row > .card:first-child, .row > section:first-child, .row > .card:last-child, .row > .side, .row > section:last-child:not(:first-child), .row > .main-col { flex-basis: 100%; }
  .main-col { gap: 18px; }
  /* varlik sayfasi: gunluk degerler ve araliklar uzun tablolarin arkasinda kalmasin */
  .detail-row > .main-col, .detail-row > .side { display: contents; }
  .detail-row > .main-col > *, .detail-row > .side > * { flex: 1 1 100%; min-width: 0; order: 3; }
  .detail-row > .main-col > .detail-hero { order: 0; }
  .detail-row > .side > .m-first { order: 1; }
  .home-flow > .main-col, .home-flow > .side { display: contents; }
  .home-flow > * > * { flex: 1 1 100%; min-width: 0; }
  .home-flow .o1 { order: 1; } .home-flow .o2 { order: 2; } .home-flow .o3 { order: 3; } .home-flow .o4 { order: 4; }
  .card { padding: 14px 16px; border-radius: 18px; }
  .hero { padding: 14px 16px; }
  .segmented { display: flex; }
  .segmented button { flex: 1; padding: 8px 6px; font-size: 13px; }
  .hero-top > .segmented { flex: 1 1 100%; }
  .quick-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .quick-nav a { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink); min-height: 64px; }
  .quick-nav svg { color: var(--brand); }
  .hero-prices { gap: 8px 18px; }
  .hero-price { font-size: 34px; letter-spacing: -1px; }
  .hero-bid { font-size: 18px; }
  .spark svg { height: 96px; }
  .chart { height: 210px; }
  .periods button { padding: 6px 7px; }
  .table-card { padding: 14px 0 10px; }
  .table-card .card-head { padding: 0 16px; }
  .pills { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .pills button { flex: none; }
  .prices th, .prices td { padding: 10px 8px; font-size: 14px; }
  .prices th:first-child { padding-left: 16px; }
  .prices th:last-child, .prices td:last-child { padding-right: 16px; }
  .prices th:nth-child(3), .prices td:nth-child(3) { padding-right: 16px; }
  .prices .asset img { display: none; }
  .prices .asset small { display: none; }
  .bank-prices .asset { gap: 8px; }
  .bank-prices .asset img { display: block; width: 26px; height: 26px; border-radius: 6px; }
  .bank-prices .asset small { display: block; font-size: 12px; line-height: 1.3; margin-top: 2px; }
  .prices thead th:nth-child(4), .prices tbody td:nth-child(4) { display: none; }
  .prices .m-chip { display: inline-flex; margin-top: 3px; font-size: 12px; padding: 1px 6px; }
  .card-foot { padding: 12px 16px 2px; }
  .card-foot .muted { display: none; }
  .news-list img { width: 76px; height: 54px; }
  .app-band { padding: 22px 18px; border-radius: 20px; }
  .app-band h2 { font-size: 20px; }
  .store-buttons { width: 100%; }
  .store { flex: 1; justify-content: center; }
  .faq { padding: 4px 16px; }
  .detail-hero h1 { font-size: 20px; }
  .detail-hero .live-status { display: none; }
  .table-badges { margin: 0 16px 12px; }
  .movers-row .list-label { margin: 0 16px 10px; }
  .news-cards { grid-template-columns: 1fr; gap: 14px; }
  /* M4: ilk haber buyuk kart, sonrakiler kucuk gorselli satir */
  .news-item:not(.news-top) a { flex-direction: row; align-items: flex-start; gap: 12px; padding: 12px; }
  .news-item:not(.news-top) img { width: 104px; height: 72px; aspect-ratio: auto; border-radius: 10px; flex: none; }
  .news-item:not(.news-top) .news-body { padding: 0; gap: 4px; min-width: 0; }
  .news-item:not(.news-top) h2 { font-size: 15px; line-height: 1.3; }
  .news-item:not(.news-top) p { display: none; }
  .news-cards { gap: 10px; }
  /* M5: hareket edenler mobilde sekmeli */
  .movers-tabs { display: flex; }
  .movers-row[data-show="0"] > section:nth-of-type(2), .movers-row[data-show="1"] > section:nth-of-type(1) { display: none; }
  .news-item { padding: 0; }
  .bank-prices thead th:nth-child(4), .bank-prices tbody td:nth-child(4) { display: table-cell; }
  .bank-prices th, .bank-prices td { padding-left: 4px; padding-right: 4px; font-size: 13px; }
  .bank-prices th:first-child { padding-left: 16px; white-space: normal; }
  .bank-prices th:last-child, .bank-prices td:last-child { padding-right: 16px; }
  .bank-prices thead th { font-size: 12px; letter-spacing: 0; }
  .section-nav, .period-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .section-nav a, .period-tabs a { flex: none; white-space: nowrap; }
  .news-top a { flex-direction: column; }
  .news-top img { width: 100%; }
  .news-top .news-body { padding: 14px 16px 16px; }
  .news-top h2 { font-size: 20px; }
  .article { padding: 0; margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .article-inner { padding: 16px 16px 20px; }
  .article h1 { font-size: calc(25px * var(--news-scale)); }
  .next-card img { width: 100px; height: 70px; }
  .cal-day-card > summary { padding: 0 16px; gap: 2px 8px; flex-wrap: wrap; }
  .cal-day-card > summary h2 { font-size: 16px; white-space: nowrap; }
  .cal-day-card .chev { margin-left: auto; }
  .cal-day-card .cal-count { order: 3; flex-basis: 100%; margin-left: 0; font-size: 12px; }
  .cal-day-card[open] > summary { padding-bottom: 10px; }
  /* takvim: her etkinlik bir kart satiri; saat + onem solda, degerler etiketli altta */
  .cal-table, .cal-table tbody { display: block; }
  .cal-table thead { display: none; }
  .cal-table tr { display: grid; grid-template-columns: 54px repeat(3, minmax(0, 1fr)); column-gap: 8px; row-gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
  .cal-table tr:last-child { border-bottom: 0; }
  .cal-table tbody th, .cal-table td { display: block; padding: 0; border: 0; text-align: left; font-size: 13px; }
  .cal-table td:first-child, .cal-table th:first-child { padding-left: 0; width: auto; }
  .cal-table td:last-child, .cal-table th:last-child { padding-right: 0; }
  .cal-table td.cal-time { grid-column: 1; grid-row: 1; font-size: 14px; }
  .cal-table td.cal-time.all-day { font-size: 12px; white-space: normal; line-height: 1.3; }
  .cal-table tbody th { grid-column: 2 / -1; grid-row: 1; }
  .cal-table td:nth-child(3) { grid-column: 1; grid-row: 2; align-self: end; text-align: left; font-size: 12px; }
  .cal-table td:nth-child(4), .cal-table td:nth-child(5), .cal-table td:nth-child(6) { grid-row: 2; }
  .cal-table td:nth-child(4)::before, .cal-table td:nth-child(5)::before, .cal-table td:nth-child(6)::before { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
  .cal-table td:nth-child(4)::before { content: "Açıklanan"; }
  .cal-table td:nth-child(5)::before { content: "Beklenti"; }
  .cal-table td:nth-child(6)::before { content: "Önceki"; }
  .cal-event .flag { width: 20px; height: auto; margin-top: 2px; }
  .conv-pair { grid-template-columns: 1fr; }
  .swap { justify-self: center; transform: rotate(0deg); }
  .search-big { display: flex; height: 48px; }
  .legal { padding: 18px 16px; }
  .legal h1 { font-size: 23px; }
  .nf-code { font-size: 48px; }
  .not-found h1 { font-size: 22px; }
}
