 
:root {
   
  --fkc-ema-fast: #4da3ff;               
  --fkc-ema-slow: #ff9f1a;               
  --fkc-draw: #ffffff;                   
  --fkc-rect: rgba(77, 163, 255, 0.16);  
  --fkc-rect-line: #4da3ff;
  --fkc-gp: rgba(255, 215, 0, 0.13);     
  --fkc-measure-up: #00e600;
  --fkc-measure-down: #ff3333;
  --fkc-label-bg: rgba(0, 0, 0, 0.72);   
  --fkc-vol-up: rgba(47, 181, 47, 0.85);   
  --fkc-vol-down: rgba(255, 51, 51, 0.6);
  --fkc-cross: rgba(200, 200, 200, 0.55);  
  --fkc-cross-label: #1f2e3b;            
}

 
.fkc.fkc-light {
  --chart-bg: #ffffff;
  --chart-fg: #131722;
  --chart-text: #434651;
  --chart-grid: #e6e9f0;
  --chart-bull: #007a33;
  --chart-bear: #c62828;
  --chart-line: #007a33;
  --chart-volume: #007a33;
  --chart-ask: #c62828;
  --chart-bid: #5d606b;
  --chart-entry: #1b66c7;
  --chart-sl: #c62828;
  --chart-tp: #1a7f37;
  --chart-fib: #8a6100;
  --chart-psar: #1f2430;
  --chart-vp: rgba(43, 108, 176, 0.42);
  --chart-poc: #b35300;
  --fkc-ema-fast: #1565c0;
  --fkc-ema-slow: #c25e00;
  --fkc-draw: #131722;
  --fkc-rect: rgba(21, 101, 192, 0.12);
  --fkc-rect-line: #1565c0;
  --fkc-gp: rgba(138, 97, 0, 0.12);
  --fkc-measure-up: #1a7f37;
  --fkc-measure-down: #c62828;
  --fkc-label-bg: rgba(255, 255, 255, 0.92);
  --fkc-vol-up: rgba(0, 122, 51, 0.75);
  --fkc-vol-down: rgba(198, 40, 40, 0.75);
  --fkc-cross: rgba(67, 70, 81, 0.75);
  --fkc-cross-label: #434651;
}
.fkc.fkc-light .fkc-body {
  --plan-entry: #1b66c7;
  --plan-stop: #c62828;
  --plan-tp: #1a7f37;
  --plan-trig: #7b3fd6;
  --plan-zone1: #8a6100;
  --plan-zone2: #0f7272;
  --up: #0050d8;
  --down: #c00000;
  --on-solid: #ffffff;
  --muted: #5a5a5a;
  color-scheme: light;
}
 
:root[data-fkc-bg="light"] .chart-win, :root[data-fkc-bg="light"] .lt-chart, :root[data-fkc-bg="light"] .tt-chart,
:root[data-fkc-bg="light"] .fkl-real { background: #ffffff; }
:root[data-fkc-bg="light"] .chart-wait, :root[data-fkc-bg="light"] .lt-wait,
:root[data-fkc-bg="light"] .tt-chart-empty { color: #434651; }

.fkc { display: flex; flex-direction: column; min-width: 0; max-width: 100%; background: var(--panel);
  border: 1px solid var(--ink); border-radius: var(--radius, 2px); color: var(--text); }
.fkc.fkc-fill { height: 100%; }
.fkc.fkc-bare { border: 0; border-radius: 0; }

 
.fkc-head { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 3px 8px; font-size: 12px;
  background: linear-gradient(var(--title-1), var(--title-2)); border-bottom: 1px solid var(--ink); }
.fkc-title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fkc-head .chip-hl, .fkc-head .chip-binance, .fkc-head .badge { flex: none; }
.fkc-status { margin-left: auto; flex: none; font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums;
  color: var(--muted); }
.fkc-status.ok { color: var(--up); }
.fkc-status.rest { color: var(--warn); }
.fkc-status.down { color: var(--down); }
.fkc-status.hist { color: var(--muted); }

 
.toolbar.fkc-toolbar { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; gap: 1px;
  -webkit-overflow-scrolling: touch; }
.fkc-toolbar button { flex: none; white-space: nowrap; }
.fkc-toolbar .fkc-sep { flex: none; width: 1px; align-self: stretch; margin: 2px 4px; background: var(--line-2); }
.fkc-toolbar .fkc-status { margin-left: auto; padding: 0 6px; }

 
.fkc-body { position: relative; flex: 1 1 auto; min-height: 120px; background: var(--chart-bg); overflow: hidden; }
 
.fkc-body table { background: transparent; }
.fkc-body td { border: 0; }
.fkc-chart { position: absolute; inset: 0; }
.fkc-body.fkc-drawing .fkc-chart { cursor: crosshair; }
.fkc-legend { position: absolute; left: 6px; top: 4px; right: 70px; z-index: 4; pointer-events: none;
  font: 11px/1.4 var(--mono); color: var(--chart-text); font-variant-numeric: tabular-nums; }
.fkc-legend > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fkc-legend b { color: var(--chart-fg); font-weight: 700; }
.fkc-legend .fkc-u { color: var(--chart-bull); }
.fkc-legend .fkc-d { color: var(--chart-bear); }
.fkc-legend .fkc-note { color: var(--chart-text); opacity: 0.85; }
.fkc-legend .fkc-status { margin-left: 0; }
.fkc-legend .fkc-status.ok { color: var(--chart-bull); }
.fkc-legend .fkc-status.rest { color: var(--chart-fib); }
.fkc-legend .fkc-status.down { color: var(--chart-bear); }
.fkc-msg { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 0 16px;
  pointer-events: none; color: var(--chart-text); font-size: 12px; text-align: center; }
.fkc-hint { position: absolute; left: 50%; bottom: 30px; z-index: 6; transform: translateX(-50%); max-width: calc(100% - 16px);
  padding: 2px 8px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--tooltip); color: var(--text); border: 1px solid var(--tooltip-line); pointer-events: none; }

 
.fkc-line .fkc-legend .fkc-key { display: inline-block; width: 8px; height: 8px; margin: 0 3px 0 0; vertical-align: 0; }
.fkc-line .fkc-legend span + span { margin-left: 10px; }

 
.fkc-attrib { margin: 4px 0 0; font-size: 11px; line-height: 1.4; color: var(--muted); }
.fkc-attrib a { color: inherit; text-decoration: underline; }
.site-footer .fkc-attrib { margin: 0; flex-basis: 100%; }

 
a#tv-attr-logo{--fill:#131722;--stroke:#fff;position:absolute;left:10px;bottom:10px;height:19px;width:35px;margin:0;padding:0;border:0;z-index:3;}
a#tv-attr-logo[data-dark]{--fill:#D1D4DC;--stroke:#131722;}

@media (max-width: 760px) {
  .fkc-head { padding: 3px 6px; gap: 4px; }
  .fkc-legend { right: 56px; font-size: 10.5px; }
  .fkc-toolbar button { padding: 4px 6px; min-width: 26px; }
}

 
 
.fkc { position: relative; }
.fkc-toolbar .fkc-mbtn { display: inline-flex; align-items: center; gap: 3px; }
.fkc-mcount { color: var(--muted); font-variant-numeric: tabular-nums; }
.fkc-caret { font-size: 9px; color: var(--muted); }
.fkc-caret[hidden] { display: none; }
.fkc-toolbar .fkc-mbtn[aria-expanded="true"] { background: var(--select-bg); border-color: var(--line-2); }
.fkc-toolbar .fkc-mbtn.is-armed { background: var(--accent-bg); border-color: var(--accent); font-weight: 700; }
.fkc-tf-sel { display: none; flex: none; padding: 2px 4px; font: 11px/1.2 var(--sans); color: var(--text);
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 2px; }
.fkc-menu { position: absolute; z-index: 8; top: 0; left: 4px; width: min(280px, calc(100% - 8px)); max-height: 320px;
  overflow-y: auto; padding: 3px 0; box-sizing: border-box; font-size: 12px; color: var(--text); background: var(--panel);
  border: 1px solid var(--ink); box-shadow: var(--shadow); }
.fkc-menu[hidden] { display: none; }
.fkc-mhead { padding: 4px 10px 2px; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.fkc-mgroup + .fkc-mgroup, .fkc-mi + .fkc-mgroup { margin-top: 2px; }
.fkc-mi { display: flex; align-items: flex-start; gap: 8px; padding: 5px 10px; line-height: 1.3; cursor: pointer; outline: 0; }
.fkc-mi:hover, .fkc-mi:focus { background: var(--select-bg); }
.fkc-mi:focus-visible { box-shadow: inset 0 0 0 1px var(--accent); }
.fkc-mi[aria-disabled="true"] { cursor: default; color: var(--muted); }
.fkc-mi[aria-disabled="true"]:hover { background: transparent; }
.fkc-mi[hidden] { display: none; }
.fkc-mi-box { position: relative; flex: none; width: 12px; height: 12px; margin-top: 1px; box-sizing: border-box;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 2px; }
.fkc-mi[role="menuitemradio"] .fkc-mi-box { border-radius: 50%; }
.fkc-mi[aria-checked="true"] .fkc-mi-box { background: var(--accent); border-color: var(--accent); }
.fkc-mi[role="menuitemcheckbox"][aria-checked="true"] .fkc-mi-box::after { content: "✓"; content: "✓" / "";
  position: absolute; inset: -2px 0 0; font-size: 10px; line-height: 12px; text-align: center; color: var(--on-accent); }
.fkc-mi-t { display: flex; flex-direction: column; min-width: 0; }
.fkc-mi-h { font-size: 10.5px; color: var(--muted); }
.fkc-msep { height: 1px; margin: 3px 0; background: var(--line-2); }
.fkc-mi-shot { display: none; }
 
.fkc-narrow .fkc-mi-shot { display: flex; }
.fkc-narrow.fkc-has-draw .fkc-toolbar [data-action="screenshot"], .fkc-narrow.fkc-has-draw .fkc-toolbar .fkc-sep-shot { display: none; }
.fkc-narrow.fkc-many-tf .fkc-toolbar .tf-btn { display: none; }
.fkc-narrow.fkc-many-tf .fkc-tf-sel { display: inline-block; }
.fkc-narrow .fkc-menu { width: calc(100% - 8px); }
 
.fkc-tight .fkc-bgbtn .fkc-bg-more { display: none; }
@media (pointer: coarse) {
  .fkc-toolbar button, .fkc-toolbar .fkc-tf-sel { min-height: 32px; }
  .fkc-menu .fkc-mi { min-height: 40px; align-items: center; }
}
@media (forced-colors: active) {
  .fkc-mi:focus { outline: 2px solid Highlight; }
  .fkc-mi[aria-checked="true"] .fkc-mi-box { background: Highlight; }
}
 

 
.fk-qt { display: inline-flex; align-items: stretch; flex: none; gap: 4px; }
.fk-qt-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; padding: 0 6px;
  font: 700 10.5px/18px var(--sans); letter-spacing: 0.02em; color: var(--on-solid); text-decoration: none;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer; white-space: nowrap; }
.fk-qt-btn.buy { background: var(--up); }
.fk-qt-btn.sell { background: var(--down); }
.fk-qt-btn:hover { filter: brightness(1.12); color: var(--on-solid); text-decoration: none; }
.fk-qt-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.fk-qt-btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
 
.fkc-head .fkc-qt { margin-left: 6px; }
.fkc-qt-px { display: inline-flex; align-items: center; justify-content: center; min-width: 9ch; padding: 0 4px;
  font: 700 11.5px/18px var(--mono); font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.fkc-narrow .fkc-qt-px { display: none; }               
.fkc-narrow .fkc-head .fkc-qt { margin-left: 2px; }
 
.fkc-narrow .fkc-head:has(.fkc-qt) .fkc-title { flex: none; max-width: 42%; }
.fkc-narrow .fkc-head .fkc-qt ~ .fkc-status { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
 
@media (pointer: coarse) {
  .fk-qt { gap: 8px; }
  .fk-qt-btn { min-height: 32px; min-width: 44px; padding: 0 8px; font-size: 11.5px; }
}
@media (forced-colors: active) {
  .fk-qt-btn { border-color: ButtonText; color: ButtonText; background: ButtonFace; forced-color-adjust: none; }
  .fk-qt-btn:focus-visible { outline-color: Highlight; }
}
 
