/* 跨站共享基础样式（仅页脚 + 工具类），不影响各站点自身视觉风格 */

.arg-footer {
  position: fixed;
  right: 12px;
  bottom: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  color: #aaa;
  text-align: right;
  line-height: 1.4;
  pointer-events: none;
  z-index: 9999;
  user-select: none;
}

.arg-footer .page-number {
  letter-spacing: 0.05em;
}

.arg-footer .keyword {
  margin-top: 2px;
  opacity: 0.7;
  font-size: 10px;
}

.arg-footer.extra {
  color: #888;
  font-style: italic;
}

.arg-footer.tool {
  color: #999;
}

/* 被污染状态：页脚变血红 */
body[data-nexus="1"] .arg-footer,
body[data-nexus="2"] .arg-footer,
body[data-nexus="3"] .arg-footer {
  color: #b03030;
}

body[data-nexus="1"] .arg-footer .keyword,
body[data-nexus="2"] .arg-footer .keyword,
body[data-nexus="3"] .arg-footer .keyword {
  color: #b03030;
}

/* 共享屏幕阅读器隐藏类 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============ 右上角提示按钮 + slide 弹层 ============ */
.arg-tips {
  position: fixed;
  top: 10px;
  right: 12px;
  z-index: 99999;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.arg-tips-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .15s;
  padding: 0;
}
.arg-tips-btn:hover { background: rgba(0, 0, 0, 0.78); }
.arg-tips-btn.open { background: #ff7e3a; transform: rotate(180deg); }

.arg-tips-panel {
  position: absolute;
  top: 40px;
  right: 0;
  width: 280px;
  max-width: calc(100vw - 24px);
  background: #fff;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  padding: 14px 14px 10px;
  font-size: 14px;
  line-height: 1.55;
  animation: arg-tips-pop .18s ease-out;
}
@keyframes arg-tips-pop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.arg-tips-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.arg-tips-title {
  font-size: 13px;
  font-weight: 600;
  color: #ff7e3a;
}
.arg-tips-count {
  font-size: 11px;
  color: #999;
  font-family: ui-monospace, "SF Mono", monospace;
}

.arg-tips-body {
  min-height: 48px;
  color: #333;
  word-break: break-word;
}
.arg-tips-body a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.arg-tips-body a:hover { color: #1d4ed8; }

.arg-tips-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
  gap: 8px;
}

.arg-tips-prev,
.arg-tips-next {
  border: none;
  background: #f5f5f5;
  color: #333;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}
.arg-tips-prev { padding: 6px 9px; min-width: 30px; }
.arg-tips-next { background: #ff7e3a; color: #fff; font-weight: 500; }
.arg-tips-prev:hover:not(:disabled) { background: #eaeaea; }
.arg-tips-next:hover:not(:disabled) { background: #ff6a1f; }
.arg-tips-prev:disabled,
.arg-tips-next:disabled { opacity: 0.4; cursor: default; }

.arg-tips-dots {
  display: flex;
  gap: 5px;
  flex: 1;
  justify-content: center;
}
.arg-tips-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ddd;
}
.arg-tips-dot.active { background: #ff7e3a; }
.arg-tips-dot.locked { background: #ececec; }

/* 单条 tip 时不显示翻页器和计数 */
.arg-tips-panel.single .arg-tips-foot,
.arg-tips-panel.single .arg-tips-count {
  display: none;
}
.arg-tips-panel.single .arg-tips-body {
  min-height: 0;
}

/* 被污染状态：tips 按钮变血红 */
body[data-nexus="1"] .arg-tips-btn,
body[data-nexus="2"] .arg-tips-btn,
body[data-nexus="3"] .arg-tips-btn {
  background: #b03030;
}

/* VSS 符号在各自嵌入页的 hover 显形 —— 觉醒前也给一点线索（但不给手型光标·避免提前剧透可交互） */
[data-vss] {
  cursor: default;
  transition: filter 0.25s ease, transform 0.2s ease, opacity 0.25s ease;
}
[data-vss]:hover {
  filter: brightness(2.4) contrast(1.1) drop-shadow(0 0 8px #fbbf24cc) drop-shadow(0 0 16px #f59e0b88) !important;
  transform: scale(1.04);
  opacity: 1 !important;
}
/* 觉醒后（进过 44 之后）才显手型光标 —— .vss-awakened 由 sigil-collect.js 在 isAwakened() 时挂上 */
