.kcpc-n16-layer {
  position: absolute;
  z-index: 4;
  display: block;
  overflow: visible;
  pointer-events: none;
}

.market-candle[data-kcpc-display="off"] .kcpc-n16-layer,
.market-candle[data-kcpc-display="off"] .kcpc-n23-structure-key,
.market-candle[data-kcpc-display="off"] .kcpc-n22-match-chip {
  display: none !important;
}

.kcpc-n25-display-toggle {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 2px 7px;
  border: 1px solid rgba(154, 210, 194, .35);
  border-radius: 999px;
  background: rgba(7, 17, 17, .72);
  color: rgb(165, 211, 198);
  font: 650 10.5px/1.25 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .015em;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  flex: 0 0 auto;
}

.kcpc-n25-display-toggle[aria-pressed="false"] {
  border-color: rgba(150, 160, 166, .28);
  color: rgb(135, 145, 150);
  background: rgba(7, 10, 11, .66);
}

.kcpc-n25-display-toggle:focus-visible {
  outline: 1px solid rgb(165, 211, 198);
  outline-offset: 2px;
}

.kcpc-n16-reference {
  color: rgb(169, 189, 205);
}

.kcpc-n16-reference :is(line, path) {
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.kcpc-n16-reference .kcpc-n16-construction {
  stroke-dasharray: 2 5;
  opacity: .64;
}

.kcpc-n16-reference .kcpc-n16-support { stroke: rgb(77, 226, 185); }
.kcpc-n16-reference .kcpc-n16-resistance { stroke: rgb(250, 165, 111); }

.kcpc-n16-reference path[data-regression-boundary],
.kcpc-n36-program-chain-target path[data-regression-boundary] {
  stroke: rgb(179, 165, 238);
  stroke-width: 1.2;
}

path[data-regression-boundary="lower"],
path[data-regression-boundary="upper"] {
  stroke-dasharray: 4 4;
  opacity: .74;
}

.kcpc-n16-anchor {
  fill: rgb(6, 15, 17);
  stroke: currentColor;
  vector-effect: non-scaling-stroke;
}

.kcpc-n16-layer[data-scale-band="macro"] .kcpc-n16-scale-macro :is(line, path),
.kcpc-n16-layer[data-scale-band="meso"] .kcpc-n16-scale-meso :is(line, path),
.kcpc-n16-layer[data-scale-band="local"] .kcpc-n16-scale-local :is(line, path) { stroke-width: 1.85; }

.kcpc-n16-layer[data-scale-band="macro"] .kcpc-n16-scale-meso,
.kcpc-n16-layer[data-scale-band="meso"] :is(.kcpc-n16-scale-macro, .kcpc-n16-scale-local),
.kcpc-n16-layer[data-scale-band="local"] :is(.kcpc-n16-scale-macro, .kcpc-n16-scale-meso) { opacity: .58; }

.kcpc-n16-event {
  fill: rgb(6, 15, 17);
  stroke: rgb(175, 191, 205);
  stroke-width: 1.45;
  vector-effect: non-scaling-stroke;
}

.kcpc-n16-event-contact { stroke: rgb(255, 218, 116); }
.kcpc-n16-event-break { stroke: rgb(255, 121, 116); }
.kcpc-n16-event-retract { opacity: .66; }

.kcpc-n22-historical-path {
  fill: none;
  stroke: rgb(190, 146, 255);
  stroke-width: 2.15;
  stroke-dasharray: 7 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .9;
  vector-effect: non-scaling-stroke;
}

.kcpc-n22-query-bracket {
  fill: none;
  stroke: rgb(190, 146, 255);
  stroke-width: 1.2;
  opacity: .72;
  vector-effect: non-scaling-stroke;
}

.kcpc-n22-historical-close {
  fill: rgb(7, 14, 17);
  stroke: rgb(218, 190, 255);
  stroke-width: 1.7;
  vector-effect: non-scaling-stroke;
}

.kcpc-n23-observed-continuation {
  fill: none;
  stroke: rgb(218, 190, 255);
  stroke-width: 2.25;
  stroke-dasharray: 2 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .96;
  vector-effect: non-scaling-stroke;
}

.kcpc-n23-observed-continuation-end {
  fill: rgb(218, 190, 255);
  stroke: rgb(7, 14, 17);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.kcpc-n23-structure-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  color: rgb(180, 197, 207);
  font: 650 10.5px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .015em;
  white-space: nowrap;
  pointer-events: none;
}

.kcpc-n24-key-owner { color: rgb(180, 197, 207); }
.kcpc-n23-key-item { display: inline-flex; align-items: center; gap: 4px; }
.kcpc-n23-key-swatch { width: 13px; height: 0; border-top: 2px solid currentColor; }
.kcpc-n23-key-support { color: rgb(77, 226, 185); }
.kcpc-n23-key-resistance { color: rgb(250, 165, 111); }
.kcpc-n23-key-resistance .kcpc-n23-key-swatch { border-top-style: dashed; }
.kcpc-n23-structure-key[hidden] { display: none !important; }

.kcpc-n22-match-chip {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  color: rgb(218, 190, 255);
  font: 650 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .015em;
  white-space: nowrap;
  pointer-events: none;
}

.kcpc-n22-match-chip[hidden] { display: none !important; }

/* KCPC chrome belongs to the native metadata row, never on top of the plot. */
.kcpc-n34-footer-group {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  margin-left: auto;
  overflow: hidden;
  pointer-events: auto;
}

.kcpc-n34-footer-group > :is(.kcpc-n25-display-toggle,
  .kcpc-n23-structure-key, .kcpc-n22-match-chip) {
  margin-left: 0 !important;
}

.kcpc-n34-created-meta {
  min-height: 20px;
  padding: 0 8px;
}

.kcpc-n34-footer-group .kcpc-n22-match-chip {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 760px) {
  .kcpc-n34-footer-group {
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
  }

  .kcpc-n34-footer-group .kcpc-n23-structure-key {
    display: none !important;
  }
}



/* kamui-n47-r5-csp-safe-manual-pine-presentation */
.kcpc-n16-layer[data-scale-band] .kcpc-n16-reference[data-regression-model="MANUAL_POWER_LAW_BAND"][data-source-kind="ETH_TRADINGVIEW_MANUAL_PRESET"][data-preset-id="USER_SUPPLIED_TRADINGVIEW_PINE_V5"][data-preset-version="kamui-kcpc-eth-tradingview-pine-v5-preset-2026.11.14-r1"] {
  opacity: 1;
}

.kcpc-n16-reference[data-regression-model="MANUAL_POWER_LAW_BAND"][data-source-kind="ETH_TRADINGVIEW_MANUAL_PRESET"][data-preset-id="USER_SUPPLIED_TRADINGVIEW_PINE_V5"][data-preset-version="kamui-kcpc-eth-tradingview-pine-v5-preset-2026.11.14-r1"] > path.kcpc-n47-tradingview-band-fill {
  fill: #4CAF50;
  fill-opacity: .1;
  stroke: none;
  stroke-width: 0;
  opacity: 1;
}

.kcpc-n16-reference[data-regression-model="MANUAL_POWER_LAW_BAND"][data-source-kind="ETH_TRADINGVIEW_MANUAL_PRESET"][data-preset-id="USER_SUPPLIED_TRADINGVIEW_PINE_V5"][data-preset-version="kamui-kcpc-eth-tradingview-pine-v5-preset-2026.11.14-r1"] > path[data-pine-plot-call="upper"] {
  stroke: #FF5252;
  stroke-width: 2px;
  stroke-dasharray: none;
  opacity: 1;
}

.kcpc-n16-reference[data-regression-model="MANUAL_POWER_LAW_BAND"][data-source-kind="ETH_TRADINGVIEW_MANUAL_PRESET"][data-preset-id="USER_SUPPLIED_TRADINGVIEW_PINE_V5"][data-preset-version="kamui-kcpc-eth-tradingview-pine-v5-preset-2026.11.14-r1"] > path[data-pine-plot-call="center"] {
  stroke: #2196F3;
  stroke-width: 2px;
  stroke-dasharray: none;
  opacity: 1;
}

.kcpc-n16-reference[data-regression-model="MANUAL_POWER_LAW_BAND"][data-source-kind="ETH_TRADINGVIEW_MANUAL_PRESET"][data-preset-id="USER_SUPPLIED_TRADINGVIEW_PINE_V5"][data-preset-version="kamui-kcpc-eth-tradingview-pine-v5-preset-2026.11.14-r1"] > path[data-pine-plot-call="lower"] {
  stroke: #4CAF50;
  stroke-width: 2px;
  stroke-dasharray: none;
  opacity: 1;
}

.kcpc-n16-reference[data-regression-model="MANUAL_POWER_LAW_BAND"][data-source-kind="ETH_TRADINGVIEW_MANUAL_PRESET"][data-preset-id="USER_SUPPLIED_TRADINGVIEW_PINE_V5"][data-preset-version="kamui-kcpc-eth-tradingview-pine-v5-preset-2026.11.14-r1"] > path.kcpc-n47-pine-default-plot {
  stroke: #2196F3;
  stroke-width: 1px;
  stroke-dasharray: none;
  opacity: 1;
}

/* Reserve the desktop header action width for the chart toolbar. The Google
 * session client remains the sole owner of the measured inset variable. */
@media (min-width: 1100px) {
  html[data-kamui-chart-layout] body .market-candle-toolbar {
    right: max(var(--kamui-header-actions-inset, 340px), 340px) !important;
  }
}


/* kamui-n47-r6-wait-for-native-eth-daily-history */
.market-candle[data-market="ETH"][data-interval="1d"]:not([data-older-history-status="exhausted"])
  .kcpc-n16-layer[data-scale-band] .kcpc-n16-reference[data-regression-model="MANUAL_POWER_LAW_BAND"][data-source-kind="ETH_TRADINGVIEW_MANUAL_PRESET"][data-preset-id="USER_SUPPLIED_TRADINGVIEW_PINE_V5"][data-preset-version="kamui-kcpc-eth-tradingview-pine-v5-preset-2026.11.14-r1"] {
  display: none;
}
