@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-50%) translate(10px)
  }

  to {
    opacity: 1;
    transform: translateY(-50%) translate(0)
  }
}

.ai-warning[data-astro-cid-a7hlram3] {
  margin: 1rem 0;
  padding: 1rem;
  background-color: #fff8e6;
  border: 1px solid gold;
  border-radius: 4px
}

.ai-warning[data-astro-cid-a7hlram3] p[data-astro-cid-a7hlram3] {
  margin: 0;
  color: #664d03;
  font-size: .9rem
}

@media (max-width:1400px) {
  .floating-toc[data-astro-cid-2rh22e3j] {
    display: none
  }
}

.floating-toc[data-astro-cid-2rh22e3j] {
  position: fixed;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  width: 220px;
  max-height: 70vh;
  z-index: 10;
  animation: fadeIn .3s ease-out
}

.floating-toc__inner[data-astro-cid-2rh22e3j] {
  padding: 1.5rem 0;
  overflow-y: auto;
  max-height: 70vh;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent
}

.floating-toc__inner[data-astro-cid-2rh22e3j]::-webkit-scrollbar {
  width: 4px
}

.floating-toc__inner[data-astro-cid-2rh22e3j]::-webkit-scrollbar-track {
  background: 0 0
}

.floating-toc__inner[data-astro-cid-2rh22e3j]::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 2px
}

.floating-toc__header[data-astro-cid-2rh22e3j] {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-color);
  opacity: .5;
  margin-bottom: 1rem;
  padding-left: 1rem
}

.floating-toc__nav[data-astro-cid-2rh22e3j] {
  display: flex;
  flex-direction: column;
  gap: .125rem
}

.floating-toc__link[data-astro-cid-2rh22e3j] {
  display: block;
  padding: .375rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  font-size: .875rem;
  line-height: 1.4;
  opacity: .6;
  transition: all .2s ease;
  border-left: 2px solid transparent;
  position: relative
}

.floating-toc__link[data-astro-cid-2rh22e3j]:hover {
  opacity: 1;
  color: var(--main-color)
}

.floating-toc__link[data-astro-cid-2rh22e3j].active {
  opacity: 1;
  color: var(--main-color);
  border-left-color: var(--main-color);
  background: linear-gradient(to right, rgba(0, 0, 0, .02), transparent)
}

@media (prefers-color-scheme:dark) {
  .floating-toc__link[data-astro-cid-2rh22e3j].active {
    background: linear-gradient(to right, rgba(255, 255, 255, .02), transparent)
  }
}

.floating-toc__text[data-astro-cid-2rh22e3j] {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

@media (min-width:1600px) {
  .floating-toc[data-astro-cid-2rh22e3j] {
    right: max(2rem, calc((100vw - 1200px)/2 - 280px));
    width: 280px
  }
}

@media (min-width:1920px) {
  .floating-toc[data-astro-cid-2rh22e3j] {
    right: calc((100vw - 1200px)/2 - 320px);
    width: 300px
  }
}

.lightbox[data-astro-cid-gvpn4u4b] {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #0006;
  align-items: center;
  justify-content: center
}

.lightbox-content[data-astro-cid-gvpn4u4b] {
  margin: auto;
  display: block;
  max-width: 100%;
  max-height: 80%;
  border-radius: 5px;
  cursor: zoom-out
}

.close[data-astro-cid-gvpn4u4b] {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: 700;
  cursor: pointer
}
