.side-tools-tabs-left {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}

.stats-tab {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 14px 5px;
  border-radius: 10px 0 0 10px;
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-right: none;
  background: rgba(20, 28, 45, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-link);
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: -4px 0 20px rgba(0,0,0,0.25); 
  transition: all 0.2s ease;
}

.stats-tab svg { transform: rotate(180deg); }

.stats-tab:hover {
  color: #ffffff;
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(20, 28, 45, 0.65);
  box-shadow: -4px 0 24px rgba(124, 92, 255, 0.2);
}

.stats-panel {
  position: fixed;
  left: -340px;
  top: 0;
  height: 100%;
  width: 340px;
  background: linear-gradient(180deg, rgba(20, 28, 45, 0.99), rgba(10, 16, 28, 0.99));
  border-right: 1px solid rgba(124, 92, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: left 0.25s ease;
  z-index: 1000;
  padding: 20px 24px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 92, 255, 0.4) transparent;
}

.stats-panel.open { left: 0; }

.stat-media-img {
  color: var(--neon-blue);
}

.stat-media-video {
  color: var(--neon-green);
}

.stat-media-audio {
  color: var(--neon-orange);
}

.ss-cost { color: var(--success); }
