/* Alpha scanner styles are scoped to keep the existing research panels intact. */
#section-hot-coins { --hc-green:#4cd3a0; --hc-red:#ed7588; --hc-gold:#e6b958; --hc-muted:#8fa3ba; color:#dce6f2; background:#0b1320; }
#section-hot-coins [hidden] { display:none !important; }
#section-hot-coins .hc-status { display:flex; flex-wrap:wrap; gap:8px 24px; font-size:12px; color:var(--hc-muted); margin:12px 0 20px; }
#section-hot-coins #hc-message { color:var(--hc-gold); }
#section-hot-coins .hc-tabs { display:flex; gap:4px; overflow-x:auto; border-bottom:1px solid #2a394d; margin-bottom:20px; }
#section-hot-coins .hc-tabs button { background:transparent; color:var(--hc-muted); border:0; border-bottom:2px solid transparent; padding:12px 18px; white-space:nowrap; font:inherit; cursor:pointer; }
#section-hot-coins .hc-tabs button:hover { color:#eaf0f8; }
#section-hot-coins .hc-tabs button[aria-selected="true"] { color:var(--hc-gold); border-bottom-color:var(--hc-gold); }
#section-hot-coins .hc-search { display:flex; gap:8px; margin-bottom:14px; }
#section-hot-coins .hc-search input { flex:1; min-width:100px; }
#section-hot-coins input:not([type="checkbox"]), #section-hot-coins select { background:#111c2c; color:#dce6f2; border:1px solid #334258; border-radius:6px; padding:8px 10px; font:inherit; font-size:12px; min-height:34px; }
#section-hot-coins input[type="checkbox"] { accent-color:var(--hc-gold); width:14px; height:14px; margin:0 4px 0 0; }
#section-hot-coins .hc-controls { display:flex; align-items:center; flex-wrap:wrap; gap:10px 14px; margin:14px 0; }
#section-hot-coins .hc-controls > label { display:flex; align-items:center; gap:6px; color:#b7c6d8; font-size:12px; }
#section-hot-coins .hc-controls fieldset { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:6px 10px 8px; border:1px solid #2a394d; border-radius:6px; margin:0; }
#section-hot-coins .hc-controls legend { color:var(--hc-muted); font-size:11px; padding:0 4px; }
#section-hot-coins .hc-controls fieldset label { display:flex; align-items:center; font-size:12px; color:#b7c6d8; }
#section-hot-coins :is(button,input,select,a):focus-visible { outline:2px solid var(--hc-gold); outline-offset:3px; }
#section-hot-coins :is(.hc-card,.hc-chart,.hc-depth-chart) :is(button,input,select,a):focus-visible { outline-color:var(--hc-gold); }
#section-hot-coins .hc-note { font-size:11px; line-height:1.5; color:var(--hc-muted); }
#section-hot-coins .hc-card .hc-note { color:var(--hc-muted); }
#section-hot-coins #hc-empty { color:var(--hc-muted); }
#section-hot-coins .hc-grid { display:grid; grid-template-columns:repeat(var(--hc-columns,4),minmax(0,1fr)); gap:12px; }
#section-hot-coins .hc-card { min-width:0; padding:10px 11px; background:#0e1725; border:1px solid #2b3b50; border-radius:10px; overflow:hidden; }
#section-hot-coins .hc-card.hc-gold { border-color:#ad8843; box-shadow:inset 0 0 0 1px #6f57282a; }
#section-hot-coins .hc-card.hc-gold.hc-gold-active {
  border-color: #e8c547;
  border-top: 3px solid #e8c547;
  border-left: 4px solid #e8c547;
  background: linear-gradient(180deg, rgba(232, 197, 71, 0.38) 0%, #1c1608 48%, #0e1725 100%);
  box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.5), 0 12px 36px rgba(232, 197, 71, 0.28);
}
#section-hot-coins .hc-card.hc-gold.hc-gold-live {
  border-color: rgba(232, 197, 71, 0.6);
  border-top: 3px solid rgba(232, 197, 71, 0.9);
  border-left: 2px solid #e8c547;
  background: linear-gradient(180deg, rgba(232, 197, 71, 0.18) 0%, #0e1725 46%);
  box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.22);
}
#section-hot-coins .hc-gold-active .hc-gold-label { color:#171306; background:#e8c547; border-color:#e8c547; font-weight:700; }
#section-hot-coins .hc-card-header { display:flex; align-items:center; gap:7px; flex-wrap:wrap; min-height:24px; }
#section-hot-coins .hc-card-header .hc-link { color:#eaf0f8; font-size:17px; font-weight:700; text-decoration:none; }
#section-hot-coins .hc-link:hover { text-decoration:underline; }
#section-hot-coins .hc-price { font-size:25px; font-weight:600; color:#eaf0f8; font-variant-numeric:tabular-nums; margin:6px 0; }
#section-hot-coins .hc-exchanges { display:flex; gap:4px; flex-wrap:wrap; margin:8px 0 12px; }
#section-hot-coins .hc-venue,#section-hot-coins .hc-badge { font-size:9px; line-height:1.5; border:1px solid #34465b; padding:1px 5px; border-radius:4px; color:#a5b7cd; }
#section-hot-coins .hc-gold-label { color:var(--hc-gold); border-color:#927641; }
#section-hot-coins .hc-favorite { border:0; background:transparent; padding:0; color:var(--hc-gold); cursor:pointer; font-size:20px; }
#section-hot-coins .hc-changes,#section-hot-coins .hc-volumes { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; margin:4px 0; }
#section-hot-coins .hc-changes .hc-metric,
#section-hot-coins .hc-volumes .hc-metric,
#section-hot-coins .hc-small-metrics .hc-metric {
  padding: 3px 4px;
  border-radius: 4px;
  border: 1px solid transparent;
  box-sizing: border-box;
}
#section-hot-coins .hc-small-metrics { display:flex; gap:5px; margin:4px 0; }
#section-hot-coins .hc-small-metrics .hc-metric { flex:1; }
#section-hot-coins .hc-changes .hc-metric { padding:2px 1px; }
#section-hot-coins .hc-volumes .hc-metric { padding:4px 1px; }
#section-hot-coins .hc-metric { min-width:0; display:flex; flex-direction:column; gap:2px; padding:3px 0; }
#section-hot-coins .hc-metric strong { font-size:12px; font-weight:600; color:#dce6f2; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
#section-hot-coins .hc-label { color:#8fa3ba; font-size:9px; letter-spacing:.03em; }
#section-hot-coins .hc-metric small { font-size:9px; line-height:1.15; }
#section-hot-coins .hc-up,#section-hot-coins strong.hc-up { color:var(--hc-green); }
#section-hot-coins .hc-down,#section-hot-coins strong.hc-down { color:var(--hc-red); }
#section-hot-coins .hc-neutral { color:#a9b9cb; }
#section-hot-coins .hc-amber,#section-hot-coins strong.hc-amber { color:#f59e0b; }
#section-hot-coins .hc-spike { color:var(--hc-gold); font-weight:600; }
#section-hot-coins .hc-vol-spike { color:#5ec88b; font-weight:600; }
#section-hot-coins .hc-volumes .hc-volume-spike {
  background: rgba(94, 200, 139, 0.18);
  border-color: rgba(94, 200, 139, 0.4);
}
#section-hot-coins .hc-volume-spike strong {
  color: #5ec88b;
}
#section-hot-coins .hc-volume-spike.hc-volume-spike-strong {
  background: rgba(94, 200, 139, 0.34);
  border-color: rgba(94, 200, 139, 0.85);
  box-shadow: 0 0 10px rgba(94, 200, 139, 0.4);
}
#section-hot-coins .hc-volume-spike.hc-volume-spike-strong strong {
  color: #7ce8b2;
}
#section-hot-coins .hc-atr-highlight {
  background: rgba(94, 200, 139, 0.18) !important;
  border-color: rgba(94, 200, 139, 0.4) !important;
}
#section-hot-coins .hc-atr-bold,
#section-hot-coins .hc-atr-highlight small {
  font-weight: 700;
  color: #eaf0f8 !important;
}
#section-hot-coins .hc-tile-up {
  background: rgba(94, 200, 139, 0.18) !important;
  border-color: rgba(94, 200, 139, 0.4) !important;
}
#section-hot-coins .hc-tile-up strong {
  color: #5ec88b !important;
}
#section-hot-coins .hc-tile-down {
  background: rgba(237, 117, 136, 0.18) !important;
  border-color: rgba(237, 117, 136, 0.4) !important;
}
#section-hot-coins .hc-tile-down strong {
  color: #ed7588 !important;
}
#section-hot-coins .hc-flow-strip {
  width: 100%;
  box-sizing: border-box;
  margin: 4px 0;
  border-radius: 4px;
  padding: 3px 5px;
  border: 1px solid var(--flow-border, #334258);
  background: var(--flow-bg, rgba(21, 33, 53, 0.4));
}
#section-hot-coins .hc-flow-hint {
  font-size: 9px;
  opacity: 0.85;
}
#section-hot-coins .hc-flow-long-build {
  --flow-bg: rgba(61, 220, 151, 0.18);
  --flow-border: rgba(61, 220, 151, 0.45);
}
#section-hot-coins .hc-flow-long-build strong,
#section-hot-coins .hc-flow-long-build .hc-flow-hint {
  color: #3ddc97 !important;
}
#section-hot-coins .hc-flow-short-cover {
  --flow-bg: rgba(124, 232, 178, 0.15);
  --flow-border: rgba(124, 232, 178, 0.4);
}
#section-hot-coins .hc-flow-short-cover strong,
#section-hot-coins .hc-flow-short-cover .hc-flow-hint {
  color: #7ce8b2 !important;
}
#section-hot-coins .hc-flow-short-build {
  --flow-bg: rgba(255, 92, 92, 0.18);
  --flow-border: rgba(255, 92, 92, 0.45);
}
#section-hot-coins .hc-flow-short-build strong,
#section-hot-coins .hc-flow-short-build .hc-flow-hint {
  color: #ff5c5c !important;
}
#section-hot-coins .hc-flow-long-unwind {
  --flow-bg: rgba(224, 122, 122, 0.15);
  --flow-border: rgba(224, 122, 122, 0.4);
}
#section-hot-coins .hc-flow-long-unwind strong,
#section-hot-coins .hc-flow-long-unwind .hc-flow-hint {
  color: #e07a7a !important;
}
#section-hot-coins .hc-flow-neutral {
  --flow-bg: rgba(143, 163, 186, 0.12);
  --flow-border: rgba(143, 163, 186, 0.3);
}
#section-hot-coins .hc-flow-neutral strong,
#section-hot-coins .hc-flow-neutral .hc-flow-hint {
  color: #8fa3ba !important;
}
#section-hot-coins .hc-fund-extreme,
#section-hot-coins .hc-fund-jump {
  color: #ed7588;
  font-weight: 700;
  letter-spacing: 0.03em;
}
#section-hot-coins .hc-direction-banner {
  border-radius: 4px;
  padding: 3px 4px;
  border: 1px solid transparent;
}
#section-hot-coins .hc-direction-banner.hc-hunt-down {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.4);
}
#section-hot-coins .hc-direction-banner.hc-hunt-up {
  background: rgba(76, 211, 160, 0.14);
  border-color: rgba(76, 211, 160, 0.4);
}
#section-hot-coins .hc-direction-banner.hc-hunt-both {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.4);
}
#section-hot-coins .hc-direction-banner.hc-hunt-range {
  background: rgba(143, 163, 186, 0.08);
  border-color: rgba(143, 163, 186, 0.25);
}
#section-hot-coins .hc-hunt-sub {
  font-size: 9px;
  font-weight: 500;
  line-height: 1.15;
}
#section-hot-coins .hc-small-metrics .hc-hunt-elevated {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 4px;
  padding: 3px 4px;
}
#section-hot-coins .hc-risk-metrics .hc-metric {
  padding: 3px 4px;
  gap: 1.5px;
}
#section-hot-coins .hc-risk-metrics .hc-metric small {
  font-size: 9px;
  line-height: 1.15;
}
#section-hot-coins .hc-liq-zones {
  margin: 3px 0;
  gap: 5px;
}
#section-hot-coins .hc-liq-zones .hc-metric {
  padding: 3px 4px;
  gap: 1.5px;
}
#section-hot-coins .hc-liq-metric {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1px 6px;
  padding: 2px 0;
  margin: 3px 0;
}
#section-hot-coins .hc-liq-metric .hc-label {
  flex-basis: 100%;
}
#section-hot-coins .hc-liq-metric strong {
  font-size: 12px;
  line-height: 1.2;
}
#section-hot-coins .hc-liq-metric small {
  font-size: 9px;
  line-height: 1.2;
}
#section-hot-coins .hc-impulse-num,
#section-hot-coins strong.hc-impulse-num {
  color: #2dd4bf !important;
}
#section-hot-coins .hc-progress-track {
  height: 4px;
  background: #19273c;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}
#section-hot-coins .hc-progress-bar {
  height: 100%;
  border-radius: 2px;
}
#section-hot-coins .hc-impulse-bar {
  background: #2dd4bf;
}
#section-hot-coins .hc-summary-bar-buy {
  background: var(--hc-green);
}
#section-hot-coins .hc-summary-bar-sell {
  background: var(--hc-red);
}
#section-hot-coins .hc-summary-bar-wait {
  background: #8fa3ba;
}
#section-hot-coins .hc-small-metrics .hc-summary-panel {
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 4px 6px;
}
#section-hot-coins .hc-small-metrics .hc-summary-buy {
  background: rgba(76, 211, 160, 0.12);
  border-color: rgba(76, 211, 160, 0.35);
}
#section-hot-coins .hc-small-metrics .hc-summary-sell {
  background: rgba(237, 117, 136, 0.12);
  border-color: rgba(237, 117, 136, 0.35);
}
#section-hot-coins .hc-small-metrics .hc-summary-wait {
  background: rgba(143, 163, 186, 0.08);
  border-color: rgba(143, 163, 186, 0.25);
}
#section-hot-coins .hc-summary-panel.hc-summary-sorted {
  border-width: 1.5px;
}
#section-hot-coins .hc-summary-buy.hc-summary-sorted {
  border-color: var(--hc-green);
  box-shadow: 0 0 10px rgba(76, 211, 160, 0.25);
}
#section-hot-coins .hc-summary-sell.hc-summary-sorted {
  border-color: var(--hc-red);
  box-shadow: 0 0 10px rgba(237, 117, 136, 0.25);
}
#section-hot-coins .hc-summary-wait.hc-summary-sorted {
  border-color: #8fa3ba;
  box-shadow: 0 0 8px rgba(143, 163, 186, 0.25);
}
#section-hot-coins .hc-indicators-title {
  font-size: 10px;
  line-height: 1.2;
  margin: 3px 0 2px;
}
#section-hot-coins .hc-indicators {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 2px 0;
  border-top: 1px solid #26354a;
  border-bottom: 1px solid #26354a;
}
#section-hot-coins .hc-indicators > .hc-metric,
#section-hot-coins .hc-indicators .hc-indicator {
  margin-bottom: 0;
  padding: 3px 4px;
  border-radius: 4px;
  border: 1px solid #26354a;
  background: rgba(17, 28, 44, 0.35);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
#section-hot-coins .hc-indicators > .hc-metric {
  justify-content: flex-start;
  gap: 2px;
}
#section-hot-coins .hc-indicators .hc-indicator .hc-metric {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
}
#section-hot-coins .hc-indicator-buy,
#section-hot-coins .hc-indicators .hc-indicator.hc-indicator-buy {
  background: rgba(94, 200, 139, 0.18);
  border: 1px solid rgba(94, 200, 139, 0.4);
}
#section-hot-coins .hc-indicator-sell,
#section-hot-coins .hc-indicators .hc-indicator.hc-indicator-sell {
  background: rgba(237, 117, 136, 0.18);
  border: 1px solid rgba(237, 117, 136, 0.4);
}
#section-hot-coins .hc-indicators .hc-label {
  font-size: 9px;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}
#section-hot-coins .hc-indicators strong {
  font-size: 12px;
  line-height: 1.15;
  word-break: normal;
  overflow-wrap: break-word;
}
#section-hot-coins .hc-indicators small {
  overflow-wrap: anywhere;
}
#section-hot-coins .hc-track { height:5px; border-radius:3px; position:relative; margin:7px 3px 10px; background:linear-gradient(90deg,#396a6060,#4c5766 50%,#793b4760); }
#section-hot-coins .hc-track:before { content:""; height:9px; width:1px; position:absolute; top:-2px; left:50%; background:#8492a4; }
#section-hot-coins .hc-mark { position:absolute; top:-3px; height:11px; width:3px; transform:translateX(-50%); background:#dbe6f3; border-radius:2px; }
#section-hot-coins .hc-mark-signal { background:var(--hc-gold); width:2px; height:7px; top:-1px; }
#section-hot-coins .hc-indicators .hc-track {
  height: 4px;
  margin: 3px 1px 1px;
}
#section-hot-coins .hc-indicators .hc-track:before {
  height: 6px;
  top: -1px;
}
#section-hot-coins .hc-indicators .hc-mark {
  top: -2px;
  height: 8px;
}
#section-hot-coins .hc-indicators .hc-mark-signal {
  height: 6px;
  top: -1px;
}
#section-hot-coins .hc-actions { display:flex; flex-wrap:wrap; gap:4px; border-top:1px solid #26354a; padding-top:5px; margin-top:5px; }
#section-hot-coins .hc-button { font:inherit; font-size:10px; padding:4px 6px; border:1px solid #34465b; border-radius:4px; color:#b6c5d8; background:#152135; cursor:pointer; }
#section-hot-coins .hc-button:hover { color:#eaf0f8; border-color:#74849b; }
#section-hot-coins .hc-data-warning { display:block; color:#e0b35d; font-size:10px; margin:4px 0; }
#section-hot-coins .hc-chart-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:16px; }
#section-hot-coins .hc-chart-layout > div { min-width:0; }
#section-hot-coins .hc-chart { height:500px; min-width:0; border:1px solid #2b3b50; border-radius:8px; overflow:hidden; background:#0e1725; }
#section-hot-coins .hc-depth-chart { height:260px; border:1px solid #2b3b50; border-radius:8px; overflow:hidden; background:#0e1725; }
#section-hot-coins .hc-scroll { max-width:100%; overflow:auto; margin:14px 0; }
#section-hot-coins .hc-table { border-collapse:collapse; width:100%; font-size:11px; color:#b9c7d9; font-variant-numeric:tabular-nums; background:#0e1725; }
#section-hot-coins .hc-table th { font-weight:500; color:#8297b2; background:#132033; text-align:left; }
#section-hot-coins .hc-table th,#section-hot-coins .hc-table td { padding:9px 10px; border-bottom:1px solid #25364a; white-space:nowrap; }
#section-hot-coins .hc-table tbody tr:nth-child(odd) { background:#0e1725; }
#section-hot-coins .hc-table tbody tr:nth-child(even), #section-hot-coins .hc-table tr:nth-child(even) { background:#162338; }
#section-hot-coins #hc-heatmap .hc-table td:first-child { color:#d7e2f0; font-weight:600; }
#section-hot-coins #hc-walls-list { --hc-columns:4; }
#section-hot-coins .hc-wall-title { font-size:14px; margin:0 0 10px; color:#eaf0f8; }
#section-hot-coins .hc-manual { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
#section-hot-coins .hc-manual article { background:#0e1725; border:1px solid #2b3b50; border-radius:8px; padding:18px; }
#section-hot-coins .hc-manual h3 { font-size:15px; margin:0 0 12px; color:#eaf0f8; }
#section-hot-coins .hc-manual p { color:#a9b9cd; font-size:13px; line-height:1.65; margin:0 0 10px; }
@media(max-width:1200px) {
  #section-hot-coins .hc-grid { grid-template-columns:repeat(min(var(--hc-columns,4),3),minmax(0,1fr)); }
  #section-hot-coins .hc-chart-layout { grid-template-columns:minmax(0,1fr) 290px; }
}
@media(max-width:920px) {
  #section-hot-coins .hc-grid { grid-template-columns:repeat(min(var(--hc-columns,4),2),minmax(0,1fr)); }
  #section-hot-coins .hc-chart-layout { grid-template-columns:1fr; }
  #section-hot-coins #hc-chart-card { max-width:440px; }
}
@media(max-width:620px) {
  #section-hot-coins .hc-grid,#section-hot-coins .hc-manual { grid-template-columns:1fr; }
  #section-hot-coins .hc-search { flex-wrap:wrap; }
  #section-hot-coins .hc-search input { width:100%; flex-basis:100%; }
  #section-hot-coins .hc-chart { height:360px; }
  #section-hot-coins .hc-tabs button { padding:12px; }
}

/* Page palette applies only while the Alpha tab is active. */
body.theme-alpha-dark {
  color-scheme:dark;
  --color-bg-canvas:#0b1320;
  --color-bg-surface:#0e1725;
  --color-text-main:#dce6f2;
  --color-text-muted:#8fa3ba;
  --color-border:#334258;
  --color-border-subtle:#26354a;
  --color-accent:#e6b958;
  --color-accent-hover:#f2cc6e;
  --color-accent-active:#c59733;
  --color-accent-subtle:#242217;
  --color-danger:#ed7588;
  --color-danger-bg:#2e1723;
  --color-danger-border:#653240;
  --color-success:#4cd3a0;
  --color-success-bg:#102b26;
  --color-success-border:#275447;
  --color-warning-bg:#2f291b;
  --color-warning-border:#927641;
  --color-warning-text:#e6b958;
  --color-neutral-bg:#152135;
  --color-neutral-border:#34465b;
  --color-neutral-text:#b7c6d8;
}
#section-hot-coins .section-title { color:#eaf0f8; }
#section-hot-coins input::placeholder { color:var(--hc-muted); }
#section-hot-coins select option { background:#111c2c; color:#dce6f2; }
#section-hot-coins :is(input,select):disabled { color:var(--hc-muted); opacity:.6; cursor:not-allowed; }
#section-hot-coins .btn-secondary { background:#152135; border-color:#34465b; color:#dce6f2; }
#section-hot-coins .btn-secondary:hover:not(:disabled) { background:#1f304b; border-color:#74849b; color:#eaf0f8; }
#section-hot-coins .btn-secondary:active:not(:disabled) { background:#111a28; }
#section-hot-coins .btn-primary { background:var(--hc-gold); color:#0b1320; }
#section-hot-coins .btn-primary:hover:not(:disabled) { background:#f2cc6e; }
#section-hot-coins .btn-primary:active:not(:disabled) { background:#c59733; }
#section-hot-coins #hc-favorites[aria-pressed="true"] { background:#242217; border-color:#927641; color:var(--hc-gold); }
#section-hot-coins .hc-button:disabled { opacity:.6; cursor:not-allowed; }
#section-hot-coins a:not(.hc-link) { color:#b7c6d8; }
#section-hot-coins a:not(.hc-link):hover { color:#eaf0f8; }
#section-hot-coins .hc-scroll { scrollbar-color:#34465b #0e1725; }
