/* Year Navigation Arrows — prev/next terminal navigation */

.year-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.3s ease, background 0.3s ease, padding 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

.year-nav:hover {
  opacity: 1;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.year-nav--prev {
  left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding-left: 8px;
}

.year-nav--next {
  right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding-right: 8px;
}

.year-nav__chevron {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.year-nav__label {
  font-size: 11px;
  opacity: 0.8;
  letter-spacing: 0.05em;
}

.year-nav__name {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  font-size: 11px;
  margin: 0;
}

.year-nav:hover .year-nav__name {
  max-width: 140px;
  opacity: 0.7;
}

.year-nav--prev:hover .year-nav__name {
  margin-left: 6px;
}

.year-nav--next:hover .year-nav__name {
  margin-right: 6px;
}

/* Mobile */
@media (max-width: 768px) {
  .year-nav {
    padding: 8px 6px;
    font-size: 11px;
  }

  .year-nav__chevron {
    font-size: 14px;
  }

  .year-nav__label {
    font-size: 10px;
  }

  .year-nav__name {
    display: none;
  }
}

/* Print */
@media print {
  .year-nav {
    display: none;
  }
}
