/* © qiqicto.com 其其网文档中心 · 未经许可禁止复制分发 */
.btn.copied { background: #27ae60; }

.chip {
  background: var(--tool-line);
  border-radius: var(--tool-radius-s);
  color: var(--tool-neutral-dark);
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  padding: 3px 7px;
  vertical-align: 1px;
}
.chip.on { background: var(--tool-accent-weak); color: var(--theme-color); }

.tool-fav { margin-top: 14px; }
.tool-fav .fa { margin-right: 6px; }
.tool-fav.is-fav { border-color: var(--tool-accent-line); color: var(--theme-color); }

.ns-panel {
  background: var(--tool-surface);
  border: 1px solid var(--tool-line-strong);
  border-radius: var(--tool-radius-m);
  box-shadow: var(--tool-shadow-hover);
  max-height: min(62vh, 440px);
  overflow: auto;
  padding: 6px;
  position: fixed;
  z-index: 1003;
}
.ns-panel[hidden] { display: none; }
.ns-item {
  align-items: center;
  border-radius: var(--tool-radius-s);
  color: var(--theme-black-color);
  display: flex;
  gap: 10px;
  padding: 9px 11px;
  text-decoration: none;
}
.ns-item .fa { color: var(--theme-color); flex: none; font-size: 14px; text-align: center; width: 18px; }
.ns-name { font-size: 14px; }
.ns-meta { color: var(--theme-light-color); font-size: 12px; margin-left: auto; white-space: nowrap; }
.ns-item:hover, .ns-item:focus-visible, .ns-item.is-active { background: var(--tool-accent-weak); }
.ns-item:hover .ns-name, .ns-item.is-active .ns-name { color: var(--theme-color); }
.ns-all {
  align-items: center;
  border-top: 1px dashed var(--tool-line-strong);
  color: var(--theme-light-color);
  display: flex;
  font-size: 12px;
  gap: 4px;
  justify-content: center;
  margin-top: 4px;
  padding: 9px 6px 5px;
  text-decoration: none;
}
.ns-all:hover { color: var(--theme-color); }
.ns-empty { color: var(--theme-light-color); font-size: 13px; line-height: 1.8; padding: 12px; }
.ns-empty b { color: var(--theme-black-color); display: block; margin-bottom: 2px; }
.ns-empty a { color: var(--theme-color); }

footer.site-footer .cp p { margin: 0; }
footer.site-footer .cp .cp-beian a { margin-right: 20px; }
footer.site-footer .cp .cp-beian a:last-child { margin-right: 0; }

@media (min-width: 768px) {
  .tool-head { position: relative; }
  .tool-head h1, .tool-head p { padding-right: 110px; }
  .tool-fav { margin-top: 0; position: absolute; right: 0; top: 24px; }
}

.cat-group + .cat-group { margin-top: 14px; }
.cat-group-title {
  align-items: center; color: var(--theme-light-color);
  display: flex; font-size: 13px; font-weight: 600;
  gap: 6px; letter-spacing: .3px; margin: 18px 0 10px;
}
.cat-group-title .fa { color: var(--theme-color); font-size: 12px; }
.cat-group-title::after {
  background: var(--tool-line); content: ""; flex: 1; height: 1px; margin-left: 4px;
}

@keyframes lt-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes lt-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(6px); } }
@keyframes lt-in-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lt-out-fade { from { opacity: 1; } to { opacity: 0; } }
html.lt-enter main { animation: lt-in .36s cubic-bezier(.22, .61, .36, 1) both; }
main.lt-leaving { animation: lt-out .18s ease both; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  html.lt-enter main { animation-name: lt-in-fade; }
  main.lt-leaving { animation-name: lt-out-fade; }
}
.card, .card.is-soon { transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
