/* XAUSignal Pro — yeni tasarım sistemi: saf siyah · cam (glassmorphism) · tek vurgu: mor */
@font-face { font-family: InterVariable; src: url('../vendor/fonts/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #000; --fg: #f4f4f6; --mute: rgba(244,244,246,.55); --faint: rgba(244,244,246,.32);
  --glass: rgba(255,255,255,.035); --glass2: rgba(255,255,255,.06); --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --ac: #8b5cf6; --ac2: #a78bfa; --ac3: #c4b5fd; --acbg: rgba(139,92,246,.14); --acglow: rgba(139,92,246,.35);
  --up: #34d399; --down: #f87171; --warn: #fbbf24;
  --r: 22px; --r2: 14px; --r3: 10px; --blur: saturate(160%) blur(22px);
  --font: InterVariable, Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font: 14px/1.5 var(--font); font-feature-settings: 'cv11', 'ss01', 'tnum'; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; }
a { color: var(--ac3); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--mute); } .faint { color: var(--faint); } .mono { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum', 'zero'; }
.center { text-align: center; } .mt { margin-top: 14px; } .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .grow { flex: 1; } .right { margin-left: auto; }
.ico { flex: none; }
::selection { background: var(--acglow); }
*::-webkit-scrollbar { width: 8px; height: 8px; } *::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 8px; }
:focus-visible { outline: 2px solid var(--ac2); outline-offset: 2px; border-radius: 8px; }

/* ---------- Aurora arka plan ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora::before, .aurora::after { content: ''; position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; }
.aurora::before { width: 46vw; height: 46vw; left: -12vw; top: -18vw; background: radial-gradient(circle, rgba(124,58,237,.55), transparent 65%); animation: drift 26s ease-in-out infinite alternate; }
.aurora::after { width: 38vw; height: 38vw; right: -14vw; bottom: -16vw; background: radial-gradient(circle, rgba(139,92,246,.35), transparent 65%); animation: drift 32s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(6vw, 5vw) scale(1.12); } }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 0; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 3px 3px; mask-image: linear-gradient(#000, transparent 70%); }

/* ---------- Butonlar ---------- */
.btn { --b: var(--glass2); display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--b); cursor: pointer; font-weight: 550; letter-spacing: -.005em; transition: transform .15s var(--ease), background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; position: relative; }
.btn:hover { background: rgba(255,255,255,.1); border-color: var(--line2); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn--primary { background: linear-gradient(180deg, #9a6dff, #7c3aed); border-color: rgba(196,181,253,.35); box-shadow: 0 8px 28px -10px var(--acglow), inset 0 1px 0 rgba(255,255,255,.25); color: #fff; }
.btn--primary:hover { background: linear-gradient(180deg, #a77fff, #8b5cf6); box-shadow: 0 10px 34px -8px var(--acglow), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--ghost { background: transparent; }
.btn--danger { background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.35); color: #fecaca; }
.btn--danger:hover { background: rgba(248,113,113,.2); }
.btn--sm { height: 32px; padding: 0 12px; border-radius: 10px; font-size: 13px; }
.btn--lg { height: 48px; padding: 0 22px; border-radius: 14px; font-size: 15px; }
.btn--block { width: 100%; }
.btn.is-busy { color: transparent !important; } .btn.is-busy::after { content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.iconbtn { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); background: var(--glass); cursor: pointer; color: var(--mute); transition: .2s; }
.iconbtn:hover { color: var(--fg); background: var(--glass2); }

/* ---------- Form ---------- */
.form { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 16px; }
.form .full, .fsec { grid-column: 1 / -1; }
.fsec { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; } .fsec:first-child { border: 0; margin: 0; padding: 0; }
.fsec b { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ac3); }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld > span { font-size: 12.5px; color: var(--mute); font-weight: 500; }
.fld small { font-size: 11.5px; }
.inp { width: 100%; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
textarea.inp { height: auto; padding: 12px 14px; resize: vertical; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12.5px; }
select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
select.inp option { background: #0b0b0f; }
.inp:hover { border-color: var(--line2); }
.inp:focus { border-color: rgba(167,139,250,.7); box-shadow: 0 0 0 4px rgba(139,92,246,.16); background: rgba(139,92,246,.05); }
.inp::placeholder { color: var(--faint); }
.fld--sw { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); cursor: pointer; position: relative; }
.fld--sw > div { display: flex; flex-direction: column; } .fld--sw span { font-size: 13.5px; color: var(--fg); }
.sw { position: absolute; opacity: 0; pointer-events: none; }
.sw__ui { flex: none; width: 40px; height: 24px; border-radius: 20px; background: rgba(255,255,255,.12); position: relative; transition: .25s var(--ease); }
.sw__ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .25s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.sw:checked + .sw__ui { background: var(--ac); box-shadow: 0 0 16px var(--acglow); } .sw:checked + .sw__ui::after { transform: translateX(16px); }
.sw:focus-visible + .sw__ui { outline: 2px solid var(--ac2); outline-offset: 2px; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 13px; background: rgba(255,255,255,.04); border: 1px solid var(--line); flex-wrap: wrap; }
.seg button { border: 0; background: transparent; height: 32px; padding: 0 14px; border-radius: 9px; cursor: pointer; color: var(--mute); font-weight: 550; font-size: 13px; transition: .2s; }
.seg button[aria-checked="true"] { background: var(--acbg); color: #fff; box-shadow: inset 0 0 0 1px rgba(167,139,250,.45); }

/* ---------- Kabuk ---------- */
.shell { position: relative; z-index: 1; display: grid; grid-template-columns: 92px 1fr; min-height: 100vh; }
.rail { position: sticky; top: 0; height: 100vh; padding: 14px 0 14px 14px; display: flex; flex-direction: column; z-index: 20; }
.rail > * { position: relative; }
.rail::before { content: ''; position: absolute; inset: 14px 0 14px 14px; border-radius: 26px; background: rgba(255,255,255,.035); border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.rail__logo { margin: 14px auto 18px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #a78bfa, #6d28d9); color: #fff; font-weight: 800; letter-spacing: -.04em; box-shadow: 0 10px 30px -8px var(--acglow), inset 0 1px 0 rgba(255,255,255,.35); }
.rail__items { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; overflow-y: auto; overflow-x: visible; padding: 2px 0; scrollbar-width: none; }
.rail__item { position: relative; width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; color: var(--faint); transition: color .2s, background .2s; }
.rail__item:hover { color: var(--fg); background: rgba(255,255,255,.05); }
.rail__item.is-on { color: #fff; background: var(--acbg); box-shadow: inset 0 0 0 1px rgba(167,139,250,.35), 0 0 24px -6px var(--acglow); }
.rail__item.is-on::before { content: ''; position: absolute; left: -11px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--ac2); box-shadow: 0 0 10px var(--ac); }
.rail__tip { position: fixed; left: 96px; padding: 6px 10px; border-radius: 9px; background: rgba(20,18,28,.95); border: 1px solid var(--line2); font-size: 12.5px; color: var(--fg); white-space: nowrap; pointer-events: none; opacity: 0; transform: translateX(-4px); transition: .15s; z-index: 50; }
.rail__item:hover .rail__tip { opacity: 1; transform: none; }
.rail__foot { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0 14px; }
.stage { min-width: 0; padding: 14px 28px 40px 22px; }
.top { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 16px; padding: 14px 0 18px; margin-bottom: 4px; }
.top::before { content: ''; position: absolute; inset: -14px -28px 0 -22px; background: linear-gradient(#000 40%, rgba(0,0,0,0)); z-index: -1; }
.top__l { display: flex; flex-direction: column; min-width: 0; }
.top__crumb { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.top__title { font-size: 26px; font-weight: 650; letter-spacing: -.035em; }
.top__r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); font-size: 13px; color: var(--mute); white-space: nowrap; }
.chip b { color: var(--fg); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.dot--on { background: var(--up); box-shadow: 0 0 0 3px rgba(52,211,153,.15), 0 0 12px rgba(52,211,153,.6); animation: pulse 2.4s ease-in-out infinite; }
.dot--warn { background: var(--warn); } .dot--off { background: var(--down); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(52,211,153,0), 0 0 12px rgba(52,211,153,.4); } }
.estop { height: 40px; padding: 0 16px 0 12px; border-radius: 13px; border: 1px solid rgba(248,113,113,.4); background: linear-gradient(180deg, rgba(248,113,113,.18), rgba(248,113,113,.08)); color: #fecaca; font-weight: 650; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; letter-spacing: .01em; transition: .2s; }
.estop:hover { background: rgba(248,113,113,.26); box-shadow: 0 0 28px -6px rgba(248,113,113,.6); }
.estop.is-on { background: #dc2626; color: #fff; border-color: #fca5a5; animation: alarm 1.6s ease-in-out infinite; }
@keyframes alarm { 50% { box-shadow: 0 0 0 6px rgba(220,38,38,.25); } }
.view { display: flex; flex-direction: column; gap: 18px; }
.view.enter > * { animation: rise .5s var(--ease) both; }
.view.enter > *:nth-child(2) { animation-delay: .04s; } .view.enter > *:nth-child(3) { animation-delay: .08s; } .view.enter > *:nth-child(4) { animation-delay: .12s; } .view.enter > *:nth-child(n+5) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Paneller ---------- */
.panel { position: relative; border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 20px 50px -30px rgba(0,0,0,.9); min-width: 0; }
.panel__head { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px 0; }
.panel__head h2 { font-size: 15px; font-weight: 600; }
.panel__head p { font-size: 12.5px; margin-top: 2px; }
.panel__act { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.panel__body { padding: 16px 20px 20px; min-width: 0; }
.panel--accent { background: radial-gradient(120% 140% at 0% 0%, rgba(139,92,246,.22), rgba(139,92,246,.03) 50%, rgba(255,255,255,.02)); border-color: rgba(167,139,250,.25); }
.panel--flush .panel__body { padding: 8px 8px 10px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; } .c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c12 { grid-column: 1 / -1; }

/* ---------- KPI ---------- */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.kpi { position: relative; padding: 16px 18px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); overflow: hidden; transition: border-color .25s, transform .25s var(--ease); }
.kpi:hover { border-color: rgba(167,139,250,.3); transform: translateY(-2px); }
.kpi::after { content: ''; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.18), transparent 70%); }
.kpi__top { display: flex; align-items: center; gap: 8px; }
.kpi__ico { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--acbg); color: var(--ac3); }
.kpi__lbl { font-size: 12.5px; color: var(--mute); font-weight: 500; }
.kpi__val { margin-top: 12px; font-size: 25px; font-weight: 650; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi__sub { margin-top: 2px; font-size: 12px; color: var(--faint); }
.kpi--up .kpi__val { color: var(--up); } .kpi--down .kpi__val { color: var(--down); }

/* ---------- Pill / P&L ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 20px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; background: rgba(255,255,255,.07); color: var(--mute); border: 1px solid var(--line); white-space: nowrap; }
.pill--up { color: #a7f3d0; background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.28); }
.pill--down { color: #fecaca; background: rgba(248,113,113,.1); border-color: rgba(248,113,113,.28); }
.pill--ac { color: #ddd6fe; background: var(--acbg); border-color: rgba(167,139,250,.4); }
.pill--warn { color: #fde68a; background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.3); }
.pill--live { color: #fff; background: #dc2626; border-color: #f87171; }
.pnl { font-weight: 600; font-variant-numeric: tabular-nums; } .up { color: var(--up); } .down { color: var(--down); }

/* ---------- Tablo ---------- */
.tbl { overflow-x: auto; margin: 0 -6px; }
.tbl table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.tbl th { text-align: left; font-weight: 500; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid rgba(255,255,255,.045); white-space: nowrap; font-variant-numeric: tabular-nums; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .15s; } .tbl tbody tr:hover { background: rgba(255,255,255,.025); }
.tbl .r { text-align: right; } .tbl .wrap { white-space: normal; min-width: 220px; }

/* ---------- Boş / iskelet ---------- */
.empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 16px; text-align: center; }
.empty__ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--acbg); color: var(--ac3); margin-bottom: 6px; }
.empty span { font-size: 13px; max-width: 360px; }
.skel { display: flex; flex-direction: column; gap: 10px; } .skel i { height: 14px; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 200% 100%; animation: sh 1.4s infinite; }
.skel i:nth-child(2) { width: 80%; } .skel i:nth-child(3) { width: 60%; }
@keyframes sh { to { background-position: -200% 0; } }

/* ---------- Toast ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: 15px; background: rgba(18,16,26,.88); border: 1px solid var(--line2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 20px 40px -12px rgba(0,0,0,.8); font-size: 13.5px; opacity: 0; transform: translateY(10px) scale(.98); transition: .3s var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast__dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--ac2); flex: none; box-shadow: 0 0 10px var(--ac); }
.toast--ok .toast__dot { background: var(--up); box-shadow: 0 0 10px var(--up); } .toast--err .toast__dot { background: var(--down); box-shadow: 0 0 10px var(--down); }

/* ---------- Katman ---------- */
.layer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.layer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: .22s; }
.layer__panel { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; border-radius: 24px; background: rgba(14,12,20,.92); border: 1px solid var(--line2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 40px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(139,92,246,.06), inset 0 1px 0 rgba(255,255,255,.06); opacity: 0; transform: translateY(14px) scale(.98); transition: .25s var(--ease); }
.layer__panel.is-wide { width: min(860px, 100%); }
.layer.in .layer__scrim { opacity: 1; } .layer.in .layer__panel { opacity: 1; transform: none; }
.layer__head { display: flex; align-items: flex-start; gap: 12px; padding: 20px 22px 0; } .layer__head > div { flex: 1; } .layer__head h3 { font-size: 18px; }
.layer__body { padding: 16px 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.layer__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px 20px; border-top: 1px solid var(--line); }
.layer--drawer { place-items: stretch end; padding: 12px; }
.layer--drawer .layer__panel { width: min(560px, 100%); max-height: none; height: 100%; transform: translateX(30px); }
.layer--drawer.in .layer__panel { transform: none; }

/* ---------- Mobil sekme çubuğu ---------- */
.tabbar, .sheet { display: none; }

/* ---------- Sinyal kartları ---------- */
.feed { display: flex; flex-direction: column; gap: 10px; }
.sig { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: border-color .2s, background .2s; }
.sig:hover { border-color: var(--line2); background: rgba(255,255,255,.04); }
.sig.is-new { animation: flash 1.8s var(--ease); }
@keyframes flash { 0% { border-color: var(--ac2); box-shadow: 0 0 0 4px rgba(139,92,246,.2); } }
.sig__dir { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; grid-row: span 2; }
.sig__dir.buy { background: rgba(52,211,153,.12); color: var(--up); } .sig__dir.sell { background: rgba(248,113,113,.12); color: var(--down); }
.sig__t { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; flex-wrap: wrap; } .sig__t small { font-weight: 450; color: var(--faint); }
.sig__lv { display: flex; gap: 6px; flex-wrap: wrap; grid-column: 2 / -1; }
.lv { display: inline-flex; gap: 6px; align-items: baseline; padding: 4px 9px; border-radius: 9px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 12px; font-variant-numeric: tabular-nums; }
.lv i { font-style: normal; font-size: 10.5px; font-weight: 650; letter-spacing: .06em; color: var(--faint); }
.lv--sl { border-color: rgba(248,113,113,.25); } .lv--sl i { color: var(--down); }
.lv--tp { border-color: rgba(52,211,153,.22); } .lv--tp i { color: var(--up); }
.lv--en { border-color: rgba(167,139,250,.3); } .lv--en i { color: var(--ac3); }
.sig__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; color: var(--faint); }
.conf { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--mute); }
.conf i { width: 44px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; } .conf i b { position: absolute; inset: 0 auto 0 0; background: var(--ac2); border-radius: 4px; }

/* ---------- MT5 kartı ---------- */
.acct { display: flex; flex-direction: column; gap: 14px; }
.acct__id { display: flex; align-items: center; gap: 12px; }
.acct__logo { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(167,139,250,.3), rgba(109,40,217,.2)); border: 1px solid rgba(167,139,250,.35); color: #fff; font-weight: 700; font-size: 13px; }
.acct__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.acct__nums div { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); } .acct__nums span { display: block; font-size: 11.5px; color: var(--faint); } .acct__nums b { font-size: 15px; font-variant-numeric: tabular-nums; }
.badge-env { font-size: 11px; letter-spacing: .1em; font-weight: 750; padding: 3px 9px; border-radius: 7px; }
.badge-env.demo { background: var(--acbg); color: var(--ac3); border: 1px solid rgba(167,139,250,.45); }
.badge-env.live { background: #dc2626; color: #fff; box-shadow: 0 0 18px rgba(220,38,38,.5); }

/* ---------- Liste satırları ---------- */
.list { display: flex; flex-direction: column; }
.li { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid rgba(255,255,255,.05); min-width: 0; }
.li:last-child { border-bottom: 0; }
.li__ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.05); color: var(--mute); flex: none; }
.li__main { flex: 1; min-width: 0; } .li__main b { display: block; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .li__main span { font-size: 12px; color: var(--faint); }
.li__end { text-align: right; font-size: 12.5px; flex: none; }

/* ---------- Diğer ---------- */
.bars { display: flex; flex-direction: column; gap: 10px; } .bars__row { display: grid; grid-template-columns: 120px 1fr 64px; gap: 12px; align-items: center; font-size: 12.5px; }
.bars__row span { color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bars__row b { text-align: right; font-variant-numeric: tabular-nums; }
.bars__track { height: 8px; border-radius: 8px; background: rgba(255,255,255,.05); overflow: hidden; } .bars__track i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #6d28d9, #a78bfa); } .bars__track i.neg { background: linear-gradient(90deg, #7f1d1d, #f87171); }
.ringw { position: relative; width: 92px; height: 92px; flex: none; } .ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__bg { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 7; } .ring__fg { fill: none; stroke: var(--ac2); stroke-width: 7; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--acglow)); transition: stroke-dasharray .8s var(--ease); }
.ringw__v { position: absolute; inset: 0; display: grid; place-items: center; } .ringw__v b { font-size: 18px; letter-spacing: -.03em; }
.chart { height: 280px; position: relative; } .chart--sm { height: 180px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.stat { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); } .stat span { display: block; font-size: 11.5px; color: var(--faint); } .stat b { font-size: 17px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; background: none; padding: 10px 14px; color: var(--mute); cursor: pointer; font-weight: 550; position: relative; white-space: nowrap; }
.tabs button.is-on { color: #fff; } .tabs button.is-on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ac2); box-shadow: 0 0 10px var(--ac); }
.callout { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(167,139,250,.25); background: rgba(139,92,246,.07); font-size: 13px; }
.callout .ico { color: var(--ac3); margin-top: 1px; } .callout--warn { border-color: rgba(251,191,36,.3); background: rgba(251,191,36,.06); } .callout--warn .ico { color: var(--warn); }
.callout--danger { border-color: rgba(248,113,113,.35); background: rgba(248,113,113,.07); } .callout--danger .ico { color: var(--down); }
.code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12.5px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); white-space: pre-wrap; word-break: break-word; max-height: 340px; overflow: auto; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: 13px; } .kv dt { color: var(--faint); } .kv dd { margin: 0; font-variant-numeric: tabular-nums; word-break: break-word; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.step { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 13px; }
.step i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); font-style: normal; font-size: 12px; font-weight: 650; flex: none; }
.step.ok i { background: rgba(52,211,153,.18); color: var(--up); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .toolbar .inp { width: auto; min-width: 160px; height: 38px; }
.ac-list { position: absolute; left: 0; right: 0; top: 100%; margin-top: 6px; z-index: 30; border-radius: 14px; background: rgba(16,14,22,.97); border: 1px solid var(--line2); max-height: 240px; overflow-y: auto; box-shadow: 0 20px 40px -10px #000; }
.ac-list button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 14px; cursor: pointer; font-size: 13px; } .ac-list button:hover, .ac-list button.is-on { background: var(--acbg); }
.rel { position: relative; }
.big-num { font-size: 40px; font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.qr { width: 180px; height: 180px; border-radius: 16px; background: #fff; padding: 10px; }

/* ---------- Kimlik (giriş) sayfası ---------- */
.auth { position: relative; z-index: 1; min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth__hero { position: relative; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.03em; font-size: 17px; }
.brand .rail__logo { margin: 0; width: 40px; height: 40px; font-size: 14px; }
.hero__h { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -.05em; font-weight: 700; max-width: 640px; }
.hero__h em { font-style: normal; background: linear-gradient(90deg, #c4b5fd, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__p { margin-top: 18px; font-size: 16px; color: var(--mute); max-width: 520px; line-height: 1.6; }
.hero__feat { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero__card { position: relative; margin-top: 40px; width: min(460px, 100%); padding: 18px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); transform: perspective(900px) rotateY(-8deg) rotateX(4deg); box-shadow: 0 40px 80px -30px rgba(109,40,217,.5); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: perspective(900px) rotateY(-6deg) rotateX(3deg) translateY(-8px); } }
.auth__side { display: grid; place-items: center; padding: 32px; }
.auth__card { width: min(440px, 100%); padding: 30px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); border: 1px solid var(--line2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08); }
.auth__card h2 { font-size: 24px; letter-spacing: -.035em; } .auth__card > p { margin-top: 4px; }
.auth__card .form { grid-template-columns: 1fr; }
.auth__foot { margin-top: 18px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--faint); }
.auth__foot a, .linkbtn { color: var(--ac3); cursor: pointer; background: none; border: 0; padding: 0; font-weight: 500; }
.otp { display: flex; gap: 8px; justify-content: space-between; } .otp input { width: 100%; height: 54px; text-align: center; font-size: 22px; font-weight: 650; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); outline: none; } .otp input:focus { border-color: var(--ac2); box-shadow: 0 0 0 4px rgba(139,92,246,.16); }
.plans { display: grid; gap: 10px; }
.plan { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.025); cursor: pointer; transition: .2s; text-align: left; width: 100%; }
.plan:hover { border-color: var(--line2); } .plan.is-on { border-color: rgba(167,139,250,.6); background: var(--acbg); box-shadow: 0 0 0 4px rgba(139,92,246,.1); }
.plan b { font-size: 15px; } .plan span { font-size: 12px; color: var(--faint); } .plan strong { font-size: 18px; letter-spacing: -.03em; }
.checks { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--mute); } .checks label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; } .checks input { accent-color: var(--ac); margin-top: 3px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1280px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .c3 { grid-column: span 6; } .c4, .c5 { grid-column: span 6; } .c7, .c8 { grid-column: span 12; } .c6 { grid-column: span 12; } }
@media (max-width: 980px) { .auth { grid-template-columns: 1fr; } .auth__hero { padding: 28px 24px 0; } .hero__card, .hero__feat { display: none; } .hero__h { font-size: 34px; } .auth__side { padding: 20px 16px 40px; align-items: start; } }
@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; } .rail { display: none; }
  .stage { padding: 0 14px 104px; }
  .top { padding: 14px 0 12px; } .top::before { inset: 0 -14px 0 -14px; background: rgba(0,0,0,.72); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-bottom: 1px solid var(--line); }
  .top__title { font-size: 21px; } .top__r .chip.hide-m { display: none; } .estop span { display: none; } .estop { padding: 0 11px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .kpis .kpi:first-child { grid-column: 1 / -1; }
  .kpi { padding: 14px; } .kpi__val { font-size: 21px; }
  .bento { gap: 14px; } .bento > * { grid-column: 1 / -1 !important; }
  .panel__head { padding: 16px 16px 0; } .panel__body { padding: 14px 16px 16px; }
  .tabbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; height: 66px; padding: 6px; border-radius: 22px; background: rgba(14,12,20,.78); border: 1px solid var(--line2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 20px 40px -10px #000; }
  .tabbar__item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; color: var(--faint); border-radius: 16px; border: 0; background: none; cursor: pointer; font-weight: 550; }
  .tabbar__item.is-on { color: #fff; background: var(--acbg); }
  .sheet { display: block; position: fixed; inset: 0; z-index: 60; pointer-events: none; }
  .sheet__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: .25s; }
  .sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px 28px; border-radius: 26px 26px 0 0; background: rgba(14,12,20,.96); border-top: 1px solid var(--line2); transform: translateY(100%); transition: .3s var(--ease); }
  .sheet.in { pointer-events: auto; } .sheet.in .sheet__scrim { opacity: 1; } .sheet.in .sheet__panel { transform: none; }
  .sheet__grab { width: 40px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.2); margin: 0 auto 14px; }
  .sheet__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .sheet__item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 14px; color: var(--mute); font-size: 11px; text-align: center; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
  .sig { grid-template-columns: auto 1fr; } .sig__lv { grid-column: 1 / -1; margin-top: 4px; } .sig__meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .acct__nums { grid-template-columns: 1fr 1fr 1fr; } .acct__nums b { font-size: 13px; }
  .tbl--cards table, .tbl--cards tbody, .tbl--cards tr, .tbl--cards td { display: block; } .tbl--cards thead { display: none; }
  .tbl--cards tr { padding: 10px 6px; border-bottom: 1px solid var(--line); } .tbl--cards td { display: flex; justify-content: space-between; gap: 10px; padding: 4px 6px; border: 0; white-space: normal; text-align: right; }
  .tbl--cards td::before { content: attr(data-l); color: var(--faint); font-size: 12px; text-align: left; }
  .layer { padding: 0; place-items: end stretch; } .layer__panel, .layer--drawer .layer__panel { width: 100%; max-height: 92vh; height: auto; border-radius: 24px 24px 0 0; transform: translateY(30px); }
  .toasts { left: 12px; right: 12px; bottom: 90px; max-width: none; }
  .bars__row { grid-template-columns: 90px 1fr 54px; }
  .form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
button.rail__item { border: 0; background: none; cursor: pointer; padding: 0; }
.li__end .dot { width: 9px; height: 9px; display: inline-block; }
@media (max-width: 820px) { .panel__head { flex-wrap: wrap; } .panel__act { margin-left: 0; width: 100%; } .panel__head > div:first-child { flex: 1; min-width: 60%; } .kpi__sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
@media (max-width: 980px) { .auth__hero { gap: 14px; justify-content: flex-start; } .hero__p { font-size: 14px; margin-top: 10px; } .auth__hero > .row { margin-top: 4px; } }
[hidden] { display: none !important; }
.layer--drawer .layer__body { flex: 1; }
