/* Stats-Seite: nutzt das gleiche Grundlayout wie index.css */
@import url("/css/index.css");

/* Histogram auf der Stats-Seite: vertikale Balken */
#gapHistogramContainer {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 200px;
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* Eine Säule im Histogramm */
.hist-bar-column {
  flex: 0 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 9px;
  color: var(--text-soft);
  cursor: pointer;
}

/* der eigentliche Balken */
.hist-bar {
  width: 100%;
  border-radius: 999px 999px 4px 4px;
  min-height: 4px;
  transition: height 0.15s ease-out, transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.hist-bar.small {
  background: linear-gradient(180deg, #21f6ff, #0ab3c9);
  box-shadow: 0 0 8px rgba(33,246,255,0.8);
}

.hist-bar.medium {
  background: linear-gradient(180deg, #ffdd63, #ff9e4f);
  box-shadow: 0 0 8px rgba(255,182,72,0.8);
}

.hist-bar.large {
  background: linear-gradient(180deg, #ff5aa5, #c135ff);
  box-shadow: 0 0 9px rgba(255,90,165,0.9);
}

.hist-bar-column:hover .hist-bar {
  transform: translateY(-3px);
}

/* Count & Gap-Beschriftung */
.hist-bar-count {
  font-size: 9px;
  color: var(--text-soft);
}

.hist-bar-gap {
  font-size: 9px;
  color: var(--text-soft);
}