.article-lightbox-open {
  overflow: hidden;
  touch-action: none;
}
.article-lightbox-open #aifc-chat-widget,
.article-lightbox-open #aifaq-fab,
.article-lightbox-open .aifaq-fab,
.article-lightbox-open .aifaq-chat-window,
.article-lightbox-open .aifaq-replain-overlay {
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.post__content img:not(a img):not(pre img):not(code img):not(.code-wrapper img) {
  cursor: zoom-in;
}

.article-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: zoom-out;
}

.article-lightbox__viewport {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  overflow: hidden;
  padding: 72px 16px 88px;
  box-sizing: border-box;
}

.article-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  will-change: transform;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  image-rendering: auto;
}
.article-lightbox__image.is-loading {
  opacity: 0.35;
}
.article-lightbox__image.is-entering-next {
  animation: article-lightbox-slide-next 0.24s ease;
}
.article-lightbox__image.is-entering-prev {
  animation: article-lightbox-slide-prev 0.24s ease;
}

@keyframes article-lightbox-slide-next {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}
@keyframes article-lightbox-slide-prev {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}
.article-lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.article-lightbox__nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
}
.article-lightbox__nav:active:not(:disabled) {
  transform: translateY(-50%) scale(0.94);
}
.article-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.article-lightbox__nav--prev {
  left: max(12px, env(safe-area-inset-left));
}
.article-lightbox__nav--next {
  right: max(12px, env(safe-area-inset-right));
}

.article-lightbox__toolbar {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.article-lightbox__counter {
  min-width: 52px;
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.article-lightbox__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.article-lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.article-lightbox__btn:active {
  transform: scale(0.94);
}
.article-lightbox__btn--close {
  font-size: 28px;
}

@media (max-width: 768px) {
  .article-lightbox__viewport {
    padding: 56px 56px 96px;
  }
  .article-lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }
  .article-lightbox__toolbar {
    gap: 6px;
    padding: 6px 10px;
    max-width: calc(100vw - 16px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .article-lightbox__btn {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    font-size: 20px;
  }
  .article-lightbox__btn--close {
    font-size: 26px;
  }
}
@media (max-width: 480px) {
  .article-lightbox__btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .article-lightbox__btn--close {
    font-size: 24px;
  }
}/*# sourceMappingURL=article-lightbox.css.map */