.apture-preview-window {
  position: fixed;
  top: 100px;
  left: 100px;
  width: 400px;
  max-height: 80vh;
  background: #fff;
  box-shadow: 0 0 5px 3px rgb(0 0 0 / 13%);
  border-radius: 6px;
  resize: both;
  z-index: 999;
  touch-action: none;
  transform: translate(0, 0);
  will-change: transform;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.apture-preview-window.show {
  opacity: 1;
}

.apture-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    margin-bottom: 0;
    padding: 10px 18px;
    font-weight: bold;
    text-transform: capitalize;
    background: #f1f1f1;
    background: -webkit-linear-gradient(180deg,rgba(241, 241, 241, 1) 0%, rgba(255, 255, 255, 1) 50%);
    background: -moz-linear-gradient(180deg,rgba(241, 241, 241, 1) 0%, rgba(255, 255, 255, 1) 50%);
    background: linear-gradient(180deg,rgba(241, 241, 241, 1) 0%, rgba(255, 255, 255, 1) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(
  startColorstr="#F1F1F1",
  endColorstr="#FFFFFF",
  GradientType=0);
}
.apture-header-logo {
  height: 35px;
  max-width: 150px;
  object-fit: contain;
}

.apture-controls button {
  background: transparent;
  border: none;
  margin-left: 5px;
  cursor: pointer;
}

.apture-scroll-container {
    flex: 1;
    overflow: auto;
    padding: 10px 10px 10px 16px;
}

.apture-footer-tags {
  padding: 10px;
  border-top: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.9em;
}

.apture-footer-label {
  font-weight: bold;
  margin-right: 8px;
}

.apture-tag-link {
  background: #f0f0f0;
  color: #333;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.apture-tag-link:hover {
  background: #ddd;
}

.apture-restore-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 1000;
}

.apture-restore-button {
  background: #333;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.apture-tag-result {
  display: inline-block;
  background: #eef0f5;
  color: #333;
  padding: 4px 8px;
  margin: 4px 4px 0 0;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.apture-tag-result:hover {
  background: #d9e0eb;
}


.apture-controls button {
  background: transparent;
  border: none;
  margin-left: 5px;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.apture-controls button:hover {
  background: rgba(0, 0, 0, 0.05);
}

.apture-controls svg {
  display: block;
  pointer-events: none;
}

.apture-controls button:hover svg line,
.apture-controls button:hover svg rect,
.apture-controls button:hover svg path {
  stroke: #000;
  fill: #000;
}

.apture-btn.bookmark {
  color: #888;
  transition: color 0.3s;
}

.apture-btn.bookmark.active {
  color: gold;
}
.apture-content article header .node__meta {
    display: none!important;
}
@keyframes bounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.1); }
  50% { transform: scale(0.95); }
  70% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.drag-bounce {
  animation: bounce 0.4s ease;
}

.apture-restore-button {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: #29e;
  color: #fff;
  padding: 0.5em 1em;
  border-radius: 4px;
  cursor: pointer;
  z-index: 9999;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

