/* Tool index: existing actions, distinct icons, restrained dark hover feedback. */
.hacker-sidebar {
  position: fixed;
  top: 20%;
  right: 1rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  max-width: 11rem;
  background: rgba(10, 10, 12, 0.88);
}
.hacker-folder {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  border: 0;
  border-bottom: 1px solid rgba(220, 220, 225, 0.1);
  border-radius: 0;
  background: transparent;
  color: #c9c9cd;
  font:
    0.8125rem/1.5 Consolas,
    'Liberation Mono',
    monospace;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}
.hacker-folder:last-child {
  border-bottom-color: transparent;
}
.hacker-folder::before {
  content: '>';
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: #efbd66;
  font:
    12px/1 Consolas,
    monospace;
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms ease;
}
.hacker-folder:hover,
.hacker-folder:focus-visible {
  background: rgba(173, 145, 105, 0.09);
  color: #f0eef0;
}
.hacker-folder:hover::before,
.hacker-folder:focus-visible::before {
  opacity: 1;
}
.hacker-folder:focus-visible {
  outline: 2px solid #efbd66;
  outline-offset: 3px;
}
.hacker-folder-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: currentColor;
}
.hacker-folder:hover .hacker-folder-icon,
.hacker-folder:focus-visible .hacker-folder-icon {
  color: #efbd66;
}
.hacker-folder-icon {
  transition: color 150ms ease;
}
.hacker-folder span {
  overflow-wrap: anywhere;
  text-align: left;
}
@media (prefers-reduced-motion: reduce) {
  .hacker-folder,
  .hacker-folder::before,
  .hacker-folder-icon {
    transition: none;
  }
}

.hacker-folder:first-child:is(:hover, :focus-visible) {
  border-top-left-radius: 8px;
}
.hacker-folder:last-child:is(:hover, :focus-visible) {
  border-bottom-left-radius: 8px;
}
.about-window-open[hidden] {
  display: none !important;
}
.hacker-sidebar .about-window-open {
  margin-top: 0.35rem;
  border: 1px solid #b48c4970;
  border-radius: 5px;
  background: #efbd660a;
  color: #e9c783;
}
.hacker-sidebar .about-window-open:is(:hover, :focus-visible) {
  border-color: #efbd66;
  background: #efbd6614;
  color: #ffe0a3;
  text-shadow: 0 0 9px #efbd6650;
}
