#taskbar {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 46px;
  display: flex; align-items: center; gap: 6px;
  padding: 0 10px;
  background: var(--bar);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--win-border);
  z-index: 200;
}

.task-btn {
  position: relative;
  height: 38px;
  display: flex; align-items: center; gap: 6px;
  border: none; border-radius: 8px; cursor: pointer;
  background: var(--btn);
  padding: 0 10px 0 5px;
}

.task-btn:hover { background: var(--btn-hover); }
.task-btn.active { background: var(--active); }

.task-btn .tile {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: #0e0e12;
}

.task-btn .tile svg { width: 15px; height: 15px; }

.task-label { font-size: .78rem; color: var(--fg); }

.task-btn::after {
  content: "";
  position: absolute; bottom: 1px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 2px; border-radius: 2px;
  background: var(--muted);
  opacity: 0;
  transition: all .15s;
}

.task-btn.has::after { opacity: 1; }
.task-btn.active::after { width: calc(100% - 16px); background: var(--accent); }

.task-clock {
  margin-left: auto;
  color: var(--muted); font-size: .78rem;
  padding: 0 8px;
}
