/* Performance page. Builds on pages.css.
   Colours: gold = cumulative lines and real ticks; green / red tints only for profit / loss days
   (always together with the + / − sign); violet-grey dashed = tester-generated ticks. */
:root {
  --pf-kar: #2fbf8f;
  --pf-zarar: #d9485f;
  --pf-kar-t: #7fe0bb;
  --pf-zarar-t: #f5a0ad;
  --pf-uret: #a39dc2;
  --pf-sekme-h: 60px;
}
html { scroll-padding-top: calc(var(--hd-h) + var(--pf-sekme-h) + 12px); }

/* ---------------------------------------------------------------- head + tabs */
.pv-hero .hero-in { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(28px, 4vw, 52px); gap: 14px; }
.pv-sekme {
  position: sticky; top: var(--hd-h); z-index: 30;
  background: rgba(5, 7, 11, .9);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.pv-sekme-list { display: flex; gap: 6px; padding: 8px 0; overflow-x: auto; scrollbar-width: none; }
.pv-sekme-list::-webkit-scrollbar { display: none; }
.pv-sekme-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); white-space: nowrap;
  font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text);
  transition: border-color .2s, background-color .2s, color .2s;
}
.pv-sekme-list a:hover { border-color: var(--line-2); color: var(--gold-b); }
.pv-sekme-list a[aria-current="true"] { background: rgba(214, 176, 106, .14); border-color: var(--gold); color: var(--gold-b); }
html:not(.pv-js) .pv-sekme { position: static; }
@media (max-width: 400px) { .pv-sekme-list a { padding: 0 12px; font-size: 12px; letter-spacing: .05em; } }

/* views: without JS all three stay visible one under another */
.pv { padding-top: clamp(36px, 6vw, 72px); }
.pv + .pv { border-top: 1px solid var(--line); margin-top: clamp(36px, 6vw, 72px); }
html.pv-js .pv + .pv { border-top: 0; margin-top: 0; }
.pv > .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; max-width: calc(860px + var(--gut) + var(--gut-r)); }
.pv-h { display: grid; gap: 10px; }
.pv-ust { max-width: 62ch; }
.pv-meta { font-family: var(--mono); font-size: 13px; line-height: 1.65; letter-spacing: .02em; color: var(--gold); max-width: 80ch; }
.pv-gelistirme {
  margin-top: -10px; padding: 10px 14px; border-left: 2px solid var(--gold-d); background: rgba(214, 176, 106, .05);
  border-radius: 0 10px 10px 0; font-size: 15px; line-height: 1.55; color: var(--dim); max-width: 72ch;
}
.pv-gelecek { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 72ch; }

/* ---------------------------------------------------------------- details */
.pv-ay { border-top: 1px solid var(--line); }
.pv-ay:last-of-type { border-bottom: 1px solid var(--line); }
.pv-ay > summary {
  list-style: none; cursor: pointer; min-height: 52px; display: flex; align-items: center; gap: 12px;
  font-size: 16px; font-weight: 600; color: var(--text);
}
.pv-ay > summary::-webkit-details-marker { display: none; }
.pv-ay > summary::before {
  content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-2); font-family: var(--mono); font-size: 15px; color: var(--gold-b);
}
.pv-ay[open] > summary::before { content: "−"; }
.pv-ay > summary:hover { color: var(--gold-b); }
.pv-ay > summary:focus-visible { outline: 2px solid var(--gold-b); outline-offset: 2px; border-radius: 6px; }
.pv-ay-ic { display: grid; gap: 16px; padding: 4px 0 22px; min-width: 0; }
.pv-madde { display: grid; gap: 10px; max-width: 72ch; }
.pv-madde li { position: relative; padding-left: 18px; color: var(--text); opacity: .92; line-height: 1.6; }
.pv-madde li::before { content: "–"; position: absolute; left: 0; color: var(--gold); }

/* ---------------------------------------------------------------- calendar */
.tk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.tk-statik { display: grid; gap: 40px; }
.tk.tk-hazir .tk-statik { display: none; }
.tk-canli:empty, .tk-alt:empty { display: none; }
.tk-alt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.tk-ay { display: grid; gap: 12px; min-width: 0; align-content: start; }
.tk-ay-t {
  min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 0 52px;
  font-family: var(--mono); font-size: 18px; font-weight: 400; letter-spacing: .06em; color: var(--gold-b); text-align: center;
}
.tk-oz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tk-oz > div { display: grid; gap: 4px; padding: 10px 6px; min-width: 0; text-align: center; align-content: start; }
.tk-oz > div + div { border-left: 1px solid var(--line); }
.tk-oz dt { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.tk-oz dd { font-family: var(--mono); font-size: clamp(14px, 1vw + 10px, 18px); color: var(--gold-b); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tk-oz dd small { font-size: .7em; color: var(--dim); }
.tk-oz dd .tk-oz-yok { font-family: var(--sans); font-size: 14px; color: var(--dim); }
.tk-hb, .tk-izgara { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.tk-hb span { text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); }
.tk-izgara { list-style: none; }
.tk-izgara > li { min-width: 0; display: grid; }
.tk-c {
  container-type: inline-size;
  appearance: none; -webkit-appearance: none; margin: 0; font: inherit; color: var(--text); text-align: left;
  min-width: 0; min-height: 66px; padding: 6px 7px; border-radius: 10px; border: 1px solid transparent;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; background: transparent;
  font-family: var(--sans); font-size: 13px; line-height: 1.2; font-variant-numeric: tabular-nums;
}
button.tk-c { cursor: pointer; transition: border-color .15s, box-shadow .15s; }
button.tk-c:hover { border-color: var(--line-2); }
button.tk-c:focus-visible { outline: 2px solid var(--gold-b); outline-offset: 1px; }
.tk-c[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--gold-b), 0 0 18px rgba(243, 217, 164, .25); border-color: var(--gold-b); }
.tk-g { font-family: var(--mono); font-size: 12px; color: var(--dim); }
/* exact amount, two decimals: whole part and decimals wrap onto two lines when the box is narrow */
.tk-n { display: flex; flex-wrap: wrap; max-width: 100%; font-weight: 650; font-size: 13.5px; line-height: 1.15; }
.tk-nt, .tk-nk { white-space: nowrap; }
.tk-i { font-size: 12px; color: var(--dim); white-space: nowrap; }
.tk-w { font-size: 12px; line-height: 1.15; color: var(--dim); overflow-wrap: anywhere; }
.tk-kisa { display: none; }
@container (max-width: 76px) {
  .tk-uzun { display: none; }
  .tk-kisa { display: inline; }
  .tk-n { font-size: 12px; letter-spacing: -.01em; }
  .tk-i, .tk-w { font-size: 10.5px; }
  .tk-g { font-size: 11px; }
}
@container (max-width: 50px) {
  .tk-n { font-size: 11.5px; letter-spacing: -.02em; }
  .tk-w { font-size: 10px; letter-spacing: -.01em; }
  .tk-bekliyor .tk-w { font-size: 9.5px; letter-spacing: -.03em; }
}
/* states: recognisable without colour (sign, words, border style, pattern) */
.tk-kar { background: rgba(47, 191, 143, .14); border-color: rgba(47, 191, 143, .55); }
.tk-kar .tk-n { color: var(--pf-kar-t); }
.tk-zarar { background: rgba(217, 72, 95, .16); border-color: rgba(217, 72, 95, .65); border-style: double; border-width: 3px; }
.tk-zarar .tk-n { color: var(--pf-zarar-t); }
.tk-islem_yok { border-color: var(--line-2); }
.tk-kayit_yok { border-color: var(--line-2); border-style: dashed; background: repeating-linear-gradient(135deg, rgba(233, 212, 170, .10) 0 3px, transparent 3px 8px); }
.tk-kapali { background: rgba(233, 212, 170, .03); }
.tk-kapali .tk-g, .tk-kapali .tk-w { color: var(--muted); }
.tk-suruyor { border: 1.5px dotted var(--gold); }
.tk-bekliyor { border: 1.5px dashed var(--gold); background: rgba(214, 176, 106, .06); }
.tk-bekliyor .tk-w { color: var(--gold-b); }
/* every day is a box: before the start = faint filled box, no outline; not reached yet = outline only */
.tk-baslamadi { background: rgba(233, 212, 170, .045); }
.tk-baslamadi .tk-g { color: var(--muted); }
.tk-gelecek { border-color: rgba(233, 212, 170, .2); }
.tk-gelecek .tk-g { color: var(--muted); }
.tk-bos { min-height: 1px; }

/* legend (closed <details> "Takvim işaretleri") */
.tk-lej { display: grid; gap: 10px; font-size: 14px; color: var(--dim); }
.tk-lej li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.tk-lej-not { font-size: 14px; line-height: 1.55; color: var(--dim); max-width: 72ch; }
html:not(.pv-js) .tk-lej-js { display: none; }
.tk-lc.tk-bekliyor { border: 1.5px dashed var(--gold); }
.tk-lc.tk-gelecek { border-color: rgba(233, 212, 170, .2); }
.tk-lc.tk-suruyor { border: 1.5px dotted var(--gold); }
.tk-lc.tk-islem_yok, .tk-lc.tk-kayit_yok { border-color: var(--line-2); }
.tk-lc.tk-kayit_yok { border-style: dashed; }
.pv-sondg { font-size: 15px; line-height: 1.5; color: var(--text); }
.pv-sondg span { border-bottom: 1px dashed rgba(214, 176, 106, .5); }
:where(.tk-lc) { border: 1px solid transparent; }
.tk-lc { flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 700; }
.tk-lc.tk-kar { color: var(--pf-kar-t); }
.tk-lc.tk-zarar { color: var(--pf-zarar-t); }
.tk-lc.tk-zarar { border-width: 3px; }
.tk-lc.tk-baslamadi { background: rgba(233, 212, 170, .07); }
.pc-son-cizgi { fill: none; stroke: rgba(243, 217, 164, .45); stroke-width: 1; stroke-dasharray: 2 3; }
.pc-son { font-size: 12.5px; fill: var(--gold-b); paint-order: stroke; stroke: #070a10; stroke-width: 4px; stroke-linejoin: round; }

/* navigator + month track (JS) */
.tk-nav { position: relative; min-width: 0; }
.tk-ok {
  position: absolute; top: 0; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-2); background: rgba(5, 7, 11, .7); color: var(--gold-b);
  font-family: var(--mono); font-size: 18px; cursor: pointer;
}
.tk-ok-l { left: 0; }
.tk-ok-r { right: 0; }
.tk-ok:hover { border-color: var(--gold); }
.tk-ok:focus-visible { outline: 2px solid var(--gold-b); outline-offset: 2px; }
.tk-ok[aria-disabled="true"] { opacity: .32; cursor: default; }
.tk-ray {
  display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.tk-ray::-webkit-scrollbar { display: none; }
.tk-ray > .tk-ay { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.tk-ipucu { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* day detail: non-modal card fixed to the viewport (bottom sheet on phones, bottom-right card on wide
   screens); it never takes room in the page, so the chart under the calendar does not move */
.tk-dt {
  position: fixed; z-index: 35; left: 0; right: 0; bottom: 0;
  display: grid; gap: 10px; align-content: start;
  max-height: 70vh; max-height: 70dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  border: 1px solid rgba(214, 176, 106, .45); border-bottom: 0; border-radius: 18px 18px 0 0;
  background: #0b111c; box-shadow: 0 -14px 44px rgba(0, 0, 0, .62);
}
.tk-dt:focus { outline: none; }
.tk-dt:focus-visible { outline: 2px solid var(--gold-b); outline-offset: -3px; }
.tk-dt[hidden] { display: none; }

.tk-dt-h { padding-right: 52px; min-height: 44px; display: flex; align-items: center; font-size: 18px; font-weight: 650; color: var(--gold-b); }
.tk-dt-kapat { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; }
.tk-dt-kapat:focus-visible { outline: 2px solid var(--gold-b); outline-offset: 2px; }
.tk-dt dl { display: grid; gap: 0; }
.tk-dt dl > div { display: grid; gap: 2px; padding: 9px 0; border-top: 1px solid var(--line); }
.tk-dt dt { font-size: 13px; color: var(--muted); }
.tk-dt dd { color: var(--text); font-size: 16px; }
.tk-dt dd.tk-dt-v { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tk-dt dd small { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.tk-dt .tk-dt-ayri { background: rgba(143, 182, 217, .06); padding-left: 8px; padding-right: 8px; }
.tk-dt ul { display: grid; gap: 6px; }
.tk-dt ul li { position: relative; padding-left: 16px; line-height: 1.5; }
.tk-dt ul li::before { content: "–"; position: absolute; left: 0; color: var(--gold); }
.tk-dt dl > div:first-child { border-top: 0; }
.tk-dt .tk-dt-dahil dd { font-size: 13.5px; color: var(--muted); }
/* wide screens: the detail is an in-flow panel in its own row between the calendar and the chart (nothing
   floats over the chart); fields side by side, notes and the cost sentence below */
@media (min-width: 761px) {
  .tk-dt {
    position: relative; left: auto; right: auto; bottom: auto; z-index: auto; max-height: none; overflow: visible;
    gap: 2px; padding: 10px 18px 12px; border: 1px solid rgba(214, 176, 106, .45); border-radius: 14px; box-shadow: none;
  }
  .tk-dt-h { min-height: 30px; font-size: 17px; }
  .tk-dt-kapat { top: 6px; right: 8px; }
  .tk-dt dl { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 18px; }
  .tk-dt dl > div { border-top: 0; padding: 3px 0; min-width: 0; }
  .tk-dt dl > .tk-dt-tam { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 6px; margin-top: 4px; }
  .tk-dt dl > .tk-dt-dahil { padding-top: 4px; border-top: 0; margin-top: 0; }
  .tk-dt dd { font-size: 15px; }
  .tk-dt ul { gap: 4px; }
}
/* month chart */
.tk-gr { margin: 0; display: grid; gap: 10px; }
.tk-gr-h { font-size: 13px; color: var(--muted); }
.tk-gr-bos { padding: 18px 16px; border: 1px dashed var(--line-2); border-radius: 14px; color: var(--dim); }
.tk-gr .pc-plot { min-height: 0; }
.pc-nokta-sec { fill: var(--gold-b); stroke: #fff6e0; stroke-width: 2; }
.pc-gun { fill: transparent; cursor: pointer; }
.pc-gun-sec { fill: rgba(243, 217, 164, .09); }

/* real account banner */
.pv-bant { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px solid rgba(214, 176, 106, .45); border-radius: 16px; background: rgba(214, 176, 106, .07); max-width: 72ch; }
.pv-bant .status-dot { margin-top: 9px; }
.pv-bant-h { font-size: 18px; font-weight: 650; color: var(--gold-b); margin-bottom: 4px; }
.pv-bant p:not(.pv-bant-h) { color: var(--text); opacity: .9; }

/* ---------------------------------------------------------------- backtest */
.bt-sec ul { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-sec a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14px; line-height: 1.3; color: var(--text);
}
.bt-sec a:hover { border-color: var(--line-2); color: var(--gold-b); }
.bt-sec a[aria-current="true"] { background: rgba(214, 176, 106, .14); border-color: var(--gold); color: var(--gold-b); }
.run { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; padding-top: 30px; border-top: 1px solid var(--line); }
.bt-sec + .run { border-top: 0; padding-top: 8px; }
html.pv-js .run { border-top: 0; padding-top: 8px; }
html.pv-js .run[hidden] { display: none; }
/* optional wide-period section: closed <details> under the three tests */
.bt-genis { margin-top: 14px; }
.bt-genis > summary { font-size: 18px; }
.bt-genis > .pv-ay-ic { gap: 18px; }
.bt-genis .pv-uyari { margin-top: 4px; }
.pc-cap { font-size: 14px; line-height: 1.55; color: var(--dim); max-width: 72ch; }
.run-h { display: grid; gap: 6px; }
.run-t { font-size: clamp(21px, 1vw + 16px, 28px); font-weight: 700; color: var(--gold-b); }
.run-alt { color: var(--dim); max-width: 62ch; }
.bt-ana { display: grid; gap: 2px; }
.bt-ana-v { font-family: var(--mono); font-size: clamp(30px, 3vw + 18px, 46px); line-height: 1.1; color: var(--gold-b); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bt-ana-v small { font-size: .45em; color: var(--dim); letter-spacing: .04em; }
.bt-ana-l { font-size: 14px; color: var(--muted); }
.bt-olc { display: grid; gap: 0; border-top: 1px solid var(--line); }
.bt-olc > div { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.bt-olc dt { font-size: 13px; color: var(--muted); }
.bt-olc dd { font-family: var(--mono); font-size: 16px; color: var(--text); font-variant-numeric: tabular-nums; }
.bt-olc dd small { font-family: var(--sans); font-size: 13.5px; color: var(--dim); margin-left: 6px; }
.bt-olc dd > [data-i18n], .bt-olc dd > [data-pt="p.perf.l.gunv"] { font-family: var(--sans); }
@media (min-width: 640px) { .bt-olc > div { grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: baseline; } }
.pv-kosul { padding-left: 14px; border-left: 2px solid var(--gold); color: var(--text); max-width: 72ch; line-height: 1.55; }
.pv-kayityok { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 14px; color: var(--dim); }
.pv-zorunlu {
  margin-top: -8px; padding: 12px 16px; border-left: 3px solid var(--pf-uret); background: rgba(163, 157, 194, .08);
  border-radius: 0 12px 12px 0; color: var(--text); font-size: max(16px, var(--fs-body)); line-height: 1.55; font-weight: 560;
}
.pv-uyari { padding: 14px 16px 14px 48px; position: relative; border: 1.5px solid var(--gold); border-radius: 14px; background: rgba(214, 176, 106, .08); color: var(--gold-b); max-width: 72ch; line-height: 1.55; }
.pv-uyari::before { content: "!"; position: absolute; left: 15px; top: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--gold-b); }
.pv-olgular { display: grid; gap: 8px; max-width: 72ch; }
.pv-olgular li { position: relative; padding-left: 18px; color: var(--text); opacity: .92; line-height: 1.55; }
.pv-olgular li::before { content: "–"; position: absolute; left: 0; color: var(--gold); }
.pv-bekle { padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 14px; color: var(--dim); }

/* status pills (tables, detail) */
.st { display: inline-block; padding: 2px 9px; border-radius: 999px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; white-space: nowrap; border: 1px solid var(--line); color: var(--dim); }
.st-kar { color: var(--pf-kar-t); border-color: rgba(47, 191, 143, .45); }
.st-zarar { color: var(--pf-zarar-t); border-color: rgba(217, 72, 95, .5); }
.st-kayit_yok, .st-suruyor, .st-veri_yok { border-style: dashed; }

/* ---------------------------------------------------------------- tables */
.pt-kutu { border: 1px solid var(--card-b); border-radius: 14px; background: var(--card); overflow-x: auto; overscroll-behavior-x: contain; }
.pt-kutu:focus-visible { outline: 2px solid var(--gold-b); outline-offset: 3px; }
.pt { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.pt caption { caption-side: top; text-align: left; padding: 12px 14px 4px; font-size: 13px; color: var(--gold); }
.pt th, .pt td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.pt thead th { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); background: rgba(214, 176, 106, .06); }
.pt tbody th { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--text); }
.pt .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 13.5px; }
.pt tbody th, .pt tfoot th { position: sticky; left: 0; background: #0a101b; z-index: 1; }
.pt thead th:first-child { position: sticky; left: 0; background: #12161d; z-index: 2; }
.pt tbody tr:last-child > * { border-bottom: 0; }
.pt-kapali > *, .pt-suruyor > *, .pt-kayit_yok > *, .pt-veri_yok > * { color: var(--muted); }
.pt-yok { color: var(--muted); }
.pt .pt-grup th { position: static; background: rgba(214, 176, 106, .08) !important; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--gold-b) !important; white-space: normal; }
.pt-grup-ic { position: sticky; left: 12px; display: inline-block; max-width: min(100%, calc(100vw - 64px)); white-space: normal; }
.pt tfoot th, .pt tfoot td { border-top: 1px solid var(--line-2); border-bottom: 0; color: var(--gold-b); font-weight: 600; }
.pt-ayri { background: rgba(143, 182, 217, .05); }
.pt td:last-child:not(.num) { white-space: normal; min-width: 150px; }
.pv-gunnot { display: grid; border-top: 1px solid var(--line); }
.pv-gunnot > div { display: grid; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pv-gunnot dt { font-family: var(--mono); font-size: 13px; color: var(--gold); }
.pv-gunnot dd ul { display: grid; gap: 6px; }
.pv-gunnot dd li { color: var(--text); opacity: .92; padding-left: 16px; position: relative; line-height: 1.55; }
.pv-gunnot dd li::before { content: "–"; position: absolute; left: 0; color: var(--gold); }
@media (min-width: 760px) { .pv-gunnot > div { grid-template-columns: 130px minmax(0, 1fr); gap: 20px; } }

/* ---------------------------------------------------------------- charts */
.pc { display: grid; gap: 10px; margin: 0; min-width: 0; }
html:not(.pv-js) .pc, .pc.pc-yok { display: none; }
.pc-plot { position: relative; min-height: 120px; border: 1px solid var(--card-b); border-radius: 14px; background: rgba(5, 8, 14, .55); padding: 8px 0 2px; }
.pc-plot:focus-visible { outline: 2px solid var(--gold-b); outline-offset: 3px; }
.pc-svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.pc-svg text { font-family: var(--mono); }
.pc-ax { font-size: 11px; fill: var(--muted); }
.pc-pt { font-size: 11.5px; fill: var(--gold); letter-spacing: .04em; }
.pc-seg { font-size: 11px; fill: var(--text); opacity: .8; }
.pc-izgara { stroke: rgba(233, 212, 170, .09); stroke-width: 1; }
.pc-sifir, .pc-eksen { stroke: rgba(233, 212, 170, .38); stroke-width: 1; }
.pc-ayc { stroke: rgba(233, 212, 170, .3); }
.pc-ayrac { stroke: rgba(233, 212, 170, .35); stroke-dasharray: 3 4; }
.pc-kar { fill: var(--pf-kar); }
.pc-zarar { fill: var(--pf-zarar); }
.pc-bos { fill: none; stroke: var(--text); stroke-opacity: .7; stroke-width: 1.4; }
.pc-kolon { fill: rgba(233, 212, 170, .045); }
.pc-bosluk { fill: none; stroke: rgba(233, 212, 170, .4); stroke-dasharray: 2 3; }
.pc-cizgi { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.pc-cizgi-u { fill: none; stroke: var(--pf-uret); stroke-width: 2; stroke-dasharray: 7 5; stroke-linejoin: round; }
.pc-nokta { fill: #0b1220; stroke: var(--gold-b); stroke-width: 1.5; }
.pc-bant { fill: rgba(163, 157, 194, .09); }
.pc-karisik { stroke: var(--pf-uret); stroke-width: 1; stroke-dasharray: 1 3; }
.pc-elmas { fill: #0b1220; stroke: var(--gold-b); stroke-width: 1.5; }
.pc-kanca { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.pc-etk { font-size: 12px; letter-spacing: .04em; paint-order: stroke; stroke: #070a10; stroke-width: 4px; stroke-linejoin: round; }
.pc-etk-u, .pc-etk-k { fill: var(--pf-uret); }
.pc-etk-g { fill: var(--gold-b); }
.pc-imlec { stroke: rgba(243, 217, 164, .55); stroke-width: 1; }
@media (prefers-reduced-motion: no-preference) {
  .pc-ilk .pc-ciz { animation: pc-ciz 1.1s var(--ease) both; }
  @keyframes pc-ciz { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}
.pc-lej { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--dim); }
.pc-lej li { display: inline-flex; align-items: center; gap: 8px; }
.pc-sw { display: inline-block; flex: none; width: 18px; height: 10px; border-radius: 2px; }
.pc-sw-kum, .pc-sw-gercek { height: 0; border-top: 2.5px solid var(--gold); border-radius: 0; }
.pc-sw-kar { background: var(--pf-kar); width: 10px; }
.pc-sw-zarar { background: var(--pf-zarar); width: 10px; }
.pc-sw-bos { width: 10px; border: 1.4px solid var(--text); opacity: .75; }
.pc-sw-uretilmis { height: 0; border-top: 2.5px dashed var(--pf-uret); border-radius: 0; box-shadow: 0 -6px 0 2px rgba(163, 157, 194, .14); }
.pc-sw-karisik { width: 10px; height: 10px; border: 1.5px solid var(--gold-b); transform: rotate(45deg) scale(.8); border-radius: 0; }
.pc-tip {
  position: absolute; z-index: 5; pointer-events: none; min-width: 170px; max-width: 250px;
  display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px;
  background: rgba(5, 7, 11, .95); border: 1px solid rgba(214, 176, 106, .45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); font-size: 13px; line-height: 1.35;
}
.pc-tip b { font-family: var(--mono); font-weight: 400; color: var(--gold-b); font-size: 12.5px; letter-spacing: .04em; }
.pc-tip span { display: flex; justify-content: space-between; gap: 12px; }
.pc-tip i { font-style: normal; color: var(--muted); }
.pc-tip em { font-style: normal; font-family: var(--mono); color: var(--text); text-align: right; }
.pc-tip em.st-kar { color: var(--pf-kar-t); }
.pc-tip em.st-zarar { color: var(--pf-zarar-t); }
.pc-tip em.src-generated { color: var(--pf-uret); }
.pc-canli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------------------------------------------------------------- phones */
@media (max-width: 420px) {
  .tk-hb, .tk-izgara { gap: 3px; }
  .tk-c { padding: 5px 3px; min-height: 58px; border-radius: 8px; }
  .tk-c.tk-bekliyor { padding-left: 2px; padding-right: 1px; }
  .tk-ay-t { font-size: 16px; }
  .tk-oz dt { font-size: 11.5px; }
}
@media (max-width: 600px) {
  .pt { font-size: 13.5px; }
  .pt th, .pt td { padding: 8px 9px; }
}
